Juergen Hoeller
d3b713d5f0
Upgrade to Protobuf 3.7.1 and HtmlUnit 2.35
6 years ago
Juergen Hoeller
82d32f0875
Remove unused import
6 years ago
Rossen Stoyanchev
44659f4945
Unwrap Part content in asyncPart builder method
...
Closes gh-22876
6 years ago
Phil Webb
d7320de871
Migrate away from ExpectedException ( #22922 )
...
* Add limited checkstyles to test code
Add a limited set of checkstyle rules to the test codebase to improve
code consistency.
* Fix checksyle violations in test code
* Organize imports to fix checkstyle for test code
* Migrate to assertThatExceptionOfType
Migrate aware from ExpectedException rules to AssertJ exception
assertions. Also include a checkstyle rules to ensure that the
the ExpectedException is not accidentally used in the future.
See gh-22894
6 years ago
Rossen Stoyanchev
7e6e3d7027
Switch writeAcceptCharset to false by default
...
Closes gh-22506
6 years ago
Rossen Stoyanchev
6e0dfd6999
Check if Accept-Charset is present before adding it
...
Closes gh-22506
6 years ago
Arjen Poutsma
dc01917dae
Javadoc
6 years ago
Arjen Poutsma
e7cca7792d
Add way to override default multipartReader
...
This commit introduces a way to override the default multipart reader,
for instance to the SynchronossPartHttpMessageReader.
6 years ago
Arjen Poutsma
32915d8bf5
Add logging to DefaultMultipartMessageReader
6 years ago
Arjen Poutsma
e625ace8c8
Add reference counting for UndertowDataBuffer
...
This commit adds proper reference counting to the UndertowDataBuffer.
6 years ago
Arjen Poutsma
cdd346222c
Add reference counting for UndertowDataBuffer
...
This commit adds proper reference counting to the UndertowDataBuffer.
6 years ago
Juergen Hoeller
cdf51c3d51
Nullability refinements and related polishing
6 years ago
Arjen Poutsma
fb642ce723
Introduce DefaultMultipartMessageReader
...
This commit introduces the DefaultMultipartMessageReader, a fully
reactive multipart parser that does have any third party dependencies.
Closes gh-21659
6 years ago
Juergen Hoeller
053b95ceeb
Refer to non-deprecated Jackson 2.5+ addMixIn method in javadoc
6 years ago
Juergen Hoeller
c841b62bb0
Consistent parameter retrieval across InvocableHandlerMethod variants
...
See gh-22900
6 years ago
Juergen Hoeller
3f85a7db1b
Consistent exception naming across InvocableHandlerMethod variants
...
See gh-22900
6 years ago
Sebastien Deleuze
4b31feb243
Clarify Jackson2ObjectMapper.modules(ToInstall) semantics
...
Closes gh-22747
6 years ago
Sam Brannen
d616e10dca
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Johnny Lim
d489227874
Use HttpHeaders constants where possible
6 years ago
Juergen Hoeller
ea4a174583
Polishing
6 years ago
Juergen Hoeller
a7949ac84a
Consistent use of StringUtils.hasLength(String) vs isEmpty(Object)
6 years ago
Juergen Hoeller
4e10735e8f
MockHttpServletRequest restores default locale for empty accept header
...
Closes gh-22877
6 years ago
Juergen Hoeller
5b1b1bae37
Consistent use of try-with-resources for local resource closing
6 years ago
Juergen Hoeller
31c3b8a291
Avoid unguarded String concatenation for debug/trace logging
...
Closes gh-22874
6 years ago
Sebastien Deleuze
89454e69c3
Deprecate MediaType.APPLICATION_JSON_UTF8
...
This commit deprecates MediaType.APPLICATION_JSON_UTF8 and
MediaType.APPLICATION_PROBLEM_JSON_UTF8 in favor of
MediaType.APPLICATION_JSON and MediaType.APPLICATION_PROBLEM_JSON since
UTF-8 encoding is now handled correctly by most browsers
(related bug has been fixed in Chrome since September 2017).
MediaType.APPLICATION_JSON is now used as the default JSON content type.
Closes gh-22788
6 years ago
Sebastien Deleuze
5cd6763193
Add CBOR codec (single value only)
...
This commit adds CBOR reactive support for single value only in
order to allow CBOR usage in RSocket. Notice that no CBOR support
is configured on WebFlux, this will require gh-20513 to be resolved.
Closes gh-22767
6 years ago
Phillip Webb
55ac110f7b
Fix LinkedCaseInsensitiveMap collection methods
...
Ensure that results returned from keySet, entrySet & values are tracked
to remove case insensitive keys from the source map.
Closes gh-22821
6 years ago
Juergen Hoeller
e5e2d2d661
Polishing (includes minor performance refinements from master)
6 years ago
Juergen Hoeller
42fda0ba15
Upgrade to Tomcat 9.0.19, Jetty 9.4.17, Netty 4.1.35, OkHttp 3.14.1
...
Includes upgrade to Hibernate ORM 5.3.10 (for branch 5.1.x)
6 years ago
Sam Brannen
e5d64e6680
Remove dead code in HttpHeadersTests
6 years ago
Sam Brannen
e187a42bfc
Introduce failing tests for HttpHeaders
...
See gh-22821
6 years ago
Rossen Stoyanchev
c09e711eb2
Unwrap Optional for @RequestParam reverse resolution
...
Closes gh-22656
6 years ago
Rossen Stoyanchev
13c746ae9d
Follow-up fix for #5b711a
...
Not only do we need to preserve Mono in writeWith in the base class
but also in ReactorServerHttpResponse where buffers are mapped.
See gh-22800
6 years ago
Rossen Stoyanchev
5b711a964b
Pass Mono to Reactor Netty when feasible
...
Closes gh-22800
6 years ago
Rossen Stoyanchev
15b2fb1210
Polish
...
Replacing a couple of calls to Mono.fromCallable with Mono.just which
seems to work with doOnDiscard except when nested inside Flux.defer.
6 years ago
Rossen Stoyanchev
375090bb7c
LeakAwareDataBuffer related fixes
...
Following on 3ebbfa2191
where the local
refCount was removed in favor of using the internal refCount of the
native data buffer, this commit ensures that LeakAwareDataBufferFactory
uses a PooledDataBufferFactory delegate by default.
There are also fixes for test issues with eager allocation uncovered by
these changes in StringDecoder and ResourceDecoder.
6 years ago
Rossen Stoyanchev
ed650891ca
Add filter to add exchange to Reactor Context
...
Closes gh-21746
6 years ago
Rossen Stoyanchev
0109231d8e
Ensure Jackson generator flushed
...
Closes gh-22771
6 years ago
Juergen Hoeller
b07d46da99
MockCookie compares attributes in case-insensitive manner
...
Closes gh-22786
6 years ago
Rossen Stoyanchev
5fc18064f2
Use encode with an Object value where feasible
...
Closes gh-22782
6 years ago
Rossen Stoyanchev
181482fa15
Add option to encode with an Object value
...
See gh-22782
6 years ago
Rossen Stoyanchev
f89d2ac148
Use decode from a DataBuffer where feasible
...
See gh-22782
6 years ago
Rossen Stoyanchev
a912d8de1e
Add option to decode from a DataBuffer
...
See gh-22782
6 years ago
Rossen Stoyanchev
2aae81ef0c
Join buffers in decodeToMono for Jackson and Jaxb2
...
Closes gh-22783
6 years ago
Sam Brannen
6d7bf8050f
Polishing
6 years ago
Rossen Stoyanchev
28e206a946
Apply doOnDiscard for streaming mode
...
Use of Flux.just is problematic in that if the Flux is cancelled before
demand, the item may never be read, nor freed. Flux#just does not
even delegate cancellation signals.
Closes gh-22731
6 years ago
Rossen Stoyanchev
b11e7feff6
Polish during review of DataBuffer handling
6 years ago
Rossen Stoyanchev
bd956ed75a
DataBuffer fixes in Protobuf codecs
...
Closes gh-22731
6 years ago
Rossen Stoyanchev
f839c1f9cd
Remove warning about empty @RequestMapping path
...
See gh-22543
6 years ago
Juergen Hoeller
2835424f9d
Jackson2Tokenizer creates fully configured DeserializationContext
...
Closes gh-22510
6 years ago