Rossen Stoyanchev
673a20cb10
Defensive initialization of AsyncXMLInputFactory
...
Aalto's InputFactoryImpl already disables loading of external entities
by default (property "javax.xml.stream.isSupportingExternalEntities").
This commit goes further by applying the same defensive measures as we
do elsewhere for XMLInputFactory, which disables DTD completely.
Arguably there is no good reason to enable that by default in WebFlux.
6 years ago
Brian Clozel
f52f3a2f35
Upgrade to Reactor Californium SNAPSHOTs
6 years ago
Stephane Nicoll
77129f5a2b
Polish
6 years ago
Stephane Nicoll
d289befa2b
Fix assertions
6 years ago
Stephane Nicoll
b802c28d27
Merge pull request #2068 from Niconal
...
* pr/2068:
Polish "Add missing [ in toString of WebSocketMessageBrokerStats"
Add missing [ in toString of WebSocketMessageBrokerStats
6 years ago
Stephane Nicoll
556656b35a
Polish "Add missing [ in toString of WebSocketMessageBrokerStats"
...
Closes gh-2068
6 years ago
Niconal
74630a1b0c
Add missing [ in toString of WebSocketMessageBrokerStats
...
See gh-2068
6 years ago
Rossen Stoyanchev
63984800e4
Lenient URI template encoding
...
URI template encoding ignores mismatched curly braces, treating them as
literal parts instead.
Issue: SPR-17630
6 years ago
Rossen Stoyanchev
4b24bcb799
More accurate checks for presence of MediaType.ALL
...
Typically a straight up equals as well as Collections#contains
checks for MediaType.ALL is susceptible to the presence of
media type parameters.
This commits adds equalsTypeAndSubtype as well as an
isPresentIn(Collection<MimeType>) methods to MimeType to faciliate
with checks for MediaType.ALL.
Issue: SPR-17550
6 years ago
Rossen Stoyanchev
1cb9f2c7b2
Explicit HEAD sorted higher than implicit one
...
Same fix as #7cdcc1 but for WebFlux.
Issue: SPR-14182
6 years ago
Stephane Nicoll
72fbbb2403
Merge pull request #2064 from pierDipi
...
* pr/2064:
Fix typo
6 years ago
Pier Dipi
d459e1ad61
Fix typo
...
Closes gh-2064
6 years ago
Sebastien Deleuze
78a6429c32
Document NumberUtils.parseNumber() trim behavior
...
Issue: SPR-9523
6 years ago
Chen Dayu
bd6432cb79
Fix formatting in data-access.adoc ( #2062 )
6 years ago
Sébastien Deleuze
fced4e1f9c
Merge pull request #2061 from Gyllsdorff
...
Fix spelling of "reactive HttpClient" in doc
6 years ago
Gyllsdorff
56d93bac89
Fix spelling of "reactive HttpClient" in doc
6 years ago
Juergen Hoeller
8d1de75b60
Upgrade to WebJars Locator 0.36 and OkHttp 3.12.1
...
Includes JRuby 9.2.5 and Jetty Reactive HttpClient 1.0.2.
6 years ago
Juergen Hoeller
b2756f5bd2
Relaxed position assertion (for overflows in large inline maps)
...
Issue: SPR-17605
6 years ago
Juergen Hoeller
31a24720a6
Consistent support for EnumSet subclasses in CollectionFactory
...
Issue: SPR-17619
6 years ago
Juergen Hoeller
7a7958f275
MockMvcResultMatchers.forwardedUrl argument declared as nullable
...
Issue: SPR-17623
6 years ago
Stephane Nicoll
ca9c34710f
Merge pull request #2052 from igor-suhoruko
...
* pr/2052:
Polish "Join identical catch branches"
Join identical catch branches
6 years ago
Stephane Nicoll
9cbd585c30
Polish "Join identical catch branches"
...
Closes gh-2052
6 years ago
igor-suhorukov
a218bf40cd
Join identical catch branches
...
See gh-2052
6 years ago
Stephane Nicoll
93e7a0a59d
Merge pull request #1452 from diguage
...
* pr/1452:
Polish "Refactor duplicate code"
Refactor duplicate code
6 years ago
Stephane Nicoll
b83ceab88a
Polish "Refactor duplicate code"
...
Closes gh-1452
6 years ago
diguage
c15bbd675f
Refactor duplicate code
...
See gh-1452
6 years ago
Arjen Poutsma
5a8b8b11e4
Add test for calculateCapacity
...
Issue: SPR-17558
Closes gh-2054
6 years ago
Arjen Poutsma
a00be62b04
Calculating capacity before allocation.
...
This commit optimizes the `CharSequenceEncoder` to allocate `DataBuffer`
instances with a predicted capacity.
Issue: SPR-17558
6 years ago
Brian Clozel
4955d08f28
Use DataBuffer.write in CharSequenceEncoder
...
Since SPR-17558, `DataBuffer` now offers a new method to write Strings
to them. This commit makes `CharSequenceEncoder` use that.
Issue: SPR-17558
6 years ago
Brian Clozel
6361b0cb23
Write CharSequence instances to DataBuffers
...
Prior to this commit, one could write a `CharSequence` to an existing
`DataBuffer` instance by turning it into a byte array or `ByteBuffer`
first. This had the following disadvantages:
1. Memory allocation was not efficient (not leveraging pooled memory
when available)
2. Dealing with `CharsetEncoder` is not always easy
3. `DataBuffer` implementations, like `NettyDataBuffer` can use
optimized implementations in some cases
This commit adds a new `DataBuffer#write(CharSequence, Charset)` method
for those cases and also an `ensureCapacity` method useful for checking
that the current buffer has enough capacity to write to it..
Issue: SPR-17558
6 years ago
Arjen Poutsma
5e4a8966ee
Make TomcatHttpHandlerAdapter aware of request/response wrappers
...
This commit makes TomcatServerHttpRequest aware of
HttpServletRequestWrappers, and TomcatServerHttpResponse aware of
HttpServletResponseWrappers.
Issue: SPR-17611
6 years ago
Violeta Georgieva
09da10cc6c
Propagate the cancel signal to the downstream
...
Issue: SPR-17609
6 years ago
Sam Brannen
44f39d4ce0
Fix Java comment in Reference Manual
6 years ago
Stephane Nicoll
1d593a970a
Merge pull request #2057 from kimsaabyepedersen
...
* pr/2057:
Polish "Fix method name in comment"
Fix method name in comment
6 years ago
Stephane Nicoll
e42cf9dc56
Polish "Fix method name in comment"
...
Closes gh-2057
6 years ago
Kim Saabye Pedersen
65cb935333
Fix method name in comment
...
See gh-2057
6 years ago
Juergen Hoeller
0e8ed5931d
Revised backport version 5.0.11
...
Issue: SPR-17410
Issue: SPR-17433
6 years ago
Juergen Hoeller
a240cfcf2f
Consistent support for if-(un)modified-since as ZonedDateTime/Instant
...
Includes DefaultRequestBodyUriSpec pre-resolving URI for HttpRequest.
Issue: SPR-17571
6 years ago
Juergen Hoeller
199be6aec5
ValidationUtils.invokeValidator assertion for non-null target object
6 years ago
Juergen Hoeller
99da8e1477
Upgrade to Jackson 2.9.8
6 years ago
Juergen Hoeller
2f04cbba51
Upgrade to Gradle 4.10.3
...
Issue: SPR-17155
6 years ago
Juergen Hoeller
fc9d1760be
Revised c-namespace example
...
Issue: SPR-17601
6 years ago
Juergen Hoeller
aab421167b
Revised format annotation docs
6 years ago
stsypanov
112cc70231
Improve performance of ConcurrentReferenceHashMap creation
6 years ago
igor-suhorukov
93189a6733
String.indexOf() expressions can be replaced with a call to the String.contains() method available in Java 5 and newer.
6 years ago
Stephane Nicoll
81d77b9872
Merge pull request #2050 from diguage
...
* pr/2050:
Fix sample in EnableAsync Javadoc
6 years ago
diguage
ee95a110bd
Fix sample in EnableAsync Javadoc
...
Closes gh-2050
6 years ago
Juergen Hoeller
c48672c4c7
ParameterNameDiscoverer may return individual null entries in an array
...
Issue: SPR-17565
6 years ago
Juergen Hoeller
ef72baad3a
Revised @AspectJ vs XML section
...
Issue: SPR-17597
6 years ago
Rossen Stoyanchev
14e87d2733
Add reference to ConcurrentWebSocketSessionDecorator in the docs.
...
Issue: SPR-12886
6 years ago