Rossen Stoyanchev
f28e08eceb
Improving contribution
...
See gh-24406
5 years ago
Parviz ROzikov
816466e492
#24406 - Add String based URI template variants
5 years ago
Rossen Stoyanchev
d1708460e7
Log message for unused @ModelAttribute name
...
Closes gh-23877
5 years ago
Rossen Stoyanchev
66bb145247
Fix typo
...
See gh-23915, gh-25018
5 years ago
Rossen Stoyanchev
a7c736915a
Polishing and completing contribution
...
See gh-24866
5 years ago
Rossen Stoyanchev
147b8fb755
Turn off use of path extensions by default
...
Closes gh-23915
5 years ago
Rossen Stoyanchev
aa97563853
Add UnknownContentTypeException
...
Closes gh-24964
5 years ago
Rossen Stoyanchev
c35b3e5c82
Fix race condition in WriteResultPublisher
...
Closes gh-24989
5 years ago
Arjen Poutsma
7bd524e9d7
Add ClientHttpConnector test suite
...
This commit introduces a test suite for ClientHttpConnector
implementations, as well as fixes that resolve issues identified by
these tests.
Closes gh-24941
5 years ago
martin-tarjanyi
3bc1d42dcd
Integrate Apache http client with WebClient
...
This commit introduces a ClientHttpConnector implementation backed by
Apache HttpComponents HttpClient 5.0.
Fixes gh-24700
5 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
5 years ago
Rossen Stoyanchev
18474c921d
Document IAE in HttpHeaders methods that parse ETags
...
See gh-24950
5 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
5 years ago
Rossen Stoyanchev
8d31dcaa29
Clarification on path extension deprecations
...
Closes gh-24642
5 years ago
Deycoesr
87f28ce48e
Simplify some control flow code
...
Closes gh-24925
5 years ago
Sam Brannen
b8835c9f32
Copy MockHttpServletRequest changes to spring-web
...
See gh-24916
5 years ago
Oliver Degener
df291a39b1
Fix Javadoc link in DefaultCorsProcessor
...
Closes gh-24921
5 years ago
Sébastien Deleuze
67955dfb35
Prevent duplicated Vary headers in CORS processing
...
Closes gh-24829
5 years ago
Juergen Hoeller
de0d06fab5
Polishing
5 years ago
Lars Grefer
8682a5d89a
Honor overriden AccepptHeaderLocaleContextResolver.getDefaultLocale()
5 years ago
Sam Brannen
9f0ce09cf0
Update copyright date
5 years ago
Sam Brannen
c9e13d448a
Revert change to PathPattern Javadoc
5 years ago
Gurps Bassi
4aca91c3b0
corrected javadoc
5 years ago
Rossen Stoyanchev
7d0f48289b
Improve error handling in WebAsyncManager
...
See gh-24835
5 years ago
陈其苗
13970ae528
Use autoboxing instead of explicit wrapping in tests
...
Closes gh-24801
5 years ago
Sam Brannen
d8567749b8
Fix Javadoc
5 years ago
Sam Brannen
89d282125a
Ensure logPrefix is not null or blank in AbstractListenerWriteProcessor
5 years ago
Sam Brannen
e87ab6f4ee
Update Javadoc for AbstractListenerWriteProcessor.write()
...
Co-authored-by: Rossen Stoyanchev <rstoyanchev@pivotal.io>
5 years ago
Sam Brannen
ddaf0029ae
Polishing
5 years ago
Sam Brannen
329f08ad08
Suppress warnings in Gradle build
5 years ago
Sam Brannen
e26764d249
Remove duplicate words in documentation and polish Javadoc
5 years ago
Sam Brannen
9e30620ac2
Polish contribution
...
See gh-24805
5 years ago
Сергей Цыпанов
e63d1cf12d
Improve usage of ByteArrayOutputStream/ByteArrayInputStream
...
Closes gh-24805
5 years ago
Qimiao Chen
f8ff4e42b9
Use try-with-resource to close resources
...
Closes gh-24807
5 years ago
Qimiao Chen
7c831d2ef4
Replace anonymous inner classes with lambdas in tests
...
Closes gh-24808
5 years ago
Rossen Stoyanchev
3175f0771e
Remove dumpString from DataBufferTestUtils
...
See gh-24786
5 years ago
Rossen Stoyanchev
7aa06b8610
Polishing contribution
...
See gh-24786
5 years ago
Сергей Цыпанов
f17b0125ff
Simplify conversion of DataBuffer to String
...
See gh-24786
5 years ago
Rossen Stoyanchev
dd3dd5d67d
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
5 years ago
Johnny Lim
0f50a9a60a
Fix empty domain handling in ResponseCookie
...
This commit also updates its test to use its intended inputs.
5 years ago
Juergen Hoeller
1800b10717
Expose parameter annotations from interfaces across entire class hierarchy
...
Closes gh-24127
5 years ago
Juergen Hoeller
7ebd850b85
Mark MediaTypeNotSupportedStatusException as deprecated
...
Closes gh-24743
5 years ago
Rossen Stoyanchev
e11373fe69
Unwrap XMLStreamException from cause
...
Closes: gh-24622
5 years ago
Rossen Stoyanchev
a7fe6b8f5c
Avoid NPE in ResponseCookie on null domain
...
See gh-24663
5 years ago
Rossen Stoyanchev
b121c0e2ea
Avoid ClassCastException in TomcatHttpHandlerAdapter
...
Closes gh-24707
5 years ago
Sam Brannen
17140c8d4b
Polish contribution
...
See gh-24595
5 years ago
Andrew Woodbury
2fb13d410d
Include response body in UnknownHttpStatusCodeException
...
Spring Framework 5.2.2 introduced a regression in
DefaultResponseErrorHandler.handleError(ClientHttpResponse)
Specifically, for use cases where the InputStream had already been
consumed by the first invocation of getResponseBody(), the second
invocation of getResponseBody() resulted in the response body being
absent in the created UnknownHttpStatusCodeException.
This commit fixes this by invoking getResponseBody() only once in
DefaultResponseErrorHandler.handleError(ClientHttpReponse) in order to
reuse the retrieved response body for creating the exception message
and as a separate argument to the UnknownHttpStatusCodeException
constructor.
Closes gh-24595
5 years ago
Sam Brannen
a8feb792da
Fix broken Javadoc links
5 years ago
Rossen Stoyanchev
a599859595
ServerCookie ignores empty domain with double quotes
...
Closes gh-24663
5 years ago
Juergen Hoeller
6df80a8f70
Restore original JsonMappingException handling (assuming invalid input)
...
Closes gh-24610
Closes gh-24630
Closes gh-24646
5 years ago