Juergen Hoeller
3802aca474
LinkedCaseInsensitiveMap exposes its locale for key conversion
...
Issue: SPR-15752
(cherry picked from commit 9b5132c )
9 years ago
Juergen Hoeller
1332482c40
Polishing
9 years ago
Juergen Hoeller
a9a1f783c5
Polishing
9 years ago
Juergen Hoeller
865953f145
Optimize StringUtils.replace/deleteAny for common no-op case
...
Issue: SPR-15430
(cherry picked from commit ce4eff3 )
9 years ago
Juergen Hoeller
93fac8882f
Undeprecate TypeVariableMap methods on GenericTypeResolver
...
Issue: SPR-15429
(cherry picked from commit 7fbc20e )
9 years ago
Juergen Hoeller
c734c3a3fe
Polishing
9 years ago
Juergen Hoeller
e5010a823b
Test for expected behavior of getAllMergedAnnotations vs findAllMergedAnnotations
...
Issue: SPR-15271
(cherry picked from commit 6108ab1 )
9 years ago
Juergen Hoeller
dfa8a7c358
Polishing
9 years ago
Juergen Hoeller
860e2bcc2d
Revised isInstanceOf/isAssignable message concatenation
...
Issue: SPR-15196
(cherry picked from commit 22322fd )
9 years ago
Juergen Hoeller
d6216fb74a
Consistent logging in ignoreResourceNotFound scenarios
...
Issue: SPR-15218
(cherry picked from commit 448ea4c )
9 years ago
Juergen Hoeller
dec1c93b24
SettableListenableFuture consistently tracks cancellation state
...
Issue: SPR-15202
(cherry picked from commit 9666fcc )
9 years ago
Juergen Hoeller
8207c53b9a
Polishing
9 years ago
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
9 years ago
Juergen Hoeller
3304efd64d
Consistent type variable resolution for arrays/collections (in particular at field level)
...
Deprecating GenericCollectionTypeResolver in favor of direct ResolvableType usage.
Issue: SPR-15160
(cherry picked from commit 5e946c2 )
9 years ago
Juergen Hoeller
e2d06eaae5
Deprecate outdated abstractions/delegates in core/util
...
Issue: SPR-15159
9 years ago
Juergen Hoeller
e9a87de965
LinkedCaseInsensitiveMap provides case-insensitive keySet again
...
Issue: SPR-15026
(cherry picked from commit 50e5a65 )
9 years ago
Juergen Hoeller
505480cf63
LinkedCaseInsensitiveMap delegates to LinkedHashMap instead of extending it
...
Issue: SPR-15026
(cherry picked from commit 8147c11 )
9 years ago
Juergen Hoeller
b5f2e56e38
Polishing
9 years ago
Juergen Hoeller
442d8a68a6
TypeDescriptor properly narrows ResolvableType for non-typed collection elements
...
Issue: SPR-14971
(cherry picked from commit aef1460 )
9 years ago
Juergen Hoeller
84d8135cbb
MimeType parsing properly handles quoted semicolons
...
Issue: SPR-14986
(cherry picked from commit 7714eec )
9 years ago
Juergen Hoeller
17f7f1fc15
Consistent catching of Throwable for introspection failures
...
Issue: SPR-12889
(cherry picked from commit 0186809 )
9 years ago
Juergen Hoeller
cbc512f3be
Efficient type plus annotation comparisons during converter retrieval
...
Issue: SPR-14926
Issue: SPR-12926
(cherry picked from commit f6b8b84 )
9 years ago
Juergen Hoeller
7e7504f5ea
Polishing
10 years ago
Juergen Hoeller
edf1df33cc
ObjectToObjectConverter properly handles constructors on non-public classes
...
Issue: SPR-14304
(cherry picked from commit 9659bc5 )
10 years ago
Juergen Hoeller
144f687ee9
Polishing
...
(cherry picked from commit 2f9ed59 )
10 years ago
Juergen Hoeller
adb9dc7ede
ResolvableType equals/hashCode does not consider TypeProvider source
...
Issue: SPR-14826
(cherry picked from commit be187ba )
10 years ago
Juergen Hoeller
ace25d4987
Polishing
...
(cherry picked from commit ed19dc7 )
10 years ago
Juergen Hoeller
7ddaf49eb2
StringUtils.parseLocaleString accepts Java 7 variants
...
Issue: SPR-14718
(cherry picked from commit f24ce76 )
10 years ago
Juergen Hoeller
086e764845
ResolvableType.java.forRawClass(Class) supports isAssignableFrom(ResolvableType) as well
...
Issue: SPR-14648
(cherry picked from commit 1a30252 )
10 years ago
Juergen Hoeller
696f687419
Moved encodeHttpHeaderFieldParam method to HttpHeaders itself (including tests)
...
This commit also sets the test source encoding to UTF-8.
Issue: SPR-14547
(cherry picked from commit a8f7f75 )
10 years ago
Brian Clozel
9b91b9db8c
Add RFC5987 support for HTTP header field params
...
This commit adds support for HTTP header field parameters encoding, as
described in RFC5987.
Note that the default implementation still relies on US-ASCII encoding,
as the latest rfc7230 Section 3.2.4 says that:
> Newly defined header fields SHOULD limit their field values to
US-ASCII octets
Issue: SPR-14547
Cherry-picked from: f2faf84f31
10 years ago
Juergen Hoeller
1932a9d729
Polishing
...
(cherry picked from commit de91b1a )
10 years ago
Juergen Hoeller
cc93c2a559
Polishing
10 years ago
Juergen Hoeller
95c2e0a996
Upgrade JiBX (and BCEL) towards support of 1.8 bytecode level
...
This commit also drops the now-unused CUSTOM_COMPILATION test group and the outdated JavaVersion class.
Issue: SPR-10423
(cherry picked from commit 01110f6 )
10 years ago
Juergen Hoeller
64595597f3
LinkedCaseInsensitiveMap properly overrides HashMap.clone()
...
Issue: SPR-14509
(cherry picked from commit dd65f7a )
10 years ago
Juergen Hoeller
36e1c82ef5
Backported refinements and polishing
10 years ago
Juergen Hoeller
1ca4b81856
Reinstated tests for implicit aliases
...
Issue: SPR-14437
(cherry picked from commit 5ea8c26 )
10 years ago
Juergen Hoeller
4d6d5e0ddd
Consistent alias processing behind AnnotatedTypeMetadata abstraction (also for ASM)
...
Issue: SPR-14427
(cherry picked from commit 3d3407c )
10 years ago
Juergen Hoeller
a1b58ee601
DigestUtils processes InputStream with buffered read instead of full copy
...
Issue: SPR-14427
(cherry picked from commit 61db8e9 )
10 years ago
Juergen Hoeller
e30429051d
Polishing
...
(cherry picked from commit 6aa5931 )
10 years ago
Juergen Hoeller
92d78c10a2
Polishing (backported from master)
10 years ago
Sam Brannen
8389e3fc35
Suppress warnings in Gradle build
10 years ago
Juergen Hoeller
1d42009c0a
Deprecated getPropertyAsClass and refined PropertySourcesPropertyResolver's logging
...
Issue: SPR-14370
10 years ago
Juergen Hoeller
a979885d17
SettableListenableFuture properly rethrows Error
...
Issue: SPR-14298
10 years ago
Juergen Hoeller
42d32ba396
ResourceRegion fits better in core.io.support (next to EncodedResource)
...
Issue: SPR-14221
10 years ago
Brian Clozel
3c92ddc94b
Fix path matching for paths containing spaces
...
Prior to this commit, the latest optimizations introduced in SPR-13913
would prevent matching when patterns contained spaces. Indeed, the
optimized path would not fully tokenize the paths nor trim the tokens,
as the "longer" code path does.
This commit disables this optimized path when the `trimTokens` option is
set to `true`.
Also, the `trimTokens` setting is now set to `false` by default.
Issue: SPR-14247
10 years ago
Brian Clozel
5ac31fb39d
Refactor HTTP Range support with ResourceRegion
...
Prior to this commit, the `ResourceHttpMessageConverter` would support
all HTTP Range requests and `MethodProcessors` would "wrap" controller
handler return values with a `HttpRangeResource` to support that use
case in Controllers.
This commit refactors that support in several ways:
* a new ResourceRegion class has been introduced
* a new, separate, ResourceRegionHttpMessageConverter handles the HTTP
range use cases when serving static resources with the
ResourceHttpRequestHandler
* the support of HTTP range requests on Controller handlers has been
removed until a better solution is found
Issue: SPR-14221, SPR-13834
10 years ago
Juergen Hoeller
bf7b475267
SocketUtils considers port range including maxPort
...
Issue: SPR-14211
10 years ago
Juergen Hoeller
9bf5a5cbcb
FastByteArrayInputStream returns correct count from read(byte[])
...
Issue: SPR-14209
10 years ago
Rossen Stoyanchev
50c11028d5
Improve illegal MimeType checks
...
Issue: SPR-14124
10 years ago