Sam Brannen
5b1a84e395
Polish contribution
...
See gh-28789
2 years ago
Marc Wrobel
6985fa8057
Fix and improve Javadoc in spring-webmvc
...
Closes gh-28789
2 years ago
Sam Brannen
d274e893a6
Remove superfluous static declaration for enum, annotation, & interface
2 years ago
Sam Brannen
0621a8eff1
Fix concurrency issues in FreeMarkerMacroTests
...
Prior to this commit, tests in these two classes intermittently failed
with errors similar to the following, due to concurrent modification
of shared files.
expected:
"<input type="text" id="name" name="name" value="Darren" >"
but was:
"<input type="text" id="name" name="name" value="Darren" >
"hidden"/>"
This commit fixes this by creating a new temporary folder for each test
method invocation.
2 years ago
rstoyanchev
b95362a3fd
Avoid request params access for form data in logRequest
...
Close gh-28587
2 years ago
Sam Brannen
e19e9757d4
Polishing
2 years ago
Juergen Hoeller
30c873b4b5
Move NestedServletExceptionTests to spring-web module
...
See gh-25162
2 years ago
rstoyanchev
8c777111fa
Revise commit #52d068 with corrected test
...
Update test detecting RouterFunction beans in parent contexts to use
different bean names and avoid shadowing. Changed the fix accordingly
given that BeanProvider does detect beans in parent contexts.
See gh-28595
2 years ago
rstoyanchev
d28d603081
Polishing
...
See gh-28595
2 years ago
rstoyanchev
52d0681ca1
WebMvc respects RouterFunction beans ordering
...
Closes gh-28595
2 years ago
Sam Brannen
aab9da0366
Polish LocaleResolver support
2 years ago
Sam Brannen
1beb7068f6
Use new AssertJ exception assertions
2 years ago
Sam Brannen
8547f8601d
Polish LocaleResolver tests
2 years ago
rstoyanchev
f95bf96ec9
Correct path encoding/decoding in PathResourceResolver
...
Decoding is required for non-UrlResource when the HandlerMapping is
not expected to decode the path. Encoding is the opposite.
This commit ensures correct determination of whether the HandlerMapping
is expected to have decoded the path or not that in turn depends on
whether PathPattern or PathMatcher is in use.
Closes gh-27791
3 years ago
rstoyanchev
66a5742df3
Polishing
3 years ago
Sam Brannen
06679a5583
Fix tests in DispatcherServletTests
...
See gh-28424
3 years ago
Sam Brannen
745eb1a881
Polish DispatcherServletTests
3 years ago
Sam Brannen
1c10cdd1e8
Update copyright dates
...
See gh-28433
3 years ago
evgeny.bovykin
941b92cbed
Make inner classes static when feasible
...
A static nested class does not keep an implicit reference to its
enclosing instance.
This prevents a common cause of memory leaks and uses less memory per
instance of the class.
Closes gh-28433
3 years ago
Sam Brannen
e26d8839b3
Stop referring to features as Java 6/7 features where unnecessary
3 years ago
Stephane Nicoll
b81c62d064
Update copyright year of changed file
...
See gh-28372
3 years ago
zhangmingqi09
ca1a11acac
Fix github issue reference in RequestMappingHandlerMapping
...
See gh-28372
3 years ago
Sam Brannen
a7cf19cec5
Improve documentation and matching algorithm in data binders
3 years ago
Juergen Hoeller
0cf7f7bd89
Polishing
3 years ago
GatinMI
b158110801
Fix debug log for no matching acceptableTypes
3 years ago
Sam Brannen
c462fe30ed
Use Named arguments in parameterized tests
3 years ago
Sam Brannen
9fbf5dc945
Use String#lastIndexOf(int) where possible
3 years ago
rstoyanchev
ec03e8830e
Remove path variables from pathWithinMapping
...
Closes gh-27913
3 years ago
Stephane Nicoll
d2c7dfb79e
Add convenience factory method for Managed[List|Set|Map]
...
Closes gh-28026
3 years ago
Sam Brannen
f8a5a8d7be
Use modern language features in tests
3 years ago
Juergen Hoeller
cf5b86369d
Explicitly close InputStream after resolution in RequestPartMethodArgumentResolver
...
Closes gh-27773
3 years ago
Sam Brannen
df263d01b9
Use idiomatic AssertJ assertions for true, false, and null
3 years ago
Sam Brannen
03668f9c10
Replace remaining use of StringBuffer with StringBuilder
...
Although this commit only applies to test classes, it serves to reduce
the noise when searching for undesirable usage of StringBuffer in
production code.
3 years ago
Sam Brannen
3e14cdbc69
Polish tests
3 years ago
Rossen Stoyanchev
e9083d7d20
Apply LogFormatUtils in more places
3 years ago
Katada, Junya
9261766677
Fix for ModelAndView.status not working with RedirectView
3 years ago
Juergen Hoeller
14f24f43d7
Polishing
3 years ago
Rossen Stoyanchev
829bed03af
Polishing contribution
...
Closes gh-27723
3 years ago
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
3 years ago
Rossen Stoyanchev
0d7c562693
Polishing contribution
...
Closes gh-910
3 years ago
/usr/local/ΕΨΗΕΛΩΝ
913cc079af
TagWriter can write empty attribute
...
See gh-910
3 years ago
Arjen Poutsma
5fbdd6dcfe
Throw exception using capturing patterns in AntPathMatcher
...
Closes gh-27688
3 years ago
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
3 years ago
Rossen Stoyanchev
05ea991d62
Removing locations logging in ResourceHttpRequestHandler
...
See gh-27575
3 years ago
Rossen Stoyanchev
76c9306dda
Adjust logging of resource locations
3 years ago
Rossen Stoyanchev
0705454ce0
Fix typo in Javadoc
...
See gh-27484
3 years ago
Rossen Stoyanchev
4dac8339ff
Filter non-existing static resource locations
...
Same as a2c52a97ba
, on the WebFlux side.
See gh-27538
3 years ago
Juergen Hoeller
0f36569d75
Remove dead fallback code
3 years ago
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
3 years ago
Juergen Hoeller
1490d27d75
Decouple urlResourceWithCharset test from existence of tmp directory
...
See gh-25738
3 years ago