Juergen Hoeller
c16f36b537
Upgrade to Mockito 2.23.4, Selenium 3.141.59, JSON-P 1.1.4
6 years ago
Juergen Hoeller
ae8f680d2e
Polishing
6 years ago
Juergen Hoeller
bf272b0b21
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
6 years ago
Juergen Hoeller
b1b28d4641
ToStringVisitor consistently returns platform-independent line breaks
...
Issue: SPR-17322
6 years ago
Johnny Lim
17b2b8af86
Remove an unnecessary local variable
6 years ago
Juergen Hoeller
262c702da4
CachingMetadataReaderFactory releases shared cache Map on clearCache()
...
LocalResourceCache properly initializes cacheLimit on construction.
Issue: SPR-17527
6 years ago
Rossen Stoyanchev
548126ddd8
Consistently pass param info to ServerWebInputException
...
Issue: SPR-17232
6 years ago
Rossen Stoyanchev
7e9857a663
ForwardedHeaderTransformer handles encoding correctly
...
Issue: SPR-17525
6 years ago
Rossen Stoyanchev
0134c9d608
Update @since version after backport
6 years ago
Brian Clozel
5fe628a811
Polish
6 years ago
Rossen Stoyanchev
759013eb17
Consistent isEmpty check in WebTestClient
...
Issue: SPR-17522
6 years ago
Rossen Stoyanchev
a55ca56e34
BEST_MATCHING_HANDLER_ATTRIBUTE for spring-webmvc
...
Issue: SPR-17518
6 years ago
Rossen Stoyanchev
d6a5c3428b
Improve docs on STOMP / WebSocket frame max size
...
Issue: SPR-17514
6 years ago
Rossen Stoyanchev
24848ec1bc
Configurable TcpClient for ReactorNettyTcpClient
...
Issue: SPR-17523
6 years ago
Juergen Hoeller
fef0e21d8b
Remove unused LinkedList import
6 years ago
Juergen Hoeller
8c7579eba8
Polishing
6 years ago
Juergen Hoeller
a3d763d137
Consistent parameter resolution for batch updates (IN clauses etc)
...
Includes deprecation of (NamedParameter)BatchUpdateUtils in favor of inlined code in (NamedParameter)JdbcTemplate itself.
Issue: SPR-17402
6 years ago
Juergen Hoeller
2a5d7690b6
CglibAopProxy skips method proxy for equals/hashCode/toString override
...
Issue: SPR-17500
6 years ago
Juergen Hoeller
f5aeb81473
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
6 years ago
stsypanov
02d3cfa42d
Use ArrayList instead of LinkedList
6 years ago
Vojtech Janota
12f168290d
SPR-17492: FastByteArrayOutputStream.read byte-to-int conversion
6 years ago
Arjen Poutsma
88cb126511
Add RequestPredicate Visitor to WebFlux.fn
...
This commit introduces RequestPredicates.Visitor, an implementation of
the visitor pattern for RequestPredicates.
Issue: SPR-17322
6 years ago
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