Arjen Poutsma
f3c29fe2e6
Add test for UriUtils.encode(String, Charset)
...
Issue: SPR-17451
6 years ago
Rossen Stoyanchev
abf9ce8a34
Improve handling of empty response with Mono<T>
...
Issue: SPR-17560
6 years ago
Arjen Poutsma
63275ae2b7
Add Test for LeakAwareDataBufferFactory
6 years ago
Brian Clozel
3203d39821
Remove Content-Length response header from errors
...
Prior to this commit, when errors happened before the response was
committed, the `Content-Length` response header would be left as is.
This can be problematic since the error can be handled later in the
chain and the response body changed accordingly. For example, Spring
Boot renders error pages in those cases. If the `Content-Length` is set,
HTTP clients can get confused and only consider part of the error
response body.
This commit ensures that any `Content-Length` response header is removed
in case of errors, if the response is not already committed.
This is done at the `AbstractServerHttpResponse` level, since errors can
be handled in multiple places and the response itself is the safest
place to handle this case.
As a consequence, this commit also removes `Content-Length` checks in
`EncoderHttpMessageWriter` since we now consider that we should rely on
the response body we're about to write rather than any previously set
value.
Issue: SPR-17502
6 years ago
Juergen Hoeller
ce5c65c0b0
Upgrade to JAXB 2.3.1, Groovy 2.5.4, Jetty 9.4.14, Tomcat 9.0.13
...
Includes JAX-WS 2.3.1, Awaitility 3.1.3, OkHttp 3.12, Woodstox 5.2.
6 years ago
Stephane Nicoll
afa38f5f97
Merge pull request #2019 from Hanope
...
* pr/2019:
Polish contribution
Fix typos
6 years ago
Stephane Nicoll
7b6f2f8fb3
Polish contribution
...
Closes gh-2019
6 years ago
Hanope
bfb49c7249
Fix typos
...
See gh-2019
6 years ago
HeemangHan
729ce4108d
Correct typos ( #2018 )
6 years ago
Rossen Stoyanchev
1a37345e84
Fix checkstyle violation and polish
6 years ago
Rossen Stoyanchev
c89e6c616a
Improve logging of request mapping information
...
Issue: SPR-17450
6 years ago
Arjen Poutsma
539cfc24c6
Refactor AbstractEncoderTestCase
...
Refactor AbstractEncoderTestCase to resemble AbstractDecoderTestCase
Issue: SPR-17449
6 years ago
Arjen Poutsma
39ce989d1a
Add and use AbstractDecoderTestCase
...
Introduce new base test case for decoder tests, and use it.
Issue: SPR-17449
6 years ago
Brian Clozel
0f2d9df79f
Upgrade to Reactor Californium SNAPSHOTs
6 years ago
Jay Bryant
b9603680bc
Fixing typoes
...
Jim Showalter found two typoes in the web section. This PR fixes them. Thanks, Jim.
6 years ago
Rossen Stoyanchev
7bbd4c681f
Merge pull request #2010 from dimitrisli/SPR-17459
6 years ago
Rossen Stoyanchev
ba3fef3e8a
Refactor media types parsing improvements
...
Issue: SPR-17459
6 years ago
Dimitrios Liapis
f4b05dc2e7
MediaType parsing supports comma inside quotes
...
Issue: SPR-17459
6 years ago
Rossen Stoyanchev
46a5fb7a91
Configurable Marshaller/Unmarshaller in JAXB2 codecs
...
Issue: SPR-17388
6 years ago
Juergen Hoeller
093254b2b3
Jackson2ObjectMapperBuilder stores visibility declarations in order
...
Issue: SPR-17489
6 years ago
Rossen Stoyanchev
9f857c1f16
Replace constant exceptions with inlined ones
...
Issue: SRP-17475
6 years ago
Rossen Stoyanchev
75b1396768
Fall back on default server response status code
...
Update the ServerHttpRespnose contract to indicate that server specific
sub-classes should fall back on the default status, if a status code
has not been set explicitly.
Issue: SPR-17368
6 years ago
Arjen Poutsma
4182935b7a
Revert optimization in StringDecoder
...
This commit reverts the first optimizations listed in
fa096dc60f
, as the default delimiters
do vary, namely by the charset given in the message mime type.
The mimetype charset might not be compatible with ASCII (i.e. anything
but UTF-8 or ISO-8859-1, for instance it might be UTF-16), and will not
successfully find the default delimiters as a consequence.
Added test to indicate the bug.
6 years ago
Arjen Poutsma
445b76bbe8
Polishing
6 years ago
Arjen Poutsma
3bab3515b1
Add and use AbstractEncoderTestCase
...
Introduce new base test case for encoder tests, and use it.
Issue: SPR-17449
6 years ago
Arjen Poutsma
0c0de851f4
Add LeakAwareDataBufferFactory
...
Introduce a data buffer factory that can check for memory leaks in
@After methods.
Issue: SPR-17449
6 years ago
Arjen Poutsma
e31914bada
Polishing
6 years ago
Juergen Hoeller
40148c0560
Consistent use of ResolvableType.toClass() for assignability checks
...
Issue: SPR-17086
6 years ago
Juergen Hoeller
3a66927bd2
Polishing
6 years ago
Juergen Hoeller
c58da71006
Synthesize parameter annotations from interface methods as well
...
Issue: SPR-17460
6 years ago
Juergen Hoeller
818c2aa3b9
ServerRequest.attribute(name) defensively accesses concurrent map
...
Issue: SPR-17486
6 years ago
Juergen Hoeller
d96a7b4bfc
ClientRequest.attribute(name) defensively handles null value
...
Issue: SPR-17486
6 years ago
Sam Brannen
b3aad549c9
Fix @since tag
6 years ago
Sam Brannen
865f1f692a
Introduce tests for @Sql and @Transactional support in @Nested test classes
...
This commit was inspired by the following question on Stack Overflow.
https://stackoverflow.com/questions/53236807/spring-boot-testing-run-script-in-a-nested-test-sql-script-sql
6 years ago
Sam Brannen
93df24af16
Polishing
6 years ago
Rossen Stoyanchev
a5339d71ea
WebClient handles no Content-Type with data correctly
...
Issue: SPR-17482
6 years ago
Rossen Stoyanchev
e4c84ec757
Consistent default encoding in DefaultUriBuilderFactory
...
Issue: SPR-17465
6 years ago
Rossen Stoyanchev
f5da737bd4
Polish
6 years ago
Rossen Stoyanchev
c187cb2fa1
Ensure client response is drained with onStatus hook
...
Issue: SPR-17473
6 years ago
Rossen Stoyanchev
ed1d63dcc3
ResolvableMethod copy in spring-messaging src/test
6 years ago
Juergen Hoeller
e26ae9853e
Up-to-date version and link in ASM/CGLIB/Objenesis package javadoc
...
Issue: SPR-17267
Issue: SPR-17372
6 years ago
Juergen Hoeller
362c59c310
Consistently return empty array in case of empty batch arguments
...
Issue: SPR-17476
6 years ago
Stephane Nicoll
b6e8674700
Merge pull request #2011 from bactoria
...
* pr/2011:
Fix typo
6 years ago
황준오
db8a94ce5f
Fix typo
...
Closes gh-2011
6 years ago
Stephane Nicoll
3232825a55
Clarify @Async documentation
...
Issue: SPR-17458
6 years ago
Juergen Hoeller
e71ff2901a
Polishing
6 years ago
Juergen Hoeller
d9c1811d21
Deprecate NON_BRIDGED_METHODS constant as of 5.0.11 as well
...
Issue: SPR-17464
6 years ago
Juergen Hoeller
5e7a8b275d
Polishing
6 years ago
Juergen Hoeller
ea3250c8d6
Explicit notes on class/method-level semantics in class hierarchies
...
Issue: SPR-17445
6 years ago
Juergen Hoeller
b1f5f51503
Synchronized onRefresh execution for concurrent ContextRefreshedEvent
...
Issue: SPR-17442
6 years ago