Juergen Hoeller
32b4279929
Upgrade to Kotlin 1.2.20 (and Undertow 1.4.22)
2018-01-17 18:28:26 +01:00
Stephane Nicoll
817254f2eb
Merge pull request #1646 from JanStureNielsen:patch-2
...
* pr/1646:
Fix doc typo
2018-01-17 18:07:04 +01:00
Jan Nielsen
fed81c6f83
Fix doc typo
...
Closes gh-1646
2018-01-17 18:06:17 +01:00
Stephane Nicoll
dfe4e01f51
Merge pull request #1645 from JanStureNielsen:patch-1
...
* pr/1645:
Fix doc typo
2018-01-17 18:06:04 +01:00
Jan Nielsen
df9761cb3f
Fix doc typo
...
Closes gh-1645
2018-01-17 18:05:39 +01:00
Rossen Stoyanchev
12baafd4f0
WebFlux docs: security + consistent order for WebFlux config
2018-01-16 23:23:26 -05:00
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.
2018-01-16 23:23:09 -05:00
Rossen Stoyanchev
bb7152d6e7
WebFlux docs: matrix variables
...
Issue: SPR-16040
2018-01-16 22:53:40 -05:00
Rossen Stoyanchev
61fc321554
WebFlux docs: Request|ResponseBody + Http|ResponseEntity
...
Issue: SPR-16040
2018-01-16 22:10:04 -05:00
Rossen Stoyanchev
4f2e54fc2d
Document multipart data support for WebFlux
...
Issue: SPR-16040
2018-01-16 16:53:19 -05:00
Rossen Stoyanchev
b97fa4a5ee
Update docs on multipart requests + table of parameters
...
Issue: SPR-16040
2018-01-16 11:33:27 -05:00
Juergen Hoeller
65a167f7fd
JmsListenerAnnotationBeanPostProcessor properly deals with nested proxies
...
Issue: SPR-16196
2018-01-16 14:39:31 +01:00
Juergen Hoeller
0270808b3c
Upgrade to EclipseLink 2.7.1
2018-01-16 14:39:14 +01:00
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
2018-01-16 14:20:49 +01:00
Sam Brannen
7b4ec72378
Upgrade to JUnit Jupiter 5.0.3
...
Issue: SPR-16384
2018-01-16 13:17:32 +01:00
Rossen Stoyanchev
437c33ba42
WebFlux @ModelAttribute coverage in reference
...
Issue: SPR-16040
2018-01-15 17:47:27 -05:00
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
2018-01-15 18:07:24 +01:00
Stephane Nicoll
3ae776b1fa
Fix BOM link
...
Issue: SPR-16317
2018-01-15 17:12:19 +01:00
Rossen Stoyanchev
61352fe85b
Fix compile error
2018-01-15 10:28:12 -05:00
Rossen Stoyanchev
6375cc55a3
Merge pull request #1642 from EnvOut/master
2018-01-15 10:01:54 -05:00
Rossen Stoyanchev
dd09c08cdf
Replace use of AbstractWebSocketMessageBrokerConfigurer
2018-01-15 10:01:14 -05:00
Sergey
d6591a6329
Default methods in WebSocketMessageBrokerConfigurer
...
+ deprecate AbstractWebSocketMessageBrokerConfigurer
2018-01-15 09:54:55 -05:00
Stephane Nicoll
42dfa40151
Make sure endpoint settings override default factory settings
...
Issue: SPR-16338
2018-01-15 15:42:50 +01:00
Stephane Nicoll
89b81b0080
Merge pull request #1636 from izeye:exception-message
...
* pr/1636:
Fix an exception message in ScheduledAnnotationBeanPostProcessor
2018-01-15 15:19:16 +01:00
Johnny Lim
d31767eab8
Fix an exception message in ScheduledAnnotationBeanPostProcessor
...
Closes gh-1636
2018-01-15 15:19:02 +01:00
Juergen Hoeller
b160f93495
CacheProxyFactoryBean exposes all relevant CacheInterceptor callbacks
...
Issue: SPR-16295
2018-01-14 23:48:21 +01:00
Juergen Hoeller
44fd2d96cc
Restore original separator set (but keep new isParameterSeparator impl)
...
Issue: SPR-16340
2018-01-14 17:57:32 +01:00
Juergen Hoeller
9623cdec48
Functional response builders allow for non-standard HTTP status codes
...
Issue: SPR-16366
2018-01-14 17:45:58 +01:00
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
2018-01-14 17:45:32 +01:00
Sam Brannen
c88f11f958
Avoid deprecation warnings on JDK 9 in spring-test
2018-01-13 16:45:04 +01:00
Rossen Stoyanchev
1dbcd66091
More sections in WebFlux docs @Controller argument
...
Issue: SPR-16040
2018-01-12 16:48:06 -05:00
Juergen Hoeller
4c9ed0d87e
Polishing
2018-01-12 18:24:00 +01:00
Juergen Hoeller
06e6386dc9
CollectionUtils.lastElement for common Set/List extraction
...
Issue: SPR-16374
2018-01-12 18:23:52 +01:00
Juergen Hoeller
13a8f90e08
ScheduledAnnotationBeanPostProcessor properly deals with nested proxies
...
Issue: SPR-16196
2018-01-12 16:48:17 +01:00
Juergen Hoeller
a15975d94d
Log non-loadable TestExecutionListener classes at debug level only
...
Issue: SPR-16369
2018-01-12 16:47:46 +01:00
Juergen Hoeller
93f645800b
Test for non-equality after URI normalization
...
Issue: SPR-16364
2018-01-12 16:46:06 +01:00
Juergen Hoeller
347c2daa2c
Test for multiple interfaces at BridgeMethodResolver level
...
Issue: SPR-16288
2018-01-12 16:45:38 +01:00
Arjen Poutsma
e39bf87b07
Add reference docs for DataBufferUtils.compose
...
Issue: SPR-16365
2018-01-12 11:38:50 +01:00
Arjen Poutsma
67e7c784e8
Use DataBufferUtils.compose and remove writeAggregator
...
Use DataBufferUtils.compose instead of writeAggregator to combine
multiple data buffers into one, as the write aggregator would not work
when the initial data buffer did not have enough capacity to contain
all subsequent buffers.
Removed writeAggregator, as it is no longer needed.
Issue: SPR-16365
2018-01-12 10:36:09 +01:00
Arjen Poutsma
384a399fd2
Add DataBufferUtils.compose
...
Added a utility method that composes data buffers into a single buffer.
Depending on the `DataBuffer` implementation, the returned buffer may be
a single buffer containing all data of the provided buffers, or it may
be a true composite that contains references to the buffers.
Issue: SPR-16365
2018-01-12 10:36:09 +01:00
Rossen Stoyanchev
c60313de3f
Refine UriTemplate match pattern
...
The match/matches methods of UriTemplate use a regex with (.*) in place
of URI variables, which work fine except in the end where such a
pattern can match greedily more than one segment.
This commit updates the regex to use ([^/]*) instead since URI
variables are only meant to be used within a single path segment.
Issue: SPR-16169
2018-01-11 16:36:35 -05:00
Rossen Stoyanchev
84b8ceca0f
Update Javadoc for AbstractHandlerMapping properties
...
Clarify what PathPatternParser is used for which is CORS checks in the
very least. Some sub-classes will also use it for request mapping but
not all (e.g. RouterFunctionMapping). Hence the need to be more
explicit.
2018-01-11 12:41:04 -05:00
Rossen Stoyanchev
72e3c43375
Refine @EnableWebFlux docs for functional endpoints
...
@EnableWebFlux bootstraps both annotated controllers and functional
endpoints, so we need to be more explicit about which parts of the
configuration apply to which.
Issue: SPR-16360
2018-01-11 12:25:42 -05:00
Juergen Hoeller
8f6d3feaa0
Tests for non-required MultipartFile parameters
...
Issue: SPR-16329
2018-01-11 10:22:59 +01:00
Juergen Hoeller
121f9e3734
BridgeMethodResolver properly resolves all declared interfaces
...
Issue: SPR-16288
2018-01-11 10:18:27 +01:00
Rossen Stoyanchev
ea73ec5c41
ResourceUrlProvider handles sanitizes double slashes
...
Issue: SPR-16296
2018-01-10 17:48:43 -05:00
Rossen Stoyanchev
cdf2ab9737
Expand docs on WebFlux.fn + @EnableWebFlux
...
Issue: SPR-16360
2018-01-10 16:28:34 -05:00
sdeleuze
19a1477228
Fix Kotlin bean w/ default + secondary ctors handling
...
This commit polishes SPR-16022 fix in order to handle correctly
the case when primary and default constructors are the same when
a secondary constructor is defined.
Issue: SPR-16289
2018-01-10 18:29:33 +01:00
Arjen Poutsma
5adaa1030c
Javadoc
2018-01-10 17:54:51 +01:00
Arjen Poutsma
f7bf6460aa
Reverted signature change on fromMultipartData
...
Reverted back from `MultiValueMap<String, Object>` to
`MultiValueMap<String, ?>`
2018-01-10 17:54:51 +01:00