Rossen Stoyanchev
a2d516d526
Replace "whitelist" with alternative words
6 years ago
Juergen Hoeller
c777468056
Polishing
6 years ago
Juergen Hoeller
65154170d3
Polishing
6 years ago
Juergen Hoeller
d71957ce7c
Polishing
6 years ago
Juergen Hoeller
7244f03064
Avoid unnecessary creation of not-found entity in ResponseEntity#of
...
Closes gh-25183
6 years ago
Juergen Hoeller
f3d4df2fd4
Consistently check available local/remote addresses for non-null
6 years ago
Juergen Hoeller
ad5710c1d1
Restore original readOnlyHttpHeaders signature for binary compatibility
...
Closes gh-25034
6 years ago
Arjen Poutsma
847629412f
Respect MimeType charset in Jackson codecs
...
Before this commit, Jackson2CodecSupport and subclasses
did not check media type encoding in the supportsMimeType
method (called from canEncode/canDecode).
As a result, the encoder reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
Closes: gh-25076
6 years ago
Arjen Poutsma
eb0aae066c
Respect MediaType charset in Jackson converters
...
Before this commit, AbstractJackson2HttpMessageConverter and subclasses
did not check media type encoding in the canRead and canWrite
methods. As a result, the converter reported that it can write
(for instance) "application/json;charset=ISO-8859-1", but in practice
wrote the default charset (UTF-8).
This commit fixes that bug.
See: gh-25076
6 years ago
Rossen Stoyanchev
1e25556049
Shared PathPatternParser instance
...
See gh-25143
6 years ago
Juergen Hoeller
914425eefa
Polishing
6 years ago
Sam Brannen
3201671ceb
Polish contribution
...
See gh-25149
6 years ago
dlsrb6342
fce972eec8
Fix BaseCodecConfigurer clone bug
...
Prior to this commit, ExchangeStrategies custom codec's reader and
writer were not registered due to a bug in BaseCodecConfigurer.
This commit fixes this by correcting the implementation of the
DefaultCustomCodecs constructor used within BaseCodecConfigurer.
Closes gh-25149
6 years ago
Rossen Stoyanchev
c0c3c01afd
Fix race condition in WriteResultPublisher
...
between subscription and error from the Publish
Closes gh-25096
6 years ago
Rossen Stoyanchev
955f77bf5d
Add error message to MockServerHttpRequest
...
Closes gh-25109
6 years ago
Rossen Stoyanchev
4f65ba4e74
Simplify creation of HttpContext for Apache HttpClient
...
Closes gh-25066
6 years ago
Rossen Stoyanchev
23a66e016e
UriBuilder javadoc update
...
Closes gh-25055
6 years ago
Rossen Stoyanchev
c3e55d537e
DefaultResponseErrorHandler javadoc update
...
Closes gh-25067
6 years ago
Rossen Stoyanchev
d7a29bbcef
DefaultClientResponseBuilder copies logPrefix
...
Closes gh-25069
6 years ago
Rossen Stoyanchev
8204055924
MockServerHttpRequest accepts custom HTTP method
...
Closes gh-25109
6 years ago
Juergen Hoeller
9631db71c4
Direct exposure of StringBuilder instead of intermediate String
...
Closes gh-25024
6 years ago
Juergen Hoeller
c35b21b49f
Consistent not-null assertions for configured interceptors
...
Closes gh-25088
6 years ago
Rossen Stoyanchev
19ba9087f5
HttpHeaders#equals handles wrapping correctly
...
Closes gh-25034
6 years ago
Rossen Stoyanchev
aa97563853
Add UnknownContentTypeException
...
Closes gh-24964
6 years ago
Rossen Stoyanchev
c35b3e5c82
Fix race condition in WriteResultPublisher
...
Closes gh-24989
6 years ago
Rossen Stoyanchev
583435d068
Consistent ordering in MethodNotAllowedException
...
This caused random failures in a newly added test. Also remove defensive
check in ResponseStatusExceptionResolver.
See gh-24944
6 years ago
Rossen Stoyanchev
18474c921d
Document IAE in HttpHeaders methods that parse ETags
...
See gh-24950
6 years ago
Brian Clozel
dc4cda1b13
WARN against invalid patterns with PathPatternParser
...
As of gh-24952, `PathPatternParser` will strictly reject patterns with
`"**"` in the middle of them. `"**"` is only allowed at the end of the
pattern for matching multiple path segments until the end of the path.
Currently, if `"**"` is used in the middle of a pattern it will be
considered as a single `"*"` instead. Rejecting such cases should
clarify the situation.
This commit prepares for that upcoming change and:
* logs a warning message if such a case is used by an application
* expands the MVC and WebFlux documentation about URI matching in
general
Closes gh-24958
6 years ago
Rossen Stoyanchev
8d31dcaa29
Clarification on path extension deprecations
...
Closes gh-24642
6 years ago
Deycoesr
87f28ce48e
Simplify some control flow code
...
Closes gh-24925
6 years ago
Sam Brannen
b8835c9f32
Copy MockHttpServletRequest changes to spring-web
...
See gh-24916
6 years ago
Oliver Degener
df291a39b1
Fix Javadoc link in DefaultCorsProcessor
...
Closes gh-24921
6 years ago
Sébastien Deleuze
67955dfb35
Prevent duplicated Vary headers in CORS processing
...
Closes gh-24829
6 years ago
Juergen Hoeller
de0d06fab5
Polishing
6 years ago
Lars Grefer
8682a5d89a
Honor overriden AccepptHeaderLocaleContextResolver.getDefaultLocale()
6 years ago
Sam Brannen
9f0ce09cf0
Update copyright date
6 years ago
Sam Brannen
c9e13d448a
Revert change to PathPattern Javadoc
6 years ago
Gurps Bassi
4aca91c3b0
corrected javadoc
6 years ago
Rossen Stoyanchev
7d0f48289b
Improve error handling in WebAsyncManager
...
See gh-24835
6 years ago
陈其苗
13970ae528
Use autoboxing instead of explicit wrapping in tests
...
Closes gh-24801
6 years ago
Sam Brannen
d8567749b8
Fix Javadoc
6 years ago
Sam Brannen
89d282125a
Ensure logPrefix is not null or blank in AbstractListenerWriteProcessor
6 years ago
Sam Brannen
e87ab6f4ee
Update Javadoc for AbstractListenerWriteProcessor.write()
...
Co-authored-by: Rossen Stoyanchev <rstoyanchev@pivotal.io>
6 years ago
Sam Brannen
ddaf0029ae
Polishing
6 years ago
Sam Brannen
329f08ad08
Suppress warnings in Gradle build
6 years ago
Sam Brannen
e26764d249
Remove duplicate words in documentation and polish Javadoc
6 years ago
Sam Brannen
9e30620ac2
Polish contribution
...
See gh-24805
6 years ago
Сергей Цыпанов
e63d1cf12d
Improve usage of ByteArrayOutputStream/ByteArrayInputStream
...
Closes gh-24805
6 years ago
Qimiao Chen
f8ff4e42b9
Use try-with-resource to close resources
...
Closes gh-24807
6 years ago
Qimiao Chen
7c831d2ef4
Replace anonymous inner classes with lambdas in tests
...
Closes gh-24808
6 years ago