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
Rossen Stoyanchev
388ce92861
Enable io.netty.leakDetection.level=paranoid in tests
...
Issue: SPR-17574
6 years ago
Rossen Stoyanchev
38ae282c3b
Update log category precision for all tests
...
Replace the full category capped at 36 chars with the class name only
and 1 char per package, e.g. org.apache.commons.Foo -> o.a.c.Foo
6 years ago
Rossen Stoyanchev
05d616240a
StringHttpMessageConverter defaults to UTF-8 for JSON
...
Issue: SPR-17568
6 years ago
Rossen Stoyanchev
8eef97da33
HTTP header adapters print header values
...
Issue: SPR-17546
6 years ago
Rossen Stoyanchev
270099383b
Add protected method in StandaloneMockMvcBuilder
...
To allow sub-classes to register additional MVC infrastructure.
Issue: SPR-17520
6 years ago
Juergen Hoeller
0ad35053fb
Upgrade to CGLIB 3.2.10
...
Includes upgrade to JarJar 1.7.2 and Tomcat 9.0.14.
Issue: SPR-17595
6 years ago
Arjen Poutsma
058608021e
Fix invalid String representation for composed RequestPredicates
...
Issue: SPR-17594
6 years ago
Juergen Hoeller
106ae0cc5b
Polishing
6 years ago
Juergen Hoeller
7b7a8196f5
Revised HttpHeaders javadoc
6 years ago
Juergen Hoeller
2c98c1b81a
Relaxed assertion in NotificationPublisherAwareLazyTargetSource
...
Issue: SPR-17592
6 years ago
Juergen Hoeller
7b9c30f26e
Explicit documentation notes on JMS 2.0 vs 1.1 compatibility
...
Issue: SPR-17583
6 years ago
Juergen Hoeller
474ac2d975
Revised SimpleEvaluationContext example
...
Issue: SPR-17581
6 years ago
Juergen Hoeller
6eb0a60df9
Polishing
6 years ago
Juergen Hoeller
5bbbc82e19
Consistent handling of null header values in HttpHeaders
...
Issue: SPR-17588
6 years ago
Juergen Hoeller
4b4503085a
Prefer SLF4J SPI over Log4J in case of log4j-to-slf4j bridge
...
Issue: SPR-17586
6 years ago
Stephane Nicoll
73a96c5152
Merge pull request #2049 from wonwoo
...
* pr/2049:
Fix typo in javadoc
6 years ago
wonwoo
9a13d93a6b
Fix typo in javadoc
...
Closes gh-2049
6 years ago
Kamil Szymanski
894044cea0
Optimize ResourceUrlProvider
...
Closes gh-2008
6 years ago
Stephane Nicoll
0550c08f86
Merge pull request #2044 from chendy560
...
* pr/2044:
Fix typo
6 years ago
chendayu
073f304db9
Fix typo
...
Closes gh-2044
6 years ago
Stephane Nicoll
58a99e3983
Merge pull request #2043 from marchpig
...
* pr/2043:
Fix typo in webflux.adoc
6 years ago
Sangwoo Lee
62f2a6352f
Fix typo in webflux.adoc
...
Closes gh-2043
6 years ago
Stephane Nicoll
528b9c17ec
Merge pull request #2046 from yepapa
...
* pr/2046:
Fix typo in websocket.adoc
6 years ago
Juhyoung Jeon
31318652ea
Fix typo in websocket.adoc
...
Closes gh-2046
6 years ago
Arjen Poutsma
f15bd88211
Fix checkstyle
6 years ago
Stephane Nicoll
220951707b
Merge pull request #2042 from PascalSchumacher
...
* pr/2042:
Fix typo in core-beans.adoc
6 years ago