Juergen Hoeller
d84ca2ba90
Jakarta EE 9 migration
...
Upgrades many dependency declarations; removes old EJB 2.x support and outdated Servlet-based integrations (Commons FileUpload, FreeMarker JSP support, Tiles).
Closes gh-22093
Closes gh-25354
Closes gh-26185
Closes gh-27423
See gh-27424
3 years ago
Rossen Stoyanchev
674dc2f203
Do not log request parameters for multipart requests
...
Closes gh-27350
3 years ago
Phillip Webb
52b03e3326
Migrate CoroutinesUtils to Java
...
Migrate `CoroutinesUtils` from Kotlin code to Java and drop the
`kotlin-coroutines` module.
This update removes the need for Kotlin tooling IDE plugins to be
installed.
Closes gh-27379
3 years ago
Sam Brannen
04e6b233ca
Upgrade to JUnit 5.8
...
Closes gh-27392
3 years ago
Brian Clozel
cecc0849a8
Upgrade to Gradle 7.2
...
This commit upgrades Gradle to 7.2.
Gradle configuration names are updated accordingly.
This also upgrades Gradle build plugins.
See gh-26870
3 years ago
Rossen Stoyanchev
b6037d0d07
Correctly format class name in default package
...
Closes gh-27247
3 years ago
Juergen Hoeller
b6c2c11805
Polishing
3 years ago
Sam Brannen
9f7a94058a
Update copyright date
...
See gh-27298
3 years ago
LEE Juchan
caf6760ddd
Fix grammatical errors in Javadoc
...
Closes gh-27298
3 years ago
Stephane Nicoll
af6fd6c303
Polish "Fix duplicate "the" in Javadoc and XSD"
...
See gh-27291
3 years ago
Sanghyuk Jung
ac72277258
Fix duplicate "the" in Javadoc and XSD
...
See gh-27291
3 years ago
Syuziko
eaf9deedfd
Polish tests
...
See gh-27248
3 years ago
Rossen Stoyanchev
55e17ef306
Polishing contribution
...
Closes gh-27203
3 years ago
Yanming Zhou
f2be4e9320
Use MessageSource for @ExceptionHandler methods
...
Follow-up for commit bb816c123c
See gh-27203
3 years ago
DongHyuk
c2f91765b4
Fix typo in Javadoc in AbstractHandlerMapping
...
Closes gh-27218
3 years ago
Rossen Stoyanchev
bb816c123c
Use MessageSource in HandlerMethod for error reason
...
Closes gh-27156
3 years ago
Rossen Stoyanchev
95d7f883ae
Deprecate LastModified
...
See gh-27075
3 years ago
Rossen Stoyanchev
25131ebf6f
Resource handler initialized only once
...
Closes gh-27153
3 years ago
Rossen Stoyanchev
0267b00a65
Minor update to Javadoc for HandlerInterceptor#postHandle
...
Closes gh-27122
3 years ago
Juergen Hoeller
ed27ea7aa0
Restrict fallback multipart binding to POST requests with multipart/form-data
...
Closes gh-26999
See gh-26826
3 years ago
Sam Brannen
a2ef6badc4
Use StringBuilder.append(char) where possible
...
To slightly improve performance, this commit switches to
StringBuilder.append(char) instead of StringBuilder.append(String)
whenever we append a single character to a StringBuilder.
Closes gh-27098
3 years ago
Sam Brannen
4e8828dc10
Suppress warnings in ServletAnnotationControllerHandlerMethodTests
3 years ago
Sam Brannen
df588e030f
Avoid duplicated documentation of validation annotations
...
See gh-27042, gh-27043, gh-27050
3 years ago
Sam Brannen
b677206159
Polish Javadoc
3 years ago
Sviatoslav Hryb
e04ca3d671
Improve RequestPartMethodArgumentResolver Javadoc
...
Closes gh-27043
3 years ago
Sviatoslav Hryb
2fc47d8752
Improve RequestResponseBodyMethodProcessor Javadoc
...
Closes gh-27042
3 years ago
Juergen Hoeller
23f396a231
Nullability refinements
3 years ago
Sviatoslav Hryb
708e61a7ef
Fix WebMvcConfigurationSupport javadoc
3 years ago
Sam Brannen
f0f450a18d
Polishing
3 years ago
Sam Brannen
746b1b2fe1
Polishing
4 years ago
izeye
ab2c78a9d5
Fix broken Javadoc tags
...
Closes gh-26967
4 years ago
Brian Clozel
ac0e71745b
Set best matching pattern attribute in WebMvc.fn
...
Prior to this commit, the `RouterFunctionMapping` WebFlux.fn variant
would set the `HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE` as an
exchange attribute. This is useful for instrumentation purposes.
The WebMvc.fn variant would not do the same; this would lead to
"UNKNOWN" path metrics tags.
This commit ensures that the `RouterFunctionMapping` WebMvc.fn variant
does set the `BEST_MATCHING_PATTERN_ATTRIBUTE` and
`BEST_MATCHING_HANDLER_ATTRIBUTE` request attributes.
Closes gh-26963
4 years ago
Juergen Hoeller
1469bdbc70
Nullability refinements and related polishing
4 years ago
Rossen Stoyanchev
aa51ed1940
Fix failing tests
...
This commit ensures that if an Origin is returned as it was provided,
possibly with a trailing slash.
See gh-26892
4 years ago
ShindongLee
07ba95739b
Fix parameter bug of handler inside the filterFunction DSL
...
Co-authored-by: hojongs <hojong.jjh@gmail.com>
Co-authored-by: bjh970913 <bjh970913@gmail.com>
Closes gh-26838
4 years ago
Rossen Stoyanchev
443c34cc90
CorsRegistry implements combine correctly
...
Closes gh-26877
4 years ago
Bryce Yang
55faf6e320
Use HttpMethod enums
...
See gh-26855
4 years ago
Arjen Poutsma
6f4fb08bf8
Invoke WebMvc.fn error handlers for async errors
...
This commit makes sure that any error handlers registered on the route
are also applied when an error occurs asynchronously. This commit
applies to asynchronous bodies with both CompletableFuture and Reactive
Streams, as well as completely asynchronous responses.
Closes gh-26831
4 years ago
Johnny Lim
98770b15e7
Polishing
...
Closes gh-26878
4 years ago
Rossen Stoyanchev
86123de883
HandlerMappingIntrospector handles attribute changes properly
...
Closes gh-26833
4 years ago
Christoph Dreis
e7cbe23771
Avoid exceptions when evaluating validation hints
...
Prior to this commit, evaluating validation hints for
@javax.validation.Valid caused exceptions being raised when getting the
value of this annotation, which does not exist. Bypassing
AnnotationUtils.getValue() in those cases can improve performance by
avoiding the cost incurred by raising exceptions.
See gh-26787
4 years ago
Rossen Stoyanchev
69bbdce826
HandlerMappingIntrospector ensures initialized RequestPath
...
Closes gh-26814
4 years ago
Rossen Stoyanchev
27c4e74e24
Update CORS Javadoc in spring-websocket
...
Closes gh-26753
4 years ago
Juergen Hoeller
f31933e67e
Nullability refinements
4 years ago
Sam Brannen
f03ccd5cc9
Fix Javadoc in AcceptHeaderLocaleResolver
...
Closes gh-26793
4 years ago
Juergen Hoeller
04ce8e0ac4
Make URL path tests compatible with Windows
...
See gh-26775
4 years ago
Juergen Hoeller
29955a2898
Polishing
4 years ago
Rossen Stoyanchev
0a6a6d48e2
Avoid CI failures with UTF-8 chars in test filenames
...
See gh-26775
4 years ago
Rossen Stoyanchev
a08593b44b
Correct matching of static resources with parsed patterns
...
Closes gh-26775
4 years ago
Arjen Poutsma
a2d91a562d
Support "Accept-Patch" for unsupported media type
...
This commit introduces support in both servlet and webflux for the
"Accept-Patch" header, which is sent when the client sends unsupported
data in PATCH requests.
See section 2.2 of RFC 5789.
Closes gh-26759
4 years ago