Arjen Poutsma
ce253041c5
Merge branch '5.3.x'
2021-12-07 13:57:40 +01:00
Katada, Junya
9261766677
Fix for ModelAndView.status not working with RedirectView
2021-12-07 13:39:57 +01:00
Juergen Hoeller
14f24f43d7
Polishing
2021-12-03 22:36:31 +01:00
Brian Clozel
24cb1def7d
Polish
...
Closes gh-27754
2021-12-02 14:23:16 +01:00
ydh6226
a0ba808217
Use HttpHeaders.ALLOW instead of String constant
...
This commit changes "Allow" strings into HttpHeaders.ALLOW.
See gh-27356
2021-12-02 12:28:36 +01:00
liuzhifei
32359c52b4
Remove transitive dependency on Java EE 8 JAX-B
...
Closes gh-27754
2021-12-02 09:37:48 +00:00
Arjen Poutsma
7a4207cd7b
Changes because HttpMethod changed to class
...
This commit contains changes made because HttpMethod changed from enum
to class.
See gh-27697
2021-11-30 13:44:36 +01:00
Rossen Stoyanchev
dcc342ccc5
Merge branch '5.3.x' into main
2021-11-24 13:14:55 +00:00
Rossen Stoyanchev
829bed03af
Polishing contribution
...
Closes gh-27723
2021-11-24 13:05:05 +00:00
Andreas Grub
ce0aed216b
Add getter for RequestMappingInfo.BuilderConfiguration
...
This improves support for programmatic registration of mappings to
use the same config as that of the RequestMappingHandlerMapping.
See gh-27723
2021-11-24 13:05:05 +00:00
Rossen Stoyanchev
0d7c562693
Polishing contribution
...
Closes gh-910
2021-11-24 13:05:05 +00:00
/usr/local/ΕΨΗΕΛΩΝ
913cc079af
TagWriter can write empty attribute
...
See gh-910
2021-11-24 13:05:05 +00:00
Arjen Poutsma
259bcd60fb
Change deprecated MimeType specificity usages
...
This commit changes all code that uses now deprecated methods in
MimeType and MediaType.
See gh-27580
2021-11-23 11:49:01 +01:00
Juergen Hoeller
4750a9430c
Early removal of 5.x-deprecated code
...
Closes gh-27686
2021-11-18 09:18:06 +01:00
Arjen Poutsma
17cdd97c37
Merge branch '5.3.x'
2021-11-17 16:57:02 +01:00
Arjen Poutsma
5fbdd6dcfe
Throw exception using capturing patterns in AntPathMatcher
...
Closes gh-27688
2021-11-17 16:52:17 +01:00
Juergen Hoeller
b88ed7f4bb
Update API version and package references for Jakarta EE 9
...
Closes gh-27689
See gh-25354
2021-11-17 12:39:23 +01:00
Christoph Dreis
5c972fcc54
Use Charset variants of URLEncoder and URLDecoder methods
2021-11-10 16:12:11 +01:00
Juergen Hoeller
75036fa0ad
Merge branch '5.3.x'
2021-11-10 14:22:58 +01:00
Juergen Hoeller
2a268701c4
Introduce optimizeLocations flag for resource location filtering on startup
...
This flag is off by default since it requires jar files with directory entries.
Closes gh-27624
2021-11-10 14:21:48 +01:00
Rossen Stoyanchev
22f75d9ea9
Merge branch '5.3.x' into main
2021-10-19 12:35:37 +01:00
Rossen Stoyanchev
05ea991d62
Removing locations logging in ResourceHttpRequestHandler
...
See gh-27575
2021-10-19 12:25:33 +01:00
Sam Brannen
1f248b34f6
Apply "instanceof pattern matching" in spring-webmvc
...
This commit also applies additional clean-up tasks such as the following.
- final fields
- diamond operator (<>) for anonymous inner classes
- try with resources
- multi-catch
This has only been applied to `src/main/java`.
2021-10-17 18:49:02 +02:00
Rossen Stoyanchev
9b9906cfc4
Merge branch '5.3.x' into main
2021-10-14 17:22:29 +01:00
Rossen Stoyanchev
76c9306dda
Adjust logging of resource locations
2021-10-14 17:18:34 +01:00
Rossen Stoyanchev
0705454ce0
Fix typo in Javadoc
...
See gh-27484
2021-10-14 09:42:40 +01:00
liuzhifei
ca999fb38c
fix Javadoc typo in PathMatchConfigurer#setUseSuffixPatternMatch
2021-10-14 09:40:49 +01:00
Rossen Stoyanchev
28a497f3b3
Merge branch '5.3.x' into main
2021-10-13 14:58:07 +01:00
Rossen Stoyanchev
4dac8339ff
Filter non-existing static resource locations
...
Same as a2c52a97ba
, on the WebFlux side.
See gh-27538
2021-10-13 14:40:34 +01:00
Juergen Hoeller
627fc7612d
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
2021-10-13 13:06:44 +02:00
Juergen Hoeller
0f36569d75
Remove dead fallback code
2021-10-13 12:38:39 +02:00
Juergen Hoeller
da457abd5b
Merge branch '5.3.x'
2021-10-12 15:19:40 +02:00
Juergen Hoeller
b53275f2d2
Add efficient existence check to ClassPathResource.isReadable()
...
Includes reduced isReadable() check in PathResourceLookupFunction, aligned with PathResourceResolver.
Closes gh-27538
See gh-21372
2021-10-12 15:13:05 +02:00
Juergen Hoeller
1490d27d75
Decouple urlResourceWithCharset test from existence of tmp directory
...
See gh-25738
2021-10-12 15:10:19 +02:00
Rossen Stoyanchev
7957b9cc0f
Merge branch '5.3.x' into main
2021-10-12 12:00:55 +01:00
Rossen Stoyanchev
a2c52a97ba
Filter non-existing static resource locations
...
See gh-27538
2021-10-12 11:59:55 +01:00
Rossen Stoyanchev
bd85cb8bac
Merge branch '5.3.x' into main
2021-10-11 11:20:14 +01:00
Rossen Stoyanchev
e8f6cd10a5
Apply value formatting to resolved exceptions
2021-10-11 11:14:02 +01:00
Sam Brannen
22f0f9f3df
Merge branch '5.3.x'
2021-10-08 21:31:03 +02:00
Sam Brannen
bdfd983bb4
Fix example code formatting in @EnableWebMvc
2021-10-08 21:30:39 +02:00
Juergen Hoeller
56eefe2a13
Merge branch '5.3.x'
2021-10-08 20:42:54 +02:00
Juergen Hoeller
87aaf5049b
Polishing
2021-10-08 20:41:51 +02:00
Rossen Stoyanchev
f14bd50033
Prune empty method adapter classes
2021-10-08 18:20:09 +01:00
Sam Brannen
2d1e0d5e38
Merge branch '5.3.x'
2021-10-06 12:13:21 +02:00
Sam Brannen
41ae9632d1
Upgrade to Checkstyle 9.0 and spring-javaformat 0.0.29
...
This commit upgrades the Gradle build to use Checkstyle 9.0 and
spring-javaformat 0.0.29 (which internally uses Checkstyle 8.45.1).
Closes gh-27520
2021-10-06 12:11:19 +02:00
Sam Brannen
381b7d035a
Merge branch '5.3.x'
2021-10-05 14:55:22 +02:00
Sam Brannen
48a507a993
Clean up warnings
2021-10-05 14:35:32 +02:00
Sam Brannen
030ba52805
Merge branch '5.3.x'
2021-09-29 16:56:33 +02:00
Sam Brannen
96e4d3a530
Fail Gradle build for Javadoc warnings
...
In order to catch Javadoc errors in the build, we now enable the
`Xwerror` flag for the `javadoc` tool. In addition, we now use
`Xdoclint:syntax` instead of `Xdoclint:none` in order to validate
syntax within our Javadoc.
This commit fixes all resulting Javadoc errors and warnings.
This commit also upgrades to Undertow 2.2.12.Final and fixes the
artifact names for exclusions for the Servlet and annotations APIs.
The incorrect exclusion of the Servlet API resulted in the Servlet API
being on the classpath twice for the javadoc task, which resulted in the
following warnings in previous builds.
javadoc: warning - Multiple sources of package comments found for package "javax.servlet"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.http"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.descriptor"
javadoc: warning - Multiple sources of package comments found for package "javax.servlet.annotation"
Closes gh-27480
2021-09-29 14:02:37 +02:00
Sam Brannen
93efb20a53
Fix broken links in Javadoc
...
This commit removes several links that were broken due to the removal
of various APIs in 6.0.
See gh-27480
2021-09-28 13:34:33 +02:00