Rossen Stoyanchev
afd248da8a
MultipartHttpMessageWriter consumes source once only
...
The previous fix #09f1f7 did not actually address the issue but only
moved it further down, so instead of the subscribe(), it was consuming
it inside the MultipartHttpMessageWriter#write method which returned
this.body.then(), and then again for the actual request body writing.
In this commit MultipartHttpMessageWriter#write returns Mono.empty()
since we don't actually want to write the part content from there, but
only want to access it as soon as it is availabele, for writing to
the request body.
Issue: SPR-16402
8 years ago
Juergen Hoeller
572c668726
Polishing
8 years ago
Arjen Poutsma
5520e730f1
DataBufferUtils.read should not take input stream/channel as parameter
...
Fixed by creating `Callable`-based variants, as explained in the JIRA
issue.
Issue: SPR-16403
8 years ago
Rossen Stoyanchev
09f1f727a7
Remove explicit subscribe in MultipartHttpMessageWriter
...
Issue: SPR-16402
8 years ago
Juergen Hoeller
40127bd9ad
Polishing
8 years ago
Juergen Hoeller
4c7414833b
ResolvableType returns clone for cached state with original local source
...
Issue: SPR-16210
8 years ago
Rossen Stoyanchev
357fb48d13
Update docs on stomp.js library
...
Issue: SPR-15624
8 years ago
Rossen Stoyanchev
513461d4f1
Update STOMP overview
...
Issue: SPR-15624
8 years ago
Arjen Poutsma
c53c8bfc5a
Set 304 status on ServerResponse when ETag/LastModified match
...
This commit checks the Etag/LastModified headers on the incoming
request, and sets a 304 Not Modified status with no body when they
match, by delegating to ServerWebExchange.checkNotModified.
Issue: SPR-16348
8 years ago
Arjen Poutsma
c211e3998b
Polishing
8 years ago
Arjen Poutsma
61d330f805
Javadoc
8 years ago
Juergen Hoeller
ea5f8f5a7c
Consistently handle NoClassDefFoundError in BeanUtils and related places
...
Issue: SPR-16369
8 years ago
Rossen Stoyanchev
0c289283ff
Separate from expectations from response creation
...
This commit separates the creation of a response so that it is executed
after the synchronized block inside which requests need to be matched
and validated (for order and count).
This allows a ResponseCreator to be slow or block if it has to.
Issue: SPR-16319
8 years ago
Rossen Stoyanchev
7ab4d0ca08
Polish MockRestServiceServer code
8 years ago
Juergen Hoeller
214576673a
Proper NoClassDefFoundError check against BeanUtils.instantiateClass
...
Issue: SPR-16369
8 years ago
Juergen Hoeller
32b4279929
Upgrade to Kotlin 1.2.20 (and Undertow 1.4.22)
8 years ago
Stephane Nicoll
817254f2eb
Merge pull request #1646 from JanStureNielsen:patch-2
...
* pr/1646:
Fix doc typo
8 years ago
Jan Nielsen
fed81c6f83
Fix doc typo
...
Closes gh-1646
8 years ago
Stephane Nicoll
dfe4e01f51
Merge pull request #1645 from JanStureNielsen:patch-1
...
* pr/1645:
Fix doc typo
8 years ago
Jan Nielsen
df9761cb3f
Fix doc typo
...
Closes gh-1645
8 years ago
Rossen Stoyanchev
12baafd4f0
WebFlux docs: security + consistent order for WebFlux config
8 years ago
Rossen Stoyanchev
1148b61dfa
WebMVC Docs: remove old code-by-convention content
...
We cover this more succinctly from other places, e.g. in Model Methods
by referring to the Javadoc of Contentions, or pointing to the
RequestToViewNameTranslator.
8 years ago
Rossen Stoyanchev
bb7152d6e7
WebFlux docs: matrix variables
...
Issue: SPR-16040
8 years ago
Rossen Stoyanchev
61fc321554
WebFlux docs: Request|ResponseBody + Http|ResponseEntity
...
Issue: SPR-16040
8 years ago
Rossen Stoyanchev
4f2e54fc2d
Document multipart data support for WebFlux
...
Issue: SPR-16040
8 years ago
Rossen Stoyanchev
b97fa4a5ee
Update docs on multipart requests + table of parameters
...
Issue: SPR-16040
8 years ago
Juergen Hoeller
65a167f7fd
JmsListenerAnnotationBeanPostProcessor properly deals with nested proxies
...
Issue: SPR-16196
8 years ago
Juergen Hoeller
0270808b3c
Upgrade to EclipseLink 2.7.1
8 years ago
Timo Meinen
823a16ce17
Log SQL parameters in EclipseLink when using showSql
...
As of EclipseLink 2.4.0 - Juno this is not sufficient to log
SQL parameter binding. Additionally,
eclipselink.logging.parameters must be enabled.
Issue: SPR-16383
8 years ago
Sam Brannen
7b4ec72378
Upgrade to JUnit Jupiter 5.0.3
...
Issue: SPR-16384
8 years ago
Rossen Stoyanchev
437c33ba42
WebFlux @ModelAttribute coverage in reference
...
Issue: SPR-16040
8 years ago
sdeleuze
43d3abdfd5
Fix SockJs CorsConfiguration for forbidden origins
...
After this commit, AbstractSockJsService uses the configured allowed
origins when generating the CorsConfiguration instead of "*".
As a consequence, forbidden origin requests still result in a 403
response but now with no CORS headers in order to improve consistency
between the status code and the headers.
Issue: SPR-16304
8 years ago
Stephane Nicoll
3ae776b1fa
Fix BOM link
...
Issue: SPR-16317
8 years ago
Rossen Stoyanchev
61352fe85b
Fix compile error
8 years ago
Rossen Stoyanchev
6375cc55a3
Merge pull request #1642 from EnvOut/master
8 years ago
Rossen Stoyanchev
dd09c08cdf
Replace use of AbstractWebSocketMessageBrokerConfigurer
8 years ago
Sergey
d6591a6329
Default methods in WebSocketMessageBrokerConfigurer
...
+ deprecate AbstractWebSocketMessageBrokerConfigurer
8 years ago
Stephane Nicoll
42dfa40151
Make sure endpoint settings override default factory settings
...
Issue: SPR-16338
8 years ago
Stephane Nicoll
89b81b0080
Merge pull request #1636 from izeye:exception-message
...
* pr/1636:
Fix an exception message in ScheduledAnnotationBeanPostProcessor
8 years ago
Johnny Lim
d31767eab8
Fix an exception message in ScheduledAnnotationBeanPostProcessor
...
Closes gh-1636
8 years ago
Juergen Hoeller
b160f93495
CacheProxyFactoryBean exposes all relevant CacheInterceptor callbacks
...
Issue: SPR-16295
8 years ago
Juergen Hoeller
44fd2d96cc
Restore original separator set (but keep new isParameterSeparator impl)
...
Issue: SPR-16340
8 years ago
Juergen Hoeller
9623cdec48
Functional response builders allow for non-standard HTTP status codes
...
Issue: SPR-16366
8 years ago
Philippe Marschall
91e39d558f
Use ArrayList instead of LinkedList for known size
...
Spring JDBC unlike other modules uses LinkedList instead of ArrayList
in several places. There is a large body of evidence suggesting that on
contemporary hardware ArrayList is both faster and has less overhead
than even in degenerate cases of empty lists [3] or unknown size.
There are two places in Spring JDBC where the size of the list is known
in advance and an ArrayList of the correct final size can be created
[1] https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8011200
[2] http://cliffc.org/blog/2017/11/05/modern-hardware-performance-cache-lines/
[3] https://bugs.openjdk.java.net/browse/JDK-8011200
Issue: SPR-16378
8 years ago
Sam Brannen
c88f11f958
Avoid deprecation warnings on JDK 9 in spring-test
8 years ago
Rossen Stoyanchev
1dbcd66091
More sections in WebFlux docs @Controller argument
...
Issue: SPR-16040
8 years ago
Juergen Hoeller
4c9ed0d87e
Polishing
8 years ago
Juergen Hoeller
06e6386dc9
CollectionUtils.lastElement for common Set/List extraction
...
Issue: SPR-16374
8 years ago
Juergen Hoeller
13a8f90e08
ScheduledAnnotationBeanPostProcessor properly deals with nested proxies
...
Issue: SPR-16196
8 years ago
Juergen Hoeller
a15975d94d
Log non-loadable TestExecutionListener classes at debug level only
...
Issue: SPR-16369
8 years ago