sdeleuze
32f6ccece8
Add WebFlux support for Smile streaming
...
The commit brings following changes:
- Move getDecodableMimeTypes() to AbstractJackson2Decoder
- Move getEncodableMimeTypes() to AbstractJackson2Encoder
- Add support for application/stream+x-jackson-smile
- Avoid streaming line separator when Smile encoder is used
- Use double null token in Jackson2Tokenizer to identify documents
Issue: SPR-16151
2018-01-29 18:56:25 +01:00
Juergen Hoeller
e1fa65a37c
Notes about HibernateJpaVendorAdapter settings vs native Hibernate rules
...
Issue: SPR-16428
2018-01-29 18:40:18 +01:00
Juergen Hoeller
4e194c3fbe
Deprecate outdated HibernateTemplate operations in favor of lambdas
...
Issue: SPR-16426
2018-01-29 18:40:08 +01:00
Rossen Stoyanchev
c718ddf7b0
Update CONTRIBUTING.md
2018-01-29 09:26:23 -05:00
Rossen Stoyanchev
0762131d88
Update CONTRIBUTING.md
2018-01-29 09:25:46 -05:00
Rossen Stoyanchev
00b95b10a8
Docs: result handling and view resolution
...
Issue: SPR-16393
2018-01-26 22:14:14 -05:00
Rossen Stoyanchev
fbde97f302
Default order 0 for ServerResponseResultHandler
...
Issue: SPR-16420
2018-01-26 17:06:01 -05:00
Sam Brannen
b612f53e27
Rename doesExist() to exists() for header assertions
2018-01-26 17:24:54 +01:00
Juergen Hoeller
0e734d83d5
@EnableAspectJAutoProxy: per application context, requires aspectjweaver
...
Issue: SPR-14753
Issue: SPR-15801
2018-01-26 10:38:43 +01:00
Juergen Hoeller
37ab8a700b
Doc: no "useCodeAsDefaultMessage" for setValidationMessageSource
...
Issue: SPR-15986
2018-01-26 10:35:37 +01:00
Juergen Hoeller
e49198d49f
Polishing
2018-01-25 22:12:29 +01:00
Juergen Hoeller
13c735442c
@Scheduled supports java.time.Duration format for its delay attributes
...
Issue: SPR-15455
2018-01-25 19:11:18 +01:00
Juergen Hoeller
ef3f93e84a
Language tag parsing support in StringUtils and StringToLocaleConverter
...
Issue: SPR-16188
2018-01-25 19:10:31 +01:00
Juergen Hoeller
c6b0d85a7c
Consistent available() support in DelegatingServletInputStream
...
Issue: SPR-16416
2018-01-25 19:06:20 +01:00
Ketan Padegaonkar
a0c9fdba12
Fix DelegatingServletInputStream#available
...
Ensure that the method returns the correct number of bytes that can be
read without blocking
Issue: #SPR-16416
2018-01-25 18:02:59 +01:00
Sam Brannen
165ca12e6d
Add doesExist() to HeaderAssertions for WebTestClient
2018-01-25 15:50:19 +01:00
Sam Brannen
431494096a
Polishing
2018-01-25 15:49:06 +01:00
Juergen Hoeller
cf100d4d03
AbstractClientSockJsSession.close propagates IOException from disconnect
...
Issue: SPR-16415
2018-01-25 12:24:46 +01:00
Juergen Hoeller
8e2be91353
Fine-tuned logging of WebSocket close exceptions
...
Issue: SPR-16409
2018-01-25 12:24:40 +01:00
Juergen Hoeller
9ef0465c34
Upgrade to Jackson 2.9.4 and RxJava 2.1.9
2018-01-25 12:24:17 +01:00
Rossen Stoyanchev
b948e7cf75
Polish
2018-01-24 19:58:14 -05:00
Rossen Stoyanchev
84cc7ffdf6
Fix test failure
2018-01-24 19:55:46 -05:00
Rossen Stoyanchev
5d25ca29a6
Merge pull request #1649 from neonailol/header-does-exist-matcher
2018-01-24 17:39:15 -05:00
Rossen Stoyanchev
49f1aa78eb
Polish
2018-01-24 17:37:49 -05:00
Neonailol
81ca1f7c2b
Add doesExist assertion method to HeaderResultMatchers
2018-01-24 17:28:46 -05:00
Rossen Stoyanchev
cf812ba831
Reference docs: improve async request content
2018-01-24 17:28:20 -05:00
Juergen Hoeller
0e6f8df0a8
ServletServerHttpRequest.getURI() ignores malformed query string
...
The resolved URI instance is also being cached now. This should not make a difference in a real Servlet environment but does affect tests which assumed they could modify an HttpServletRequest path behind a pre-created ServletServerHttpRequest instance. Our WebSocket test base class has been revised accordingly, re-creating the ServletServerHttpRequest in such a case.
Issue: SPR-16414
2018-01-24 22:13:40 +01:00
Stephane Nicoll
6db1b692b8
Merge pull request #1650 from izeye:polish-20180124
...
* pr/1650:
Polish "Remove an unnecessary intermediate variable"
Remove an unnecessary intermediate variable
2018-01-24 09:19:15 +01:00
Stephane Nicoll
42a2081e8c
Polish "Remove an unnecessary intermediate variable"
...
Closes gh-1650
2018-01-24 09:18:46 +01:00
Johnny Lim
826db88509
Remove an unnecessary intermediate variable
...
See gh-1650
2018-01-24 09:18:24 +01:00
sdeleuze
1af052433c
Document @Bean nullable parameters optional bean injection
...
Issue: SPR-16053
2018-01-23 18:05:05 +01:00
Rossen Stoyanchev
97894a1c22
Improve logging dependencies for tests
2018-01-23 10:42:41 -05:00
Spring Buildmaster
14fa2b18ce
Next Development Version
2018-01-23 09:42:34 +00:00
Rossen Stoyanchev
4b861aeae6
Reference docs: update async request content
...
Issue: SPR-16203
2018-01-22 22:42:59 -05:00
Rossen Stoyanchev
aee8a9c97b
Upgrade to Bismuth-SR5
...
Issue: SPR-16385
2018-01-22 19:57:38 -05:00
Juergen Hoeller
91e6274b7d
Upgrade to Apache HttpClient 4.5.5 and Tomcat 8.5.27
2018-01-22 22:11:00 +01:00
Juergen Hoeller
61579ffe7b
Polishing
2018-01-22 21:34:44 +01:00
Arjen Poutsma
b47491695e
Support array of scalar values in Jackson2Tokenizer
...
Issue: SPR-16407
2018-01-22 17:08:08 +01:00
Juergen Hoeller
9d0e62ef68
Javadoc format and related polishing
2018-01-22 11:43:21 +01:00
Juergen Hoeller
3dd6c19c6d
Upgrade to Netty 4.1.20
2018-01-22 11:43:06 +01:00
Arjen Poutsma
0befc60c8f
Renamed DataBufferUtils/DataBufferFactory.compose to join
...
Issue: SPR-16365
2018-01-22 10:51:07 +01:00
sdeleuze
3f3141cdda
Add additional test for SPR-16210
...
Issue: SPR-16210
2018-01-22 10:29:21 +01:00
Arjen Poutsma
646fcc5c2f
Support Custom Headers for Multipart Async Data
...
This commit makes sure there is no custom Content-Disposition header
before setting one automatically.
This commit also adds a headers(Consumer<HttpHeaders>) method, so that
one can user the nicer methods of HttpHeaders, as opposed to basic
strings.
Issue: SPR-16376
2018-01-20 15:18:20 +01:00
Juergen Hoeller
b2ce98e881
Upgrade to CGLIB 3.2.6
...
Issue: SPR-16267
2018-01-20 14:29:56 +01:00
Juergen Hoeller
395c9bd723
Consistently call HttpURLConnection.setFixedLengthStreamingMode(long)
...
Issue: SPR-16404
2018-01-20 14:29:40 +01:00
andrm
142f1ab42f
Removed unnecessary cast to int
...
Since Java7 HttpURLConnection offers setFixedLengthStreamingMode method with long parameter which should be prefered over version with int argument, therefore casting ContentLength to int is no longer needed. Moreover it makes impossible to stream payload larger than Integer.MAX_VALUE
2018-01-20 14:11:15 +01:00
Stephane Nicoll
0ca4cd1cf8
Merge pull request #1647 from izeye:polish-20180120
...
* pr/1647:
Polish InterceptorRegistration
2018-01-20 10:15:53 +01:00
Johnny Lim
36d42bcda4
Polish InterceptorRegistration
...
Closes gh-1647
2018-01-20 10:15:12 +01:00
Rossen Stoyanchev
283811b16b
Ensure filename is written
...
Now that SPR-16307 makes it possible to write a part with a Publisher
we need to ensure we get the filename correctly when writing with
Publisher<Resource>.
Issue: SPR-16376
2018-01-19 22:12:53 -05:00
Rossen Stoyanchev
aea6bb6357
Update STOMP docs on using dot as separator
...
Issue: SPR-16275
2018-01-19 21:51:31 -05:00