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
Rossen Stoyanchev
3175f0771e
Remove dumpString from DataBufferTestUtils
...
See gh-24786
6 years ago
Rossen Stoyanchev
7aa06b8610
Polishing contribution
...
See gh-24786
6 years ago
Сергей Цыпанов
f17b0125ff
Simplify conversion of DataBuffer to String
...
See gh-24786
6 years ago
Rossen Stoyanchev
dd3dd5d67d
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
6 years ago
Johnny Lim
0f50a9a60a
Fix empty domain handling in ResponseCookie
...
This commit also updates its test to use its intended inputs.
6 years ago
Juergen Hoeller
1800b10717
Expose parameter annotations from interfaces across entire class hierarchy
...
Closes gh-24127
6 years ago
Juergen Hoeller
7ebd850b85
Mark MediaTypeNotSupportedStatusException as deprecated
...
Closes gh-24743
6 years ago
Rossen Stoyanchev
e11373fe69
Unwrap XMLStreamException from cause
...
Closes: gh-24622
6 years ago
Rossen Stoyanchev
a7fe6b8f5c
Avoid NPE in ResponseCookie on null domain
...
See gh-24663
6 years ago
Rossen Stoyanchev
b121c0e2ea
Avoid ClassCastException in TomcatHttpHandlerAdapter
...
Closes gh-24707
6 years ago
Sam Brannen
17140c8d4b
Polish contribution
...
See gh-24595
6 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
6 years ago
Sam Brannen
a8feb792da
Fix broken Javadoc links
6 years ago
Rossen Stoyanchev
a599859595
ServerCookie ignores empty domain with double quotes
...
Closes gh-24663
6 years ago
Juergen Hoeller
6df80a8f70
Restore original JsonMappingException handling (assuming invalid input)
...
Closes gh-24610
Closes gh-24630
Closes gh-24646
6 years ago
Rossen Stoyanchev
a98bf30ee6
ShallowEtagHeaderFilter checks for pre-existing eTag
...
The filter now checks for an explicitly set eTag and uses it instead of
generating one, and also suppresses caching.
Closes gh-24635
6 years ago
Rossen Stoyanchev
d3da7a50ec
Polishing and minor refactoring
...
See gh-24635
6 years ago
Rossen Stoyanchev
2afae430eb
Update list of support multipart media types
...
See gh-24582
6 years ago
Johnny Lim
8285666ee8
Polish ReactorResourceFactory
...
Closes gh-24620
6 years ago
Adrian Cole
7f5395a216
Fix typos in AbstractClientHttpRequest
...
Closes gh-24623
6 years ago
ZhangT
c5fb7b9fb7
Simplify some redundant code
...
Closes gh-24586
Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
6 years ago
Juergen Hoeller
d72c90cd7a
Assign TokenBuffer field with createToken() result
6 years ago
Rossen Stoyanchev
b6f502db4e
Polishing
6 years ago
Brian Clozel
f1680e5cee
Configure quiet period for shutting down Reactor resources
...
This commit adds two new properties to the `ReactorResourceFactory`.
This allows to configure the quiet and timeout periods when shutting
down Reactor resources. While we'll retain Reactor Netty's default for
production use, this option is useful for tests and developement
environments when developers want to avoid long waiting times when
shutting down resources.
Fixes gh-24538
6 years ago
Rossen Stoyanchev
de608a08ed
Polishing contribution
...
See gh-24518
6 years ago
Robert Gründler
ae9268004d
Added debug logging to DefaultWebSessionManager
...
See gh-24518
6 years ago
Arjen Poutsma
4882eb278d
Convert non-UTF-8 JSON
...
Jackson's asynchronous parser does not support any encoding except UTF-8
(or ASCII). This commit converts non-UTF-8/ASCII encoded JSON to UTF-8.
Closes gh-24489
6 years ago
Sam Brannen
e029dbf607
Polish Javadoc for ClientHttpResponse
6 years ago
Hyunjin Choi
37ba57a921
Polish some test classes by using predefined constants
...
Closes gh-24532
6 years ago
Juergen Hoeller
a4179b4795
Polishing
6 years ago
Juergen Hoeller
9f6572a095
Add missing final declaration for static field
6 years ago
Juergen Hoeller
b889700548
Differentiate MismatchedInputException versus ValueInstantiationException
...
Closes gh-24455
6 years ago
Rossen Stoyanchev
9277b47040
Polishing: remove use of cast where avoidable
6 years ago
Rossen Stoyanchev
e35d3b8bb5
Update advice on RestTemplate
...
Closes gh-24503
6 years ago
Rossen Stoyanchev
28a95e89f3
Upgrade to Dysprosium SR5 snapshots
...
See gh-24355
6 years ago