Spring Buildmaster
d159cb6591
Next Development Version
2020-12-09 08:10:57 +00:00
Juergen Hoeller
ace0dc740a
Remove duplicate "property" in PropertyCacheKey.toString()
...
Closes gh-26237
2020-12-08 15:12:47 +01:00
Juergen Hoeller
52806cd9c8
Polishing (aligned with 5.1.x)
2020-12-08 15:12:41 +01:00
Juergen Hoeller
eac7f880ff
Polishing (aligned with 5.2.x)
2020-12-02 17:45:49 +01:00
Rossen Stoyanchev
cecbe74cfc
ContentCachingResponseWrapper skips contentLength for chunked responses
...
Closes gh-26182
2020-12-01 18:23:58 +00:00
Juergen Hoeller
c1a33fdfef
Add Maven Central repository (aligned with 5.1.x)
2020-11-26 15:52:41 +01:00
Сергей Цыпанов
6d76951686
Remove unused package-private class o.s.w.u.p.SubSequence
...
(cherry picked from commit 42216b77df )
2020-11-26 15:48:19 +01:00
Juergen Hoeller
9828b93f89
Remove misleading default note on ISO.DATE_TIME
...
Closes gh-26134
(cherry picked from commit 86f9716fef )
2020-11-26 15:48:09 +01:00
Rossen Stoyanchev
e3c888fd52
Fix 401 errors from artifactory
2020-11-16 13:37:17 +00:00
Rossen Stoyanchev
6327c60912
UrlPathHelper.removeJsessionid correctly appends remainder
...
Closes gh-26079
2020-11-16 11:30:07 +00:00
Juergen Hoeller
1efcff1ea4
Refined SqlParameterSource batchUpdate tests (plus related polishing)
...
See gh-26071
2020-11-12 14:36:44 +01:00
Juergen Hoeller
562d1df665
Polishing
2020-11-09 14:14:09 +01:00
Juergen Hoeller
b95a95fd42
Polishing
2020-11-05 18:51:56 +01:00
Juergen Hoeller
6614b99e2b
Suppress NotWritablePropertyException in case of ignoreUnknown=true
...
Closes gh-25986
2020-11-05 18:51:48 +01:00
Juergen Hoeller
4e878ecfee
Polishing
2020-10-26 18:23:01 +01:00
Juergen Hoeller
7c8fce0229
Restore independent LinkedMultiValueMap implementation (without base class)
...
Closes gh-25960
(cherry picked from commit 82835b99ec )
2020-10-26 11:34:51 +01:00
Juergen Hoeller
9fa3ac8b3a
Fail on warnings with compileGroovy (since it compiles Java code as well)
...
(cherry picked from commit d77ecb26a9 )
2020-10-16 15:55:22 +02:00
Rossen Stoyanchev
1c120f05eb
Reinstate removal of jsessionid from lookup path
...
Closes gh-25864
2020-10-13 16:46:23 +01:00
Juergen Hoeller
94d330695f
Avoid outdated Jackson API in tests
...
See gh-25907
2020-10-13 11:31:19 +02:00
Juergen Hoeller
a29929db5b
Polishing
2020-10-13 01:00:50 +02:00
Juergen Hoeller
f355b174ad
Avoid creation of unused logger instance in AbstractMediaTypeExpression
...
Closes gh-25901
2020-10-13 01:00:35 +02:00
Juergen Hoeller
f24714f852
Polishing
2020-10-07 14:36:38 +02:00
Juergen Hoeller
6d137b56c1
Construct StringWriter instances with appropriate initial size
...
Closes gh-25789
2020-10-07 14:36:30 +02:00
Juergen Hoeller
01d86dc498
Consistent @Nullable declarations on overridden converter methods
2020-10-07 14:28:45 +02:00
Juergen Hoeller
104e941171
Translate NullBean result to null for lookup method with bean name
...
Closes gh-25806
2020-10-07 14:28:33 +02:00
Juergen Hoeller
62fef5a6ce
Fix example in Javadoc for Assert.notNull(object, messageSupplier)
...
Closes gh-25774
2020-10-07 14:24:21 +02:00
Sébastien Deleuze
592f3f8b98
Add missing @Nullable to WebFlux RequestMappingHandlerMapping
...
Closes gh-25657
2020-10-07 14:19:43 +02:00
Spring Buildmaster
4037160571
Next Development Version
2020-09-15 09:41:28 +00:00
Juergen Hoeller
d1241e18de
Polishing
...
(cherry picked from commit f010368a66 )
2020-09-15 10:22:46 +02:00
Juergen Hoeller
4525d38ee8
Polishing
2020-09-14 23:31:22 +02:00
Juergen Hoeller
3de1f76d2d
FileUrlResource.isWritable() exclusively relies on getFile() implementation
...
Closes gh-25584
(cherry picked from commit c6cc6705ef )
2020-09-08 13:16:41 +02:00
Rossen Stoyanchev
1f3f9b1272
Explain how to provide serialization view programmatically
...
Closes gh-25596
2020-09-08 12:02:10 +01:00
Rossen Stoyanchev
ca6ac8e310
UriComponentsBuilder Javadoc update
...
Closes gh-25604
2020-09-08 11:59:13 +01:00
Rossen Stoyanchev
aec3a4c69e
Avoid unnecessary parsing of path params
...
Closes gh-25690
2020-09-08 11:54:32 +01:00
Rossen Stoyanchev
26141b0d56
Shared read-only instances of UrlPathHelper
...
UrlPathHelper is often created and used without customizations or with
the same customizations. This commit introduces re-usable, instances.
Effectively a backport of commit 23233c.
Closes gh-25690
2020-09-08 11:51:20 +01:00
Juergen Hoeller
3900ac81a1
Javadoc refinements
2020-09-07 19:09:21 +02:00
Juergen Hoeller
72b52d478b
Polishing (backported from 5.2.x)
2020-09-07 18:23:49 +02:00
Juergen Hoeller
3632b8bd92
Properties loading with ignoreResourceNotFound covers SocketException as well
...
Closes gh-25717
(cherry picked from commit 613b05d814 )
2020-09-07 18:23:37 +02:00
Juergen Hoeller
8d743d9946
Revise documentation notes on getParameterType performance issues
...
See gh-25679
2020-09-05 13:55:26 +02:00
Juergen Hoeller
33c031df4f
Restore original 4.x behavior for initialization of function return name
...
Closes gh-25707
2020-09-05 13:54:45 +02:00
Juergen Hoeller
c266c520d6
Fix SpEL generated code for default method invocation
...
Closes gh-25706
2020-09-05 13:53:46 +02:00
Juergen Hoeller
5f51728761
Retry DatabaseMetaData retrieval if access to transactional connection fails
...
Closes gh-25681
2020-09-03 23:21:56 +02:00
Juergen Hoeller
9f2d8d4099
Explicit nullability declarations for getTarget() implementations
2020-09-01 23:33:27 +02:00
Juergen Hoeller
8bd40dcf04
Polishing
2020-09-01 10:57:21 +02:00
Juergen Hoeller
94f3c96bc1
Polishing
2020-08-28 22:47:28 +02:00
Juergen Hoeller
1be3213747
Specifically detect Joda-Time 2.x
...
Closes gh-25655
2020-08-28 22:44:28 +02:00
Juergen Hoeller
e6c01470cf
Polishing
2020-08-27 16:27:04 +02:00
Juergen Hoeller
f4973c9035
Polishing
2020-08-27 15:57:23 +02:00
Juergen Hoeller
e4bf015ce1
Avoid potential integer overflow in seconds->millis transformation
...
Closes gh-25613
2020-08-27 15:36:51 +02:00
Juergen Hoeller
dc26030412
Populate dependencies metadata for resolved target behind lazy dependency proxy
...
Closes gh-25562
2020-08-07 21:57:33 +02:00
Juergen Hoeller
b883c0fc05
Polishing
2020-08-07 15:15:40 +02:00
Juergen Hoeller
c0bd19aab5
Refine use of substring operations
...
Closes gh-25445
2020-08-07 15:13:45 +02:00
Juergen Hoeller
14b1d20822
Reset charset field in MockHttpServletResponse
...
Closes gh-25501
2020-08-07 15:03:41 +02:00
Juergen Hoeller
ce0832ae92
Avoid unnecessary computation of cleaned URL
...
Closes gh-25531
(cherry picked from commit 96a4e1150e )
2020-08-07 14:57:43 +02:00
Sam Brannen
286be6d210
Regression tests for @RestControllerAdvice support in MockMvc
...
This commit introduces regression tests for @RestControllerAdvice
support in standalone MockMvc configurations.
See gh-25520
2020-08-05 18:24:04 +02:00
Sam Brannen
7e7018efe3
Fix bug in StaticListableBeanFactory.isSingleton()
...
Prior to this commit, StaticListableBeanFactory.isSingleton() returned
false for singleton beans unless they were created by a FactoryBean.
StaticListableBeanFactory.isSingleton() now properly returns true for
all beans not created by a FactoryBean.
Closes gh-25522
2020-08-04 15:55:17 +02:00
Spring Buildmaster
eaed3bb80d
Next Development Version
2020-07-21 07:05:41 +00:00
Juergen Hoeller
e66141beb9
Defer creating logger in StandardWebSocketHandlerAdapter to instantiation time
...
Closes gh-25427
(cherry picked from commit 64f4703445 )
2020-07-20 17:17:46 +02:00
Juergen Hoeller
c82f35aa1a
Copy queryParams MultiValueMap through addAll (for independent List entries)
...
Closes gh-25423
2020-07-20 07:40:01 +02:00
Juergen Hoeller
e5227ee53c
Defensively access existing beanDefinitionMap entries
...
See gh-22263
(cherry picked from commit f1345aadf5 )
2020-07-20 07:39:55 +02:00
Juergen Hoeller
eb4f91a249
Unwrap SqlParameterValue for disposable value detection in cleanupParameters
...
Closes gh-22972
(cherry picked from commit 43e315f10c )
2020-07-19 20:16:17 +02:00
Juergen Hoeller
824ffce135
Defensively catch NoSuchBeanDefinitionException on beanDefinitionNames traversal
...
Closes gh-22263
(cherry picked from commit 30bc5e09e7 )
2020-07-19 20:16:06 +02:00
Juergen Hoeller
04a2cd49d4
Polishing
2020-07-17 19:01:00 +02:00
Juergen Hoeller
b904d5268a
Clarify enforceInitMethod/enforceDestroyMethod default values
...
Closes gh-25402
(cherry picked from commit 5846d9c2ea )
2020-07-17 18:37:04 +02:00
Juergen Hoeller
ac74de91f8
Polishing
2020-06-23 11:52:27 +02:00
Juergen Hoeller
7a8fc0e256
Avoid misleading log message for commit-triggering exception
...
Closes gh-25253
2020-06-17 16:17:47 +02:00
Juergen Hoeller
3db0bd2309
Polishing
2020-06-12 00:26:25 +02:00
Juergen Hoeller
a37fda5253
Consistent abstract declaration of "Abstract" base classes
...
Closes gh-25240
2020-06-12 00:15:10 +02:00
Juergen Hoeller
c2457b960f
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
2020-06-10 23:05:39 +02:00
Juergen Hoeller
a045574418
Polishing
2020-06-10 11:19:52 +02:00
Juergen Hoeller
7f87eb56d9
Consistent MultiValueMap behavior for empty list values
...
This commit extracts MultiValueMapAdapter from CollectionUtils and reuses its implementation as base class of LinkedMultiValueMap.
Closes gh-25140
2020-06-10 10:13:30 +02:00
Juergen Hoeller
b2916392fa
WebSphereUowTransactionManager sets timeout for actual transaction only
...
Closes gh-25132
2020-06-10 10:09:50 +02:00
Juergen Hoeller
ffe08aeca0
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
2020-06-10 10:09:46 +02:00
Juergen Hoeller
f4d33a6dfe
Consistent not-null assertions for configured interceptors
...
Closes gh-25089
2020-06-10 10:09:36 +02:00
Juergen Hoeller
4798da05ae
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
2020-06-10 10:09:31 +02:00
Spring Buildmaster
705157ea5b
Next Development Version
2020-04-28 09:08:38 +00:00
Juergen Hoeller
5587262fcd
Polishing
2020-04-27 14:50:02 +02:00
Juergen Hoeller
6dcabd8a89
Store source in index-derived ScannedGenericBeanDefinition as well
...
Includes consistent constructor-level storage of derived resource in ScannedGenericBeanDefinition and ConfigurationClassBeanDefinition.
See gh-24978
2020-04-27 14:49:55 +02:00
Sam Brannen
6a6ad05aa7
Retain brackets for IPV6 address in MockHttpServletRequest
...
According to the Javadoc for ServletRequest's getServerName() method,
when the `Host` header is set, the server name is "the value of the
part before ':' in the Host header value ...". For a value representing
an IPV6 address such as `[::ffff:abcd:abcd]`, the enclosing square
brackets should therefore not be stripped from the enclosed IPV6
address.
However, the changes made in conjunction with gh-16704 introduced a
regression in Spring Framework 4.1 for the getServerName() method in
MockHttpServletRequest by stripping the enclosing brackets from the
IPV6 address in the `Host` header. Similarly, the changes made in
conjunction with gh-20686 introduced a regression in Spring Framework
4.3.13 and 5.0.2 in the getRequestURL() method in
MockHttpServletRequest by delegating to the getServerName() method
which strips the enclosing brackets.
This commit fixes the implementation of getServerName() so that the
enclosing brackets are no longer stripped from an IPV6 address in the
`Host` header. The implementation of getRequestURL() is therefore also
fixed.
In addition, in order to avoid a NullPointerException, the
implementations of getServerName() and getServerPort() now assert that
an IPV6 address present in the `Host` header correctly contains an
opening and closing bracket and throw an IllegalStateException if that
is not the case.
Closes gh-24916
2020-04-17 16:30:03 +02:00
Juergen Hoeller
4ec2844646
Honor overridden AcceptHeaderLocaleContextResolver.getDefaultLocale()
...
Closes gh-24871
2020-04-09 12:04:33 +02:00
Juergen Hoeller
d9eacaa7e8
Recursively copy directory with symbolic link
...
Closes gh-24823
2020-04-03 21:54:49 +02:00
Juergen Hoeller
a33b7bbadb
Close-suppressing Connection proxy exposes target isClosed() state
...
Closes gh-24853
2020-04-03 21:54:44 +02:00
Juergen Hoeller
56e7d73491
Clear by-type cache in case of no pre-existing bean definition as well
...
Closes gh-24852
2020-04-03 21:54:17 +02:00
Rossen Stoyanchev
11aaf6a90b
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
2020-03-26 16:42:23 +00:00
Juergen Hoeller
701f54b185
Polishing
2020-03-24 01:23:07 +01:00
Juergen Hoeller
f20027f75f
Thread-safe access to WebSocketServerFactory and WebSocketExtensions
...
Closes gh-24745
2020-03-24 01:21:16 +01:00
Juergen Hoeller
4d9d814b4f
Mark MediaTypeNotSupportedStatusException as deprecated
...
Closes gh-24743
2020-03-24 01:06:08 +01:00
Juergen Hoeller
528fc662f0
Polishing
2020-03-13 23:49:03 +01:00
Juergen Hoeller
1a81aed1eb
Create ScannedGenericBeanDefinitions for index-derived components as well
...
Closes gh-24638
2020-03-13 23:43:24 +01:00
Juergen Hoeller
5eb8430688
Polishing
2020-02-12 18:14:08 +01:00
Rossen Stoyanchev
dc561aee02
Update advice on RestTemplate
...
Closes gh-24503
2020-02-12 18:13:45 +01:00
Juergen Hoeller
f90acdf42f
Consistent ROLE_INFRASTRUCTURE declarations for configuration classes
...
Closes gh-24509
2020-02-12 18:03:43 +01:00
Juergen Hoeller
844619ccf1
Use local LoggerContext in Log4jLog when static field not initialized yet
...
Closes gh-24440
2020-01-28 21:30:52 +01:00
Sam Brannen
cf1d5216da
Include Objenesis NOTICE file contents in binary distributions
...
Closes gh-24326
2020-01-16 10:55:10 +01:00
Spring Buildmaster
3334f2089a
Next Development Version
2020-01-14 10:37:45 +00:00
Sam Brannen
1cfa95418a
Document Objenesis license in license.txt
...
Closes gh-24340
2020-01-13 16:09:28 +01:00
Sam Brannen
573139e455
Update ASM and CBLIB versions in license.txt
2020-01-13 13:23:13 +01:00
Juergen Hoeller
7c52397220
Polishing
2020-01-10 14:30:05 +01:00
Juergen Hoeller
2c0a505213
Thread-safe compiled expression evaluation in SpelExpression
...
Closes gh-24265
2020-01-10 14:20:04 +01:00
Rossen Stoyanchev
0583b334b4
Escape quotes in filename
...
Also sync up to master and 5.1.x on refactorings in ContentDisposition
and ContentDispositionTests.
Closes gh-24230
2020-01-07 07:17:55 +00:00
Juergen Hoeller
8356762316
Polishing
2019-12-12 16:54:43 +01:00
Juergen Hoeller
c526fc2a5f
Polishing
2019-12-09 15:51:21 +01:00
Juergen Hoeller
14ecc0357e
Polishing
2019-12-09 15:26:15 +01:00
Juergen Hoeller
c9fa62751b
Cleanup of "varaible" typos in ResolvableTypeTests
2019-12-09 15:25:34 +01:00
Juergen Hoeller
e144b3a73c
Polishing
2019-12-01 10:58:53 +01:00
Juergen Hoeller
ea1992c8d1
Backport of recent ExtendedBeanInfo refinements from 5.1.x
...
Closes gh-24109
2019-12-01 10:58:36 +01:00
Juergen Hoeller
b86b0797f5
Mark SqlRowSet accessor methods as nullable (for alignment with JDBC)
...
Closes gh-24042
2019-11-20 18:01:25 +01:00
Juergen Hoeller
2a63147446
Avoid substring allocation in StringUtils.replace
...
Closes gh-24023
2019-11-19 15:08:11 +01:00
Juergen Hoeller
41072e3451
Revise getElementTypeDescriptor javadoc (no IllegalStateException)
...
Closes gh-23996
2019-11-14 18:42:01 +01:00
Juergen Hoeller
a20d7fa119
Polishing
2019-11-13 23:56:44 +01:00
Juergen Hoeller
be0e0f6e48
Minor internal refinements (backported from master)
2019-11-13 17:45:02 +01:00
Juergen Hoeller
d1a01f2675
Support for new MySQL 8 error code 3572
...
Closes gh-23972
2019-11-13 17:28:35 +01:00
YuDongYing
2132eec410
Fix schemaZip Gradle task on MS Windows
...
Prior to this commit, the schemaZip Gradle task failed to find Spring
schema files on MS Windows due to path separators hard coded to forward
slashes that are not compatible with the Windows operating system.
Consequently, a full build failed on Windows since the distZip task was
not able to locate the zipped schema archive that the schemaZip task
failed to create.
This commit fixes this by updating the schemaZip task to search for
schema files using backslashes as well as forward slashes.
Closes gh-23933
2019-11-13 15:10:10 +01:00
Juergen Hoeller
7aa73792a1
Use Method.getParameterCount() when full type array is never needed
2019-11-07 22:43:24 +01:00
Rossen Stoyanchev
9529dfbf38
Update WebMvcConfigurer#addInterceptors Javadoc
...
Closes gh-23926
2019-11-06 22:44:30 +00:00
Juergen Hoeller
fdf936c3e2
Polishing
2019-10-30 17:16:06 +01:00
Juergen Hoeller
4e4b04aa52
Verify read-only propagation in DataSourceTransactionManagerTests
...
See gh-23747
2019-10-30 17:04:08 +01:00
Juergen Hoeller
a2c06b7764
Upgrade to Tomcat 8.5.45, Netty 4.1.39, SLF4J 1.7.28
2019-09-25 21:55:31 +02:00
Juergen Hoeller
2102dec2f1
Polishing
2019-09-25 21:52:00 +02:00
Juergen Hoeller
64afc91708
Polishing
2019-09-25 20:49:30 +02:00
Juergen Hoeller
6f45a1ac00
Fix DefaultListableBeanFactory#copyConfigurationFrom
...
Closes gh-23569
2019-09-25 20:48:22 +02:00
Juergen Hoeller
17353007c9
Efficient concurrency in MethodOverrides through CopyOnWriteArraySet
...
Also restores immediate MethodOverrides instance in AbstractBeanDefinition, avoiding potential lazy-init race condition.
Closes gh-23448
2019-09-25 20:47:47 +02:00
Juergen Hoeller
8f90f65bb7
Consistent equality check for parent name and indexed arguments
...
Closes gh-23593
2019-09-25 20:47:18 +02:00
Spring Buildmaster
27a883149f
Next Development Version
2019-08-02 08:33:12 +00:00
Juergen Hoeller
52357210f2
Consistent suppression of get/clearWarnings without target connection
...
See gh-23346
2019-08-02 01:28:00 +02:00
Juergen Hoeller
24b9bb9aee
Document all remaining public methods on BeanDefinitionParserDelegate
...
Closes gh-23349
2019-08-01 15:39:13 +02:00
Juergen Hoeller
134272da92
TransactionAwareDataSourceProxy locally handles get/clearWarnings call
...
Closes gh-23346
2019-08-01 15:39:05 +02:00
Juergen Hoeller
75a80504e6
MethodParameter.equals properly checks overridden containing class
...
Closes gh-23352
2019-08-01 14:39:01 +02:00
Juergen Hoeller
b5adf8ddc3
Consistent ordering of WebClient.Builder methods
2019-07-31 23:52:39 +02:00
Juergen Hoeller
7427884a91
Deprecate logger field in HandlerMethodArgumentResolverComposite
2019-07-31 23:26:56 +02:00
Juergen Hoeller
43eb3966c3
Upgrade to Netty 4.1.38
2019-07-31 22:59:41 +02:00
Juergen Hoeller
215caedd30
Polishing
2019-07-31 22:58:49 +02:00
Juergen Hoeller
74658789ee
MethodParameter.equals checks nesting level and containing class
...
Closes gh-23352
2019-07-31 22:58:41 +02:00
Juergen Hoeller
c4cdb98d8d
Upgrade to Tomcat 8.5.43, Jetty 9.4.19, Netty 4.1.37
...
Includes Hibernate Validator 6.0.17 and renames "withoutJclOverSlf4j".
2019-07-20 17:34:25 +02:00
Juergen Hoeller
529125898a
Polishing
2019-07-20 17:34:16 +02:00
Juergen Hoeller
c573eca3d8
Fix ResolvableType raw class isAssignable checks (backport from 5.1.x)
...
Closes gh-23321
2019-07-20 17:07:57 +02:00
Sam Brannen
ed2659cc48
Improve documentation for @Autowired constructors
...
Prior to this commit, there was some ambiguity surrounding semantics
for @Autowired constructors and `required = true`, especially for
multiple @Autowired constructors.
This commit improves the documentation in the Javadoc for @Autowired as
well as in the reference manual.
Closes gh-23263
2019-07-18 11:25:07 +02:00
Sam Brannen
271885cdf4
Support empty target request path in FlashMap
...
Prior to this commit, if the user configured an empty path for the
targetRequestPath property of a FlashMap, the FlashMapManager threw a
StringIndexOutOfBoundsException when saving the output FlashMap for the
next request.
This commit fixes this by skipping the decoding and normalization of an
empty target request path. An empty target request path is therefore
effectively treated as the root path.
Fixes gh-23240
2019-07-07 18:47:25 +02:00
Sam Brannen
d893cdaabb
Document that Ordered is not supported for @ControllerAdvice beans
...
Closes gh-23172
2019-06-21 12:48:20 +03:00
Juergen Hoeller
1d5a43f485
Polishing
2019-06-12 18:13:41 +02:00
Juergen Hoeller
7622d1e3fa
Polishing
2019-06-12 14:34:48 +02:00
Juergen Hoeller
d032beddb5
Thread-safe removal of destruction callbacks in web scopes
...
Closes gh-23117
2019-06-12 14:34:42 +02:00
Sam Brannen
160cde29f0
Upgrade to dokka 0.9.18
2019-06-12 09:15:33 +03:00
Juergen Hoeller
53b53e21be
Upgrade to Apache HttpClient 4.5.9 and Tomcat 8.5.42
2019-06-12 00:51:26 +02:00
Juergen Hoeller
8d5c36269e
Polishing
2019-06-12 00:51:09 +02:00
Juergen Hoeller
bb7096b024
Defensive concurrent access to shared file extension data structures
...
Closes gh-23064
2019-06-12 00:51:02 +02:00
Juergen Hoeller
4621b31682
Defensive concurrent access to key set from java.util.Properties
...
Closes gh-23063
2019-06-12 00:50:57 +02:00
Juergen Hoeller
610192a195
Consistent tests for javax meta-annotation lookup behavior
...
See gh-22957
2019-06-12 00:50:41 +02:00
Ilya Lukyanovich
5990548f6f
Fix MockHttpServletRequest.setCookies to produce single cookie header
...
Prior to this commit, MockHttpServletRequest.setCookies() produced one
Cookie header per supplied cookie, resulting in multiple Cookie headers
which violates the specification.
This commit fixes this by ensuring that all cookie name-value pairs are
stored under a single Cookie header, separated by a semicolon.
Closes gh-23074
2019-06-06 17:26:09 +03:00
Jay Bryant
22a3364173
Reintroduce author list and copyright notice
...
Closes gh-23049
2019-06-04 12:03:18 +03:00
chrunchyjesus
b150e72052
Fix ScriptUtils for MS Windows line ending
...
Prior to this commit, ScriptUtils did not properly split SQL
scripts that contained line endings for MS Windows.
Closes gh-23019
2019-05-24 11:42:50 +02:00
Juergen Hoeller
729b19aa60
Align ReactiveTypeDescriptor accessor methods
2019-05-21 20:51:47 +02:00
Juergen Hoeller
c2b8c592ee
Polishing
2019-05-21 00:08:40 +02:00
Juergen Hoeller
a41a5e195f
Polishing
2019-05-20 23:49:31 +02:00
Juergen Hoeller
02fdf10c20
Upgrade to Jackson 2.9.9
2019-05-20 23:49:17 +02:00
Juergen Hoeller
3cf9f9ed70
Fix stale-if-error xsd documentation
...
Closes gh-22983
2019-05-20 23:49:04 +02:00
Juergen Hoeller
37671193c0
SpEL documentation refinements (backported from 5.1.x)
2019-05-13 19:19:07 +02:00
Juergen Hoeller
4229e222ee
SpEL documentation refinements
2019-05-13 19:06:48 +02:00
Juergen Hoeller
2e1b9be4c3
Upgrade to Groovy 2.4.17
2019-05-13 18:35:38 +02:00
Juergen Hoeller
0067a75d86
Minor documentation refinements (backported from 5.1.x)
2019-05-13 18:35:07 +02:00
Juergen Hoeller
da0679688d
Clarify AbstractBeanDefinition.getBeanClass() return semantics
...
Closes gh-22960
2019-05-13 18:33:37 +02:00
Juergen Hoeller
85188b8dfe
Avoid expensive assertions in web resource resolution
...
Closes gh-22955
2019-05-13 18:33:30 +02:00
Stephane Nicoll
8ab0f63776
Fix next development version
2019-05-13 17:52:07 +02:00
Spring Buildmaster
833c80f3af
Next Development Version
2019-05-09 09:34:33 +00:00
Juergen Hoeller
3d437fd544
Upgrade to OkHttp 3.12.3
2019-05-08 17:05:00 +02:00
Juergen Hoeller
e255434ca5
Polishing
2019-05-07 14:05:03 +02:00
Juergen Hoeller
84cf5fc200
Consistent spelling on index page
2019-05-07 13:49:27 +02:00
Juergen Hoeller
b69a31de85
Consistent handling of empty List entries in LinkedMultiValueMap
...
Closes gh-22912
2019-05-07 13:49:13 +02:00
Sam Brannen
ab12f4f6ec
Introduce HTTPS mappings in spring.schemas files
...
Backport of gh-22903
Closes gh-22905
2019-05-07 13:16:14 +02:00
Juergen Hoeller
c28cadbafc
Polishing
2019-05-07 01:54:38 +02:00
Juergen Hoeller
9198e037c1
Consistent use of StringUtils.hasLength(String) vs isEmpty(Object)
2019-05-03 18:02:53 +02:00
Juergen Hoeller
5be693dd04
Upgrade to Jetty 9.4.18 and Netty 4.1.36
...
Includes dependency management plugin 1.0.7 and propdeps plugin 0.0.9.
2019-05-03 15:33:05 +02:00
Juergen Hoeller
901ced7b66
Polishing
2019-05-03 15:32:47 +02:00
Juergen Hoeller
8a48c5ad86
Allow null operands in compiled SpEL numeric operator expressions
...
Closes gh-22358
2019-05-03 15:32:38 +02:00
Rossen Stoyanchev
9d55884a86
Fail proactively if lookupPath not in requestUri
...
Closes gh-22851
2019-05-01 14:19:24 -04:00
Juergen Hoeller
0f0da73043
Polishing
2019-04-26 20:36:21 +02:00
Juergen Hoeller
54c1f408ba
Upgrade to Tomcat 8.5.40, Jetty 9.4.17, Netty 4.1.35
2019-04-26 20:36:06 +02:00
Juergen Hoeller
486f64f748
Polishing
2019-04-08 20:07:33 +02:00
Juergen Hoeller
44f1d44e28
Polishing
2019-04-08 18:40:12 +02:00
Juergen Hoeller
2f8cdef058
Avoid expensive Stream API usage in HttpRange
...
See gh-22742
2019-04-08 18:39:55 +02:00
Juergen Hoeller
bc3de10e2f
Polishing
2019-04-08 17:52:14 +02:00
Juergen Hoeller
826edae950
Avoid expensive assertions in HttpRange
...
Closes gh-22742
2019-04-08 17:43:43 +02:00
Sebastien Deleuze
da0754e884
Fix a regression in Jackson builder module registration
...
This commit brings back the support for registration of multiple
Jackson modules with a null typeId.
Closes gh-22763
2019-04-08 15:34:22 +02:00
Sam Brannen
0e0e784620
Fix Javadoc for PathPattern
2019-04-06 11:20:35 +02:00
Juergen Hoeller
d4ccaea98f
Upgrade to AspectJ 1.8.14 and Apache HttpClient 4.5.8
2019-04-04 17:12:11 +02:00
Juergen Hoeller
601e352f8c
Polishing
2019-04-03 17:14:12 +02:00
Spring Buildmaster
e37715a45a
Next Development Version
2019-03-31 08:03:36 +00:00
Juergen Hoeller
30667b3470
Typo fixes and formatting
2019-03-29 23:54:32 +01:00
Sam Brannen
bd68101413
URL Cleanup - polishing
...
See gh-22679
2019-03-27 18:34:02 +01:00
Sam Brannen
69350df56e
URL Cleanup - upgrade to more modern Xalan namespace
...
See gh-22679
2019-03-27 18:34:02 +01:00
Sam Brannen
76e4c22e33
URL Cleanup - fix undesirable code change
...
Namespace handlers are mapped based on the canonical names for XML
namespaces which in Spring do not use "https" as the scheme.
See gh-22679
2019-03-27 18:34:02 +01:00
Sam Brannen
efa3ecd4e2
URL Cleanup - Fix broken tests
...
See gh-22679
2019-03-27 18:34:02 +01:00
Spring Operator
13dc00a16d
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://aopalliance.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://aopalliance.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://classdoc.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://classdoc.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://code.jquery.com:80/jquery.js (200) with 1 occurrences could not be migrated:
([https](https://code.jquery.com:80/jquery.js ) result SSLException).
* [ ] http://dbunit.sourceforge.net/ (200) with 1 occurrences could not be migrated:
([https](https://dbunit.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html (200) with 1 occurrences could not be migrated:
([https](https://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html ) result SSLProtocolException).
* [ ] http://domain3.com (200) with 6 occurrences could not be migrated:
([https](https://domain3.com ) result ConnectTimeoutException).
* [ ] http://forum.thymeleaf.org/Thymeleaf-3-0-8-JUST-PUBLISHED-td4030687.html (200) with 1 occurrences could not be migrated:
([https](https://forum.thymeleaf.org/Thymeleaf-3-0-8-JUST-PUBLISHED-td4030687.html ) result SSLHandshakeException).
* [ ] http://gregfranko.com/jquery.tocify.js/ (200) with 1 occurrences could not be migrated:
([https](https://gregfranko.com/jquery.tocify.js/ ) result SSLHandshakeException).
* [ ] http://grinder.sourceforge.net/ (200) with 1 occurrences could not be migrated:
([https](https://grinder.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://groovy-lang.org/templating.html (200) with 3 occurrences could not be migrated:
([https](https://groovy-lang.org/templating.html ) result SSLProtocolException).
* [ ] http://hsqldb.org (200) with 1 occurrences could not be migrated:
([https](https://hsqldb.org ) result SSLHandshakeException).
* [ ] http://htmlunit.sourceforge.net/ (200) with 3 occurrences could not be migrated:
([https](https://htmlunit.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://htmlunit.sourceforge.net/gettingStarted.html (200) with 1 occurrences could not be migrated:
([https](https://htmlunit.sourceforge.net/gettingStarted.html ) result AnnotatedConnectException).
* [ ] http://htmlunit.sourceforge.net/javascript.html (200) with 1 occurrences could not be migrated:
([https](https://htmlunit.sourceforge.net/javascript.html ) result AnnotatedConnectException).
* [ ] http://javadiff.cvs.sourceforge.net/ (200) with 3 occurrences could not be migrated:
([https](https://javadiff.cvs.sourceforge.net/ ) result SSLHandshakeException).
* [ ] http://jibx.sourceforge.net/ (200) with 2 occurrences could not be migrated:
([https](https://jibx.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://joda-time.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://joda-time.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://jotm.objectweb.org/ (200) with 1 occurrences could not be migrated:
([https](https://jotm.objectweb.org/ ) result NotSslRecordException).
* [ ] http://json-b.net/ (200) with 1 occurrences could not be migrated:
([https](https://json-b.net/ ) result SSLHandshakeException).
* [ ] http://mx4j.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://mx4j.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://mx4j.sourceforge.net/ (200) with 1 occurrences could not be migrated:
([https](https://mx4j.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://mydomain3.com (200) with 9 occurrences could not be migrated:
([https](https://mydomain3.com ) result ConnectTimeoutException).
* [ ] http://objenesis.org (200) with 1 occurrences could not be migrated:
([https](https://objenesis.org ) result SSLHandshakeException).
* [ ] http://objenesis.org/tutorial.html (200) with 1 occurrences could not be migrated:
([https](https://objenesis.org/tutorial.html ) result SSLHandshakeException).
* [ ] http://other.com/ (200) with 2 occurrences could not be migrated:
([https](https://other.com/ ) result SSLHandshakeException).
* [ ] http://reactivex.io/ (200) with 1 occurrences could not be migrated:
([https](https://reactivex.io/ ) result SSLHandshakeException).
* [ ] http://reactivex.io/documentation/operators.html (200) with 1 occurrences could not be migrated:
([https](https://reactivex.io/documentation/operators.html ) result SSLHandshakeException).
* [ ] http://url.somewhereelse.com (200) with 4 occurrences could not be migrated:
([https](https://url.somewhereelse.com ) result SSLHandshakeException).
* [ ] http://www.beanshell.org (200) with 1 occurrences could not be migrated:
([https](https://www.beanshell.org ) result SSLHandshakeException).
* [ ] http://www.beanshell.org/ (200) with 1 occurrences could not be migrated:
([https](https://www.beanshell.org/ ) result SSLHandshakeException).
* [ ] http://www.doclet.com (200) with 1 occurrences could not be migrated:
([https](https://www.doclet.com ) result AnnotatedConnectException).
* [ ] http://www.gebish.org/ (200) with 1 occurrences could not be migrated:
([https](https://www.gebish.org/ ) result SSLHandshakeException).
* [ ] http://www.gebish.org/manual/current/ (200) with 2 occurrences could not be migrated:
([https](https://www.gebish.org/manual/current/ ) result SSLHandshakeException).
* [ ] http://www.groovy-lang.org/ (200) with 2 occurrences could not be migrated:
([https](https://www.groovy-lang.org/ ) result SSLProtocolException).
* [ ] http://www.groovy-lang.org/operators.html (200) with 2 occurrences could not be migrated:
([https](https://www.groovy-lang.org/operators.html ) result SSLProtocolException).
* [ ] http://www.hsqldb.org (200) with 1 occurrences could not be migrated:
([https](https://www.hsqldb.org ) result SSLHandshakeException).
* [ ] http://www.jensgulden.de (200) with 1 occurrences could not be migrated:
([https](https://www.jensgulden.de ) result AnnotatedConnectException).
* [ ] http://www.mockobjects.com (200) with 2 occurrences could not be migrated:
([https](https://www.mockobjects.com ) result ClosedChannelException).
* [ ] http://www.mockobjects.com/ (200) with 1 occurrences could not be migrated:
([https](https://www.mockobjects.com/ ) result ClosedChannelException).
* [ ] http://xmlunit.sourceforge.net/ (200) with 2 occurrences could not be migrated:
([https](https://xmlunit.sourceforge.net/ ) result AnnotatedConnectException).
* [ ] http://192.168.0.1/mvc-showcase (301) with 1 occurrences could not be migrated:
([https](https://192.168.0.1/mvc-showcase ) result ConnectTimeoutException).
* [ ] http://www.easymock.org (301) with 2 occurrences could not be migrated:
([https](https://www.easymock.org ) result SSLHandshakeException).
* [ ] http://www.easymock.org/ (301) with 1 occurrences could not be migrated:
([https](https://www.easymock.org/ ) result SSLHandshakeException).
* [ ] http://www.jmock.org/ (301) with 1 occurrences could not be migrated:
([https](https://www.jmock.org/ ) result SSLHandshakeException).
* [ ] http://foo.com (301) with 4 occurrences could not be migrated:
([https](https://foo.com ) result SSLHandshakeException).
* [ ] http://foo.com/ (301) with 1 occurrences could not be migrated:
([https](https://foo.com/ ) result SSLHandshakeException).
* [ ] http://foo.com/a (301) with 1 occurrences could not be migrated:
([https](https://foo.com/a ) result SSLHandshakeException).
* [ ] http://foo.com/a?foo=bar&foo=baz (301) with 4 occurrences could not be migrated:
([https](https://foo.com/a?foo=bar&foo=baz ) result SSLHandshakeException).
* [ ] http://foo.com/bar (301) with 5 occurrences could not be migrated:
([https](https://foo.com/bar ) result SSLHandshakeException).
* [ ] http://foo.com/baz (301) with 1 occurrences could not be migrated:
([https](https://foo.com/baz ) result SSLHandshakeException).
* [ ] http://foo.com/rest/books/6.json (301) with 1 occurrences could not be migrated:
([https](https://foo.com/rest/books/6.json ) result SSLHandshakeException).
* [ ] http://foo.com/rest/books/6/pages/1.json (301) with 1 occurrences could not be migrated:
([https](https://foo.com/rest/books/6/pages/1.json ) result SSLHandshakeException).
* [ ] http://foo.com/v1 (301) with 1 occurrences could not be migrated:
([https](https://foo.com/v1 ) result SSLHandshakeException).
* [ ] http://foo.com/v1/123 (301) with 1 occurrences could not be migrated:
([https](https://foo.com/v1/123 ) result SSLHandshakeException).
* [ ] http://foo.com/v1/bar (301) with 1 occurrences could not be migrated:
([https](https://foo.com/v1/bar ) result SSLHandshakeException).
* [ ] http://foo.com/v1?id=123 (301) with 2 occurrences could not be migrated:
([https](https://foo.com/v1?id=123 ) result SSLHandshakeException).
* [ ] http://foo.com/wrong (301) with 1 occurrences could not be migrated:
([https](https://foo.com/wrong ) result SSLHandshakeException).
* [ ] http://mydomain4.com (301) with 3 occurrences could not be migrated:
([https](https://mydomain4.com ) result SSLHandshakeException).
* [ ] http://www.caucho.com/hessian (302) with 6 occurrences could not be migrated:
([https](https://www.caucho.com/hessian ) result SSLHandshakeException).
* [ ] http://mydomain2.com (302) with 22 occurrences could not be migrated:
([https](https://mydomain2.com ) result ConnectTimeoutException).
* [ ] http://www.jdiff.org (302) with 1 occurrences could not be migrated:
([https](https://www.jdiff.org ) result ConnectTimeoutException).
* [ ] http://example.com:80/test/this/here (404) with 3 occurrences could not be migrated:
([https](https://example.com:80/test/this/here ) result NotSslRecordException).
* [ ] http://www.foo.com/schema/component/component.xsd (404) with 1 occurrences could not be migrated:
([https](https://www.foo.com/schema/component/component.xsd ) result SSLHandshakeException).
* [ ] http://www.foo.com/schema/jcache (404) with 2 occurrences could not be migrated:
([https](https://www.foo.com/schema/jcache ) result SSLHandshakeException).
* [ ] http://www.gebish.org/manual/current/testing.html (404) with 1 occurrences could not be migrated:
([https](https://www.gebish.org/manual/current/testing.html ) result SSLHandshakeException).
* [ ] http://www.mycompany.com/schema/myns/myns.xsd (404) with 1 occurrences could not be migrated:
([https](https://www.mycompany.com/schema/myns/myns.xsd ) result ConnectTimeoutException).
* [ ] http://xunitpatterns.com/Test%20Spy.html (404) with 1 occurrences could not be migrated:
([https](https://xunitpatterns.com/Test%20Spy.html ) result AnnotatedConnectException).
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://bugs.sun.com/view_bug.do?bug_id=6342411 (302) with 1 occurrences migrated to:
https://bugs.java.com/view_bug.do?bug_id=6342411 ([https](https://bugs.sun.com/view_bug.do?bug_id=6342411 ) result SSLHandshakeException).
* [ ] http://bugs.sun.com/view_bug.do?bug_id=7023180 (302) with 2 occurrences migrated to:
https://bugs.java.com/view_bug.do?bug_id=7023180 ([https](https://bugs.sun.com/view_bug.do?bug_id=7023180 ) result SSLHandshakeException).
* [ ] http://www.freemarker.org (301) with 5 occurrences migrated to:
https://freemarker.apache.org/ ([https](https://www.freemarker.org ) result ConnectTimeoutException).
* [ ] http://sockjs.org (303) with 2 occurrences migrated to:
https://github.com/sockjs/sockjs-client ([https](https://sockjs.org ) result AnnotatedConnectException).
* [ ] http://network.pivotal.io/open-source (301) with 1 occurrences migrated to:
https://network.pivotal.io/open-source ([https](https://network.pivotal.io/open-source ) result ReadTimeoutException).
* [ ] http://aaa.org:8080/a (301) with 1 occurrences migrated to:
https://www.aaa.org/articles/ ([https](https://aaa.org:8080/a ) result NotSslRecordException).
* [ ] http://aaa.org:8080/b/c/d (301) with 1 occurrences migrated to:
https://www.aaa.org/b/c/d ([https](https://aaa.org:8080/b/c/d ) result ReadTimeoutException).
* [ ] http://www.caucho.com/ (302) with 1 occurrences migrated to:
https://www.caucho.com/ ([https](https://www.caucho.com/ ) result SSLHandshakeException).
* [ ] http://www.caucho.com (302) with 1 occurrences migrated to:
https://www.caucho.com/ ([https](https://www.caucho.com ) result SSLHandshakeException).
* [ ] http://jruby.org (301) with 4 occurrences migrated to:
https://www.jruby.org ([https](https://jruby.org ) result SSLHandshakeException).
* [ ] http://jruby.org/ (301) with 1 occurrences migrated to:
https://www.jruby.org ([https](https://jruby.org/ ) result SSLHandshakeException).
* [ ] http://bbb.org:9090/b (AnnotatedConnectException) with 2 occurrences migrated to:
https://bbb.org:9090/b ([https](https://bbb.org:9090/b ) result AnnotatedConnectException).
* [ ] http://192.168.28.42/1.jsp (ConnectTimeoutException) with 3 occurrences migrated to:
https://192.168.28.42/1.jsp ([https](https://192.168.28.42/1.jsp ) result ConnectTimeoutException).
* [ ] http://example.com:8080/ (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.com:8080/ ([https](https://example.com:8080/ ) result ConnectTimeoutException).
* [ ] http://example.com:8080/bar (ConnectTimeoutException) with 5 occurrences migrated to:
https://example.com:8080/bar ([https](https://example.com:8080/bar ) result ConnectTimeoutException).
* [ ] http://example.org:9090 (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090 ([https](https://example.org:9090 ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base (ConnectTimeoutException) with 12 occurrences migrated to:
https://example.org:9090/base ([https](https://example.org:9090/base ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base/people (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090/base/people ([https](https://example.org:9090/base/people ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base/something/1/foo (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090/base/something/1/foo ([https](https://example.org:9090/base/something/1/foo ) result ConnectTimeoutException).
* [ ] http://example.org:9090/base/something/else (ConnectTimeoutException) with 2 occurrences migrated to:
https://example.org:9090/base/something/else ([https](https://example.org:9090/base/something/else ) result ConnectTimeoutException).
* [ ] http://example.org:9999/base (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/base ([https](https://example.org:9999/base ) result ConnectTimeoutException).
* [ ] http://example.org:9999/base/people/123/addresses/DE (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/base/people/123/addresses/DE ([https](https://example.org:9999/base/people/123/addresses/DE ) result ConnectTimeoutException).
* [ ] http://example.org:9999/next (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/next ([https](https://example.org:9999/next ) result ConnectTimeoutException).
* [ ] http://example.org:9999/path?q=foo (ConnectTimeoutException) with 1 occurrences migrated to:
https://example.org:9999/path?q=foo ([https](https://example.org:9999/path?q=foo ) result ConnectTimeoutException).
* [ ] http://foo.com:8080/v1/bar?id=123 (ConnectTimeoutException) with 1 occurrences migrated to:
https://foo.com:8080/v1/bar?id=123 ([https](https://foo.com:8080/v1/bar?id=123 ) result ConnectTimeoutException).
* [ ] http://mydomain1.com:123 (ConnectTimeoutException) with 1 occurrences migrated to:
https://mydomain1.com:123 ([https](https://mydomain1.com:123 ) result ConnectTimeoutException).
* [ ] http://site1.com (ConnectTimeoutException) with 13 occurrences migrated to:
https://site1.com ([https](https://site1.com ) result ConnectTimeoutException).
* [ ] http://wwws.sun.com/software/xml/developers/diffmk/ (ConnectTimeoutException) with 1 occurrences migrated to:
https://wwws.sun.com/software/xml/developers/diffmk/ ([https](https://wwws.sun.com/software/xml/developers/diffmk/ ) result ConnectTimeoutException).
* [ ] http://www.w3.org/TR/html4/loose.dtd (ReadTimeoutException) with 5 occurrences migrated to:
https://www.w3.org/TR/html4/loose.dtd ([https](https://www.w3.org/TR/html4/loose.dtd ) result ReadTimeoutException).
* [ ] http://DOMAIN2.com (UnknownHostException) with 2 occurrences migrated to:
https://DOMAIN2.com ([https](https://DOMAIN2.com ) result UnknownHostException).
* [ ] http://a.example.org/mvc-showcase (UnknownHostException) with 1 occurrences migrated to:
https://a.example.org/mvc-showcase ([https](https://a.example.org/mvc-showcase ) result UnknownHostException).
* [ ] http://arjen:foobar@java.sun.com:80 (UnknownHostException) with 1 occurrences migrated to:
https://arjen:foobar@java.sun.com:80 ([https](https://arjen:foobar@java.sun.com:80 ) result UnknownHostException).
* [ ] http://dev.bar.com (UnknownHostException) with 3 occurrences migrated to:
https://dev.bar.com ([https](https://dev.bar.com ) result UnknownHostException).
* [ ] http://domain1.com (UnknownHostException) with 25 occurrences migrated to:
https://domain1.com ([https](https://domain1.com ) result UnknownHostException).
* [ ] http://domain1.com/test.html (UnknownHostException) with 4 occurrences migrated to:
https://domain1.com/test.html ([https](https://domain1.com/test.html ) result UnknownHostException).
* [ ] http://domain2.com (UnknownHostException) with 92 occurrences migrated to:
https://domain2.com ([https](https://domain2.com ) result UnknownHostException).
* [ ] http://example.com",HttpMethod.GET (UnknownHostException) with 6 occurrences migrated to:
https://example.com",HttpMethod.GET ([https](https://example.com",HttpMethod.GET ) result UnknownHostException).
* [ ] http://foo.bar.com (UnknownHostException) with 4 occurrences migrated to:
https://foo.bar.com ([https](https://foo.bar.com ) result UnknownHostException).
* [ ] http://joe.openid.example.org/ (UnknownHostException) with 2 occurrences migrated to:
https://joe.openid.example.org/ ([https](https://joe.openid.example.org/ ) result UnknownHostException).
* [ ] http://myserver/logo.png (UnknownHostException) with 1 occurrences migrated to:
https://myserver/logo.png ([https](https://myserver/logo.png ) result UnknownHostException).
* [ ] http://samples.springframework.org/order (UnknownHostException) with 2 occurrences migrated to:
https://samples.springframework.org/order ([https](https://samples.springframework.org/order ) result UnknownHostException).
* [ ] http://url.somewhere.com (UnknownHostException) with 25 occurrences migrated to:
https://url.somewhere.com ([https](https://url.somewhere.com ) result UnknownHostException).
* [ ] http://url.somewhere.com/path (UnknownHostException) with 1 occurrences migrated to:
https://url.somewhere.com/path ([https](https://url.somewhere.com/path ) result UnknownHostException).
* [ ] http://url.somewhere.com/path?id=1 (UnknownHostException) with 1 occurrences migrated to:
https://url.somewhere.com/path?id=1 ([https](https://url.somewhere.com/path?id=1 ) result UnknownHostException).
* [ ] http://url.somewhere.com/test.htm (UnknownHostException) with 2 occurrences migrated to:
https://url.somewhere.com/test.htm ([https](https://url.somewhere.com/test.htm ) result UnknownHostException).
* [ ] http://url.somewhere.com?a=b&c=d (UnknownHostException) with 1 occurrences migrated to:
https://url.somewhere.com?a=b&c=d ([https](https://url.somewhere.com?a=b&c=d ) result UnknownHostException).
* [ ] http://url.somewhere.com?foo= (UnknownHostException) with 2 occurrences migrated to:
https://url.somewhere.com?foo= ([https](https://url.somewhere.com?foo= ) result UnknownHostException).
* [ ] http://url.somewhere.com?foo=bar (UnknownHostException) with 4 occurrences migrated to:
https://url.somewhere.com?foo=bar ([https](https://url.somewhere.com?foo=bar ) result UnknownHostException).
* [ ] http://url.somewhere.com?foo=bar&a=b&c=d (UnknownHostException) with 2 occurrences migrated to:
https://url.somewhere.com?foo=bar&a=b&c=d ([https](https://url.somewhere.com?foo=bar&a=b&c=d ) result UnknownHostException).
* [ ] http://wiki.fasterxml.com/JacksonHome (UnknownHostException) with 3 occurrences migrated to:
https://wiki.fasterxml.com/JacksonHome ([https](https://wiki.fasterxml.com/JacksonHome ) result UnknownHostException).
* [ ] http://wiki.fasterxml.com/JacksonJsonViews (UnknownHostException) with 4 occurrences migrated to:
https://wiki.fasterxml.com/JacksonJsonViews ([https](https://wiki.fasterxml.com/JacksonJsonViews ) result UnknownHostException).
* [ ] http://x.y.z (UnknownHostException) with 2 occurrences migrated to:
https://x.y.z ([https](https://x.y.z ) result UnknownHostException).
* [ ] http://abc.com/v1 (301) with 1 occurrences migrated to:
https://abc.go.com/v1 ([https](https://abc.com/v1 ) result 404).
* [ ] http://abc.com/v1/accounts/43 (301) with 1 occurrences migrated to:
https://abc.go.com/v1/accounts/43 ([https](https://abc.com/v1/accounts/43 ) result 404).
* [ ] http://abc.com/v1/accounts?q=12 (301) with 1 occurrences migrated to:
https://abc.go.com/v1/accounts?q=12 ([https](https://abc.com/v1/accounts?q=12 ) result 404).
* [ ] http://abc.com/v2/accounts?q=12 (301) with 1 occurrences migrated to:
https://abc.go.com/v2/accounts?q=12 ([https](https://abc.com/v2/accounts?q=12 ) result 404).
* [ ] http://docs.spring.io/v1/bar (301) with 1 occurrences migrated to:
https://docs.spring.io/v1/bar ([https](https://docs.spring.io/v1/bar ) result 404).
* [ ] http://example.com/-foo (404) with 2 occurrences migrated to:
https://example.com/-foo ([https](https://example.com/-foo ) result 404).
* [ ] http://example.com/1 (404) with 1 occurrences migrated to:
https://example.com/1 ([https](https://example.com/1 ) result 404).
* [ ] http://example.com/1/2 (404) with 2 occurrences migrated to:
https://example.com/1/2 ([https](https://example.com/1/2 ) result 404).
* [ ] http://example.com/2 (404) with 1 occurrences migrated to:
https://example.com/2 ([https](https://example.com/2 ) result 404).
* [ ] http://example.com/a%20b?q=a%2Bb (404) with 1 occurrences migrated to:
https://example.com/a%20b?q=a%2Bb ([https](https://example.com/a%20b?q=a%2Bb ) result 404).
* [ ] http://example.com/abc/ (404) with 1 occurrences migrated to:
https://example.com/abc/ ([https](https://example.com/abc/ ) result 404).
* [ ] http://example.com/abc/x/y (404) with 1 occurrences migrated to:
https://example.com/abc/x/y ([https](https://example.com/abc/x/y ) result 404).
* [ ] http://example.com/abc/x/y/z (404) with 3 occurrences migrated to:
https://example.com/abc/x/y/z ([https](https://example.com/abc/x/y/z ) result 404).
* [ ] http://example.com/app/login/authenticate (404) with 1 occurrences migrated to:
https://example.com/app/login/authenticate ([https](https://example.com/app/login/authenticate ) result 404).
* [ ] http://example.com/arbitrary/path (404) with 1 occurrences migrated to:
https://example.com/arbitrary/path ([https](https://example.com/arbitrary/path ) result 404).
* [ ] http://example.com/bar (404) with 6 occurrences migrated to:
https://example.com/bar ([https](https://example.com/bar ) result 404).
* [ ] http://example.com/context.xml (404) with 4 occurrences migrated to:
https://example.com/context.xml ([https](https://example.com/context.xml ) result 404).
* [ ] http://example.com/example (404) with 6 occurrences migrated to:
https://example.com/example ([https](https://example.com/example ) result 404).
* [ ] http://example.com/example/?name (404) with 1 occurrences migrated to:
https://example.com/example/?name ([https](https://example.com/example/?name ) result 404).
* [ ] http://example.com/example/?name= (404) with 1 occurrences migrated to:
https://example.com/example/?name= ([https](https://example.com/example/?name= ) result 404).
* [ ] http://example.com/example/?name=%20 (404) with 1 occurrences migrated to:
https://example.com/example/?name=%20 ([https](https://example.com/example/?name=%20 ) result 404).
* [ ] http://example.com/example/?name=row%5B0%5D (404) with 1 occurrences migrated to:
https://example.com/example/?name=row%5B0%5D ([https](https://example.com/example/?name=row%5B0%5D ) result 404).
* [ ] http://example.com/example/?name=value (404) with 1 occurrences migrated to:
https://example.com/example/?name=value ([https](https://example.com/example/?name=value ) result 404).
* [ ] http://example.com/example/?name=value¶m2=value+2 (404) with 1 occurrences migrated to:
https://example.com/example/?name=value¶m2=value+2 ([https](https://example.com/example/?name=value¶m2=value+2 ) result 404).
* [ ] http://example.com/example/?row%5B0%5D=value (404) with 1 occurrences migrated to:
https://example.com/example/?row%5B0%5D=value ([https](https://example.com/example/?row%5B0%5D=value ) result 404).
* [ ] http://example.com/foo (404) with 5 occurrences migrated to:
https://example.com/foo ([https](https://example.com/foo ) result 404).
* [ ] http://example.com/foo/../bar (404) with 1 occurrences migrated to:
https://example.com/foo/../bar ([https](https://example.com/foo/../bar ) result 404).
* [ ] http://example.com/foo/foo2?bar (404) with 1 occurrences migrated to:
https://example.com/foo/foo2?bar ([https](https://example.com/foo/foo2?bar ) result 404).
* [ ] http://example.com/foo?bar (404) with 4 occurrences migrated to:
https://example.com/foo?bar ([https](https://example.com/foo?bar ) result 404).
* [ ] http://example.com/foo?bar= (404) with 2 occurrences migrated to:
https://example.com/foo?bar= ([https](https://example.com/foo?bar= ) result 404).
* [ ] http://example.com/foo?bar=baz (404) with 2 occurrences migrated to:
https://example.com/foo?bar=baz ([https](https://example.com/foo?bar=baz ) result 404).
* [ ] http://example.com/foo?baz=42 (404) with 1 occurrences migrated to:
https://example.com/foo?baz=42 ([https](https://example.com/foo?baz=42 ) result 404).
* [ ] http://example.com/foo?foo=bar&baz=qux (404) with 2 occurrences migrated to:
https://example.com/foo?foo=bar&baz=qux ([https](https://example.com/foo?foo=bar&baz=qux ) result 404).
* [ ] http://example.com/hotel (404) with 3 occurrences migrated to:
https://example.com/hotel ([https](https://example.com/hotel ) result 404).
* [ ] http://example.com/hotel%20list (404) with 1 occurrences migrated to:
https://example.com/hotel%20list ([https](https://example.com/hotel%20list ) result 404).
* [ ] http://example.com/hotel%20list/Z (404) with 1 occurrences migrated to:
https://example.com/hotel%20list/Z ([https](https://example.com/hotel%20list/Z ) result 404).
* [ ] http://example.com/hotel%20list/Z%C3%BCrich (404) with 3 occurrences migrated to:
https://example.com/hotel%20list/Z%C3%BCrich ([https](https://example.com/hotel%20list/Z%C3%BCrich ) result 404).
* [ ] http://example.com/hotels (404) with 3 occurrences migrated to:
https://example.com/hotels ([https](https://example.com/hotels ) result 404).
* [ ] http://example.com/hotels/ (404) with 15 occurrences migrated to:
https://example.com/hotels/ ([https](https://example.com/hotels/ ) result 404).
* [ ] http://example.com/hotels/1/bookings/42 (404) with 1 occurrences migrated to:
https://example.com/hotels/1/bookings/42 ([https](https://example.com/hotels/1/bookings/42 ) result 404).
* [ ] http://example.com/hotels/1/pic/pics%2Flogo.png/size/150x150 (404) with 2 occurrences migrated to:
https://example.com/hotels/1/pic/pics%2Flogo.png/size/150x150 ([https](https://example.com/hotels/1/pic/pics%2Flogo.png/size/150x150 ) result 404).
* [ ] http://example.com/hotels/1/pic/pics/logo.png (404) with 1 occurrences migrated to:
https://example.com/hotels/1/pic/pics/logo.png ([https](https://example.com/hotels/1/pic/pics/logo.png ) result 404).
* [ ] http://example.com/hotels/42/bookings/21 (404) with 1 occurrences migrated to:
https://example.com/hotels/42/bookings/21 ([https](https://example.com/hotels/42/bookings/21 ) result 404).
* [ ] http://example.com/hotels/42/bookings/42 (404) with 1 occurrences migrated to:
https://example.com/hotels/42/bookings/42 ([https](https://example.com/hotels/42/bookings/42 ) result 404).
* [ ] http://example.com/hotels/Rest%20%26%20Relax/bookings/42 (404) with 2 occurrences migrated to:
https://example.com/hotels/Rest%20%26%20Relax/bookings/42 ([https](https://example.com/hotels/Rest%20%26%20Relax/bookings/42 ) result 404).
* [ ] http://example.com/info (404) with 2 occurrences migrated to:
https://example.com/info ([https](https://example.com/info ) result 404).
* [ ] http://example.com/jquery-1.11.0.min.js (404) with 2 occurrences migrated to:
https://example.com/jquery-1.11.0.min.js ([https](https://example.com/jquery-1.11.0.min.js ) result 404).
* [ ] http://example.com/match (404) with 1 occurrences migrated to:
https://example.com/match ([https](https://example.com/match ) result 404).
* [ ] http://example.com/myFileUpload (404) with 1 occurrences migrated to:
https://example.com/myFileUpload ([https](https://example.com/myFileUpload ) result 404).
* [ ] http://example.com/myForm (404) with 1 occurrences migrated to:
https://example.com/myForm ([https](https://example.com/myForm ) result 404).
* [ ] http://example.com/path (404) with 6 occurrences migrated to:
https://example.com/path ([https](https://example.com/path ) result 404).
* [ ] http://example.com/path?query (404) with 2 occurrences migrated to:
https://example.com/path?query ([https](https://example.com/path?query ) result 404).
* [ ] http://example.com/path?query=foo (404) with 1 occurrences migrated to:
https://example.com/path?query=foo ([https](https://example.com/path?query=foo ) result 404).
* [ ] http://example.com/people (404) with 1 occurrences migrated to:
https://example.com/people ([https](https://example.com/people ) result 404).
* [ ] http://example.com/people/ (404) with 1 occurrences migrated to:
https://example.com/people/ ([https](https://example.com/people/ ) result 404).
* [ ] http://example.com/prefix/path (404) with 2 occurrences migrated to:
https://example.com/prefix/path ([https](https://example.com/prefix/path ) result 404).
* [ ] http://example.com/resource (404) with 5 occurrences migrated to:
https://example.com/resource ([https](https://example.com/resource ) result 404).
* [ ] http://example.com/resource?access_token=123 (404) with 1 occurrences migrated to:
https://example.com/resource?access_token=123 ([https](https://example.com/resource?access_token=123 ) result 404).
* [ ] http://example.com/spaces (404) with 1 occurrences migrated to:
https://example.com/spaces ([https](https://example.com/spaces ) result 404).
* [ ] http://example.com/spaces%20and%20%E2%82%AC (404) with 3 occurrences migrated to:
https://example.com/spaces%20and%20%E2%82%AC ([https](https://example.com/spaces%20and%20%E2%82%AC ) result 404).
* [ ] http://example.com/spring/ (404) with 1 occurrences migrated to:
https://example.com/spring/ ([https](https://example.com/spring/ ) result 404).
* [ ] http://example.com/test/this/here (404) with 1 occurrences migrated to:
https://example.com/test/this/here ([https](https://example.com/test/this/here ) result 404).
* [ ] http://example.com/upload (404) with 1 occurrences migrated to:
https://example.com/upload ([https](https://example.com/upload ) result 404).
* [ ] http://example.com/user (404) with 1 occurrences migrated to:
https://example.com/user ([https](https://example.com/user ) result 404).
* [ ] http://example.org/fonts/css (404) with 6 occurrences migrated to:
https://example.org/fonts/css ([https](https://example.org/fonts/css ) result 404).
* [ ] http://example.org/foo/page.html (404) with 1 occurrences migrated to:
https://example.org/foo/page.html ([https](https://example.org/foo/page.html ) result 404).
* [ ] http://example.org/image.png (404) with 4 occurrences migrated to:
https://example.org/image.png ([https](https://example.org/image.png ) result 404).
* [ ] http://example.org/music/people (404) with 4 occurrences migrated to:
https://example.org/music/people ([https](https://example.org/music/people ) result 404).
* [ ] http://example.org/page.cache.html (404) with 1 occurrences migrated to:
https://example.org/page.cache.html ([https](https://example.org/page.cache.html ) result 404).
* [ ] http://example.org/path (404) with 3 occurrences migrated to:
https://example.org/path ([https](https://example.org/path ) result 404).
* [ ] http://springframework.org/oxm-test (404) with 2 occurrences migrated to:
https://springframework.org/oxm-test ([https](https://springframework.org/oxm-test ) result 404).
* [ ] http://aaa.org:8080/app/b/c/d (301) with 1 occurrences migrated to:
https://www.aaa.org/app/b/c/d ([https](https://aaa.org:8080/app/b/c/d ) result 404).
* [ ] http://www.example.com/favicon.ico (404) with 2 occurrences migrated to:
https://www.example.com/favicon.ico ([https](https://www.example.com/favicon.ico ) result 404).
* [ ] http://www.example.com/foo/bar (404) with 1 occurrences migrated to:
https://www.example.com/foo/bar ([https](https://www.example.com/foo/bar ) result 404).
* [ ] http://www.example.com/hotels (404) with 2 occurrences migrated to:
https://www.example.com/hotels ([https](https://www.example.com/hotels ) result 404).
* [ ] http://www.example.com/user/ (404) with 4 occurrences migrated to:
https://www.example.com/user/ ([https](https://www.example.com/user/ ) result 404).
* [ ] http://www.example.com/user/john%3Bdoe/dashboard (404) with 4 occurrences migrated to:
https://www.example.com/user/john%3Bdoe/dashboard ([https](https://www.example.com/user/john%3Bdoe/dashboard ) result 404).
* [ ] http://www.example.com/user/john;doe/dashboard (404) with 2 occurrences migrated to:
https://www.example.com/user/john;doe/dashboard ([https](https://www.example.com/user/john;doe/dashboard ) result 404).
* [ ] http://www.ibm.com/developerworks/websphere/library/techarticles/0404_tang/0404_tang.html (301) with 1 occurrences migrated to:
https://www.ibm.com/developerworks/websphere/library/techarticles/0404_tang/0404_tang.html ([https](https://www.ibm.com/developerworks/websphere/library/techarticles/0404_tang/0404_tang.html ) result 404).
* [ ] http://mydomain1.com:80/path (301) with 2 occurrences migrated to:
https://www.mydomain1.com/path ([https](https://mydomain1.com:80/path ) result 404).
* [ ] http://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/tutorial-lesson-03 (404) with 1 occurrences migrated to:
https://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/tutorial-lesson-03 ([https](https://www.quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/tutorial-lesson-03 ) result 404).
* [ ] http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html (301) with 1 occurrences migrated to:
https://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html ([https](https://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html ) result 404).
* [ ] http://xml.apache.org/xslt (404) with 3 occurrences migrated to:
https://xml.apache.org/xslt ([https](https://xml.apache.org/xslt ) result 404).
* [ ] http://myhost.com/resource/path/myTemplate.txt (500) with 1 occurrences migrated to:
https://myhost.com/resource/path/myTemplate.txt ([https](https://myhost.com/resource/path/myTemplate.txt ) result 500).
* [ ] http://myhost.com/some/arbitrary/path (500) with 1 occurrences migrated to:
https://myhost.com/some/arbitrary/path ([https](https://myhost.com/some/arbitrary/path ) result 500).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://activemq.apache.org/delete-inactive-destinations.html with 1 occurrences migrated to:
https://activemq.apache.org/delete-inactive-destinations.html ([https](https://activemq.apache.org/delete-inactive-destinations.html ) result 200).
* [ ] http://activemq.apache.org/stomp.html with 1 occurrences migrated to:
https://activemq.apache.org/stomp.html ([https](https://activemq.apache.org/stomp.html ) result 200).
* [ ] http://ant.apache.org with 1 occurrences migrated to:
https://ant.apache.org ([https](https://ant.apache.org ) result 200).
* [ ] http://asciidoctor.org/ with 1 occurrences migrated to:
https://asciidoctor.org/ ([https](https://asciidoctor.org/ ) result 200).
* [ ] http://asciidoctor.org/docs/editing-asciidoc-with-live-preview/ with 2 occurrences migrated to:
https://asciidoctor.org/docs/editing-asciidoc-with-live-preview/ ([https](https://asciidoctor.org/docs/editing-asciidoc-with-live-preview/ ) result 200).
* [ ] http://beanvalidation.org/ with 1 occurrences migrated to:
https://beanvalidation.org/ ([https](https://beanvalidation.org/ ) result 200).
* [ ] http://caniuse.com/ with 2 occurrences migrated to:
https://caniuse.com/ ([https](https://caniuse.com/ ) result 200).
* [ ] http://castor-data-binding.github.io/castor/reference-guides/1.3.3/html-single/index.html with 2 occurrences migrated to:
https://castor-data-binding.github.io/castor/reference-guides/1.3.3/html-single/index.html ([https](https://castor-data-binding.github.io/castor/reference-guides/1.3.3/html-single/index.html ) result 200).
* [ ] http://cbor.io/ with 1 occurrences migrated to:
https://cbor.io/ ([https](https://cbor.io/ ) result 200).
* [ ] http://code.jquery.com/jquery-1.11.0.min.js with 2 occurrences migrated to:
https://code.jquery.com/jquery-1.11.0.min.js ([https](https://code.jquery.com/jquery-1.11.0.min.js ) result 200).
* [ ] http://code.jquery.com/jquery.js with 1 occurrences migrated to:
https://code.jquery.com/jquery.js ([https](https://code.jquery.com/jquery.js ) result 200).
* [ ] http://commons.apache.org/proper/commons-lang/ with 2 occurrences migrated to:
https://commons.apache.org/proper/commons-lang/ ([https](https://commons.apache.org/proper/commons-lang/ ) result 200).
* [ ] http://docs.oracle.com/javase/6/docs/api/java/beans/package-summary.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/6/docs/api/java/beans/package-summary.html ([https](https://docs.oracle.com/javase/6/docs/api/java/beans/package-summary.html ) result 200).
* [ ] http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html ([https](https://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html ) result 200).
* [ ] http://docs.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html with 2 occurrences migrated to:
https://docs.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html ([https](https://docs.oracle.com/javase/6/docs/api/java/lang/instrument/package-summary.html ) result 200).
* [ ] http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html ([https](https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html ) result 200).
* [ ] http://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html with 2 occurrences migrated to:
https://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html ([https](https://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html ) result 200).
* [ ] http://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html ([https](https://docs.oracle.com/javase/tutorial/javabeans/advanced/customization.html ) result 200).
* [ ] http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html ([https](https://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html ) result 200).
* [ ] http://docs.seleniumhq.org/ with 1 occurrences migrated to:
https://docs.seleniumhq.org/ ([https](https://docs.seleniumhq.org/ ) result 200).
* [ ] http://docs.seleniumhq.org/projects/webdriver/ with 1 occurrences migrated to:
https://docs.seleniumhq.org/projects/webdriver/ ([https](https://docs.seleniumhq.org/projects/webdriver/ ) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/current/javadoc-api/ with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/ ) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/view/script/ScriptTemplateView.html with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/view/script/ScriptTemplateView.html ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/view/script/ScriptTemplateView.html ) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/ with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/ ([https](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/ ) result 200).
* [ ] http://docs.spring.io/spring-session/docs/current/reference/html5/ with 1 occurrences migrated to:
https://docs.spring.io/spring-session/docs/current/reference/html5/ ([https](https://docs.spring.io/spring-session/docs/current/reference/html5/ ) result 200).
* [ ] http://en.wikipedia.org/wiki/Adapter_pattern with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Adapter_pattern ([https](https://en.wikipedia.org/wiki/Adapter_pattern ) result 200).
* [ ] http://en.wikipedia.org/wiki/Halting_Problem with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Halting_Problem ([https](https://en.wikipedia.org/wiki/Halting_Problem ) result 200).
* [ ] http://en.wikipedia.org/wiki/JSONP with 3 occurrences migrated to:
https://en.wikipedia.org/wiki/JSONP ([https](https://en.wikipedia.org/wiki/JSONP ) result 200).
* [ ] http://en.wikipedia.org/wiki/List_of_HTTP_status_codes with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes ([https](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes ) result 200).
* [ ] http://en.wikipedia.org/wiki/MIME with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/MIME ([https](https://en.wikipedia.org/wiki/MIME ) result 200).
* [ ] http://en.wikipedia.org/wiki/Mock_Object with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Mock_Object ([https](https://en.wikipedia.org/wiki/Mock_Object ) result 200).
* [ ] http://en.wikipedia.org/wiki/Polyfill with 2 occurrences migrated to:
https://en.wikipedia.org/wiki/Polyfill ([https](https://en.wikipedia.org/wiki/Polyfill ) result 200).
* [ ] http://example.com with 139 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://example.com/ with 16 occurrences migrated to:
https://example.com/ ([https](https://example.com/ ) result 200).
* [ ] http://example.com?foo with 2 occurrences migrated to:
https://example.com?foo ([https](https://example.com?foo ) result 200).
* [ ] http://example.com?foo=bar with 8 occurrences migrated to:
https://example.com?foo=bar ([https](https://example.com?foo=bar ) result 200).
* [ ] http://example.com?foo=bar@baz with 1 occurrences migrated to:
https://example.com?foo=bar@baz ([https](https://example.com?foo=bar@baz ) result 200).
* [ ] http://example.org with 16 occurrences migrated to:
https://example.org ([https](https://example.org ) result 200).
* [ ] http://example.org/ with 1 occurrences migrated to:
https://example.org/ ([https](https://example.org/ ) result 200).
* [ ] http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/DeserializationFeature.html with 2 occurrences migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/DeserializationFeature.html ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/DeserializationFeature.html ) result 200).
* [ ] http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/MapperFeature.html with 2 occurrences migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/MapperFeature.html ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/MapperFeature.html ) result 200).
* [ ] http://h2database.com with 1 occurrences migrated to:
https://h2database.com ([https](https://h2database.com ) result 200).
* [ ] http://handlebarsjs.com with 2 occurrences migrated to:
https://handlebarsjs.com ([https](https://handlebarsjs.com ) result 200).
* [ ] http://handlebarsjs.com/ with 2 occurrences migrated to:
https://handlebarsjs.com/ ([https](https://handlebarsjs.com/ ) result 200).
* [ ] http://hc.apache.org/httpcomponents-asyncclient-dev/ with 1 occurrences migrated to:
https://hc.apache.org/httpcomponents-asyncclient-dev/ ([https](https://hc.apache.org/httpcomponents-asyncclient-dev/ ) result 200).
* [ ] http://hc.apache.org/httpcomponents-client-ga/ with 2 occurrences migrated to:
https://hc.apache.org/httpcomponents-client-ga/ ([https](https://hc.apache.org/httpcomponents-client-ga/ ) result 200).
* [ ] http://hc.apache.org/httpcomponents-client-ga/httpclient/ with 1 occurrences migrated to:
https://hc.apache.org/httpcomponents-client-ga/httpclient/ ([https](https://hc.apache.org/httpcomponents-client-ga/httpclient/ ) result 200).
* [ ] http://www.hibernate.org/ (301) with 1 occurrences migrated to:
https://hibernate.org/ ([https](https://www.hibernate.org/ ) result 200).
* [ ] http://www.hibernate.org (301) with 1 occurrences migrated to:
https://hibernate.org/ ([https](https://www.hibernate.org ) result 200).
* [ ] http://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html with 1 occurrences migrated to:
https://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html ([https](https://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html ) result 200).
* [ ] http://jcp.org/aboutJava/communityprocess/final/jsr160/index.html with 1 occurrences migrated to:
https://jcp.org/aboutJava/communityprocess/final/jsr160/index.html ([https](https://jcp.org/aboutJava/communityprocess/final/jsr160/index.html ) result 200).
* [ ] http://jcp.org/en/jsr/detail?id=107 with 1 occurrences migrated to:
https://jcp.org/en/jsr/detail?id=107 ([https](https://jcp.org/en/jsr/detail?id=107 ) result 200).
* [ ] http://joel-costigliola.github.io/assertj/ with 2 occurrences migrated to:
https://joel-costigliola.github.io/assertj/ ([https](https://joel-costigliola.github.io/assertj/ ) result 200).
* [ ] http://jsonassert.skyscreamer.org with 1 occurrences migrated to:
https://jsonassert.skyscreamer.org ([https](https://jsonassert.skyscreamer.org ) result 200).
* [ ] http://jsonassert.skyscreamer.org/ with 5 occurrences migrated to:
https://jsonassert.skyscreamer.org/ ([https](https://jsonassert.skyscreamer.org/ ) result 200).
* [ ] http://junit.org/junit5/docs/current/user-guide/ with 2 occurrences migrated to:
https://junit.org/junit5/docs/current/user-guide/ ([https](https://junit.org/junit5/docs/current/user-guide/ ) result 200).
* [ ] http://kotlinlang.org/ with 2 occurrences migrated to:
https://kotlinlang.org/ ([https](https://kotlinlang.org/ ) result 200).
* [ ] http://kotlinlang.org/docs/reference/ with 1 occurrences migrated to:
https://kotlinlang.org/docs/reference/ ([https](https://kotlinlang.org/docs/reference/ ) result 200).
* [ ] http://kotlinlang.org/docs/reference/classes.html with 3 occurrences migrated to:
https://kotlinlang.org/docs/reference/classes.html ([https](https://kotlinlang.org/docs/reference/classes.html ) result 200).
* [ ] http://mydomain.com with 5 occurrences migrated to:
https://mydomain.com ([https](https://mydomain.com ) result 200).
* [ ] http://myfaces.apache.org/ with 1 occurrences migrated to:
https://myfaces.apache.org/ ([https](https://myfaces.apache.org/ ) result 200).
* [ ] http://myfaces.apache.org/orchestra/ with 1 occurrences migrated to:
https://myfaces.apache.org/orchestra/ ([https](https://myfaces.apache.org/orchestra/ ) result 200).
* [ ] http://netty.io/ with 1 occurrences migrated to:
https://netty.io/ ([https](https://netty.io/ ) result 200).
* [ ] http://openjdk.java.net/jeps/290 with 1 occurrences migrated to:
https://openjdk.java.net/jeps/290 ([https](https://openjdk.java.net/jeps/290 ) result 200).
* [ ] http://openjdk.java.net/projects/nashorn/ with 10 occurrences migrated to:
https://openjdk.java.net/projects/nashorn/ ([https](https://openjdk.java.net/projects/nashorn/ ) result 200).
* [ ] http://pivotal.io/security/cve-2015-5211 with 1 occurrences migrated to:
https://pivotal.io/security/cve-2015-5211 ([https](https://pivotal.io/security/cve-2015-5211 ) result 200).
* [ ] http://poi.apache.org with 3 occurrences migrated to:
https://poi.apache.org ([https](https://poi.apache.org ) result 200).
* [ ] http://projects.spring.io/spring-boot/ with 1 occurrences migrated to:
https://projects.spring.io/spring-boot/ ([https](https://projects.spring.io/spring-boot/ ) result 200).
* [ ] http://projects.spring.io/spring-data/ with 1 occurrences migrated to:
https://projects.spring.io/spring-data/ ([https](https://projects.spring.io/spring-data/ ) result 200).
* [ ] http://projects.spring.io/spring-framework/ with 1 occurrences migrated to:
https://projects.spring.io/spring-framework/ ([https](https://projects.spring.io/spring-framework/ ) result 200).
* [ ] http://projects.spring.io/spring-integration/ with 1 occurrences migrated to:
https://projects.spring.io/spring-integration/ ([https](https://projects.spring.io/spring-integration/ ) result 200).
* [ ] http://projects.spring.io/spring-security/ with 3 occurrences migrated to:
https://projects.spring.io/spring-security/ ([https](https://projects.spring.io/spring-security/ ) result 200).
* [ ] http://repo1.maven.org/maven2/javax/inject/javax.inject/1/ with 2 occurrences migrated to:
https://repo1.maven.org/maven2/javax/inject/javax.inject/1/ ([https](https://repo1.maven.org/maven2/javax/inject/javax.inject/1/ ) result 200).
* [ ] http://schema.spring.io/mvc/spring-mvc.xsd with 1 occurrences migrated to:
https://schema.spring.io/mvc/spring-mvc.xsd ([https](https://schema.spring.io/mvc/spring-mvc.xsd ) result 200).
* [ ] http://search.maven.org/ with 2 occurrences migrated to:
https://search.maven.org/ ([https](https://search.maven.org/ ) result 200).
* [ ] http://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html with 3 occurrences migrated to:
https://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html ([https](https://sockjs.github.io/sockjs-protocol/sockjs-protocol-0.3.3.html ) result 200).
* [ ] http://sourceforge.net with 1 occurrences migrated to:
https://sourceforge.net ([https](https://sourceforge.net ) result 200).
* [ ] http://sourceforge.net/projects/javadiff/ with 1 occurrences migrated to:
https://sourceforge.net/projects/javadiff/ ([https](https://sourceforge.net/projects/javadiff/ ) result 200).
* [ ] http://sourceforge.net/sflogo.php?group_id=37160 with 1 occurrences migrated to:
https://sourceforge.net/sflogo.php?group_id=37160 ([https](https://sourceforge.net/sflogo.php?group_id=37160 ) result 200).
* [ ] http://spring.io/blog/ with 1 occurrences migrated to:
https://spring.io/blog/ ([https](https://spring.io/blog/ ) result 200).
* [ ] http://spring.io/blog/category/news with 1 occurrences migrated to:
https://spring.io/blog/category/news ([https](https://spring.io/blog/category/news ) result 200).
* [ ] http://square.github.io/okhttp/ with 1 occurrences migrated to:
https://square.github.io/okhttp/ ([https](https://square.github.io/okhttp/ ) result 200).
* [ ] http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do with 2 occurrences migrated to:
https://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do ([https](https://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do ) result 200).
* [ ] http://stackoverflow.com/questions/19394570/java-jre-7u45-breaks-classloader-getresources with 2 occurrences migrated to:
https://stackoverflow.com/questions/19394570/java-jre-7u45-breaks-classloader-getresources ([https](https://stackoverflow.com/questions/19394570/java-jre-7u45-breaks-classloader-getresources ) result 200).
* [ ] http://stackoverflow.com/questions/22986109/testing-spring-managed-servlet with 1 occurrences migrated to:
https://stackoverflow.com/questions/22986109/testing-spring-managed-servlet ([https](https://stackoverflow.com/questions/22986109/testing-spring-managed-servlet ) result 200).
* [ ] http://stackoverflow.com/questions/24725438/what-could-cause-a-class-implementing-applicationlistenercontextrefreshedevent with 1 occurrences migrated to:
https://stackoverflow.com/questions/24725438/what-could-cause-a-class-implementing-applicationlistenercontextrefreshedevent ([https](https://stackoverflow.com/questions/24725438/what-could-cause-a-class-implementing-applicationlistenercontextrefreshedevent ) result 200).
* [ ] http://stackoverflow.com/questions/35733344/can-contextconfiguration-in-a-custom-annotation-be-merged with 1 occurrences migrated to:
https://stackoverflow.com/questions/35733344/can-contextconfiguration-in-a-custom-annotation-be-merged ([https](https://stackoverflow.com/questions/35733344/can-contextconfiguration-in-a-custom-annotation-be-merged ) result 200).
* [ ] http://start.spring.io/ with 2 occurrences migrated to:
https://start.spring.io/ ([https](https://start.spring.io/ ) result 200).
* [ ] http://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html with 1 occurrences migrated to:
https://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html ([https](https://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html ) result 200).
* [ ] http://stomp.github.io/stomp-specification-1.2.html with 9 occurrences migrated to:
https://stomp.github.io/stomp-specification-1.2.html ([https](https://stomp.github.io/stomp-specification-1.2.html ) result 200).
* [ ] http://struts.apache.org with 1 occurrences migrated to:
https://struts.apache.org ([https](https://struts.apache.org ) result 200).
* [ ] http://struts.apache.org/ with 1 occurrences migrated to:
https://struts.apache.org/ ([https](https://struts.apache.org/ ) result 200).
* [ ] http://tapestry.apache.org/ with 2 occurrences migrated to:
https://tapestry.apache.org/ ([https](https://tapestry.apache.org/ ) result 200).
* [ ] http://tiles.apache.org with 4 occurrences migrated to:
https://tiles.apache.org ([https](https://tiles.apache.org ) result 200).
* [ ] http://tiles.apache.org/framework/dependency-management.html with 1 occurrences migrated to:
https://tiles.apache.org/framework/dependency-management.html ([https](https://tiles.apache.org/framework/dependency-management.html ) result 200).
* [ ] http://tomcat.apache.org/ with 2 occurrences migrated to:
https://tomcat.apache.org/ ([https](https://tomcat.apache.org/ ) result 200).
* [ ] http://tomcat.apache.org/tomcat-6.0-doc/config/context.html with 1 occurrences migrated to:
https://tomcat.apache.org/tomcat-6.0-doc/config/context.html ([https](https://tomcat.apache.org/tomcat-6.0-doc/config/context.html ) result 200).
* [ ] http://tools.ietf.org/html/rfc1945 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc1945 ([https](https://tools.ietf.org/html/rfc1945 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2109 with 2 occurrences migrated to:
https://tools.ietf.org/html/rfc2109 ([https](https://tools.ietf.org/html/rfc2109 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2295 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2295 ([https](https://tools.ietf.org/html/rfc2295 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2324 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2324 ([https](https://tools.ietf.org/html/rfc2324 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2518 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2518 ([https](https://tools.ietf.org/html/rfc2518 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2616 with 3 occurrences migrated to:
https://tools.ietf.org/html/rfc2616 ([https](https://tools.ietf.org/html/rfc2616 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2774 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2774 ([https](https://tools.ietf.org/html/rfc2774 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2817 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2817 ([https](https://tools.ietf.org/html/rfc2817 ) result 200).
* [ ] http://tools.ietf.org/html/rfc2965 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc2965 ([https](https://tools.ietf.org/html/rfc2965 ) result 200).
* [ ] http://tools.ietf.org/html/rfc3229 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc3229 ([https](https://tools.ietf.org/html/rfc3229 ) result 200).
* [ ] http://tools.ietf.org/html/rfc3986 with 4 occurrences migrated to:
https://tools.ietf.org/html/rfc3986 ([https](https://tools.ietf.org/html/rfc3986 ) result 200).
* [ ] http://tools.ietf.org/html/rfc4918 with 5 occurrences migrated to:
https://tools.ietf.org/html/rfc4918 ([https](https://tools.ietf.org/html/rfc4918 ) result 200).
* [ ] http://tools.ietf.org/html/rfc5842 with 2 occurrences migrated to:
https://tools.ietf.org/html/rfc5842 ([https](https://tools.ietf.org/html/rfc5842 ) result 200).
* [ ] http://tools.ietf.org/html/rfc5988 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc5988 ([https](https://tools.ietf.org/html/rfc5988 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6202 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc6202 ([https](https://tools.ietf.org/html/rfc6202 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6266 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc6266 ([https](https://tools.ietf.org/html/rfc6266 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6454 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc6454 ([https](https://tools.ietf.org/html/rfc6454 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6455 with 2 occurrences migrated to:
https://tools.ietf.org/html/rfc6455 ([https](https://tools.ietf.org/html/rfc6455 ) result 200).
* [ ] http://tools.ietf.org/html/rfc6585 with 4 occurrences migrated to:
https://tools.ietf.org/html/rfc6585 ([https](https://tools.ietf.org/html/rfc6585 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7230 with 10 occurrences migrated to:
https://tools.ietf.org/html/rfc7230 ([https](https://tools.ietf.org/html/rfc7230 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7231 with 56 occurrences migrated to:
https://tools.ietf.org/html/rfc7231 ([https](https://tools.ietf.org/html/rfc7231 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7232 with 8 occurrences migrated to:
https://tools.ietf.org/html/rfc7232 ([https](https://tools.ietf.org/html/rfc7232 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7233 with 12 occurrences migrated to:
https://tools.ietf.org/html/rfc7233 ([https](https://tools.ietf.org/html/rfc7233 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7234 with 5 occurrences migrated to:
https://tools.ietf.org/html/rfc7234 ([https](https://tools.ietf.org/html/rfc7234 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7235 with 6 occurrences migrated to:
https://tools.ietf.org/html/rfc7235 ([https](https://tools.ietf.org/html/rfc7235 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7238 with 1 occurrences migrated to:
https://tools.ietf.org/html/rfc7238 ([https](https://tools.ietf.org/html/rfc7238 ) result 200).
* [ ] http://tools.ietf.org/html/rfc7239 with 12 occurrences migrated to:
https://tools.ietf.org/html/rfc7239 ([https](https://tools.ietf.org/html/rfc7239 ) result 200).
* [ ] http://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt with 3 occurrences migrated to:
https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt ([https](https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt ) result 200).
* [ ] http://unlicense.org with 1 occurrences migrated to:
https://unlicense.org ([https](https://unlicense.org ) result 200).
* [ ] http://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ with 10 occurrences migrated to:
https://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ ([https](https://www.amazon.com/exec/obidos/tg/detail/-/0764543857/ ) result 200).
* [ ] http://www.apache.org with 1 occurrences migrated to:
https://www.apache.org ([https](https://www.apache.org ) result 200).
* [ ] http://www.apple.com/DTDs/PropertyList-1.0.dtd with 6 occurrences migrated to:
https://www.apple.com/DTDs/PropertyList-1.0.dtd ([https](https://www.apple.com/DTDs/PropertyList-1.0.dtd ) result 200).
* [ ] http://www.atomikos.com/ with 1 occurrences migrated to:
https://www.atomikos.com/ ([https](https://www.atomikos.com/ ) result 200).
* [ ] http://www.baeldung.com/kotlin-null-safety with 1 occurrences migrated to:
https://www.baeldung.com/kotlin-null-safety ([https](https://www.baeldung.com/kotlin-null-safety ) result 200).
* [ ] http://www.eclipse.org/ajdt/ with 1 occurrences migrated to:
https://www.eclipse.org/ajdt/ ([https](https://www.eclipse.org/ajdt/ ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/next/progguide/index.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/next/progguide/index.html ([https](https://www.eclipse.org/aspectj/doc/next/progguide/index.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/next/progguide/semantics-joinPoints.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/next/progguide/semantics-joinPoints.html ([https](https://www.eclipse.org/aspectj/doc/next/progguide/semantics-joinPoints.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/adk15notebook/index.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/adk15notebook/index.html ([https](https://www.eclipse.org/aspectj/doc/released/adk15notebook/index.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/devguide/antTasks.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/devguide/antTasks.html ([https](https://www.eclipse.org/aspectj/doc/released/devguide/antTasks.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/devguide/index.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/devguide/index.html ([https](https://www.eclipse.org/aspectj/doc/released/devguide/index.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html ([https](https://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/devguide/ltw.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/devguide/ltw.html ([https](https://www.eclipse.org/aspectj/doc/released/devguide/ltw.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/progguide/index.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/progguide/index.html ([https](https://www.eclipse.org/aspectj/doc/released/progguide/index.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/doc/released/progguide/semantics-pointcuts.html with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/doc/released/progguide/semantics-pointcuts.html ([https](https://www.eclipse.org/aspectj/doc/released/progguide/semantics-pointcuts.html ) result 200).
* [ ] http://www.eclipse.org/aspectj/dtd/aspectj.dtd with 1 occurrences migrated to:
https://www.eclipse.org/aspectj/dtd/aspectj.dtd ([https](https://www.eclipse.org/aspectj/dtd/aspectj.dtd ) result 200).
* [ ] http://www.eclipse.org/jetty/ with 1 occurrences migrated to:
https://www.eclipse.org/jetty/ ([https](https://www.eclipse.org/jetty/ ) result 200).
* [ ] http://ehcache.sourceforge.net (301) with 1 occurrences migrated to:
https://www.ehcache.org/ ([https](https://ehcache.sourceforge.net ) result 200).
* [ ] http://ehcache.org/ (301) with 1 occurrences migrated to:
https://www.ehcache.org/ ([https](https://ehcache.org/ ) result 200).
* [ ] http://www.embeddedjs.com/ with 2 occurrences migrated to:
https://www.embeddedjs.com/ ([https](https://www.embeddedjs.com/ ) result 200).
* [ ] http://www.enterpriseintegrationpatterns.com with 1 occurrences migrated to:
https://www.enterpriseintegrationpatterns.com ([https](https://www.enterpriseintegrationpatterns.com ) result 200).
* [ ] http://www.example.org/?param=aGVsbG9Xb3JsZA%3D%3D with 1 occurrences migrated to:
https://www.example.org/?param=aGVsbG9Xb3JsZA%3D%3D ([https](https://www.example.org/?param=aGVsbG9Xb3JsZA%3D%3D ) result 200).
* [ ] http://www.google.com with 2 occurrences migrated to:
https://www.google.com ([https](https://www.google.com ) result 200).
* [ ] http://www.h2database.com with 1 occurrences migrated to:
https://www.h2database.com ([https](https://www.h2database.com ) result 200).
* [ ] http://www.h2database.com/html/grammar.html with 1 occurrences migrated to:
https://www.h2database.com/html/grammar.html ([https](https://www.h2database.com/html/grammar.html ) result 200).
* [ ] http://www.ietf.org with 1 occurrences migrated to:
https://www.ietf.org ([https](https://www.ietf.org ) result 200).
* [ ] http://www.ietf.org/rfc/rfc1867.txt with 1 occurrences migrated to:
https://www.ietf.org/rfc/rfc1867.txt ([https](https://www.ietf.org/rfc/rfc1867.txt ) result 200).
* [ ] http://www.ietf.org/rfc/rfc2396.txt with 2 occurrences migrated to:
https://www.ietf.org/rfc/rfc2396.txt ([https](https://www.ietf.org/rfc/rfc2396.txt ) result 200).
* [ ] http://www.ietf.org/rfc/rfc3986.txt with 11 occurrences migrated to:
https://www.ietf.org/rfc/rfc3986.txt ([https](https://www.ietf.org/rfc/rfc3986.txt ) result 200).
* [ ] http://www.infoq.com/ with 1 occurrences migrated to:
https://www.infoq.com/ ([https](https://www.infoq.com/ ) result 200).
* [ ] http://www.infoq.com/minibooks/JTDS with 1 occurrences migrated to:
https://www.infoq.com/minibooks/JTDS ([https](https://www.infoq.com/minibooks/JTDS ) result 200).
* [ ] http://www.jetbrains.com/idea/ with 1 occurrences migrated to:
https://www.jetbrains.com/idea/ ([https](https://www.jetbrains.com/idea/ ) result 200).
* [ ] http://www.json.org/ with 1 occurrences migrated to:
https://www.json.org/ ([https](https://www.json.org/ ) result 200).
* [ ] http://www.jython.org with 2 occurrences migrated to:
https://www.jython.org ([https](https://www.jython.org ) result 200).
* [ ] http://www.jython.org/ with 2 occurrences migrated to:
https://www.jython.org/ ([https](https://www.jython.org/ ) result 200).
* [ ] http://www.lowagie.com/iText with 2 occurrences migrated to:
https://www.lowagie.com/iText ([https](https://www.lowagie.com/iText ) result 200).
* [ ] http://www.manpagez.com/man/5/crontab/ with 1 occurrences migrated to:
https://www.manpagez.com/man/5/crontab/ ([https](https://www.manpagez.com/man/5/crontab/ ) result 200).
* [ ] http://mydomain1.com:80/ (301) with 2 occurrences migrated to:
https://www.mydomain1.com/ ([https](https://mydomain1.com:80/ ) result 200).
* [ ] http://mydomain1.com:80 (301) with 1 occurrences migrated to:
https://www.mydomain1.com/ ([https](https://mydomain1.com:80 ) result 200).
* [ ] http://www.oracle.com/technetwork/articles/javaee/jpa-137156.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/articles/javaee/jpa-137156.html ([https](https://www.oracle.com/technetwork/articles/javaee/jpa-137156.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html ([https](https://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html ([https](https://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/tech/download-jsp-141676.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javase/tech/download-jsp-141676.html ([https](https://www.oracle.com/technetwork/java/javase/tech/download-jsp-141676.html ) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html ([https](https://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html ) result 200).
* [ ] http://www.oracle.com/technetwork/middleware/weblogic/overview/index-085209.html with 1 occurrences migrated to:
https://www.oracle.com/technetwork/middleware/weblogic/overview/index-085209.html ([https](https://www.oracle.com/technetwork/middleware/weblogic/overview/index-085209.html ) result 200).
* [ ] http://www.ow2.org/ with 1 occurrences migrated to:
https://www.ow2.org/ ([https](https://www.ow2.org/ ) result 200).
* [ ] http://www.owasp.org/index.php/HTTPOnly with 4 occurrences migrated to:
https://www.owasp.org/index.php/HTTPOnly ([https](https://www.owasp.org/index.php/HTTPOnly ) result 200).
* [ ] http://quartz-scheduler.org (301) with 3 occurrences migrated to:
https://www.quartz-scheduler.org/ ([https](https://quartz-scheduler.org ) result 200).
* [ ] http://www.rabbitmq.com/stomp.html with 1 occurrences migrated to:
https://www.rabbitmq.com/stomp.html ([https](https://www.rabbitmq.com/stomp.html ) result 200).
* [ ] http://www.reactive-streams.org with 1 occurrences migrated to:
https://www.reactive-streams.org ([https](https://www.reactive-streams.org ) result 200).
* [ ] http://www.reactive-streams.org/ with 2 occurrences migrated to:
https://www.reactive-streams.org/ ([https](https://www.reactive-streams.org/ ) result 200).
* [ ] http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Publisher.html with 1 occurrences migrated to:
https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Publisher.html ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Publisher.html ) result 200).
* [ ] http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Subscriber.html with 1 occurrences migrated to:
https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Subscriber.html ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/org/reactivestreams/Subscriber.html ) result 200).
* [ ] http://seleniumhq.org/projects/webdriver/ (301) with 1 occurrences migrated to:
https://www.seleniumhq.org ([https](https://seleniumhq.org/projects/webdriver/ ) result 200).
* [ ] http://www.springbyexample.org/examples/custom-thread-scope-module.html with 1 occurrences migrated to:
https://www.springbyexample.org/examples/custom-thread-scope-module.html ([https](https://www.springbyexample.org/examples/custom-thread-scope-module.html ) result 200).
* [ ] http://www.springframework.org/dtd/spring-beans-2.0.dtd with 3 occurrences migrated to:
https://www.springframework.org/dtd/spring-beans-2.0.dtd ([https](https://www.springframework.org/dtd/spring-beans-2.0.dtd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop.xsd with 12 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop.xsd ([https](https://www.springframework.org/schema/aop/spring-aop.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 79 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* [ ] http://www.springframework.org/schema/cache/spring-cache.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/cache/spring-cache.xsd ([https](https://www.springframework.org/schema/cache/spring-cache.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context.xsd with 13 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jee/spring-jee.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/jee/spring-jee.xsd ([https](https://www.springframework.org/schema/jee/spring-jee.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jms/spring-jms.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/jms/spring-jms.xsd ([https](https://www.springframework.org/schema/jms/spring-jms.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang.xsd ([https](https://www.springframework.org/schema/lang/spring-lang.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/oxm/spring-oxm.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/oxm/spring-oxm.xsd ([https](https://www.springframework.org/schema/oxm/spring-oxm.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool.xsd with 13 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool.xsd ([https](https://www.springframework.org/schema/tool/spring-tool.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 7 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd ) result 200).
* [ ] http://www.springframework.org/schema/websocket/spring-websocket.xsd with 11 occurrences migrated to:
https://www.springframework.org/schema/websocket/spring-websocket.xsd ([https](https://www.springframework.org/schema/websocket/spring-websocket.xsd ) result 200).
* [ ] http://www.stuartellis.eu/articles/erb/ (301) with 2 occurrences migrated to:
https://www.stuartellis.name/articles/erb/ ([https](https://www.stuartellis.eu/articles/erb/ ) result 200).
* [ ] http://www.thymeleaf.org/ with 2 occurrences migrated to:
https://www.thymeleaf.org/ ([https](https://www.thymeleaf.org/ ) result 200).
* [ ] http://www.thymeleaf.org/documentation.html with 2 occurrences migrated to:
https://www.thymeleaf.org/documentation.html ([https](https://www.thymeleaf.org/documentation.html ) result 200).
* [ ] http://www.w3.org/2000/xmlns/ with 5 occurrences migrated to:
https://www.w3.org/2000/xmlns/ ([https](https://www.w3.org/2000/xmlns/ ) result 200).
* [ ] http://www.w3.org/2004/08/xop/include with 2 occurrences migrated to:
https://www.w3.org/2004/08/xop/include ([https](https://www.w3.org/2004/08/xop/include ) result 200).
* [ ] http://www.w3.org/DesignIssues/MatrixURIs.html with 2 occurrences migrated to:
https://www.w3.org/DesignIssues/MatrixURIs.html ([https](https://www.w3.org/DesignIssues/MatrixURIs.html ) result 200).
* [ ] http://www.w3.org/TR/2004/WD-soap12-mtom-20040608/ with 2 occurrences migrated to:
https://www.w3.org/TR/2004/WD-soap12-mtom-20040608/ ([https](https://www.w3.org/TR/2004/WD-soap12-mtom-20040608/ ) result 200).
* [ ] http://www.w3.org/TR/2005/REC-xop10-20050125/ with 6 occurrences migrated to:
https://www.w3.org/TR/2005/REC-xop10-20050125/ ([https](https://www.w3.org/TR/2005/REC-xop10-20050125/ ) result 200).
* [ ] http://www.w3.org/TR/cors/ with 19 occurrences migrated to:
https://www.w3.org/TR/cors/ ([https](https://www.w3.org/TR/cors/ ) result 200).
* [ ] http://www.w3.org/TR/eventsource/ with 2 occurrences migrated to:
https://www.w3.org/TR/eventsource/ ([https](https://www.w3.org/TR/eventsource/ ) result 200).
* [ ] http://www.w3.org/TR/xhtml1/ with 1 occurrences migrated to:
https://www.w3.org/TR/xhtml1/ ([https](https://www.w3.org/TR/xhtml1/ ) result 200).
* [ ] http://www.w3.org/TR/xhtml1/diffs.html with 1 occurrences migrated to:
https://www.w3.org/TR/xhtml1/diffs.html ([https](https://www.w3.org/TR/xhtml1/diffs.html ) result 200).
* [ ] http://www.w3.org/TR/xhtml1/dtds.html with 1 occurrences migrated to:
https://www.w3.org/TR/xhtml1/dtds.html ([https](https://www.w3.org/TR/xhtml1/dtds.html ) result 200).
* [ ] http://www.webjars.org with 4 occurrences migrated to:
https://www.webjars.org ([https](https://www.webjars.org ) result 200).
* [ ] http://www.webjars.org/ with 2 occurrences migrated to:
https://www.webjars.org/ ([https](https://www.webjars.org/ ) result 200).
* [ ] http://www.webjars.org/documentation with 2 occurrences migrated to:
https://www.webjars.org/documentation ([https](https://www.webjars.org/documentation ) result 200).
* [ ] http://www.wildfly.org/ with 1 occurrences migrated to:
https://www.wildfly.org/ ([https](https://www.wildfly.org/ ) result 200).
* [ ] http://x-stream.github.io/ with 2 occurrences migrated to:
https://x-stream.github.io/ ([https](https://x-stream.github.io/ ) result 200).
* [ ] http://youtrack.jetbrains.com/issue/IDEA-53476 with 1 occurrences migrated to:
https://youtrack.jetbrains.com/issue/IDEA-53476 ([https](https://youtrack.jetbrains.com/issue/IDEA-53476 ) result 200).
* [ ] http://youtrack.jetbrains.com/issue/IDEA-64446 with 1 occurrences migrated to:
https://youtrack.jetbrains.com/issue/IDEA-64446 ([https](https://youtrack.jetbrains.com/issue/IDEA-64446 ) result 200).
* [ ] http://asm.ow2.org with 1 occurrences migrated to:
https://asm.ow2.org ([https](https://asm.ow2.org ) result 301).
* [ ] http://bit.ly/TRlX2r with 1 occurrences migrated to:
https://bit.ly/TRlX2r ([https](https://bit.ly/TRlX2r ) result 301).
* [ ] http://bit.ly/UzccDt with 1 occurrences migrated to:
https://bit.ly/UzccDt ([https](https://bit.ly/UzccDt ) result 301).
* [ ] http://bit.ly/p9rIvx with 1 occurrences migrated to:
https://bit.ly/p9rIvx ([https](https://bit.ly/p9rIvx ) result 301).
* [ ] http://bit.ly/qUwvwz with 1 occurrences migrated to:
https://bit.ly/qUwvwz ([https](https://bit.ly/qUwvwz ) result 301).
* [ ] http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx with 1 occurrences migrated to:
https://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx ([https](https://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx ) result 301).
* [ ] http://castor-data-binding.github.io/castor with 1 occurrences migrated to:
https://castor-data-binding.github.io/castor ([https](https://castor-data-binding.github.io/castor ) result 301).
* [ ] http://code.google.com/p/beanshell2/ with 1 occurrences migrated to:
https://code.google.com/p/beanshell2/ ([https](https://code.google.com/p/beanshell2/ ) result 301).
* [ ] http://code.google.com/p/browsersec/wiki/Part2 with 1 occurrences migrated to:
https://code.google.com/p/browsersec/wiki/Part2 ([https](https://code.google.com/p/browsersec/wiki/Part2 ) result 301).
* [ ] http://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal with 1 occurrences migrated to:
https://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal ([https](https://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal ) result 301).
* [ ] http://code.google.com/p/xml-matchers/ with 3 occurrences migrated to:
https://code.google.com/p/xml-matchers/ ([https](https://code.google.com/p/xml-matchers/ ) result 301).
* [ ] http://commons.apache.org/proper/commons-dbcp with 2 occurrences migrated to:
https://commons.apache.org/proper/commons-dbcp ([https](https://commons.apache.org/proper/commons-dbcp ) result 301).
* [ ] http://commons.apache.org/proper/commons-fileupload with 2 occurrences migrated to:
https://commons.apache.org/proper/commons-fileupload ([https](https://commons.apache.org/proper/commons-fileupload ) result 301).
* [ ] http://confluence.jetbrains.net/display/IDEADEV/Gradle+integration with 1 occurrences migrated to:
https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration ([https](https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration ) result 301).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
https://contributor-covenant.org ([https](https://contributor-covenant.org ) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/ ) result 301).
* [ ] http://db.apache.org/derby with 2 occurrences migrated to:
https://db.apache.org/derby ([https](https://db.apache.org/derby ) result 301).
* [ ] http://dev.w3.org/html5/eventsource/ with 2 occurrences migrated to:
https://dev.w3.org/html5/eventsource/ ([https](https://dev.w3.org/html5/eventsource/ ) result 301).
* [ ] http://domain.com with 24 occurrences migrated to:
https://domain.com ([https](https://domain.com ) result 301).
* [ ] http://domain.com/ with 1 occurrences migrated to:
https://domain.com/ ([https](https://domain.com/ ) result 301).
* [ ] http://en.wikipedia.org/wiki/Cache_ with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Cache_ ([https](https://en.wikipedia.org/wiki/Cache_ ) result 301).
* [ ] http://facebook.github.io/react/ with 2 occurrences migrated to:
https://facebook.github.io/react/ ([https](https://facebook.github.io/react/ ) result 301).
* [ ] http://forum.springframework.org/showthread.php?t=41350 with 1 occurrences migrated to:
https://forum.springframework.org/showthread.php?t=41350 ([https](https://forum.springframework.org/showthread.php?t=41350 ) result 301).
* [ ] http://github.com/SpringSource/spring-framework with 1 occurrences migrated to:
https://github.com/SpringSource/spring-framework ([https](https://github.com/SpringSource/spring-framework ) result 301).
* [ ] http://hdiv.org/ with 1 occurrences migrated to:
https://hdiv.org/ ([https](https://hdiv.org/ ) result 301).
* [ ] http://jakarta.apache.org/commons/fileupload with 1 occurrences migrated to:
https://jakarta.apache.org/commons/fileupload ([https](https://jakarta.apache.org/commons/fileupload ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-5708 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-5708 ([https](https://jira.springframework.org/browse/SPR-5708 ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-6124 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-6124 ([https](https://jira.springframework.org/browse/SPR-6124 ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-6128 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-6128 ([https](https://jira.springframework.org/browse/SPR-6128 ) result 301).
* [ ] http://jira.springframework.org/browse/SPR-7064 with 1 occurrences migrated to:
https://jira.springframework.org/browse/SPR-7064 ([https](https://jira.springframework.org/browse/SPR-7064 ) result 301).
* [ ] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html with 1 occurrences migrated to:
https://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html ([https](https://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html ) result 301).
* [ ] http://mockito.org/ (301) with 1 occurrences migrated to:
https://mockito.github.io ([https](https://mockito.org/ ) result 301).
* [ ] http://mydomain1.com with 36 occurrences migrated to:
https://mydomain1.com ([https](https://mydomain1.com ) result 301).
* [ ] http://mydomain1.com/ with 2 occurrences migrated to:
https://mydomain1.com/ ([https](https://mydomain1.com/ ) result 301).
* [ ] http://mydomain1.com/path with 2 occurrences migrated to:
https://mydomain1.com/path ([https](https://mydomain1.com/path ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-2660 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-2660 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-2660 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-2754 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-2754 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-2754 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-2789 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-2789 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-2789 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3127 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3127 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3127 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3775 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3775 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3775 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3880 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3880 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3880 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3896 with 7 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3896 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3896 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3949 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3949 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3949 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-4008 with 2 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-4008 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-4008 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-4040 with 2 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-4040 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-4040 ) result 301).
* [ ] http://projects.spring.io/spring-webflow with 1 occurrences migrated to:
https://projects.spring.io/spring-webflow ([https](https://projects.spring.io/spring-webflow ) result 301).
* [ ] http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//topic/com.ibm.websphere.base.doc/info/aes/ae/rdat_extiapi.html with 1 occurrences migrated to:
https://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//topic/com.ibm.websphere.base.doc/info/aes/ae/rdat_extiapi.html ([https](https://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//topic/com.ibm.websphere.base.doc/info/aes/ae/rdat_extiapi.html ) result 301).
* [ ] http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/rsadapter/JDBCConnectionSpec.html with 1 occurrences migrated to:
https://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/rsadapter/JDBCConnectionSpec.html ([https](https://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.javadoc.doc/public_html/api/com/ibm/websphere/rsadapter/JDBCConnectionSpec.html ) result 301).
* [ ] http://site2.com with 3 occurrences migrated to:
https://site2.com ([https](https://site2.com ) result 301).
* [ ] http://slack.kotlinlang.org/ with 2 occurrences migrated to:
https://slack.kotlinlang.org/ ([https](https://slack.kotlinlang.org/ ) result 301).
* [ ] http://sourceforge.net/projects/c3p0 with 2 occurrences migrated to:
https://sourceforge.net/projects/c3p0 ([https](https://sourceforge.net/projects/c3p0 ) result 301).
* [ ] http://sourceforge.net/projects/javadiff with 1 occurrences migrated to:
https://sourceforge.net/projects/javadiff ([https](https://sourceforge.net/projects/javadiff ) result 301).
* [ ] http://springframework.org with 2 occurrences migrated to:
https://springframework.org ([https](https://springframework.org ) result 301).
* [ ] http://www-01.ibm.com/software/webservers/appserv/was/ with 1 occurrences migrated to:
https://www-01.ibm.com/software/webservers/appserv/was/ ([https](https://www-01.ibm.com/software/webservers/appserv/was/ ) result 301).
* [ ] http://www.atomenabled.org/developers/syndication/ with 1 occurrences migrated to:
https://www.atomenabled.org/developers/syndication/ ([https](https://www.atomenabled.org/developers/syndication/ ) result 301).
* [ ] http://www.eclipse.org/aspectj with 2 occurrences migrated to:
https://www.eclipse.org/aspectj ([https](https://www.eclipse.org/aspectj ) result 301).
* [ ] http://www.google.com/ig/calculator?q=1USD=?EUR with 1 occurrences migrated to:
https://www.google.com/ig/calculator?q=1USD=?EUR ([https](https://www.google.com/ig/calculator?q=1USD=?EUR ) result 301).
* [ ] http://www.javaworld.com/javaworld/jw-01-2009/jw-01-spring-transactions.html with 1 occurrences migrated to:
https://www.javaworld.com/javaworld/jw-01-2009/jw-01-spring-transactions.html ([https](https://www.javaworld.com/javaworld/jw-01-2009/jw-01-spring-transactions.html ) result 301).
* [ ] http://www.jboss.org/jbossas/ with 1 occurrences migrated to:
https://www.jboss.org/jbossas/ ([https](https://www.jboss.org/jbossas/ ) result 301).
* [ ] http://www.junit.org/ with 1 occurrences migrated to:
https://www.junit.org/ ([https](https://www.junit.org/ ) result 301).
* [ ] http://www.mnot.net/cache_docs with 1 occurrences migrated to:
https://www.mnot.net/cache_docs ([https](https://www.mnot.net/cache_docs ) result 301).
* [ ] http://www.sf.net/home.view?siteLanguage=nl with 1 occurrences migrated to:
https://www.sf.net/home.view?siteLanguage=nl ([https](https://www.sf.net/home.view?siteLanguage=nl ) result 301).
* [ ] http://www.springframework.org with 7 occurrences migrated to:
https://www.springframework.org ([https](https://www.springframework.org ) result 301).
* [ ] http://www.springframework.org/ with 3 occurrences migrated to:
https://www.springframework.org/ ([https](https://www.springframework.org/ ) result 301).
* [ ] http://xyz.com/path with 2 occurrences migrated to:
https://xyz.com/path ([https](https://xyz.com/path ) result 301).
* [ ] http://commons.apache.org/codec/ with 1 occurrences migrated to:
https://commons.apache.org/codec/ ([https](https://commons.apache.org/codec/ ) result 302).
* [ ] http://commons.apache.org/logging with 2 occurrences migrated to:
https://commons.apache.org/logging ([https](https://commons.apache.org/logging ) result 302).
* [ ] http://download.oracle.com/javaee/6/api/javax/inject/Scope.html with 1 occurrences migrated to:
https://download.oracle.com/javaee/6/api/javax/inject/Scope.html ([https](https://download.oracle.com/javaee/6/api/javax/inject/Scope.html ) result 302).
* [ ] http://download.oracle.com/javase/1.5.0/docs/api/java/lang/System.html with 4 occurrences migrated to:
https://download.oracle.com/javase/1.5.0/docs/api/java/lang/System.html ([https](https://download.oracle.com/javase/1.5.0/docs/api/java/lang/System.html ) result 302).
* [ ] http://download.oracle.com/javase/6/docs/api/java/beans/ConstructorProperties.html with 1 occurrences migrated to:
https://download.oracle.com/javase/6/docs/api/java/beans/ConstructorProperties.html ([https](https://download.oracle.com/javase/6/docs/api/java/beans/ConstructorProperties.html ) result 302).
* [ ] http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html with 1 occurrences migrated to:
https://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html ([https](https://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html ) result 302).
* [ ] http://download.oracle.com/javase/jndi/tutorial/beyond/misc/policy.html with 1 occurrences migrated to:
https://download.oracle.com/javase/jndi/tutorial/beyond/misc/policy.html ([https](https://download.oracle.com/javase/jndi/tutorial/beyond/misc/policy.html ) result 302).
* [ ] http://gafter.blogspot.nl/2006/12/super-type-tokens.html with 1 occurrences migrated to:
https://gafter.blogspot.nl/2006/12/super-type-tokens.html ([https](https://gafter.blogspot.nl/2006/12/super-type-tokens.html ) result 302).
* [ ] http://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project with 1 occurrences migrated to:
https://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project ([https](https://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project ) result 302).
* [ ] http://git-scm.com/book/en/Git-Tools-Rewriting-History with 1 occurrences migrated to:
https://git-scm.com/book/en/Git-Tools-Rewriting-History ([https](https://git-scm.com/book/en/Git-Tools-Rewriting-History ) result 302).
* [ ] http://glassfish.dev.java.net/ with 1 occurrences migrated to:
https://glassfish.dev.java.net/ ([https](https://glassfish.dev.java.net/ ) result 302).
* [ ] http://java.sun.com with 3 occurrences migrated to:
https://java.sun.com ([https](https://java.sun.com ) result 302).
* [ ] http://java.sun.com/docs/books/jls/third_edition/html/conversions.html with 1 occurrences migrated to:
https://java.sun.com/docs/books/jls/third_edition/html/conversions.html ([https](https://java.sun.com/docs/books/jls/third_edition/html/conversions.html ) result 302).
* [ ] http://java.sun.com/docs/books/jls/third_edition/html/expressions.html with 1 occurrences migrated to:
https://java.sun.com/docs/books/jls/third_edition/html/expressions.html ([https](https://java.sun.com/docs/books/jls/third_edition/html/expressions.html ) result 302).
* [ ] http://java.sun.com/j2se/ with 2 occurrences migrated to:
https://java.sun.com/j2se/ ([https](https://java.sun.com/j2se/ ) result 302).
* [ ] http://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/javadoc.html with 1 occurrences migrated to:
https://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/javadoc.html ([https](https://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/javadoc.html ) result 302).
* [ ] http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html with 1 occurrences migrated to:
https://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html ([https](https://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html ) result 302).
* [ ] http://java.sun.com/j2se/javadoc with 1 occurrences migrated to:
https://java.sun.com/j2se/javadoc ([https](https://java.sun.com/j2se/javadoc ) result 302).
* [ ] http://java.sun.com/j2se/javadoc/ with 1 occurrences migrated to:
https://java.sun.com/j2se/javadoc/ ([https](https://java.sun.com/j2se/javadoc/ ) result 302).
* [ ] http://java.sun.com/j2se/javadoc/faq.html with 1 occurrences migrated to:
https://java.sun.com/j2se/javadoc/faq.html ([https](https://java.sun.com/j2se/javadoc/faq.html ) result 302).
* [ ] http://java.sun.com/webservices/jaxb/ with 1 occurrences migrated to:
https://java.sun.com/webservices/jaxb/ ([https](https://java.sun.com/webservices/jaxb/ ) result 302).
* [ ] http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ([https](https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd with 2 occurrences migrated to:
https://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd ([https](https://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd with 2 occurrences migrated to:
https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ) result 302).
* [ ] http://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download with 1 occurrences migrated to:
https://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download ([https](https://sourceforge.net/projects/cglib/files/cglib3/3.0/cglib-3.0.jar/download ) result 302).
* [ ] http://other.info/foo/bar (301) with 1 occurrences migrated to:
https://weibo.com/otherinfo/foo/bar ([https](https://other.info/foo/bar ) result 302).
* [ ] http://www.iana.org/assignments/http-status-codes with 1 occurrences migrated to:
https://www.iana.org/assignments/http-status-codes ([https](https://www.iana.org/assignments/http-status-codes ) result 302).
* [ ] http://www.iana.org/assignments/media-types/ with 1 occurrences migrated to:
https://www.iana.org/assignments/media-types/ ([https](https://www.iana.org/assignments/media-types/ ) result 302).
* [ ] http://www.sys-con.com/java with 1 occurrences migrated to:
https://www.sys-con.com/java ([https](https://www.sys-con.com/java ) result 302).
These URLs were intentionally ignored.
* http://Additional-namespace-name-URI with 1 occurrences
* http://Default-namespace-name-URI with 1 occurrences
* http://HOST:8080/remoting/AccountService with 1 occurrences
* http://Namespace-name-URI with 1 occurrences
* http://Unbound-namespace-name-URI with 1 occurrences
* http://anotherHost/mvc-showcase with 1 occurrences
* http://apache.org/xml/features/disallow-doctype-decl with 14 occurrences
* http://barfoo:8888 with 1 occurrences
* http://example/ with 1 occurrences
* http://fake-service with 7 occurrences
* http://foo with 3 occurrences
* http://foobar:8088 with 1 occurrences
* http://host:port/myApp/myEndpoint/ with 1 occurrences
* http://java.sun.com/jsp/jstl/core with 1 occurrences
* http://java.sun.com/xml/jaxp/properties/schemaLanguage with 1 occurrences
* http://java.sun.com/xml/ns/j2ee with 6 occurrences
* http://java.sun.com/xml/ns/javaee with 4 occurrences
* http://java.sun.com/xml/ns/persistence with 1 occurrences
* http://java.sun.com/xml/stream/properties/report-cdata-event with 1 occurrences
* http://jaxws.remoting.springframework.org/ with 4 occurrences
* http://localhost with 81 occurrences
* http://localhost/ with 14 occurrences
* http://localhost/42 with 1 occurrences
* http://localhost/?cookie=foo with 1 occurrences
* http://localhost/FILE.TXT with 1 occurrences
* http://localhost/abc with 1 occurrences
* http://localhost/abc/def with 1 occurrences
* http://localhost/app%20/path/ with 1 occurrences
* http://localhost/app/path%20with%20spaces/ with 1 occurrences
* http://localhost/bar with 1 occurrences
* http://localhost/context/a with 3 occurrences
* http://localhost/contextPath/main/path with 1 occurrences
* http://localhost/file.foo with 1 occurrences
* http://localhost/file.txt with 1 occurrences
* http://localhost/foo%20bar with 1 occurrences
* http://localhost/foo/bar with 1 occurrences
* http://localhost/forward with 1 occurrences
* http://localhost/hotels/42/bookings/21 with 4 occurrences
* http://localhost/input with 1 occurrences
* http://localhost/jquery-1.11.0.min.js with 5 occurrences
* http://localhost/messages/form with 1 occurrences
* http://localhost/mvc-showcase with 2 occurrences
* http://localhost/mvc-showcase/app with 1 occurrences
* http://localhost/mvc-showcase/data/foo%20bar with 1 occurrences
* http://localhost/mvc-showcase/data/param with 1 occurrences
* http://localhost/mvc-showcase/data/param?foo=123 with 2 occurrences
* http://localhost/myapp/main with 1 occurrences
* http://localhost/myapp/people/1/addresses/DE with 1 occurrences
* http://localhost/path with 3 occurrences
* http://localhost/path;a=b/with/semicolon with 1 occurrences
* http://localhost/persons with 1 occurrences
* http://localhost/prefix with 1 occurrences
* http://localhost/prefix/app with 1 occurrences
* http://localhost/prefix/bar with 1 occurrences
* http://localhost/prefix/mvc-showcase with 3 occurrences
* http://localhost/query= with 1 occurrences
* http://localhost/query=foo@bar with 1 occurrences
* http://localhost/resources/child/response.txt with 1 occurrences
* http://localhost/resources/foo with 1 occurrences
* http://localhost/resources/response.txt with 1 occurrences
* http://localhost/rest/books/6/pages/1.json with 1 occurrences
* http://localhost/something/1/foo with 1 occurrences
* http://localhost/something/optional-param with 1 occurrences
* http://localhost/test with 4 occurrences
* http://localhost/test.html with 1 occurrences
* http://localhost/test/this with 2 occurrences
* http://localhost:7070/example/adminhandle.vm with 1 occurrences
* http://localhost:7070/example/bingo.html with 1 occurrences
* http://localhost:80/jquery-1.11.0.min.js with 1 occurrences
* http://localhost:8080 with 34 occurrences
* http://localhost:8080/ with 4 occurrences
* http://localhost:8080/OrderService with 3 occurrences
* http://localhost:8080/aA/bB/cC with 1 occurrences
* http://localhost:8080/context with 1 occurrences
* http://localhost:8080/context/myapiresource with 1 occurrences
* http://localhost:8080/gamecast/admin/index.html with 1 occurrences
* http://localhost:8080/gamecast/display.html with 1 occurrences
* http://localhost:8080/gamecast/displayShoppingCart.html with 1 occurrences
* http://localhost:8080/jquery-1.11.0.min.js with 1 occurrences
* http://localhost:8080/mvc-showcase with 1 occurrences
* http://localhost:8080/myapiresource with 1 occurrences
* http://localhost:8080/myapp/js/sockjs-client.js with 1 occurrences
* http://localhost:8080/path with 2 occurrences
* http://localhost:8080/people with 2 occurrences
* http://localhost:8080/portfolio with 1 occurrences
* http://localhost:8080/spring/ with 2 occurrences
* http://localhost:8080/test/ with 2 occurrences
* http://localhost:8080/test/print?value=%EA%B0%80+%EB%82%98 with 1 occurrences
* http://localhost:8081 with 1 occurrences
* http://localhost:8081/ with 1 occurrences
* http://localhost:8181 with 1 occurrences
* http://localhost:8888/AccountServiceEndpoint?WSDL with 1 occurrences
* http://localhost:9000 with 7 occurrences
* http://localhost:9090 with 18 occurrences
* http://localhost:9090/jquery-1.11.0.min.js with 2 occurrences
* http://localhost:9990/mail/messages/form with 1 occurrences
* http://localhost:9999/ with 1 occurrences
* http://localhost:9999/OrderService?wsdl with 4 occurrences
* http://localhosta/testbean with 3 occurrences
* http://myserver with 1 occurrences
* http://myurl with 12 occurrences
* http://remotehost:8080/remoting/AccountService with 2 occurrences
* http://samples.springframework.org/flight with 39 occurrences
* http://somethingDifferent with 1 occurrences
* http://springframework.org/spring-ws with 17 occurrences
* http://test.com with 1 occurrences
* http://test.com/ with 1 occurrences
* http://testng.org/ with 1 occurrences
* http://tiles.apache.org/tags-tiles with 1 occurrences
* http://www with 1 occurrences
* http://www.foo.com/schema/component with 6 occurrences
* http://www.mycompany.com/schema/myns with 4 occurrences
* http://www.springframework.org/schema/aop with 30 occurrences
* http://www.springframework.org/schema/beans with 166 occurrences
* http://www.springframework.org/schema/beans/test with 2 occurrences
* http://www.springframework.org/schema/c with 1 occurrences
* http://www.springframework.org/schema/cache with 5 occurrences
* http://www.springframework.org/schema/context with 28 occurrences
* http://www.springframework.org/schema/jdbc with 6 occurrences
* http://www.springframework.org/schema/jee with 8 occurrences
* http://www.springframework.org/schema/jms with 5 occurrences
* http://www.springframework.org/schema/lang with 10 occurrences
* http://www.springframework.org/schema/mvc with 8 occurrences
* http://www.springframework.org/schema/oxm with 4 occurrences
* http://www.springframework.org/schema/p with 4 occurrences
* http://www.springframework.org/schema/task with 2 occurrences
* http://www.springframework.org/schema/tool with 27 occurrences
* http://www.springframework.org/schema/tx with 17 occurrences
* http://www.springframework.org/schema/tx/spring-tx.xsd__ with 1 occurrences
* http://www.springframework.org/schema/util with 8 occurrences
* http://www.springframework.org/schema/websocket with 24 occurrences
* http://www.springframework.org/spring-ws with 1 occurrences
* http://www.springframework.org/tags with 4 occurrences
* http://www.springframework.org/tags/form with 2 occurrences
* http://www.w3.org/1999/XSL/Transform with 8 occurrences
* http://www.w3.org/2001/XMLSchema with 24 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 81 occurrences
* http://www.w3.org/2005/Atom with 4 occurrences
* http://www.w3.org/TR/html4/charset.html with 5 occurrences
* http://www.w3.org/TR/html4/sgml/entities.html with 14 occurrences
* http://www.w3.org/XML/1998/namespace with 5 occurrences
* http://xml.org/sax/features/ with 4 occurrences
* http://xml.org/sax/features/external-general-entities with 14 occurrences
* http://xml.org/sax/features/is-standalone with 1 occurrences
* http://xml.org/sax/features/namespace-prefixes with 13 occurrences
* http://xml.org/sax/features/namespaces with 12 occurrences
* http://xml.org/sax/features/namespaces-prefixes with 1 occurrences
* http://xml.org/sax/properties/lexical-handler with 12 occurrences
Closes gh-22679
2019-03-27 18:34:02 +01:00
Juergen Hoeller
e51237d4c9
Upgrade to Reactor Bismuth SR17
2019-03-27 18:20:34 +01:00
Sam Brannen
b7b34610da
URL Cleanup - Fix broken tests
...
See gh-22673
2019-03-27 17:43:54 +01:00
Sam Brannen
2e75aec46c
URL Cleanup - Polishing
...
See gh-22673
2019-03-27 17:43:48 +01:00
Sam Brannen
34b35adc19
URL Cleanup - remove obsolete ATOM schema location
...
See gh-22673
2019-03-27 17:43:34 +01:00
Spring Operator
a13753352e
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://castor.org/mapping.dtd (301) with 1 occurrences could not be migrated:
([https](https://castor.org/mapping.dtd ) result AnnotatedConnectException).
* [ ] http://mydomain2.com (302) with 2 occurrences could not be migrated:
([https](https://mydomain2.com ) result ConnectTimeoutException).
* [ ] http://www.foo.com/schema/component/component.xsd (404) with 1 occurrences could not be migrated:
([https](https://www.foo.com/schema/component/component.xsd ) result SSLHandshakeException).
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://www.kbcafe.com/rss/atom.xsd.xml (ConnectTimeoutException) with 1 occurrences migrated to:
https://www.kbcafe.com/rss/atom.xsd.xml ([https](https://www.kbcafe.com/rss/atom.xsd.xml ) result ConnectTimeoutException).
* [ ] http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd (ReadTimeoutException) with 5 occurrences migrated to:
https://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd ([https](https://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd ) result ReadTimeoutException).
* [ ] http://domain1.com (UnknownHostException) with 2 occurrences migrated to:
https://domain1.com ([https](https://domain1.com ) result UnknownHostException).
* [ ] http://domain2.com (UnknownHostException) with 1 occurrences migrated to:
https://domain2.com ([https](https://domain2.com ) result UnknownHostException).
* [ ] http://mydomain1.com,http://mydomain2.com (UnknownHostException) with 1 occurrences migrated to:
https://mydomain1.com,http://mydomain2.com ([https](https://mydomain1.com,https://mydomain2.com ) result UnknownHostException).
* [ ] http://mydomain3.com,http://mydomain4.com (UnknownHostException) with 1 occurrences migrated to:
https://mydomain3.com,http://mydomain4.com ([https](https://mydomain3.com,https://mydomain4.com ) result UnknownHostException).
* [ ] http://www.springframework.org/schema/beans/factory/xml/support/CustomNamespaceHandlerTests.xsd (404) with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/factory/xml/support/CustomNamespaceHandlerTests.xsd ([https](https://www.springframework.org/schema/beans/factory/xml/support/CustomNamespaceHandlerTests.xsd ) result 404).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://example.com with 1 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd (301) with 2 occurrences migrated to:
https://hibernate.org/dtd/hibernate-mapping-3.0.dtd ([https](https://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd ) result 200).
* [ ] http://testng.org/testng-1.0.dtd with 3 occurrences migrated to:
https://testng.org/testng-1.0.dtd ([https](https://testng.org/testng-1.0.dtd ) result 200).
* [ ] http://tiles.apache.org/dtds/tiles-config_2_0.dtd with 2 occurrences migrated to:
https://tiles.apache.org/dtds/tiles-config_2_0.dtd ([https](https://tiles.apache.org/dtds/tiles-config_2_0.dtd ) result 200).
* [ ] http://tiles.apache.org/dtds/tiles-config_2_1.dtd with 2 occurrences migrated to:
https://tiles.apache.org/dtds/tiles-config_2_1.dtd ([https](https://tiles.apache.org/dtds/tiles-config_2_1.dtd ) result 200).
* [ ] http://tiles.apache.org/dtds/tiles-config_3_0.dtd with 4 occurrences migrated to:
https://tiles.apache.org/dtds/tiles-config_3_0.dtd ([https](https://tiles.apache.org/dtds/tiles-config_3_0.dtd ) result 200).
* [ ] http://www.quartz-scheduler.org/xml/job_scheduling_data_1_8.xsd with 1 occurrences migrated to:
https://www.quartz-scheduler.org/xml/job_scheduling_data_1_8.xsd ([https](https://www.quartz-scheduler.org/xml/job_scheduling_data_1_8.xsd ) result 200).
* [ ] http://www.springframework.org/dtd/spring-beans-2.0.dtd with 175 occurrences migrated to:
https://www.springframework.org/dtd/spring-beans-2.0.dtd ([https](https://www.springframework.org/dtd/spring-beans-2.0.dtd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop-2.0.xsd with 68 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop-2.0.xsd ([https](https://www.springframework.org/schema/aop/spring-aop-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop-2.5.xsd with 11 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop-2.5.xsd ([https](https://www.springframework.org/schema/aop/spring-aop-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop-3.0.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop-3.0.xsd ([https](https://www.springframework.org/schema/aop/spring-aop-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/aop/spring-aop.xsd with 7 occurrences migrated to:
https://www.springframework.org/schema/aop/spring-aop.xsd ([https](https://www.springframework.org/schema/aop/spring-aop.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-2.0.xsd with 112 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-2.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-2.5.xsd with 44 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-2.5.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.0.xsd with 10 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.1.xsd with 33 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.2.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.1.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.2.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.2.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.3.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.3.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 142 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* [ ] http://www.springframework.org/schema/cache/spring-cache.xsd with 10 occurrences migrated to:
https://www.springframework.org/schema/cache/spring-cache.xsd ([https](https://www.springframework.org/schema/cache/spring-cache.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-2.5.xsd with 40 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-2.5.xsd ([https](https://www.springframework.org/schema/context/spring-context-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-3.0.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-3.0.xsd ([https](https://www.springframework.org/schema/context/spring-context-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-3.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-3.1.xsd ([https](https://www.springframework.org/schema/context/spring-context-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-3.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-3.2.xsd ([https](https://www.springframework.org/schema/context/spring-context-3.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-4.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-4.0.xsd ([https](https://www.springframework.org/schema/context/spring-context-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-4.2.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-4.2.xsd ([https](https://www.springframework.org/schema/context/spring-context-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context-4.3.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-4.3.xsd ([https](https://www.springframework.org/schema/context/spring-context-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context.xsd with 10 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd with 9 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd with 5 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-4.2.xsd with 9 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-4.2.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc.xsd with 8 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jee/spring-jee-3.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/jee/spring-jee-3.1.xsd ([https](https://www.springframework.org/schema/jee/spring-jee-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jms/spring-jms-4.1.xsd with 9 occurrences migrated to:
https://www.springframework.org/schema/jms/spring-jms-4.1.xsd ([https](https://www.springframework.org/schema/jms/spring-jms-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/jms/spring-jms-4.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/jms/spring-jms-4.2.xsd ([https](https://www.springframework.org/schema/jms/spring-jms-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-2.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-2.0.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-2.5.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-2.5.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-3.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-3.0.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-3.1.xsd with 5 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-3.1.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang-4.2.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang-4.2.xsd ([https](https://www.springframework.org/schema/lang/spring-lang-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/lang/spring-lang.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/lang/spring-lang.xsd ([https](https://www.springframework.org/schema/lang/spring-lang.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc.xsd with 26 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc.xsd ) result 200).
* [ ] http://www.springframework.org/schema/oxm/spring-oxm.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/oxm/spring-oxm.xsd ([https](https://www.springframework.org/schema/oxm/spring-oxm.xsd ) result 200).
* [ ] http://www.springframework.org/schema/task/spring-task-4.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/task/spring-task-4.1.xsd ([https](https://www.springframework.org/schema/task/spring-task-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/task/spring-task.xsd with 6 occurrences migrated to:
https://www.springframework.org/schema/task/spring-task.xsd ([https](https://www.springframework.org/schema/task/spring-task.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx-2.5.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx-2.5.xsd ([https](https://www.springframework.org/schema/tx/spring-tx-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx-4.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx-4.0.xsd ([https](https://www.springframework.org/schema/tx/spring-tx-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-2.0.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-2.0.xsd ([https](https://www.springframework.org/schema/util/spring-util-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-2.5.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-2.5.xsd ([https](https://www.springframework.org/schema/util/spring-util-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-3.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-3.0.xsd ([https](https://www.springframework.org/schema/util/spring-util-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-3.1.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-3.1.xsd ([https](https://www.springframework.org/schema/util/spring-util-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-4.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-4.1.xsd ([https](https://www.springframework.org/schema/util/spring-util-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util-4.2.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util-4.2.xsd ([https](https://www.springframework.org/schema/util/spring-util-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/util/spring-util.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd ) result 200).
* [ ] http://www.springframework.org/schema/websocket/spring-websocket.xsd with 11 occurrences migrated to:
https://www.springframework.org/schema/websocket/spring-websocket.xsd ([https](https://www.springframework.org/schema/websocket/spring-websocket.xsd ) result 200).
* [ ] http://www.w3.org/1999/02/22-rdf-syntax-ns with 2 occurrences migrated to:
https://www.w3.org/1999/02/22-rdf-syntax-ns ([https](https://www.w3.org/1999/02/22-rdf-syntax-ns ) result 200).
* [ ] http://mydomain1.com with 2 occurrences migrated to:
https://mydomain1.com ([https](https://mydomain1.com ) result 301).
* [ ] http://www.springframework.org with 1 occurrences migrated to:
https://www.springframework.org ([https](https://www.springframework.org ) result 301).
* [ ] http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm with 1 occurrences migrated to:
https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm ([https](https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm ) result 302).
* [ ] http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ([https](https://java.sun.com/xml/ns/j2ee/connector_1_5.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd with 12 occurrences migrated to:
https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd ) result 302).
* [ ] http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 1 occurrences migrated to:
https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ) result 302).
* [ ] http://purl.org/dc/dcmitype/StillImage with 2 occurrences migrated to:
https://purl.org/dc/dcmitype/StillImage ([https](https://purl.org/dc/dcmitype/StillImage ) result 302).
These URLs were intentionally ignored.
* http://creativecommons.org/ns with 2 occurrences
* http://java.sun.com/dtd/properties.dtd with 4 occurrences
* http://java.sun.com/xml/ns/j2ee with 2 occurrences
* http://java.sun.com/xml/ns/javaee with 2 occurrences
* http://java.sun.com/xml/ns/persistence with 27 occurrences
* http://localhost:8080 with 3 occurrences
* http://purl.org/dc/elements/1.1/ with 2 occurrences
* http://samples.springframework.org/flight with 7 occurrences
* http://schemas.microsoft.com/visio/2003/SVGExtensions/ with 7 occurrences
* http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd with 2 occurrences
* http://www.foo.com/schema/component with 2 occurrences
* http://www.greeting.com/goodbye/ with 1 occurrences
* http://www.greeting.com/hello/ with 1 occurrences
* http://www.inkscape.org/namespaces/inkscape with 2 occurrences
* http://www.quartz-scheduler.org/xml/JobSchedulingData with 2 occurrences
* http://www.springframework.org/schema/aop with 176 occurrences
* http://www.springframework.org/schema/beans with 711 occurrences
* http://www.springframework.org/schema/beans/test with 2 occurrences
* http://www.springframework.org/schema/c with 9 occurrences
* http://www.springframework.org/schema/cache with 20 occurrences
* http://www.springframework.org/schema/context with 124 occurrences
* http://www.springframework.org/schema/jdbc with 66 occurrences
* http://www.springframework.org/schema/jee with 2 occurrences
* http://www.springframework.org/schema/jms with 20 occurrences
* http://www.springframework.org/schema/lang with 27 occurrences
* http://www.springframework.org/schema/mvc with 58 occurrences
* http://www.springframework.org/schema/oxm with 2 occurrences
* http://www.springframework.org/schema/p with 16 occurrences
* http://www.springframework.org/schema/task with 14 occurrences
* http://www.springframework.org/schema/tx with 12 occurrences
* http://www.springframework.org/schema/util with 28 occurrences
* http://www.springframework.org/schema/websocket with 22 occurrences
* http://www.w3.org/2000/svg with 9 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 373 occurrences
* http://www.w3.org/2005/Atom with 2 occurrences
Closes gh-22673
2019-03-27 17:43:08 +01:00
Juergen Hoeller
1ef9f8c07e
Upgrade to Hibernate Validator 6.0.16 and H2 1.4.199
2019-03-26 23:46:11 +01:00
Sam Brannen
bcdc6e0581
Verify that CssLinkResourceTransformer handles empty url() links
...
This commit introduces tests that verify that both
CssLinkResourceTransformer implementations properly handle empty url()
functions in CSS files.
See gh-22602
2019-03-26 18:34:41 +01:00
Juergen Hoeller
766743a87e
Upgrade to Tomcat 8.5.39 and OkHttp 3.12.2
2019-03-26 17:19:16 +01:00
Juergen Hoeller
1ac7019f46
Polishing
2019-03-26 17:18:44 +01:00
Juergen Hoeller
f68ad7957f
StringUtils.parseLocale consistently handles invalid locale values
...
Closes gh-22603
2019-03-26 17:18:36 +01:00
Sam Brannen
5fcf662a05
Test fix in gh-22638
2019-03-26 13:47:14 +01:00
Sam Brannen
39d6f22f49
Avoid duplicate registration of [RequestBody|ResponseBody]Advice
...
Prior to this commit, if a @ControllerAdvice bean implemented both
RequestBodyAdvice and ResponseBodyAdvice, it was registered twice in
RequestMappingHandlerAdapter, leading to duplicate application of the
same logic.
This commit ensures that such instances are only registered once.
Fixes gh-22638
2019-03-26 13:47:13 +01:00
Sam Brannen
e6fd7abdb9
Allow ResponseBodyAdvice to implement RequestBodyAdvice
...
Prior to this commit, if a @ControllerAdvice bean implemented both
RequestBodyAdvice and ResponseBodyAdvice, it was only supported as
RequestBodyAdvice, meaning it was never invoked as ResponseBodyAdvice.
This commit revises RequestResponseBodyAdviceChain to ensure that a
single bean implementing both types of body advice is in fact handled
as both types of advice.
See gh-22638
2019-03-26 13:47:13 +01:00
Sam Brannen
aa575c374a
Update license.txt file
...
Closes gh-22659
2019-03-25 18:10:11 +01:00
Sam Brannen
36f2c72481
Merge branch 'spring-operator-polish-urls-apache-license-5.0.x' into 5.0.x
2019-03-23 15:16:50 +01:00
Sam Brannen
c6291b5dfe
URL Cleanup - license headers - target subpackages
...
This commit updates license headers for source files residing in
subpackages named `target`.
Closes gh-22633
2019-03-23 15:16:28 +01:00
Spring Operator
11cca941c2
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 6410 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-21 14:56:21 -05:00
Sebastien Deleuze
fb33e8451a
Restore 2 digit days format in HttpHeaders
...
As recommended by RFC 7231, this commit restore using 2 digit days
when formatting dates while still using
DateTimeFormatter.RFC_1123_DATE_TIME for parsing.
Closes gh-22611
2019-03-21 19:08:14 +01:00
Sebastien Deleuze
24e277d791
Fix Jackson builder modulesToInstall override behavior
...
This commit updates Jackson2ObjectMapperBuilder in order
to ensure that modules specified via modulesToInstall
eventually override the default ones.
Closes gh-22625
2019-03-21 11:23:32 +01:00
Sam Brannen
d9d24085b4
Update documentation for WebJar support
...
Prior to this commit, documentation for WebJar support referenced the
webjars-locator artifact; however, Spring now uses the
webjars-locator-core artifact.
This commit updates the documentation to reflect this.
Closes gh-22613
2019-03-19 19:06:13 +01:00
Juergen Hoeller
8f62cc7720
Upgrade to Netty 4.1.34
2019-03-13 15:54:46 +01:00
Juergen Hoeller
641591b63e
Polishing
2019-03-13 15:54:34 +01:00
Sam Brannen
f241618aa6
Merge branch 'spring-operator-polish-urls-build-5.0.x' into 5.0.x
2019-03-12 17:19:08 +01:00
Sam Brannen
8e654d52ff
Manual URL Cleanup
...
Closes gh-22521
2019-03-12 17:18:46 +01:00
Spring Operator
60377b1c39
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* http://quartz-scheduler.org/api/2.2.1/ (301) migrated to:
https://www.quartz-scheduler.org/api/2.2.1/ ([https](https://quartz-scheduler.org/api/2.2.1/ ) result 404).
## Fixed Success
These URLs were fixed successfully.
* http://dist.springsource.com/snapshot/STS/nightly-distributions.html migrated to:
https://dist.springsource.com/snapshot/STS/nightly-distributions.html ([https](https://dist.springsource.com/snapshot/STS/nightly-distributions.html ) result 200).
* http://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ migrated to:
https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ([https](https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ) result 200).
* http://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ migrated to:
https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ([https](https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ) result 200).
* http://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ migrated to:
https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ ([https](https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ ) result 200).
* http://docs.oracle.com/javaee/7/api/ migrated to:
https://docs.oracle.com/javaee/7/api/ ([https](https://docs.oracle.com/javaee/7/api/ ) result 200).
* http://docs.oracle.com/javase/8/docs/api/ migrated to:
https://docs.oracle.com/javase/8/docs/api/ ([https](https://docs.oracle.com/javase/8/docs/api/ ) result 200).
* http://fasterxml.github.io/jackson-core/javadoc/2.9/ migrated to:
https://fasterxml.github.io/jackson-core/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-core/javadoc/2.9/ ) result 200).
* http://fasterxml.github.io/jackson-databind/javadoc/2.9/ migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.9/ ) result 200).
* http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ migrated to:
https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ ) result 200).
* http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ migrated to:
https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ([https](https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ) result 200).
* http://issues.gradle.org/browse/GRADLE-1116 migrated to:
https://issues.gradle.org/browse/GRADLE-1116 ([https](https://issues.gradle.org/browse/GRADLE-1116 ) result 200).
* http://projectreactor.io/docs/core/release/api/ migrated to:
https://projectreactor.io/docs/core/release/api/ ([https](https://projectreactor.io/docs/core/release/api/ ) result 200).
* http://tiles.apache.org/framework/apidocs/ migrated to:
https://tiles.apache.org/framework/apidocs/ ([https](https://tiles.apache.org/framework/apidocs/ ) result 200).
* http://tiles.apache.org/tiles-request/apidocs/ migrated to:
https://tiles.apache.org/tiles-request/apidocs/ ([https](https://tiles.apache.org/tiles-request/apidocs/ ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.eclipse.org/ajdt/downloads/ migrated to:
https://www.eclipse.org/ajdt/downloads/ ([https](https://www.eclipse.org/ajdt/downloads/ ) result 200).
* http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ migrated to:
https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ([https](https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ) result 200).
* http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ migrated to:
https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ ) result 200).
* http://docs.spring.io/spring-framework/docs migrated to:
https://docs.spring.io/spring-framework/docs ([https](https://docs.spring.io/spring-framework/docs ) result 301).
* http://download.eclipse.org/eclipse/downloads migrated to:
https://download.eclipse.org/eclipse/downloads ([https](https://download.eclipse.org/eclipse/downloads ) result 301).
* http://glassfish.java.net/nonav/docs/v3/api/ migrated to:
https://glassfish.java.net/nonav/docs/v3/api/ ([https](https://glassfish.java.net/nonav/docs/v3/api/ ) result 301).
* http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ migrated to:
https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ ([https](https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ ) result 301).
* http://projects.spring.io/spring-framework migrated to:
https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework ) result 301).
* http://springframework.org/schema migrated to:
https://springframework.org/schema ([https](https://springframework.org/schema ) result 301).
* http://ehcache.org/apidocs/2.10.4 (301) migrated to:
https://www.ehcache.org/apidocs/2.10.4 ([https](https://ehcache.org/apidocs/2.10.4 ) result 301).
* http://spring.io/tools/sts/all migrated to:
https://spring.io/tools/sts/all ([https](https://spring.io/tools/sts/all ) result 302).
2019-03-12 17:04:26 +01:00
Juergen Hoeller
587067a7ca
StringUtils.toStringArray/CollectionUtils.toIterator handle null input
...
Closes gh-22547
2019-03-08 22:47:43 +01:00
Juergen Hoeller
18ce8564e2
Polishing
2019-03-07 18:27:02 +01:00
Juergen Hoeller
458f75f489
Local https URL resolution attempt with fallback to parser's default
...
See gh-22504
2019-03-06 16:48:24 +01:00
Juergen Hoeller
24c6392e1a
Upgrade to SLF4J 1.7.26, H2 1.4.198, OkHttp 3.13.1, WebJars Locator 0.37
2019-03-06 15:21:23 +01:00
Juergen Hoeller
7b97ec3ead
Consistent local vs external resolution of https schema references
...
Closes gh-22504
2019-03-06 15:02:30 +01:00
Juergen Hoeller
f3475dd0ce
Fixed misformatted chapter id
2019-03-05 13:35:11 +01:00
Juergen Hoeller
ac19af511c
Polishing
2019-03-05 13:34:56 +01:00
Juergen Hoeller
565d324890
Polishing
2019-02-28 15:48:14 +01:00
Juergen Hoeller
e768bba4b5
Polishing
2019-02-28 15:05:31 +01:00
Juergen Hoeller
1a64d23f9d
JdbcTemplate preserves order of stored procedure output parameters
...
Closes gh-22491
2019-02-28 12:09:50 +01:00
Juergen Hoeller
aa89a57953
Polishing
2019-02-27 17:57:21 +01:00
Juergen Hoeller
6af8073274
Polishing
2019-02-26 18:04:35 +01:00
Juergen Hoeller
df9be494cc
Polishing
2019-02-25 18:36:24 +01:00
Juergen Hoeller
60be516be1
Only use payload if it actually matches declared event type
...
Closes gh-22426
2019-02-25 18:36:16 +01:00
Juergen Hoeller
af1691cbba
Upgrade to Hibernate Validator 5.4.3 and 6.0.15
...
Includes Apache HttpClient 4.5.7 and Jetty 9.4.15.
2019-02-22 14:42:38 +01:00
Sebastien Deleuze
42ffc7b8c9
Fix AbstractTraceInterceptor null-safety annotations
...
Closes gh-22435
2019-02-21 16:00:25 +01:00
Juergen Hoeller
276e8bb689
Polishing
2019-02-15 17:41:57 +01:00
Juergen Hoeller
77b5a6de37
Clarify role of 'aware' callback interfaces
2019-02-15 17:41:50 +01:00
Juergen Hoeller
7a205ccf03
Upgrade to Reactor Bismuth SR16
2019-02-14 14:59:28 +01:00
Juergen Hoeller
8ab58b9114
DefaultConversionService properly converts Object[] to int[]
...
Closes gh-22410
2019-02-14 14:59:17 +01:00
Juergen Hoeller
0b0e2b16ed
Polishing
2019-02-12 09:38:56 +01:00
Juergen Hoeller
12b601fa78
Expose empty annotation array as empty AnnotationAttributes array
...
Closes gh-22405
2019-02-12 09:38:49 +01:00
Juergen Hoeller
305e4535d8
Null-safe handling of response type in AcceptHeaderRequestCallback
...
Issue: SPR-16690
See gh-22401
2019-02-11 13:47:33 +01:00
Brian Clozel
a0d420686b
Avoid duplicate Accept header values in RestTemplate
...
Prior to this commit, the various `HttpMessageConverter` instances
configured for a given `RestTemplate` instance could all contribute
`MediaType` values to the "Accept:" request header.
This could lead to duplicate media types in that request header,
cluttering for the HTTP request for no reason.
This commit ensures that only distinct values are added to the request.
Issue: SPR-16690
Closes gh-22401
2019-02-11 13:46:55 +01:00
Juergen Hoeller
ddb5b4a8c5
Upgrade to Tomcat 8.5.38 and Log4J 2.11.2
2019-02-11 12:07:06 +01:00
Juergen Hoeller
e7dbae84a5
Upgrade to Netty 4.1.33, Undertow 1.4.27, Hibernate ORM 5.2.18/5.1.17
...
Includes consistent upgrade to Rome 1.12.
2019-02-07 22:28:36 +01:00
Juergen Hoeller
25e9f0fad1
Polishing
2019-02-07 22:28:10 +01:00
Juergen Hoeller
74f832c16f
Typo in web documentation
...
Closes gh-22270
2019-02-07 22:27:36 +01:00
Rossen Stoyanchev
657fc4c191
Fix Javadoc typos
...
Closes gh-22261
(cherry picked from commit 9837ec5904 )
2019-02-07 22:27:14 +01:00
Juergen Hoeller
7c4f1de74f
AbstractAutoProxyCreator ignores unused early proxy references
...
Closes gh-22370
(cherry picked from commit b8e663c531 )
2019-02-07 22:27:01 +01:00
Juergen Hoeller
ba330f1bcb
AbstractApplicationContext resets local listeners to pre-refresh state
...
Closes gh-22325
(cherry picked from commit 0f73a69033 )
2019-02-07 22:26:36 +01:00
Juergen Hoeller
4b6558c7e5
Avoid duplicate class introspection during findAnnotationOnBean
...
Closes gh-22318
(cherry picked from commit ca7634dfe8 )
2019-02-07 22:26:03 +01:00
Juergen Hoeller
48c5b1e373
ApplicationListenerMethodAdapter uses target method for order lookup
...
Fixes #22307
(cherry picked from commit d0033f12d0 )
2019-02-07 22:25:50 +01:00
Sebastien Deleuze
cb6f24d92d
Fix truncated Value#value javadoc
...
Closes gh-22331
2019-02-06 19:30:03 +01:00
Spring Buildmaster
7b31a93556
Next Development Version
2019-01-09 09:51:54 +00:00
Rossen Stoyanchev
5aa131a259
Correction for commit #c6e500
...
Issue: SPR-17630
2019-01-08 22:45:19 -05:00
Juergen Hoeller
ea3017b1b6
Upgrade to Reactor Bismuth SR15
2019-01-08 23:48:24 +01:00
Juergen Hoeller
083b23e147
Polishing
2019-01-08 21:07:28 +01:00
Juergen Hoeller
0dd87e8339
Upgrade to Tomcat 8.5.37 and Hibernate Validator 6.0.14
...
Includes WebJars Locator 0.36, OkHttp 3.12.1, Apache Johnzon 1.1.11.
2019-01-08 18:45:52 +01:00
Juergen Hoeller
e0283c2edf
Polishing
2019-01-08 18:45:16 +01:00
Juergen Hoeller
183f367f2c
DefaultListableBeanFactory checks for pre-converted Optional wrappers
...
Issue: SPR-17607
2019-01-08 18:44:38 +01:00
Juergen Hoeller
15f255a5eb
Relaxed position assertion (for overflows in large inline maps)
...
Issue: SPR-17605
(cherry picked from commit b2756f5bd2 )
2019-01-08 18:43:49 +01:00
Juergen Hoeller
8685f9fea3
Consistent support for EnumSet subclasses in CollectionFactory
...
Issue: SPR-17619
(cherry picked from commit 31a24720a6 )
2019-01-08 18:43:23 +01:00
Juergen Hoeller
49cc5f2f81
MockMvcResultMatchers.forwardedUrl argument declared as nullable
...
Issue: SPR-17623
(cherry picked from commit 7a7958f275 )
2019-01-08 18:43:07 +01:00
Sam Brannen
7ba5ee35df
Link explicitly to JUnit 5.0.3 instead of current version
2019-01-08 18:12:54 +01:00
Rossen Stoyanchev
c6e50087a0
Adjust UriComponentsBuilder#toUriString behavior
...
Commit #93b7a4 added support for pre-configuring URI variables at the
UriComponentsBuilder level, and also changed toUriString to encode
template and URI variables separately. However this went a bit too far
causing side effects for URLs with curly braces that don't represent
URI variables.
This commit restores the original toUriString behavior which is to
encode template and URI variables sepraately only if URI variables have
been pre-configured.
Issue: SPR-17630
2019-01-08 11:07:00 -05:00
Sam Brannen
7a88e6dbb7
Link explicitly to JUnit 4.12 instead of beta version
...
For details, see: https://github.com/junit-team/junit4/issues/1585
2019-01-08 16:28:22 +01:00
Sam Brannen
e15b96a198
Provide external links to JUnit in published Javadoc API
2019-01-08 16:20:03 +01:00
Michel Schudel
cba355a4d2
Fix XML parser default value handling
...
The xml parser does not fill in defaults provided in the XSD when
validation is disabled. As a result, attributes like default-lazy-init
will not receive the value "default" but an empty string.
With this commit, BeanDefinitionParserDelegate now takes this into
account, checking default values against empty string as well as
"default".
As a consequence, default-lazy-init attribute should now work correctly
even when the XSD validation is disabled.
Issue: SPR-8335
2019-01-08 12:23:49 +01:00
Rossen Stoyanchev
124e8179b2
Lenient URI template encoding
...
URI template encoding ignores mismatched curly braces, treating them as
literal parts instead.
Issue: SPR-17630
2019-01-02 16:42:01 -05:00
Violeta Georgieva
0742160821
Propagate the cancel signal to the downstream
2018-12-18 15:01:35 -05:00
Juergen Hoeller
03fb343528
Upgrade to Jackson 2.9.8 and Groovy 2.4.16
...
Includes upgrade to AspectJ 1.9.2 for spring-aspects compilation.
2018-12-17 17:56:08 +01:00
Juergen Hoeller
8de86b7fb3
Revised backport version 5.0.11
...
Issue: SPR-17410
Issue: SPR-17433
2018-12-17 17:55:54 +01:00
Juergen Hoeller
62885a1922
Revised format annotation docs
...
(cherry picked from commit aab421167b )
2018-12-17 17:38:52 +01:00
Juergen Hoeller
1b26f2fb31
ParameterNameDiscoverer may return individual null entries in an array
...
Issue: SPR-17565
(cherry picked from commit c48672c4c7 )
2018-12-12 22:36:50 +01:00
Juergen Hoeller
6ca2cb5917
Polishing
...
(cherry picked from commit 106ae0cc5b )
2018-12-12 13:23:51 +01:00
Juergen Hoeller
ce57d4ad58
Revised HttpHeaders javadoc
2018-12-12 12:54:01 +01:00
Juergen Hoeller
7377764d02
Polishing
2018-12-12 12:40:14 +01:00
Juergen Hoeller
288c97bd2d
Revised SimpleEvaluationContext example
...
Issue: SPR-17581
2018-12-12 12:39:50 +01:00
Juergen Hoeller
e95c1b3153
Relaxed assertion in NotificationPublisherAwareLazyTargetSource
...
Issue: SPR-17592
(cherry picked from commit 2c98c1b81a )
2018-12-12 12:39:38 +01:00
Juergen Hoeller
6505cb93ed
Explicit documentation notes on JMS 2.0 vs 1.1 compatibility
...
Issue: SPR-17583
(cherry picked from commit 7b9c30f26e )
2018-12-12 12:39:22 +01:00
Juergen Hoeller
a9b453d79f
Polishing
2018-12-11 11:14:23 +01:00
Juergen Hoeller
693ad3c1f5
StandardEvaluationContext.setVariable leniently ignores null name
...
Issue: SPR-17565
(cherry picked from commit db63f7dd4a )
2018-12-05 14:16:56 +01:00
Juergen Hoeller
340d320696
Clarified VfsResource constructor
...
Issue: SPR-17563
(cherry picked from commit 50e5bdb813 )
2018-12-04 22:28:04 +01:00
Juergen Hoeller
bc864dc161
MockHttpServletRequest preserves original Accept-Language header value
...
Issue: SPR-17566
(cherry picked from commit 9efea7eb73 )
2018-12-04 22:27:58 +01:00
Juergen Hoeller
d73b027021
Upgrade to Rome 1.12
2018-12-04 02:38:10 +01:00
Juergen Hoeller
4a87262b24
Cleanup after unexpected exception from external delegation call
...
Issue: SPR-17559
(cherry picked from commit c024bdcc6f )
2018-12-04 02:38:00 +01:00
Juergen Hoeller
c5428e63b4
NettyDataBufferFactory.join returns single-element buffer as-is
...
Issue: SPR-17560
(cherry picked from commit d5dab12909 )
2018-12-04 00:13:34 +01:00
Juergen Hoeller
76fd1793a8
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
(cherry picked from commit 7854b7ac40 )
2018-12-04 00:13:22 +01:00
Juergen Hoeller
d175d280a0
Backported decoder optimizations and related polishing
...
Includes downgrade to Netty 4.1.31 for StringDecoderTests.
2018-12-03 22:57:00 +01:00
Juergen Hoeller
8bc06d20ac
Polishing
2018-12-03 22:18:43 +01:00
Juergen Hoeller
ab2314f52d
Upgrade javadoc links to Jackson 2.9
...
Includes upgrade to Netty 4.1.32.
2018-12-03 22:10:45 +01:00
Juergen Hoeller
7a45d5fdae
Revised section on custom BeanPostProcessors
...
Issue: SPR-17556
2018-12-03 22:10:09 +01:00
Juergen Hoeller
2efac5ad6b
JavaMailSenderImpl calls sendMessage with empty array instead of null
...
Issue: SPR-17540
(cherry picked from commit 16e9b83d43 )
2018-12-03 22:09:51 +01:00
Spring Buildmaster
22df12e03c
Next Development Version
2018-11-27 08:54:09 +00:00
Juergen Hoeller
0761446c04
Revised alias definition example in reference documentation
...
Issue: SPR-17536
2018-11-25 22:18:26 +01:00
Juergen Hoeller
7b2eebe99f
ResolvableType-based matching consistently respects generic factory method return type (even for pre-initialized raw singleton instance)
...
Issue: SPR-17524
(cherry picked from commit ebbe14c363 )
2018-11-25 22:18:09 +01:00
Juergen Hoeller
cf31f020a2
Upgrade to Hibernate Validator 6.0.13 and EclipseLink 2.7.3
...
Also includes Hibernate ORM 5.1.16 for integration tests.
2018-11-24 15:12:02 +01:00
Juergen Hoeller
02616fbabd
Upgrade to Kotlin 1.2.71, OkHttp 3.12, FreeMarker 2.3.28
...
Also includes Apache HttpClient 4.5.6 and HttpAsyncClient 4.1.4.
2018-11-24 14:44:57 +01:00
Juergen Hoeller
4a51acbeb2
DefaultResponseErrorHandler detects non-standard error code as well
...
Issue: SPR-17439
2018-11-23 19:12:41 +01:00
Juergen Hoeller
3d7e373e5a
Polishing
...
(cherry picked from commit 77ab88b144 )
2018-11-23 19:12:30 +01:00
Sam Brannen
f0e69e06b7
Ensure that MethodParameter.findParameterIndex() is thread-safe
...
Prior to this commit, parallel invocations of
MethodParameter.findParameterIndex() (invoked indirectly via
SynthesizingMethodParameter.forParameter() and
MethodParameter.forParameter()) could intermittently lead to an
IllegalArgumentException being thrown due to a race condition in the
internal implementation of the JDK's
java.lang.reflect.Executable.getParameters() method.
This commit addresses this issue by introducing a fallback for-loop
that iterates over the candidate parameters a second time using
equality checks instead of identity checks.
Issue: SPR-17534
(cherry-picked from commit 81fde5ec41 )
2018-11-23 17:38:42 +01:00
Sam Brannen
cd67b285e1
Ensure that parameter resolution in SpringExtension is thread-safe
...
Prior to this commit, parallel execution of @BeforeEach and @AfterEach
methods that accepted @Autowired arguments would fail intermittently
due to a race condition in the internal implementation of the JDK's
java.lang.reflect.Executable.getParameters() method.
This commit addresses this issue by creating instances of
SynthesizingMethodParameter via
SynthesizingMethodParameter.forExecutable(Executable, int) instead of
SynthesizingMethodParameter.forParameter(Parameter), since the latter
looks up the parameter index by iterating over the array returned by
Executable.getParameters() (which is not thread-safe).
Issue: SPR-17533
2018-11-23 17:00:38 +01:00
Juergen Hoeller
39925c334d
Polishing
2018-11-22 20:38:26 +01:00
Juergen Hoeller
2e55486cc3
Upgrade to Reactor Bismuth SR14, Tomcat 8.5.35, Jetty 9.4.14
2018-11-22 17:45:16 +01:00
Juergen Hoeller
e2b74e6943
Polishing
2018-11-22 17:44:29 +01:00
Juergen Hoeller
5382260f30
Client/ServerRequest defensively accesses internal attribute map
...
Issue: SPR-17486
2018-11-22 17:43:53 +01:00
Juergen Hoeller
35da9f1ddf
FastByteArrayOutputStream.read byte-to-int conversion
...
Issue: SPR-17492
2018-11-22 17:43:31 +01:00
Juergen Hoeller
e6c979606c
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
(cherry picked from commit bf272b0b21 )
2018-11-22 17:43:13 +01:00
Juergen Hoeller
23d1049363
CachingMetadataReaderFactory releases shared cache Map on clearCache()
...
LocalResourceCache properly initializes cacheLimit on construction.
Issue: SPR-17527
(cherry picked from commit 262c702da4 )
2018-11-22 17:42:27 +01:00
Juergen Hoeller
37a50d701e
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
(cherry picked from commit f5aeb81473 )
2018-11-22 17:42:06 +01:00
Rossen Stoyanchev
567fcc41cc
ForwardedHeaderTransformer handles encoding correctly
...
Issue: SPR-17525
2018-11-21 11:17:10 -05:00
Rossen Stoyanchev
97dac8a45d
Update @since version after backport
2018-11-21 09:36:34 -05:00
Rossen Stoyanchev
736b3c45e8
BEST_MATCHING_HANDLER_ATTRIBUTE for spring-webmvc
...
Issue: SPR-17518
2018-11-21 09:24:35 -05:00
Brian Clozel
617b94afb6
Polish
...
See SPR-17502
2018-11-20 18:03:07 +01:00
Brian Clozel
5342c6e493
Remove Content-Length response header from errors
...
Prior to this commit, when errors happened before the response was
committed, the `Content-Length` response header would be left as is.
This can be problematic since the error can be handled later in the
chain and the response body changed accordingly. For example, Spring
Boot renders error pages in those cases. If the `Content-Length` is set,
HTTP clients can get confused and only consider part of the error
response body.
This commit ensures that any `Content-Length` response header is removed
in case of errors, if the response is not already committed.
This is done at the `AbstractServerHttpResponse` level, since errors can
be handled in multiple places and the response itself is the safest
place to handle this case.
As a consequence, this commit also removes `Content-Length` checks in
`EncoderHttpMessageWriter` since we now consider that we should rely on
the response body we're about to write rather than any previously set
value.
Issue: SPR-17502
(Cherry-picked from 3203d39821 )
2018-11-19 16:06:32 +01:00
Rossen Stoyanchev
18da718bf5
Enforce use of unpooled data buffers in 5.0.x
...
Issue: SPR-17501
2018-11-16 11:26:54 -05:00
Rossen Stoyanchev
24051619a5
Consistent encoding in DefaultUriBuilderFactory
...
Unlike 5,1, TEMPLATE_AND_VALUES is not the default encoding mode.
Nevertheless when that mode is used, it should work consistently.
Issue: SPR-17465
2018-11-09 14:50:39 -05:00
Rossen Stoyanchev
f73a5222f1
Ensure client response is drained with onStatus hook
...
Issue: SPR-17473
2018-11-08 22:33:37 -05:00
Juergen Hoeller
8a2262e210
Up-to-date version and link in ASM/CGLIB/Objenesis package javadoc
...
Issue: SPR-14514
Issue: SPR-15600
2018-11-08 17:06:54 +01:00
Juergen Hoeller
0167b79d7b
Consistently return empty array in case of empty batch arguments
...
Issue: SPR-17476
(cherry picked from commit 362c59c310 )
2018-11-08 13:57:42 +01:00
Juergen Hoeller
b462ca22a5
Upgrade to Reactor Bismuth SR13 (and Netty 4.1.31)
...
Issue: SPR-17306
2018-11-05 22:42:42 +01:00
Juergen Hoeller
4bd95663f9
Polishing
...
(cherry picked from commit 5e7a8b275d )
2018-11-05 22:42:27 +01:00
Juergen Hoeller
561511f66c
Explicit notes on class/method-level semantics in class hierarchies
...
Issue: SPR-17445
(cherry picked from commit ea3250c8d6 )
2018-11-05 22:33:20 +01:00
Juergen Hoeller
88f4e9205a
Synchronized onRefresh execution for concurrent ContextRefreshedEvent
...
Issue: SPR-17442
(cherry picked from commit b1f5f51503 )
2018-11-05 22:32:47 +01:00
Juergen Hoeller
591e7f1f72
StandardEvaluationContext supports concurrent variable modification
...
Issue: SPR-17448
(cherry picked from commit 59fa647e2d )
2018-11-05 22:32:21 +01:00
Juergen Hoeller
c834790135
Deprecate ReflectionUtils.invokeJdbcMethod (for removal in 5.2)
...
Includes deprecation of NON_BRIDGED_METHODS constant.
Issue: SPR-17464
(cherry picked from commit 0a7dcf14f9 )
2018-11-05 22:32:04 +01:00
Rossen Stoyanchev
9b4f48309a
Fix formatting on index.adoc
2018-11-05 13:16:27 -05:00
Rossen Stoyanchev
8013566d99
Feature Github Wiki more prominently
...
Issue: SPR-17469
2018-11-05 13:13:39 -05:00
Rossen Stoyanchev
3bb11a0123
Fix failing test
...
After the fix #658c7f for lenient parsing of dates, the error message
raised uses an HttpHeaders-formatted date. As a result the test
verifying the error message fails in the beginning of the month between
1-9 because it's formatted slightly differently.
2018-11-01 15:46:28 -04:00
Juergen Hoeller
e28a995ab7
Consistent check for Void.class in DefaultClientResponse
...
Issue: SPR-16636
2018-10-27 15:19:55 +02:00
Juergen Hoeller
c10a8bb3b8
Exclude FactoryBean implementation methods on CGLIB proxies as well
...
Issue: SPR-17374
(cherry picked from commit dc1e3b4628 )
2018-10-27 15:19:12 +02:00
Brian Clozel
2d14bd7066
Configure ResourceUrlProvider in WebFlux
...
Prior to this commit, no `ResourceUrlProvider` was configured
in WebFlux (no bean was contributed by the WebFlux infrastructure).
Also, several `ResourceTransformer` instances that extend the
`ResourceTransformerSupport` base class need a `ResourceUrlProvider`
to resolve absolute URLs when rewriting resource URLs. At this point,
no `ResourceUrlProvider` was configured and they could only resolve
relative URLs.
This commit contributes a new `ResourceUrlProvider` to the WebFlux
configuration; this bean can be reused by the WebFlux infrastructure and
application code.
This also automatically configure this shared `ResourceUrlProvider`
instance on the resource chain where needed.
Issue: SPR-17433
(Cherry-picked from fc957e95bb )
2018-10-26 14:35:01 +02:00
Juergen Hoeller
2acfb2e0ff
Polishing
2018-10-26 11:23:42 +02:00
Juergen Hoeller
3ceb05f63c
Upgrade to Jackson 2.9.7, Netty 4.1.30, Tomcat 8.5.34, Undertow 1.4.26
...
Also includes Apache Johnzon 1.1.10 and JRuby 9.1.17.
2018-10-25 17:39:47 +02:00
Juergen Hoeller
9e2d024d8d
Asciidoc revision (minor backport for addressing build-time warnings)
2018-10-25 17:39:47 +02:00
Brian Clozel
3b7c0fc1a1
Fix absolute paths when transforming resources
...
Prior to this commit, `ResourceTransformerSupport.toAbsolutePath`
would call `StringUtils.applyRelativePath` in all cases. But this
implementation is prepending the given path even if the relative path
starts with `"/"`.
This commit skips the entire operation if the given path is absolute,
i.e. it starts with `"/"`.
Issue: SPR-17432
(Cherry-picked from 2146e13787 )
2018-10-25 17:35:26 +02:00
Juergen Hoeller
d5f725d503
Polishing
...
(cherry picked from commit ffa032e78f )
2018-10-24 21:24:42 +02:00
Juergen Hoeller
c9f1016581
ConfigurableWebApplicationContext needed for contextClass parameter
...
Issue: SPR-17414
(cherry picked from commit 1c67ef4bed )
2018-10-24 21:24:42 +02:00
Juergen Hoeller
110796375b
SpringFactoriesLoader tolerates whitespace around class names
...
Issue: SPR-17413
(cherry picked from commit dd2ce20687 )
2018-10-24 21:24:42 +02:00
Juergen Hoeller
b87ce596a0
Avoid stacktrace if root resource is not resolvable in file system
...
Issue: SPR-17417
(cherry picked from commit 83a54dba7e )
2018-10-24 21:24:42 +02:00
Juergen Hoeller
5a6c081cfe
Clarify FactoryBean initialization effect in getBeanNamesForAnnotation
...
Issue: SPR-17392
(cherry picked from commit da23505e94 )
2018-10-24 21:24:42 +02:00
Juergen Hoeller
c73b98cf33
Clarify destruction order effect in @DependsOn annotation javadoc
...
Issue: SPR-17384
(cherry picked from commit 00b7782b5f )
2018-10-24 21:24:42 +02:00
Brian Clozel
cf25efc7d3
Fix ResourceUrlEncodingFilter lifecycle
...
Prior to this commit, the `ResourceUrlEncodingFilter` would wrap the
response and keep a reference to the request. When
`HttpServletResponse.encodeURL` is later called during view rendering,
the filter looks at the request and extracts context mapping information
in order to resolve resource paths in views.
This approach is flawed, when the filter is used with JSPs - if the
request is forwarded to the container by the `InternalResourceView`,
the request information is overwritten by the container. When the view
is being rendered, the information available in the request is outdated
and does not allow to correctly compute that context mapping
information.
This commit ensures that that information is being extracted from the
request as soon as the `ResourceUrlProvider` is set as a request
attribute.
Issue: SPR-17421
(Cherry-picked from 50a4769162 )
2018-10-24 21:19:33 +02:00
Rossen Stoyanchev
36510cf808
Server adapters release buffers on error/cancel
...
Review and update Servlet and Undertow adapters to release any data
buffers they be holding on to at the time of error or cancellation.
Also remove onDiscard hooks from Reactor and Undertow request body.
For Reactor we expect it to be handled. For Undertow there isn't
any Reactor Core upstream for the callback to be useful.
Issue: SPR-17410
2018-10-23 20:56:08 -04:00
Rossen Stoyanchev
d492d7b6a4
Update ref docs on ResponseEntity and reactive types
...
Issue: SPR-17400
2018-10-23 17:06:02 -04:00
Rossen Stoyanchev
bf4d00cb62
Upgrade to Reactor Bismuth snapshots
...
Towards SR13 to confirm fix for SPR-17306.
2018-10-23 15:49:09 -04:00
Rossen Stoyanchev
6ea3441adf
Restore log level for resolved exceptions
...
The fix for SPR-17178 switched from debug to warn level warning for
all sub-classes of AbstractHandlerExceptionResolver where the request
concerned the DefaultHandlerExceptionResolver only.
This commit restores the original DEBUG level logging that was in
AbstractHandlerExceptionResolver from before SPR-17178. In addition
DefaultHandlerExceptionResolver registers a warnLogCategory by default
which enables warn logging and hence fulfilling the original goal
for SPR-17178.
Issue: SPR-17383
2018-10-22 12:18:33 -04:00
Sebastien Deleuze
73db2081cd
Leverage Java reflection for Kotlin enums
...
As discussed in KT-25165, from a Kotlin POV enum constructors
have no parameter, this is an "implementation detail"
required for running on the JVM, so it seems relevant to skip
Kotlin reflection in that case and just delegate to Java
reflection.
Issue: SPR-16931
2018-10-16 16:42:31 +02:00
Spring Buildmaster
38490f13b1
Next Development Version
2018-10-15 08:01:59 +00:00
Rossen Stoyanchev
c8e320019f
HttpRange validates requested ranges
...
Issue: SPR-17318
2018-10-14 22:53:33 -04:00
Juergen Hoeller
973eb5deb6
MethodValidationInterceptor excludes FactoryBean metadata methods
...
Issue: SPR-17374
(cherry picked from commit 5f2d47a17e )
2018-10-14 21:16:01 +02:00
Rossen Stoyanchev
b89cb20b1d
Lenient date parsing in HeadersResultMatchers
...
Rather than formatting the expected value, and be susceptible to
minor formatting differences (e.g. 01 vs 1 for day of month), parse the
actual header value leniently with HttpHeaders and compare time values.
Issue: SPR-17330
2018-10-12 15:51:32 -04:00
Juergen Hoeller
52ed4226bd
Tests for MockHttpServletRequestTests.setContent reset in 5.0.x
...
Issue: SPR-17373
2018-10-12 17:57:07 +02:00
volkovandr
b0433810da
Updated Javadoc: date format patterns SPR-17366
...
(cherry picked from commit 61403e3bd3 )
2018-10-12 17:56:58 +02:00
Christian Kulpa
db2c807515
Fix deprecated property in MBeanExporter documentation
2018-10-12 16:30:11 +02:00
Juergen Hoeller
a45bce1369
Polishing
2018-10-10 00:15:58 +02:00
Juergen Hoeller
8d1499e168
Comparators.nullsLow creates right kind of NullSafeComparator
...
Issue: SPR-17357
2018-10-10 00:15:50 +02:00
Juergen Hoeller
ff0afcff06
Resource.lastModified() propagates 0 value if target resource exists
...
Includes consistent use of getContentLengthLong over getContentLength.
Issue: SPR-17320
2018-10-10 00:15:27 +02:00
Juergen Hoeller
53430760f3
Consistent exposure of empty attribute arrays in AnnotationMetadata
...
Issue: SPR-17347
(cherry picked from commit 83909e6e1e )
2018-10-10 00:15:04 +02:00
Juergen Hoeller
d61a7ed1f0
AbstractApplicationContext.getApplicationListeners() exposes all statically registered listeners
...
Issue: SPR-17324
(cherry picked from commit c8c0737ce7 )
2018-10-10 00:14:48 +02:00
Juergen Hoeller
ca0ce7d631
AbstractApplicationEventMulticaster pre-sorts singleton listeners
...
Issue: SPR-17307
(cherry picked from commit 9063e66c5d )
2018-10-10 00:14:39 +02:00
Rossen Stoyanchev
fc2f3ecf44
More defensive check for MockAsyncContext
...
Avoid automatically unwrapping the request in TestDispatcherServlet,
if we find the MockAsyncContext.
Issue: SPR-17353
2018-10-09 11:57:34 -04:00
Rossen Stoyanchev
d551710c32
Restore calls to setLocale in MockHttpServletResponse
...
Issue: SPR-17284
2018-10-05 13:53:19 -04:00
Rossen Stoyanchev
6fe8cb949f
Workaround for Synchronoss content-length limitation
...
Issue: SPR-17345
2018-10-05 13:52:58 -04:00
dmrachkovskyi
842297699d
Defer obtaining argument resolver default value
...
Issue: SPR-17338
2018-10-05 13:52:28 -04:00
Juergen Hoeller
d90d65bad2
Polishing
2018-09-29 17:36:15 +02:00
Juergen Hoeller
a21ce42558
MockHttpServletRequest allows for removing registered header entries
...
Issue: SPR-17295
2018-09-29 17:36:03 +02:00
Juergen Hoeller
e54eb56cb9
Revised javadoc for up-to-date constructor autowiring semantics
...
Issue: SPR-17299
(cherry picked from commit 333e327289 )
2018-09-29 17:35:55 +02:00
Juergen Hoeller
f5e6c707ae
Polishing
2018-09-19 22:51:35 +02:00
Juergen Hoeller
c0b0ee6db7
Polishing
2018-09-18 21:54:48 +02:00
Juergen Hoeller
4642c32c0f
Defensively expect concurrent registration of BeanPostProcessors
...
Declaring beanPostProcessors (and also embeddedValueResolvers) as CopyOnWriteArrayList prevents ConcurrentModificationExceptions in case of concurrent registration/access attempts.
Issue: SPR-17286
2018-09-18 21:54:33 +02:00
Juergen Hoeller
a55261f82d
Polishing
2018-09-17 15:00:33 +02:00
Juergen Hoeller
5ca2c56cf0
Polishing
2018-09-17 14:39:54 +02:00
Juergen Hoeller
702d533e6f
Polishing
2018-09-14 23:59:45 +02:00
Juergen Hoeller
1535f985be
Polishing
2018-09-14 14:30:03 +02:00
Juergen Hoeller
94ae933122
Upgrade to Rhino 1.7.10 and Apache Johnzon 1.1.9
...
Includes reordering of web dependency declarations.
2018-09-14 14:29:57 +02:00
Arjen Poutsma
952315c333
DataBufferUtils does not release DataBuffer on error cases
...
This commit makes sure that in DataBufferUtils.write, any received data
buffers are returned as part of the returned flux, even when an error
occurs or is received.
Issue: SPR-16782
(cherry picked from commit 1a0522b805 )
2018-09-12 14:58:37 +02:00
Arjen Poutsma
a00607348c
Fixed DataBufferUtils.join leak for error in source
...
This commit fixes an issue where DataBufferUtils.join() would not
release databuffers that preceded an error signal.
Issue: SPR-17025
(cherry picked from commit 196c0adf47 )
2018-09-12 14:45:45 +02:00
Juergen Hoeller
1d58fac54d
UriComponentsBuilder copies query params through MultiValueMap.addAll
...
Issue: SPR-17256
2018-09-11 15:15:15 +02:00
Juergen Hoeller
658bd7a686
Correct linkplain javadoc in BufferingClientHttpRequestFactory
...
Issue: SPR-17261
(cherry picked from commit e47355078c )
2018-09-11 15:15:00 +02:00
Juergen Hoeller
717e6dd2d9
Revise ServletUriComponentsBuilder javadoc
...
Issue: SPR-17255
2018-09-07 18:21:25 +02:00
Spring Buildmaster
7f82c192f5
Next Development Version
2018-09-07 12:16:08 +00:00
Juergen Hoeller
dcdd08c432
Remove declaration for snapshot repository
2018-09-07 13:13:06 +02:00
Juergen Hoeller
06ed818f4c
Fix SpEL compilation for non trivial elvis operand
...
Issue: SPR-17214
2018-09-07 13:12:53 +02:00
Juergen Hoeller
ad5447253c
ConfigurationClassParser consistently uses ClassUtils.forName
...
Issue: SPR-17253
(cherry picked from commit c803ad7998 )
2018-09-07 13:12:26 +02:00
Juergen Hoeller
7653762240
XMLEventReader.getElementText() properly checks for start element
...
Issue: SPR-17233
(cherry picked from commit 84ec382201 )
2018-09-07 13:12:10 +02:00
Sebastien Deleuze
89fca1b949
Fix Kotlin inner class nested configuration handling
...
Before this commit, Kotlin inner class nested configuration
handling thrown an IndexOutOfBoundsException due to bogus filtering
of its constructor parameter reference to an instance of the outer
class.
This commit keep constructor parameter of type INSTANCE in order to
throw a more meaningful NoSuchBeanDefinitionException.
Issue: SPR-17222
2018-09-07 11:42:23 +02:00
Rossen Stoyanchev
92bb76f3cd
Disable Jackson's buffer recyling feature for WebFlux
...
Issue: SPR-17193
2018-09-06 16:21:27 -04:00
Stephane Nicoll
4b6a5fbd13
Upgrade to Reactor Bismuth SR11
2018-09-06 15:38:15 +02:00
Rossen Stoyanchev
b17e7c321a
Use random id for WebSocket sessions
...
Issue: SPR-17228
2018-09-05 19:49:50 -04:00
Toshiaki Maki
ee559bb2c8
Use long for expires and lastModified in HeaderAssertions
...
This commit changes the type of parameters so that HeaderAssertions
can assert expires and lastModified properly.
Issue: SPR-17194
2018-09-05 17:26:42 -04:00
Brian Clozel
1371cfe301
Upgrade to Jetty 9.4.12.v20180830
...
(Cherry-picked from 7041e5e8e3 )
2018-09-04 22:15:13 +02:00
Juergen Hoeller
04814e604e
Polishing
...
(cherry picked from commit 95a56cd28d )
2018-08-31 12:57:31 +02:00
Juergen Hoeller
e332e32a88
SpelExpression consistently exposes EvaluationContext to compiled AST
...
Operator includes explicit support for Boolean comparisons now.
Issue: SPR-17229
(cherry picked from commit 51cee658d5 )
2018-08-31 12:57:23 +02:00
Juergen Hoeller
648fa60f48
Transactional timeout documented as seconds in annotation javadoc
...
Issue: SPR-17226
(cherry picked from commit 8c6f3505c4 )
2018-08-31 12:57:12 +02:00
Brian Clozel
4004f92e3f
Switch back to Reactor Bismuth SNAPTHOTs
...
Preparing for Bismut-SR11
2018-08-30 16:52:21 +02:00
Brian Clozel
6189e17d7c
Fix empty body writing in EncoderHttpMessageWriter
...
Prior to this commit, an bug introduced in SPR-16949 prevented
`Mono.empty` bodies from being written to the response.
This commit ensures that empty bodies still trigger the writing to the
response and does not hang the processing of the exchange.
Issue: SPR-17220
Cherry-picked from: 280da61d5c
2018-08-27 21:19:12 +02:00
Juergen Hoeller
1e8cb5fc59
Upgrade to RxJava 2.1.17, Tomcat 8.5.33, Netty 4.1.29
2018-08-24 12:58:04 +02:00
Juergen Hoeller
b5270a9cff
Polishing
2018-08-24 12:39:03 +02:00
Juergen Hoeller
a44fe4cbe4
Support Jackson filters in combination with serialization view
...
Issue: SPR-17209
(cherry picked from commit 03f1920106 )
2018-08-24 12:38:51 +02:00
Kyle Carter
abb92b6966
Fix usage of deprecated functionality in docs
...
Closes gh-1934
2018-08-20 09:44:31 +02:00
Juergen Hoeller
68cf18f4a3
SimpleAliasRegistry.hasAlias properly resolves multiple chained aliases
...
Issue: SPR-17191
(cherry picked from commit 2ac23badee )
2018-08-17 09:58:55 +02:00
Juergen Hoeller
92228f9e64
Fix recent javadoc errors
...
Issue: SPR-17174
2018-08-16 19:24:38 +02:00
Juergen Hoeller
fb083a3776
Consistently use double quotes (even if no interpolation needed)
2018-08-16 15:53:37 +02:00
Juergen Hoeller
f532de5a8a
Polishing
2018-08-16 12:21:49 +02:00
Juergen Hoeller
6b3dd0779f
Consistently skip unnecessary search on superclasses and empty elements
...
Issue: SPR-16933
2018-08-15 17:56:03 +02:00
Rossen Stoyanchev
bf7fa39a48
Consistent logging of resolved exceptions
...
Issue: SPR-17178
2018-08-15 11:10:35 +03:00
Juergen Hoeller
37db3ba834
Polishing
...
(cherry picked from commit 6027cf2255 )
2018-08-14 21:45:25 +02:00
Juergen Hoeller
4b2a0471e1
Revised documentation for PDF, Excel and JSON views
...
Issue: SPR-17180
Issue: SPR-17182
(cherry picked from commit c0c9e08bf9 )
2018-08-14 21:45:17 +02:00
Juergen Hoeller
7894ecf445
Polishing
2018-08-13 14:29:36 +02:00
Juergen Hoeller
0e3f23eeb7
Polishing
2018-08-13 13:42:19 +02:00
Sam Brannen
e306d3e83a
Generate “Use” links in aggregated Spring API JavaDoc
...
This commit enables the `-use` javadoc flag so that class usage pages
are included in the aggregated JavaDoc that is published to
https://docs.spring.io/spring-framework/docs/ .
Issue: SPR-17173
2018-08-13 11:59:35 +02:00
Rossen Stoyanchev
f23496ae32
Fix URI var encoding issue with '$'
...
When expanding and strictly encoding URI variables, there is no need to
quote `/` and `$` which will be encoded anyway.
Issue: SPR-17168
2018-08-13 11:57:44 +03:00
Juergen Hoeller
1d8e5f4d85
Revert to Map entry iteration for less expensive static initialization
...
Issue: SPR-17169
(cherry picked from commit df51ff0386 )
2018-08-12 21:02:26 +02:00
Juergen Hoeller
d8aecd8c87
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
Issue: SPR-17166
2018-08-12 14:36:20 +02:00
Stephane Nicoll
6ed03c24ac
Disable quotes substitution in code sample
...
Issue: SPR-17167
2018-08-12 11:13:21 +02:00
Juergen Hoeller
9c1cbbb689
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
Issue: SPR-17166
2018-08-11 22:46:17 +02:00
Juergen Hoeller
67d0c69a95
Polishing
2018-08-11 01:30:32 +02:00
Juergen Hoeller
951b39cc7a
Polishing
2018-08-10 18:00:17 +02:00
Juergen Hoeller
1695ef7e87
Polishing
2018-08-09 18:07:03 +02:00
Juergen Hoeller
6f41d4ec4d
DefaultLifecycleProcessor properly counts dependent beans in same phase
...
Issue: SPR-16901
2018-08-09 17:56:50 +02:00
Juergen Hoeller
42dbc39032
Polishing
...
(cherry picked from commit 8e571decc1 )
2018-08-09 12:15:23 +02:00
Rossen Stoyanchev
1d45e326b7
Fix link from Spring MVC to OXM chapter
2018-08-09 10:29:10 +03:00
Juergen Hoeller
7737175140
Polishing
2018-08-09 03:02:52 +02:00
Juergen Hoeller
e00fd52dc6
Polishing
2018-08-09 02:30:10 +02:00
Juergen Hoeller
a159dd5993
AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue
2018-08-09 02:07:00 +02:00
Juergen Hoeller
d8d04d82c1
Polishing
2018-08-09 01:41:45 +02:00
Juergen Hoeller
f3184a0878
Polishing
2018-08-09 00:49:54 +02:00
Juergen Hoeller
688ef9ad46
Find annotations on implemented generic superclass methods as well
...
Includes Java 8 getDeclaredAnnotation shortcut for lookup on Class.
Issue: SPR-17146
(cherry picked from commit 4521a79b2d )
2018-08-09 00:49:46 +02:00
Juergen Hoeller
9580bbd59f
Expose checkbox field marker as 'hidden' to RequestDataValueProcessor
...
Issue: SPR-17147
(cherry picked from commit fa72186e28 )
2018-08-09 00:49:39 +02:00
Juergen Hoeller
a9305dbe8b
ConcurrentModel ignores null value for put (also used by putAll)
...
Issue: SPR-17141
(cherry picked from commit b8b6367f9b )
2018-08-09 00:49:33 +02:00
Kazuhiro Sera
a80f4caf37
Fix typos detected by github.com/client9/misspell
...
(cherry picked from commit be211ceead )
2018-08-09 00:49:27 +02:00
Rossen Stoyanchev
eaafcee077
Proper use of setComplete in ContextPathCompositeHandler
...
Issue: SPR-17144
2018-08-08 16:41:50 +03:00
Juergen Hoeller
a45ef35b38
Pruning of outdated JDK 6/7 references (plus related polishing)
...
(cherry picked from commit b325c74216 )
2018-08-07 21:08:26 +02:00
Juergen Hoeller
b87ee4ca32
ConcurrentModel.addAttribute(String, Object) ignores null value
...
Issue: SPR-17141
(cherry picked from commit 34ddb88851 )
2018-08-07 21:08:18 +02:00
Juergen Hoeller
737ece71ca
Polishing
2018-08-07 02:48:04 +02:00
Juergen Hoeller
a938f528e2
Polishing
2018-08-07 02:41:18 +02:00
Juergen Hoeller
2b593b0b06
Upgrade to Log4J 2.11.1
2018-08-07 02:12:12 +02:00
Juergen Hoeller
4042c1d578
Polishing
2018-08-07 02:12:00 +02:00
Juergen Hoeller
34052945de
Avoid unnecessary annotation introspection on framework methods
...
Issue: SPR-16933
2018-08-07 02:11:54 +02:00
Juergen Hoeller
c814f5821a
DisposableBean javadoc refers to singletons as well as scoped beans
...
Issue: SPR-17131
(cherry picked from commit f155d21c95 )
2018-08-07 02:11:42 +02:00
Rossen Stoyanchev
6562e3047f
takeUntilByteCount actually uses takeUntil
...
Issue: SPR-17188
2018-08-02 21:20:20 +03:00
Rossen Stoyanchev
0d0a0a2d08
Polish
2018-08-02 21:20:08 +03:00
Juergen Hoeller
08b5921fff
Polishing
2018-08-02 17:45:46 +02:00
Juergen Hoeller
f9307897b6
Polishing
...
(cherry picked from commit 2474c48749 )
2018-08-02 17:18:08 +02:00
Juergen Hoeller
f4c0421a7d
Polishing
...
(cherry picked from commit dc36bb34c7 )
2018-08-02 14:55:28 +02:00
Juergen Hoeller
ecf6c381be
SchedulerAccessor catches cluster race conditions on job rescheduling
...
Issue: SPR-17114
(cherry picked from commit fa97aab8be )
2018-08-02 14:55:22 +02:00
Juergen Hoeller
55e8aea2a3
Polishing
2018-08-01 12:35:01 +02:00
Juergen Hoeller
77e75fdf87
Avoid synthesizable annotation creation for @Bean/@Scope on scanning
...
Includes consistent (non-)use of AnnotationUtils/AnnotatedElementUtils.
Issue: SPR-16933
2018-08-01 12:18:10 +02:00
Juergen Hoeller
8c1290084d
Polishing
2018-07-31 23:40:36 +02:00
Rossen Stoyanchev
4133355b72
Typo in URI Encoding section
...
Issue: SPR-17104
2018-07-31 23:28:08 +03:00
Rossen Stoyanchev
7476c5d5db
Revert ""Order of messages" in STOMP section of reference docs"
...
This reverts commit dc066b0530 which
wasn't meant to be added to 5.0.x where the feature does not exist.
2018-07-31 23:15:49 +03:00
Juergen Hoeller
fd75600c26
Polishing
2018-07-31 21:37:40 +02:00
Juergen Hoeller
a4be54d760
Avoid synthesizable check for common annotation types
...
This revision immediately returns false from isSynthesizable for java.lang.annotation types.
Issue: SPR-16933
2018-07-31 21:37:34 +02:00
Juergen Hoeller
f791b827ec
Correct 404 status code and refined resolution failure log message
2018-07-30 23:33:53 +02:00
Juergen Hoeller
a65c7ef780
Polishing
2018-07-30 23:13:22 +02:00
Juergen Hoeller
2a32c6cf57
Nullability refinements in spring-webmvc
...
Includes revision of web.servlet.tags.form for non-null conventions.
Issue: SPR-15540
(cherry picked from commit f74a631ea1 )
2018-07-30 22:33:11 +02:00
Juergen Hoeller
91fa2ed0d4
Initialize pre-filled HashMaps with large enough capacity
...
Empty Maps are preferably initialized without capacity (not initializing them at all or lazily initializing with default capacity when needed).
Issue: SPR-17105
(cherry picked from commit 4a147d26fc )
2018-07-30 22:33:04 +02:00
Juergen Hoeller
006db06d11
Polishing
2018-07-27 18:48:09 +02:00
Juergen Hoeller
6839570187
Polishing
...
(cherry picked from commit 1fd6248d84 )
2018-07-27 18:20:29 +02:00
Rossen Stoyanchev
5f96d7c46c
Add notes on future deprecation of the RestTemplate
...
Issue: SPR-16993
2018-07-27 08:43:26 -04:00
Juergen Hoeller
cca8968a44
Polishing
2018-07-26 23:40:32 +02:00
Juergen Hoeller
b6a049a088
Polishing
...
(cherry picked from commit 7c9ba80f85 )
2018-07-26 23:27:28 +02:00
Rossen Stoyanchev
2d83051ce1
bindToApplicatonContext uses WebSessionManager bean
...
Issue: SPR-17094
2018-07-26 16:05:33 -04:00
Rossen Stoyanchev
f9ff6d4192
Polish
2018-07-26 15:54:21 -04:00
Juergen Hoeller
514c28b7c0
Revise BeanFactory vs ApplicationContext section in reference docs
...
Issue: SPR-17095
(cherry picked from commit 8277ea5794 )
2018-07-26 18:50:21 +02:00
Juergen Hoeller
5da58393c1
Polishing
2018-07-26 15:55:15 +02:00
Juergen Hoeller
79936d98de
Properly identify event-related ClassCastExceptions on JDK 11
...
Issue: SPR-17093
(cherry picked from commit e458777925 )
2018-07-26 15:07:10 +02:00
Spring Buildmaster
7dff7bb7a4
Next Development Version
2018-07-26 07:49:44 +00:00
Juergen Hoeller
d7cf2c869c
MethodBeforeAdviceInterceptor implements BeforeAdvice marker interface
...
Includes related polishing in the advice interceptor implementations.
Issue: SPR-17088
(cherry picked from commit 4e03d3fdcb )
2018-07-25 20:16:48 +02:00
Juergen Hoeller
c89fb745f7
ListBasedXMLEventReader uses defensive modifiable copy of given List
...
(cherry picked from commit 9ab63b8494 )
2018-07-25 19:06:55 +02:00
Juergen Hoeller
e214ee5c85
Backport of WebMvcConfigurationSupport javadoc revision
2018-07-25 15:39:39 +02:00
Juergen Hoeller
93ef169c5c
Polishing
2018-07-25 14:40:31 +02:00
Brian Clozel
407bd96cf3
ResponseEntityResultHandler overwrites headers
...
Prior to this commit, controller handlers (regular and exception
handlers as well) would not overwrite existing HTTP response headers on
the exchange. This would lead to situations where Content-Type values
set during the initial handling phase would not be overwritten when
handling an error later on.
This commit aligns the implementation of that result handler on the
Spring MVC one in that regard.
Issue: SPR-17082
(Cherry-picked from 195f3f07e7 )
2018-07-24 22:23:52 +02:00
Juergen Hoeller
0b5c099de2
Polishing
2018-07-24 22:10:07 +02:00
Juergen Hoeller
4f9a18f5aa
Order setter for DefaultSimpUserRegistry
...
Issue: SPR-17023
2018-07-24 18:56:52 +02:00
Rossen Stoyanchev
9b3d80c5e4
Update STOMP section on working with subscriptions
...
1. Revise @SubscribeMapping to address common points of confusion.
2. Add ExecutorSubsribableChannel.
3. Split Events and Interception in two.
Issue: SPR-16950
2018-07-24 12:25:41 -04:00
Rossen Stoyanchev
dc066b0530
"Order of messages" in STOMP section of reference docs
...
Issue: SPR-13989
2018-07-24 12:23:39 -04:00
Juergen Hoeller
0c44b5224f
Polishing
...
(cherry picked from commit dd4468a )
2018-07-24 16:34:56 +02:00
Juergen Hoeller
207e8c2409
BeanFactoryAdvisorRetrievalHelper avoids synchronization for name cache
...
Issue: SPR-16570
(cherry picked from commit 7f1a8d7 )
2018-07-24 16:34:50 +02:00
Juergen Hoeller
2329588856
Upgrade to Mockito 2.19.1
2018-07-24 15:00:47 +02:00
Juergen Hoeller
f677d684e7
Polishing
2018-07-24 15:00:35 +02:00
Juergen Hoeller
3878db2e8c
Provide predetermined capacity for cache operation collections
...
Issue: SPR-17079
(cherry picked from commit 20c34cb )
2018-07-24 14:59:05 +02:00
Rossen Stoyanchev
24a113fb27
Ensure headers work with ResponseEntity + reactive body
...
Issue: SPR-17076
2018-07-24 00:26:01 -04:00
Juergen Hoeller
e21db2619b
AspectJExpressionPointcut leniently ignores non-composable interfaces
...
Issue: SPR-17003
(cherry picked from commit bccff73 )
2018-07-22 22:35:32 +02:00
Juergen Hoeller
f5dd4d2c02
Polishing
2018-07-22 19:33:40 +02:00
Juergen Hoeller
192113de60
Correctly determine and propagate validation hints to DataBinder
...
Issue: SPR-17073
(cherry picked from commit 3c65c17 )
2018-07-21 12:34:55 +02:00
Brian Clozel
f89511e7fe
Switch order of multipart Content-Type directives
...
Since SPR-15205, the `FormHttpMessageConverter` is adding a `charset`
directive to the `Content-Type` request header in order to help servers
understand which charset is being used to encode headers of each part.
As reported in SPR-17030 and others, some servers are not parsing
properly such header values and assume that `boundary` is the last
directive in the `Content-Type` header.
This commit reorders the charset information right before the boundary
declaration to get around those issues.
Issue: SPR-17030
(Cherry-picked from 390bb871d8 )
2018-07-20 18:16:53 +02:00
Juergen Hoeller
c3f6403f61
Polishing
2018-07-20 16:45:17 +02:00
Rossen Stoyanchev
5007d01c17
Fix for encoding issue with MvcUriComponentsBuilder
...
Provide method for stronger encoding of expanded URI variables when
building links from views.
Issue: SPR-17027
2018-07-19 19:07:22 -04:00
Rossen Stoyanchev
f1c55a3b4a
UriComponentsBuilder method to configure URI variables
...
See Javadoc on UriComponentsBuilder#uriVariables for details.
This helps to prepare for SPR-17027 where the MvcUriComponentsBuilder
already does a partial expand but was forced to build UriComonents
and then create a new UriComponentsBuilder from it to continue. This
change makes it possible to stay with the same builder instance.
Issue: SPR-17027
2018-07-19 19:07:22 -04:00
Rossen Stoyanchev
34a0cdfc33
Minor fixes: UriComponentsBuilder, UriComponents, docs
...
After the latest changes, two small fixes in the clone method to copy
the encode flag, and in the encodeUriTemplate method to account for
possible null query params.
Improvements in the URI encoding section.
Issue: SPR-17039, SPR-17027
2018-07-19 19:07:22 -04:00
Juergen Hoeller
1cd0135195
Restore original DefaultAdvisorChainFactory MethodMatcher invocation
...
Includes test for @Async pointcut against AOP proxy without target.
2018-07-20 00:33:27 +02:00
Juergen Hoeller
0c5c3103c6
ReflectiveMethodExecutor skips interface search (plus related polishing)
2018-07-19 16:51:13 +02:00
Juergen Hoeller
c66f9d8880
Javadoc update: ConfigurationClassPostProcessor is priority-ordered
...
Issue: SPR-17062
(cherry picked from commit 0b60447 )
2018-07-19 13:24:48 +02:00
Juergen Hoeller
4d3a899a53
OrderUtils caches order values (for AnnotationAwareOrderComparator)
...
Issue: SPR-17064
(cherry picked from commit d0bbbf4 )
2018-07-19 13:24:43 +02:00
Juergen Hoeller
11fc086309
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
(cherry picked from commit 9c08a48 )
2018-07-19 00:08:13 +02:00
Juergen Hoeller
ed54895e53
Consistent exposure of nested parameter type in binding exceptions
2018-07-18 19:56:06 +02:00
Juergen Hoeller
b72594d799
Find annotations on implemented generic interface methods as well
...
Issue: SPR-16060
(cherry picked from commit 23d4862 )
2018-07-18 19:56:00 +02:00
Juergen Hoeller
4341838a21
Polishing
2018-07-18 14:53:19 +02:00
Brian Clozel
58f58e404e
Avoid null signals when resolving handler arguments
...
Prior to this commit, resolving an argument for a WebFlux controller
that's missing from the request and not required by the handler would
throw a NullPointerException in some cases.
This involves the conversion of the parameter (a `String` parameter type
might not trigger this behavior) and sending a `null` within a reactive
stream, which is illegal per the RS spec.
We now rely on a `Mono.justOrEmpty()` to handle those specific cases.
Issue: SPR-17050
(Cherry-picked from a7f97a1669 )
2018-07-18 14:48:06 +02:00
Juergen Hoeller
c0040a5508
Polishing
2018-07-18 14:03:54 +02:00
Juergen Hoeller
55563c16b5
StringUtils.parseLocaleString detects variant without country
...
The parseLocale method also turns an empty locale into null now, compatible with parseLocaleString behavior.
Includes tests for parsing all available locales on the JVM, checking toString/toLanguageTag equality between parsed and original locale.
Issue: SPR-7598
Issue: SPR-16651
(cherry picked from commit cab35aa )
2018-07-18 14:03:30 +02:00
Juergen Hoeller
ae1d500bc3
UrlBasedViewResolver exposes redirect prefix as bean name
...
Issue: SPR-17045
(cherry picked from commit b8d2a16 )
2018-07-18 13:59:32 +02:00
Juergen Hoeller
9134588a82
Never return null from AnnotationMetadata.getMetaAnnotationTypes
...
Issue: SPR-17046
(cherry picked from commit cacd14c )
2018-07-18 13:59:11 +02:00
Juergen Hoeller
d283424c82
Update ref doc references to Number/Currency/PercentStyleFormatter
...
Issue: SPR-17022
(cherry picked from commit 39d4550 )
2018-07-18 13:58:45 +02:00
Andrew McCallum
6e019f9ed0
Correct method signature in code example
...
Closes gh-1887
2018-07-18 09:08:29 +02:00
Rossen Stoyanchev
d9d41b4398
Polish
2018-07-17 17:41:44 -04:00
Rossen Stoyanchev
eac0ddce13
Update URI Encoding section
2018-07-17 15:58:47 -04:00
Rossen Stoyanchev
a363a229eb
Update URI links section after encoding changes
...
Issue: SPR-17039
2018-07-16 21:25:27 -04:00
Rossen Stoyanchev
2bf7c18203
Add TEMPLATE_AND_VALUES mode to DefaultUriBuilderFactory
...
Issue: SPR-17039
2018-07-16 21:25:09 -04:00
Rossen Stoyanchev
9458186e83
Polish DefaultUriBuilderFactory
2018-07-16 21:24:52 -04:00
Rossen Stoyanchev
d81ec55a60
Support for encode() in UriComponentsBuilder
...
The ability to request to encode before `build()`, and more importantly
before expanding, allows stricter encoding to be applied to URI vars
and consequently to neutralize the effect of characters with reserved
meaning in a URI.
Issue: SPR-17039
2018-07-16 21:24:16 -04:00
Stephane Nicoll
4c8d81bcb4
Fix typo
...
Issue: SPR-17042
2018-07-15 16:18:25 +02:00
Rossen Stoyanchev
6218db9831
Backport of InMemoryWebSession changes
...
- hooks to check expired sessions in both create and retrieve.
- maxSessions limit on the total number of sessions.
- getSessions method for management purposes
- removeExpiredSessions public API
Issue: SPR-17020, SPR-16713
2018-07-12 16:27:42 -04:00
Rossen Stoyanchev
7ea8ecb6ab
Warn when SimpleAsyncTaskExecutor is used
...
Issue: SPR-16203
2018-07-11 11:21:49 -04:00
Guilherme Alan Ritter
8c1bc63c9d
Fix typo
...
Closes gh-1880
2018-07-10 15:48:40 +02:00
Rossen Stoyanchev
f179181b40
Polish Reactive Spring Web section
2018-07-09 15:58:35 -04:00
Juergen Hoeller
eb3254d2a9
Polishing
2018-07-06 15:18:47 +02:00
Juergen Hoeller
6cae0650e6
Upgrade to Jackson 2.9.6
2018-07-06 01:42:07 +02:00
Juergen Hoeller
43868d2b72
Polishing
2018-07-06 01:39:34 +02:00
Juergen Hoeller
a8b747c21c
Polishing
2018-07-04 22:55:38 +02:00
Juergen Hoeller
490b78a3d3
Polishing
2018-07-04 20:58:27 +02:00
Juergen Hoeller
1ab9e2ceda
Polishing
2018-07-04 15:46:52 +02:00
Juergen Hoeller
a1d35c23aa
ConcurrentModel.addAttribute javadoc: null value not supported
...
Issue: SPR-16831
2018-07-04 15:45:53 +02:00
Juergen Hoeller
99534a31ba
MapSqlParameterSource.addValue declares nullable value parameter
...
Issue: SPR-16843
(cherry picked from commit d9c6318 )
2018-07-04 15:45:32 +02:00
Sebastien Deleuze
c6dbfe42d3
Upgrade to Kotlin 1.2.51
2018-07-04 11:25:01 +02:00
Juergen Hoeller
acf9ea097a
Polishing
2018-07-03 17:11:27 +02:00
Juergen Hoeller
decbb43757
Upgrade to Apache Johnzon 1.1.8
2018-07-03 16:23:51 +02:00
Juergen Hoeller
0480e75785
Polishing
2018-07-03 16:23:43 +02:00
Juergen Hoeller
ac1e2879e5
Consistent throwing of HttpMessageNotReadableException (5.0.x revision)
...
Includes specific fine-tuning of ProtobufHttpMessageConverter and JAXB2 based message converters, as well as revised javadoc for abstract base classes.
Issue: SPR-16995
2018-07-03 16:23:36 +02:00
Juergen Hoeller
ce0323fa8c
ConcurrentReferenceHashMap caches EntrySet in volatile field
...
Includes an efficient implementation of isEmpty(), not relying on a full entry count but rather backing out once a non-empty hash segment has been found.
Issue: SPR-16994
2018-07-03 16:23:28 +02:00
Juergen Hoeller
0052c899bd
Same method filtering in ConstructorResolver and getTypeForFactoryMethod
...
Issue: SPR-16999
(cherry picked from commit f2787cf )
2018-07-03 16:23:20 +02:00
Juergen Hoeller
8c07c6d099
Polishing
2018-07-01 02:35:35 +02:00
Juergen Hoeller
214fa9c2a0
Polishing
2018-06-29 22:43:13 +02:00
Juergen Hoeller
ea534b6820
Polishing
2018-06-29 20:07:53 +02:00
Juergen Hoeller
5a111125c1
Up-to-date coverage of task executor and scheduler variants
...
Includes a clarification of ThreadPoolExecutor configuration options and a note on early AsyncConfigurer initialization.
Issue: SPR-16944
Issue: SPR-16945
(cherry picked from commit d58c09b )
2018-06-29 20:07:44 +02:00
Juergen Hoeller
ac48c64b1a
Upgrade to Mockito 2.19 and Mockito Kotlin 1.6
2018-06-28 18:13:59 +02:00
Juergen Hoeller
9a20ec9284
Polishing
2018-06-28 18:13:40 +02:00
Juergen Hoeller
03beee7b68
Upgrade to Tomcat 8.5.32, RxJava 2.1.16, Selenium 3.13
2018-06-28 17:33:30 +02:00
Juergen Hoeller
4be6bcae74
Polishing
2018-06-28 17:30:55 +02:00
Juergen Hoeller
6d0f8bf145
Support for new JsonMappingException wording in Jackson 2.9
...
Issue: SPR-16947
2018-06-28 16:42:35 +02:00
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9 )
2018-06-28 16:42:14 +02:00
Juergen Hoeller
3e64388b20
Conventions lazily retrieves shared ReactiveAdapterRegistry
...
Issue: SPR-16981
(cherry picked from commit b68e692 )
2018-06-28 16:41:51 +02:00
Juergen Hoeller
d3b06a15f2
StringUtils.cleanPath retains plain pointer to current directory
...
Issue: SPR-16908
(cherry picked from commit 7a02e43 )
2018-06-28 16:41:44 +02:00
Juergen Hoeller
75f26eec98
Fix FreeMarker escaping regression for messages and separators
...
Issue: SPR-16951
(cherry picked from commit 08e1c8c )
2018-06-28 16:41:33 +02:00
Juergen Hoeller
4402336c44
MimeTypeUtils lazily initializes SecureRandom for multipart boundary
...
Issue: SPR-16974
(cherry picked from commit 847202c )
2018-06-28 16:41:18 +02:00
Juergen Hoeller
e388ddfdde
WebHttpHandlerBuilder retains ApplicationContext in copy constructor
...
Issue: SPR-16972
(cherry picked from commit 2a15962 )
2018-06-28 16:41:13 +02:00
Napster
f83a01e573
Undertow WebSocket sessions share ByteBufferPool
...
Issues: SPR-16957
2018-06-25 17:59:34 -03:00
Brian Clozel
d1c9401dc2
WebClient writes Content-Length for Mono bodies
...
In SPR-16892, the `EncoderHttpMessageWriter` has been improved to write
`"Content-Length"` HTTP response headers if the response body is of type
`Mono` (i.e. the actual content length is easily accessible without
buffering a possibly large response body). That change was relying on
the fact that the server side is using a `ChannelSendOperator` to delay
the writing of the body until the first signal is received.
This strategy is not effective on the client side, since no such channel
operator is used for `WebClient`. This commit improves
`EncoderHttpMessageWriter` and delays, for `Mono` HTTP message bodies
only, the writing of the body so that we can write the
`"Content-Length"` header information once we've got the body resolved.
Issue: SPR-16949
(Cherry-picked from 4a26f93a0d )
2018-06-19 11:52:26 +02:00
Ryan Yin
60838dcd03
Fix broken link to CONTRIBUTING.md
...
Closes gh-1860
2018-06-19 09:08:13 +02:00
Rossen Stoyanchev
3526766635
Fix documentation issue
2018-06-18 20:35:57 -04:00
Rossen Stoyanchev
425c311d3c
Correctly set maxAge and expires in ResponseCookie
...
Issue: SPR-16940
2018-06-14 13:16:55 -04:00
Rossen Stoyanchev
24acae1195
Polish ExchangeFilterFunction[s]
2018-06-13 17:15:47 -04:00
Rossen Stoyanchev
49f21ac3ac
Polish form writer and converter
2018-06-13 17:15:36 -04:00
Rossen Stoyanchev
8339e7ade5
Use reflection for JdkFlowAdapter
...
To avoid compiler issues on Eclipse.
2018-06-13 09:41:10 -04:00
Spring Buildmaster
4560f096b9
Next Development Version
2018-06-12 15:09:58 +00:00
Rossen Stoyanchev
4ec9f5df5c
Minor polishing for URI encoding docs
2018-06-12 10:15:43 -04:00
Juergen Hoeller
224fcc1712
Remove outdated Servlet environment constraints from annotation javadoc
...
Includes removal of PathVariable's MultiValueMap support claim.
Issue: SPR-16936
(cherry picked from commit 0b64bcd )
2018-06-12 11:35:55 +02:00
Brian Clozel
96eba8b997
Fix ResourceRegion HttpMessageConverter write checks
...
This commit fixes the write checks for
`ResourceRegionHttpMessageConverter`, which was previously not checking
properly the parameterized type (e.g. in case of a `List<Something>`).
Issue: SPR-16932
(Cherry-picked from 05ff8b722d )
2018-06-11 22:57:36 +02:00
Rossen Stoyanchev
be5229949c
Add HTTP caching to WebFlux section
...
Issue: SPR-16395
2018-06-11 16:44:35 -04:00
Rossen Stoyanchev
516937cfc5
Polish Spring MVC docs on HTTP Caching
...
Issue: SPR-16395
2018-06-11 16:44:25 -04:00
Brian Clozel
dac97f1b7d
Restrict HTTP methods on Reactive HiddenHttpMethodFilter
...
This commit restricts the allowed HTTP methods on HiddenHttpMethodFilter
(Reactive variant) to the following: PUT, DELETE, PATCH.
This filter is meant to be used to simulate those methods from HTML
forms sent by browsers, so no other methods are allowed.
Issue: SPR-16836
(Cherry-picked from a5cd01a4c8 )
2018-06-11 19:17:00 +02:00
Brian Clozel
f2694a8ed9
Restrict HTTP methods on Servlet HiddenHttpMethodFilter
...
This commit restricts the allowed HTTP methods on HiddenHttpMethodFilter
(Servlet variant) to the following: PUT, DELETE, PATCH.
This filter is meant to be used to simulate those methods from HTML
forms sent by browsers, so no other methods are allowed.
Issue: SPR-16836
(Cherry-picked from f64fa3dea1 )
2018-06-11 19:16:44 +02:00
Juergen Hoeller
82f421bff8
Upgrade to Reactor Bismuth SR10
2018-06-11 18:09:01 +02:00
Juergen Hoeller
a2765c009e
Polishing
2018-06-11 18:08:39 +02:00
Juergen Hoeller
78d3164543
Remove outdated javadoc references to SpEL lambda functions
...
Issue: SPR-16930
(cherry picked from commit 6df7ba2 )
2018-06-11 18:08:20 +02:00
Brian Clozel
afcc430481
Remove dependency management noise from POMs
...
Prior to this commit, the generated POMs for Spring Framework modules
would contain unneeded/harmful information from the Spring Framework
build:
1. The BOM imports applied to each module by the dependency
management plugin, for example for Netty or Reactor Netty.
Spring should not export that opinion to its POMs.
2. The exclusion of "org.slf4:jcl-over-slf4j" from *all* dependencies,
which made the POMs much larger than necessary and suggested to
developers that they should exclude it as well when using all those
listed dependencies. In fact, only Apache Tiles currently brings that
transitively.
This commit removes that information from the POMs.
The dependencyManagement Gradle plugin is disabled for POM generation
and we manually resolve the dependency versions during the generation
phase.
The Gradle build is streamlined to exclude "org.slf4:jcl-over-slf4j"
only when necessary.
Issue: SPR-16893
(Cherry-picked from 417354da8a )
2018-06-11 16:02:11 +02:00
Juergen Hoeller
062a15fbd7
Latest applicable dependency updates (Jetty 9.4.11, Netty 4.1.25, Hibernate ORM 5.1.14, HSQLDB 2.4.1, Derby 10.14.2.0, HtmlUnit 2.31, Selenium 3.12)
2018-06-11 15:02:44 +02:00
Juergen Hoeller
c04c8a2472
Polishing
2018-06-11 15:01:18 +02:00
Juergen Hoeller
f39adcf865
AbstractMethodMessageHandler processes Error as MessageHandlingException
...
Issue: SPR-16912
2018-06-11 14:59:44 +02:00
Juergen Hoeller
da049f480b
ReflectivePropertyAccessor caches sorted methods per class
...
Issue: SPR-16882
2018-06-11 14:59:08 +02:00
Juergen Hoeller
455d8ac7b9
Correct code example for YamlProcessor.setDocumentMatchers
...
Issue: SPR-16849
(cherry picked from commit 7ece0e2 )
2018-06-11 14:58:42 +02:00
Sebastien Deleuze
b80c13b722
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
2018-06-08 12:31:40 +02:00
Rossen Stoyanchev
7bfd683816
Eliminate the need for Encoder#getContentLength
...
Issue: SPR-16892
2018-06-04 16:01:48 -04:00
Jason Zhekov
fe01e5114d
Fix format typo in webmvc.adoc
...
Closes gh-1849
2018-06-04 20:56:55 +02:00
Stephane Nicoll
b5595c3904
Fix faulty BeanPostProcessorChecker logs with @EnableCaching
...
Issue: SPR-16896
2018-06-04 15:01:57 +02:00
Violeta Georgieva
76678e9c6a
Fix code examples for WebFlux functional endpoints
...
Closes gh-1844
2018-05-31 15:19:28 +02:00
Johnny Lim
b3a34f8397
Polish doc
...
Closes gh-1843
2018-05-31 10:21:36 +02:00
Juergen Hoeller
79adffd214
Upgrade to Hibernate Validator 6.0.10, RxJava 2.1.14, Gson 2.8.5
2018-05-30 11:59:57 +02:00
Juergen Hoeller
af0a82931e
Polishing
...
(cherry picked from commit 1b728fb )
2018-05-30 11:59:30 +02:00
Juergen Hoeller
bbe5124556
Polishing
2018-05-29 22:16:48 +02:00
Juergen Hoeller
5935b7aefe
Doc: @EnableScheduling needs to be declared per application context
...
Issue: SPR-16852
(cherry picked from commit b39ce80 )
2018-05-29 22:00:34 +02:00
Juergen Hoeller
a2d7cc7a69
AbstractRequestLoggingFilter.isIncludeHeaders() declared as protected
...
Issue: SPR-16881
(cherry picked from commit c754232 )
2018-05-29 22:00:24 +02:00
Juergen Hoeller
8a56db6e4e
SimpleAliasRegistry logs info message for alias overriding
...
Issue: SPR-16871
(cherry picked from commit 74fcdea )
2018-05-29 22:00:14 +02:00
Juergen Hoeller
50d6d90ed8
Restore lenient null return value for ConditionContext.getBeanFactory()
...
Includes nullable return value for getClassLoader() with corresponding notes in applicable javadoc.
Issue: SPR-16866
(cherry picked from commit 46a89d9 )
2018-05-29 22:00:05 +02:00
Arjen Poutsma
a7ffe092ab
Fix parent path variables in nested route functions
...
This commit fix an issue where path variables in a nested parent
RouterFunction were not committed to the request attributes.
Issue: SPR-16868
(cherry picked from commit 8c30b8e )
2018-05-29 15:57:52 +02:00
Sebastien Deleuze
6407cb9baf
Fix PropertyResolverExtensions.kt location
2018-05-28 15:53:03 +02:00
Gary Russell
0bc0762577
Fix JMS Doc typo
...
There is no such class `ReplyQosSettings`.
Closes gh-1836
2018-05-25 16:32:09 +02:00
Rossen Stoyanchev
051ab05d32
Properly initialize URI/Matrix vars w/ urlDecode=false
...
Issue: SPR-16867
2018-05-24 15:10:55 -04:00
Rossen Stoyanchev
9d36fd0b68
Respect async request timeout of -1 in MockMvc
...
When falling back on the timeout associated with the async request,
a value of -1 must be treated as: never time out.
Issue: SPR-16869
2018-05-24 12:36:47 -04:00
Rossen Stoyanchev
f078e057ce
Update docs on WebClient filters
2018-05-24 07:20:24 -04:00
Rossen Stoyanchev
941186a359
Minor update to STOMP chapter
...
Issue: SPR-16681
2018-05-23 21:50:46 -04:00
Rossen Stoyanchev
27fc4d6053
ChannelInterceptor default methods + deprecate adapter
2018-05-23 21:50:34 -04:00
Rossen Stoyanchev
1943a1f5bd
Fix error in WebFlux chapter on static resources
...
Issue: SPR-16864
2018-05-23 21:25:26 -04:00
Rossen Stoyanchev
a158ff4c3d
Return SslInfo only if X509Certificate[] present
...
Issue: SPR-16842
2018-05-23 14:58:23 -04:00
Rossen Stoyanchev
a71bd7c03f
Immutable Resource[Resolver|Transformer]Chains
...
Backport of #f121aa5e31, applied to spring-webflux only.
Issue: SPR-16862
2018-05-23 09:53:26 -04:00
Sebastien Deleuze
1fefe2ab0c
Upgrade to Dokka 0.9.17
2018-05-22 17:44:28 +02:00
Rossen Stoyanchev
0b36c9437e
CodecConfigurer internal refactoring
...
Improve how HTTP message writers are obtained for general use vs for
multipart requests.
2018-05-21 21:15:17 -04:00
Rossen Stoyanchev
72e7687b80
Polish CodecConfigurer related classes
...
Functionally equivalent updates to package private classes to improve
the code and make it easier to understand.
2018-05-21 21:15:05 -04:00
Rossen Stoyanchev
e87355b29c
STOMP client supports setting accept-version
...
Issue: SPR-16844
2018-05-18 15:13:14 -04:00
Rossen Stoyanchev
1dc8201df1
Polish ReactiveAdapterRegisry
2018-05-18 09:30:10 -04:00
Rossen Stoyanchev
e3e975d7f9
Support for SslInfo in ServerHttpRequest#mutate
...
Issue: SPR-16830
2018-05-17 17:29:33 -04:00
Rossen Stoyanchev
b385ff1d9f
Polish WebFlux WebSocket docs
...
Issue: SPR-16820
2018-05-17 10:03:24 -04:00
Arjen Poutsma
3c88029dd3
Improve toString for filtered router function
...
Issue: SPR-16829
(cherry picked from commit f722f40)
2018-05-17 12:02:57 +02:00
Rossen Stoyanchev
c7adf28f61
Expand WebFlux docs with WebSocketHandler examples
...
Issue: SPR-16820
2018-05-16 21:33:47 -04:00
Rossen Stoyanchev
c555fef6f2
Improve TCP connection info logging.
...
After the recent changes to expose configuring TcpOperations, it no
longer makes sense to automatically log the relayHost/Port since that's
mutually exclusive with a custom TcpOperations.
Instead we delegate to TcpOperations.toString().
Issue: SPR-16801
2018-05-16 14:26:29 -04:00
Rossen Stoyanchev
ab0b0b31fd
Polish: simplify ControllerMethodResolver initialization
2018-05-16 10:04:08 -04:00
Arjen Poutsma
d24546ad18
Improve toString for query param and path extension predicates
...
Issue: SPR-16829
(cherry picked from commit 7424ca5 )
2018-05-16 11:16:11 +02:00
Juergen Hoeller
2818051aff
Revised code examples for stored procedure type declarations
...
Issue: SPR-16811
(cherry picked from commit 765d18e )
2018-05-16 09:09:55 +02:00
Juergen Hoeller
a3bcdbe371
SchedulerFactoryBean triggers shutdown after registration failure
...
Issue: SPR-16816
(cherry picked from commit 0098245 )
2018-05-16 09:09:44 +02:00
Juergen Hoeller
3978d5500d
Query termination for JPA 2.1 StoredProcedureQuery.execute() method
...
Issue: SPR-16826
(cherry picked from commit 3c8c996 )
2018-05-16 09:09:35 +02:00
Juergen Hoeller
416dee7226
AspectJExpressionPointcut evaluates interface method on proxy as well
...
Issue: SPR-16803
(cherry picked from commit bba5dca )
2018-05-16 09:09:24 +02:00
Sebastien Deleuze
4d69ec48b1
Add StatusResultMatchers.isEqualTo Kotlin extension
...
Issue: SPR-16429
2018-05-15 15:42:25 +02:00
Sebastien Deleuze
14a9d291e1
Filter synthetic in ReflectionUtils#USER_DECLARED_METHODS
...
Issue: SPR-16823
2018-05-15 15:01:31 +02:00
Sebastien Deleuze
5183f71a78
Update Kotlin refdoc with the new tutorial
2018-05-14 10:54:10 +02:00
Rossen Stoyanchev
fd36af6fcf
Inject UriComponentsBuilder relative to webapp root
...
Issue: SPR-16813
2018-05-11 09:54:35 -04:00
Rossen Stoyanchev
9179a4fa30
Correct coordinates for Reactor Netty in STOMP chapter
...
Issue: SPR-16802
2018-05-10 16:47:17 -04:00
nkjackzhang
98335b41f7
Fix a typo in javadoc
...
Closes gh-1824
2018-05-10 17:32:58 +02:00
Rossen Stoyanchev
e9f4dec08c
Restore layout of docs zip with index.html at the top
...
Issue: SPR-16799
2018-05-09 17:29:38 -04:00
Spring Buildmaster
4ec695b4d9
Next Development Version
2018-05-08 08:34:28 +00:00
Juergen Hoeller
2da02ccbd0
Polishing
...
(cherry picked from commit 70424a7 )
2018-05-08 00:25:46 +02:00
Juergen Hoeller
f2cc70ecf9
Explicit coverage of root vs cause exception matching in MVC ref docs
...
Issue: SPR-16743
(cherry picked from commit a200df6 )
2018-05-07 23:18:33 +02:00
Rossen Stoyanchev
e2115594c0
Document throwExceptionIfNoHandlerFound property
...
Issue: SPR-16786
2018-05-07 16:12:25 -04:00
Juergen Hoeller
2008e04354
Upgrade to Servlet API 4.0.1
2018-05-07 14:38:16 +02:00
Juergen Hoeller
b4f83dbdc3
Polishing
2018-05-07 14:30:50 +02:00
Juergen Hoeller
0795ae5c6a
Polishing
2018-05-05 16:55:06 +02:00
Juergen Hoeller
41ab177b6c
Fine-tuned assertions and related polishing
2018-05-05 14:59:13 +02:00
Juergen Hoeller
8848ec73ab
Refined backport of gh-1817
2018-05-05 13:18:08 +02:00
Juergen Hoeller
9f9481ec7b
Upgrade to Tomcat 8.5.31, Undertow 1.4.25, Jetty 9.4.10, Gson 2.8.4
...
Includes upgrade from Reactor snapshots to Bismuth SR9.
2018-05-05 13:17:44 +02:00
Juergen Hoeller
f6275e009b
YamlProcessor embraces SnakeYAML 1.18+ duplicate key handling
...
Includes deprecation of StrictMapAppenderConstructor.
Issue: SPR-16791
(cherry picked from commit 138b0d0 )
2018-05-05 13:17:10 +02:00
Juergen Hoeller
ed44262a71
ResponseEntityExceptionHandler rethrows unknown exception (for further processing in DispatcherServlet's HandlerExceptionResolver chain)
...
Issue: SPR-16743
(cherry picked from commit 7b894fe )
2018-05-05 13:17:00 +02:00
Johnny Lim
a0d37ac29e
Remove inconsistent spaces
...
(cherry picked from commit fb898e1 )
2018-05-05 12:49:26 +02:00
Johnny Lim
a39938d251
Polish DatabaseStartupValidator
...
(cherry picked from commit 8f21cb1 )
2018-05-05 12:49:10 +02:00
nkjackzhang
edb33331ed
Task "docsZip" copies duplicate reference files
...
Specify task "docsZip" source directory.
Issue: SPR-16789
2018-05-03 16:39:51 -04:00
Arjen Poutsma
a63f04df09
Clean up path variables after non match
...
This commit makes sure the nested path variables are only commited to
the attributes when all predicates match.
Issue: SPR-16692
(cherry picked from commit 51325af )
2018-05-03 12:06:06 +02:00
Juergen Hoeller
5a98516f6c
Lenient fallback to plain getBundle call without Control handle
...
Issue: SPR-16776
2018-05-02 16:54:38 +02:00
Juergen Hoeller
30363c84bd
Consistent SpelEvaluationException messages in findAccessorForMethod
...
Issue: SPR-16762
2018-05-02 16:53:55 +02:00
Juergen Hoeller
fa27130b82
Upgrade to RxJava 2.1.13, Hibernate ORM 5.2.17, AspectJ 1.9.1
2018-05-02 16:32:55 +02:00
Juergen Hoeller
be4c07fc32
Expose FactoryBean's raw object on retrieval during post-processing
...
Issue: SPR-16783
(cherry picked from commit 9281f82 )
2018-05-02 16:32:18 +02:00
Juergen Hoeller
22f421cc51
Introspect originating bean definition as configuration class candidate
...
Issue: SPR-16756
(cherry picked from commit c8b6233 )
2018-05-02 16:31:57 +02:00
Juergen Hoeller
9dc538a7c6
Nullable HttpMethod parameter only on internal doExecute delegate
...
Issue: SPR-15540
(cherry picked from commit f8c2d7a )
2018-05-02 16:31:33 +02:00
Juergen Hoeller
d74a2730ec
SimpleClientHttpResponse catches any Exception on close
...
Issue: SPR-16773
(cherry picked from commit 21fad8e )
2018-05-02 16:07:22 +02:00
Juergen Hoeller
3e47f4564d
Fine-tuned assertions and related polishing in WebFlux builders
...
(cherry picked from commit 9bff5b4 )
2018-05-02 16:04:51 +02:00
Juergen Hoeller
a9548f93e4
Support for non-standard HTTP status in reactive ClientHttpResponse
...
Issue: SPR-16748
(cherry picked from commit a683472 )
2018-05-02 16:04:01 +02:00
Juergen Hoeller
f2e77c292d
Consistent target method resolution for event and caching expressions
...
Issue: SPR-16779
(cherry picked from commit eaff2c2 )
2018-05-02 16:02:46 +02:00
Juergen Hoeller
8b051ab06e
AopUtils.getMostSpecificMethod exposes dynamic proxy class methods
...
Includes efficient canApply check for IntroductionAwareMethodMatcher.
Issue: SPR-16757
(cherry picked from commit aa11721 )
2018-05-02 16:01:48 +02:00
Oleksandr Hasheniuk
5a1d7f9c4b
Improve performance of StringUtils#trimWhitespace
...
Issue: SPR-16766
(cherry picked from commit 6545cab )
2018-05-02 16:01:04 +02:00
Sebastien Deleuze
b55f69deb1
Support decoding Mono in Jaxb2XmlDecoder
...
Issue: SPR-16759
2018-05-02 11:57:40 +02:00
Rossen Stoyanchev
de1eb343e7
Polish WebSocketIntegrationTests
2018-05-01 14:26:44 -04:00
Rossen Stoyanchev
417bb302c3
ReactorNettyWebSocketSession implements close properly
...
Issue: SPR-16774
2018-05-01 12:05:20 -04:00
Rossen Stoyanchev
b0aa08a671
Consistent handling of URISyntaxException
...
Issue: SPR-16778
2018-04-30 21:05:08 -04:00
Sebastien Deleuze
9dc79982e2
Upgrade to Kotlin 1.2.41
...
Fixes KT-23973 critical regression
2018-04-30 10:48:23 +02:00
Stephane Nicoll
43f2334e82
Keep YAML entries that haven an empty array value
...
Prior to this commit, a YAML entry that define an empty array value was
lost. This commit makes sure to flag it with an empty String, which
corresponds as an empty comma separated list of entries in the
properties format.
Issue: SPR-16769
2018-04-29 11:15:53 +02:00
Nickloas
6c6e44b58e
Fix typo
...
Closes gh-1813
2018-04-28 10:52:03 +02:00
Johnny Lim
c6b60f0c00
Polish
2018-04-27 14:09:35 -04:00
sdeleuze
7aba6ca9d6
Fine tune WebFlux server logging verbosity
...
With this commit, WebFlux server uses warning instead of error log level
for request handling, and also just print the message instead of the
stacktrace which is mostly meaningless in reactive world.
Complementary to this change, Reactor Netty removed additional logging
as part of https://github.com/reactor/reactor-netty/issues/339 .
Issue: SPR-16688
2018-04-27 10:36:06 +02:00
nkjackzhang
dca77c0666
Fix broken anchor link in WebFlux refdoc
2018-04-27 08:49:51 +02:00
sdeleuze
df6e690e33
Reuse PartBodyStreamStorageFactory in SynchronossPartGenerator
...
Issue: SPR-16727
2018-04-26 11:01:17 +02:00
nkjackzhang
a702ef8074
Fix typos in Spring MVC refdoc
...
1. Consistent with "xml code" examples.
2. "xml()" is a static method and will use default builder config,
so use createXmlMapper(true) instead.
3. Fix mvc namespace tag typo.
2018-04-26 10:03:27 +02:00
Rossen Stoyanchev
f7376bdde3
Better assertion message in MockPart
...
Issue: SPR-16767
2018-04-25 10:00:18 -04:00
nkjackzhang
f9e31b503c
Fix typos
...
Closes gh-1806
2018-04-25 10:07:34 +02:00
hasheniuk
3551dd92fb
Fix typo
...
Closes gh-1804
2018-04-24 10:06:49 +02:00
Rossen Stoyanchev
c23297fe76
Add more detail to ISE in ServerEndpointExporter
...
Issue: SPR-16655
2018-04-23 17:04:16 -04:00
Rossen Stoyanchev
a5622d0dd2
Validate contextPath in RedirectView
...
Issue: SPR-16752
2018-04-23 15:21:33 -04:00
Brian Clozel
72cfe41f30
Disable HTTP Range support for InputStreamResource
...
Prior to this commit, the `AbstractMessageConverterMethodProcessor`
would fail to convert `InputStreamResource` to `ResourceRegion` as
expected, since the content length cannot be read without consuming the
stream. This is enforced by the `HttpRange` class.
Now the method processor would still try to output HTTP range response
headers to provide range support information. This step is using the
resource content length and reads the input stream, leading to
exceptions such as "IllegalStateException: InputStream has already been
read".
This commit improves the return type detection and excludes early
`InputStreamResource` return types. With those types, HTTP range support
is now completely disabled.
Issue: SPR-16754
(cherry picked from commit e9a8a5065b )
2018-04-23 18:40:15 +02:00
sdeleuze
4ff595e2bc
Upgrade Kotlin to 1.2.40
2018-04-23 15:31:31 +02:00
sdeleuze
2c766b9501
Enable KotlinScriptTemplateTests after KT-18833 fix
2018-04-23 15:31:31 +02:00
Dimitrios (Dimi) Liapis
2960a558d7
Fix typo
...
See gh-1803
2018-04-21 18:21:19 +02:00
Brian Clozel
d69a281e5c
Upgrade to Netty 4.1.24.Final
2018-04-21 09:31:29 +02:00
Rossen Stoyanchev
d3ed7b624d
In 5.0.x we don't have Flux/Mono error with Supplier
...
Issue: SPR-16726
2018-04-19 13:41:01 -04:00
Rossen Stoyanchev
66bd277671
Use StringDecoder to split SSE stream
...
ServerSentEventHttpMessageReader had logic to split on new lines
and buffer until an empty new line (start of a new event). To account
for random data chunking, it later re-assembled the lines for each
event and split again on new lines. However bufferUntil was still
unreliable a chunk may contain nothing but a newline, which doesn't
necessarily mean an empty newline in the overall SSE stream.
This commit simplifies the above by delegating the splitting of the
stream along newlines to StringDecoder.
Issue: SPR-16744
2018-04-19 11:38:43 -04:00
Rossen Stoyanchev
881343e928
Polish tests to use WebClient retrieve()
2018-04-19 11:38:43 -04:00
Daniel Kift
922fd1e785
Polish WebFlux reference documentation
2018-04-18 11:58:37 +02:00
nkjackzhang
ea8317a1f9
Fix a typo in @Nullable Javadoc
2018-04-18 11:55:13 +02:00
Rossen Stoyanchev
053ffe808f
Polish (minor) in AbstractMessageReaderArgumentResolver
2018-04-17 17:58:56 -04:00
Rossen Stoyanchev
daa2d37ad4
Avoid creating Exception instance if not needed
...
Issue: SPR-16726
2018-04-17 17:58:46 -04:00
Juergen Hoeller
f800df12e3
Correctly delegate to OrderUtils.getPriority for DecoratingProxy
...
Issue: SPR-16739
(cherry picked from commit 2f4010e )
2018-04-17 23:38:30 +02:00
Juergen Hoeller
26652a6b83
Avoid repeated superclass introspection in findAnnotation(Method,...)
...
Issue: SPR-16730
(cherry picked from commit d78e27f )
2018-04-17 17:06:31 +02:00
Juergen Hoeller
4cd43dc793
Workaround for generic parameter types on inner class constructors
...
Issue: SPR-16734
2018-04-17 15:32:03 +02:00
sdeleuze
91c8b62817
Make ResponseSpec.expectBody Kotlin extension usable
...
Prior to this commit, due to KT-5464 type inference issue there was not
proper way to provide body expectations with WebTestClient. This commit
provides a workaround by updating the existing Kotlin extension to
return a Kotlin compatible API.
Issue: SPR-15692
2018-04-17 14:58:12 +02:00
Juergen Hoeller
9d37c099a8
OperatorMatches flags misguided evaluation attempts as FLAWED_PATTERN
...
Issue: SPR-16731
(cherry picked from commit d4a55a2 )
2018-04-17 13:35:01 +02:00
Juergen Hoeller
eb573d8b9e
Restore original MethodMapTransactionAttributeSource matching rules
...
Issue: SPR-16733
(cherry picked from commit c5b524d )
2018-04-17 13:34:38 +02:00
Rossen Stoyanchev
b312a62f64
Selector header name is exposed for configuration
...
Issue: SPR-16732
2018-04-16 23:58:47 -04:00
Rossen Stoyanchev
567733d2a1
Restore handling of 0 bytes read
...
Issue: SPR-16728
2018-04-16 10:01:51 -04:00
Juergen Hoeller
0f91f4b960
Local XMLUnit dependency declarations with consistent version 2.5.1
...
Includes upgrade to Undertow 1.4.24.
(cherry picked from commit 0754833 )
2018-04-14 21:23:33 +02:00
Juergen Hoeller
c1385f52c2
Polishing
...
(cherry picked from commit de4ff4b)
2018-04-14 21:03:59 +02:00
Sam Brannen
c3bc125093
Suppress warning in SpringFailOnTimeoutTests
2018-04-14 16:44:47 +02:00
Juergen Hoeller
b5922f75bb
AspectJExpressionPointcut consistently resolves superinterface methods
...
Includes efficient check for same ClassLoader in ClassUtils.isVisible, efficient MethodMatchers check for IntroductionAwareMethodMatcher, and supertype method resolution in MethodMapTransactionAttributeSource.
Issue: SPR-16723
(cherry picked from commit b95e05d )
2018-04-14 15:49:55 +02:00
nkjackzhang
bbe850d33a
Fix typo in javadoc
...
Closes gh-1791
2018-04-13 13:16:40 +02:00
Juergen Hoeller
295929cc16
Cache-safety check for sibling loaders resolving the same classes
...
Issue: SPR-16714
2018-04-12 21:08:25 +02:00
Juergen Hoeller
4763154193
Consistent getTypeForFactoryMethod result for parameterized method
...
Issue: SPR-16720
(cherry picked from commit 6184c4e )
2018-04-12 21:08:14 +02:00
Juergen Hoeller
8f7e5e7c1a
Fine-tuned JCA MessageEndpoint exception logging and propagation
...
Issue: SPR-16717
(cherry picked from commit 8e1ecec )
2018-04-12 21:07:44 +02:00
Juergen Hoeller
cd79966c52
Revised reference example for linkable controller method signature
...
Issue: SPR-16710
(cherry picked from commit 7ee6130 )
2018-04-12 21:07:39 +02:00
Brian Clozel
7631aa6062
Switch to Reactor Bismusth SNAPSHOTs
2018-04-12 17:01:24 +02:00
Sam Brannen
02e09098e4
Expand scope of SpringFailOnTimeoutTests
...
Issue: SPR-16716
2018-04-12 11:00:45 +02:00
Igor Suhorukov
230c8f93e8
Throw exception from user code in SpringFailOnTimeout even if a timeout occurs
...
Issue: SPR-16717
2018-04-12 11:00:35 +02:00
Rossen Stoyanchev
c4296fa785
Remove write pausing in Undertow response
...
Using the simple example shown in the ticket but switching from
Mono<String> to Flux<String> (and 5,000,000 onNext calls) shows that
constant pausing causes significant overhead and is not worth the
trouble vs ignoring the onWritePossible in REQUESTED state.
Issue: SPR-16702
2018-04-11 14:37:35 -04:00
Rossen Stoyanchev
ab78854f1b
Avoid inifinite recursion in UndertowServerHttpResponse
...
Undertow does not provide a way to check if we can write so with the
current implementation of isWritePossible, deep recursion can occur
when writing slows down. We now use a flag to keep track of write
ChannelListener callbacks.
This commit also addresses a related issue in
AbstractListenerWriteProcessor that went undected since #3c2d186
where after a large (single) buffer that is not written fully, the
completion signal is processed before the all data is written.
Issue: SPR-16702
2018-04-11 14:37:19 -04:00
Juergen Hoeller
96a465a749
Upgrade to Tomcat 8.5.30
2018-04-11 16:27:34 +02:00
Juergen Hoeller
861b9dc938
Proper exception for controller method return types that do not work with MvcUriComponentsBuilder (e.g. final classes)
...
Includes direct use of ControllerMethodInvocationInterceptor for return type Object, avoiding the attempt to generate an Object subclass.
Issue: SPR-16710
(cherry picked from commit f28a5d0 )
2018-04-11 16:27:14 +02:00
sdeleuze
eda2720471
Add default ctor to Reactive UrlBasedCorsConfigurationSource
...
Issue: SPR-16712
2018-04-11 14:41:06 +02:00
Juergen Hoeller
7fe28ce8b7
Upgrade to Netty 4.1.23 and TestNG 6.14.3
2018-04-11 13:29:37 +02:00
Juergen Hoeller
de8c4179fb
Polishing
2018-04-11 13:29:15 +02:00
Juergen Hoeller
433877e5cb
AnnotationUtils.getAnnotation non-null check for synthesizeAnnotation
...
Issue: SPR-16708
(cherry picked from commit da80502 )
2018-04-11 13:28:53 +02:00
Juergen Hoeller
ffa4f03fd4
Unwind _TestTypes to top-level public test classes in AOP test suite
...
(cherry picked from commit cdaa247 )
2018-04-11 13:28:39 +02:00
Juergen Hoeller
7068282e1f
Remove bogus DataSource test from JpaTransactionManagerTests
...
(cherry picked from commit ff53d78 )
2018-04-11 13:28:33 +02:00
sdeleuze
3879179927
Document why "charset=UTF-8" is specified for JSON
...
Issue: SPR-14715
2018-04-09 12:01:21 +02:00
KwonJH
007da2a58d
Fix Java 9 link in the reference documentation
2018-04-09 11:13:25 +02:00
sdeleuze
1be585562f
Improve Kotlin + bean validation documentation
...
Issue: SPR-16701
2018-04-09 10:18:06 +02:00
Rossen Stoyanchev
7a896d7d80
TestDispatcherServlet unwraps to find mock request
...
Issue: SPR-16695
2018-04-06 11:04:29 -04:00
sdeleuze
be1aaa06e7
Cleanup settings.gradle pluginManagement configuration
2018-04-04 11:11:38 +02:00
sdeleuze
2fa060f0e9
Fix Dokka reference to Spring Framework's Javadoc
...
This commit specifies a local packageListUrl and defines that dokka task
must be executed after the api task in order to be able to build KDoc
during the release process when the Spring Framework's Javadoc is not
published yet.
Issue: SPR-16687
2018-04-04 11:11:17 +02:00
Stephane Nicoll
4d2d889142
Initiate 5.0.x branch
2018-04-03 23:07:03 +02:00
Spring Buildmaster
4b9bc50fd0
Release version 5.0.5.RELEASE
2018-04-03 20:11:16 +00:00
Stephane Nicoll
3fb8d16ff7
Temporarily remove reference to Spring Framework's Javadoc
...
Issue: SPR-16687
2018-04-03 21:14:49 +02:00
Juergen Hoeller
40d5e7cc80
Upgrade to AspectJ 1.9 GA
...
Issue: SPR-16686
2018-04-03 17:43:09 +02:00
Stephane Nicoll
7be4193933
Upgrade to Reactor Bismuth-SR8
2018-04-03 15:45:36 +02:00
Juergen Hoeller
aa0face9a1
Upgrade to RxJava 1.3.8 and Rhino 1.7.9
2018-04-03 15:18:25 +02:00
Juergen Hoeller
475c4d4425
Polishing
2018-04-03 12:24:00 +02:00
Juergen Hoeller
9601d4bb5b
Revised mime.types file with cpp extension and updated modification docs
...
Issue: SPR-16678
2018-04-03 12:23:09 +02:00
Juergen Hoeller
5d0700b936
AnnotationUtils.annotatedInterfaceCache available as deprecated field
...
Issue: SPR-16675
2018-04-03 12:21:03 +02:00
Juergen Hoeller
6102715b8d
Consistent treatment of proxy classes and interfaces for introspection
...
Issue: SPR-16675
Issue: SPR-16677
2018-04-03 02:42:41 +02:00
Rossen Stoyanchev
65fdd0efeb
[docs] Updates for exception handling in web sections
...
Issue: SPR-16394
2018-04-02 00:51:14 -04:00
Rossen Stoyanchev
9dd3cd98ac
[docs] Move Filters section under Reactive Spring Web
...
Issue: SPR-16394
2018-04-02 00:50:56 -04:00
Juergen Hoeller
cc379f1cc7
Polishing
2018-04-01 12:57:19 +02:00
Juergen Hoeller
666037ec5c
Pointcut checking directly against superclass in case of CGLIB subclass
...
Issue: SPR-16675
2018-04-01 12:57:02 +02:00
Juergen Hoeller
66a3a82fb3
Avoid reference to HandlerMethod class in ServerErrorException
...
This breaks the package dependency cycle between web.server/web.method and makes ServerErrorException more generally applicable. Includes deprecation of the plain reason constructor variant, in favor of providing a Method or MethodParameter context (which MatrixVariableMethodArgumentResolver does now).
2018-04-01 00:21:15 +02:00
Juergen Hoeller
97735e4ffc
Proper references to JDK 9+ (including JDK 10) in build comments
2018-04-01 00:07:06 +02:00
Juergen Hoeller
28ea718d2d
Build setup allows for JDK 10 as source/test target compatibility
...
Includes upgrade to Groovy 2.4.15 and HtmlUnit 2.30.
Issue: SPR-16390
2018-03-31 23:17:31 +02:00
Juergen Hoeller
bc07a54075
Clear AnnotationUtils cache after context refresh (along with others)
...
Issue: SPR-16675
2018-03-31 23:08:30 +02:00
Juergen Hoeller
8a9321652d
Refined javadoc
2018-03-31 23:07:08 +02:00
Rossen Stoyanchev
d9e17a62ce
Refine SyncInvocableHandlerMethod error handling
...
Ensure the error is wrapped as ServerErrorException
2018-03-31 12:06:24 -04:00
Juergen Hoeller
912c270f2b
Polishing
2018-03-31 17:49:21 +02:00
Rossen Stoyanchev
4454ffd2b1
Replace remaining use of block operator
2018-03-31 11:18:38 -04:00
Juergen Hoeller
129c05bcff
Comprehensively cache annotated methods for interfaces and superclasses
...
Issue: SPR-16675
2018-03-31 15:12:02 +02:00
Stephane Maldini
b8d32095a9
workaround multipart integration test using blocking receive inside netty thread
2018-03-30 15:43:11 -07:00
Juergen Hoeller
6393e5ce0c
Consistent Ordered.LOWEST_PRECEDENCE declarations for default order
2018-03-31 00:20:44 +02:00
Juergen Hoeller
4da27c2a73
Avoid unnecessary introspection on methods and meta-annotations
...
Issue: SPR-16667
2018-03-31 00:18:14 +02:00
Rossen Stoyanchev
b1048975d2
Minor updates based on PR#1058
...
The original repo no longer exists:
https://github.com/spring-projects/spring-framework/pull/1058
2018-03-30 13:36:20 -04:00
Kazuki MATSUDA
d232fffa63
Use whenComplete since (null) return value not needed
2018-03-30 11:07:46 -04:00
Bian Jiaping
8f525f07e9
Fix typos, formatting and escaping in reference
...
Note: Some symbol combinations (including <=) serve as textual symbol
replacements in AsciiDoc.
http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#text-replacement
2018-03-30 10:06:33 -04:00
Juergen Hoeller
22a8a668c9
AnnotationTypeFilter assumes no custom annotations on common Java types
...
Issue: SPR-16667
2018-03-30 15:31:43 +02:00
Juergen Hoeller
78681c6369
JndiRmiServiceExporter still calls PortableRemoteObject when available
...
Issue: SPR-16670
2018-03-30 15:19:38 +02:00
Juergen Hoeller
0bc01fcd55
Polishing
2018-03-30 13:42:23 +02:00
Juergen Hoeller
7a8d41e5d6
Extended set of common classes and language interfaces in ClassUtils
...
Issue: SPR-16667
2018-03-30 13:41:22 +02:00
Johnny Lim
8dd0974e2f
Rename SingleColumnRowMapperTest to align with the other tests
2018-03-30 12:28:16 +02:00
Sam Brannen
e5096be660
Polishing
2018-03-30 12:23:28 +02:00
Sam Brannen
f79562f8d1
Introduce tests for generics & @Nested test classes
2018-03-30 12:12:21 +02:00
Sam Brannen
a6c45f0cd9
Polishing
2018-03-30 11:45:28 +02:00
Rossen Stoyanchev
240d6f52c9
Replaces rather than prepend contextPath
...
Issue: SPR-16650
2018-03-29 18:17:29 -04:00
Juergen Hoeller
d553ddc5b3
Nullability refinements (based on IntelliJ IDEA 2018.1 introspection)
...
Issue: SPR-15756
2018-03-29 23:50:17 +02:00
Juergen Hoeller
1cc513d7db
Consistent to/cc/bcc array handling and revised hashCode without text
...
Issue: SPR-16671
2018-03-29 23:44:04 +02:00
Juergen Hoeller
9a722b4558
Pass type name into PreparedStatement.setNull in case of Types.OTHER
...
Issue: SPR-16669
2018-03-29 23:43:53 +02:00
igor-suhorukov
93abe0e94b
All branches in a conditional structure should not have exactly the same implementation
2018-03-29 23:33:50 +02:00
igor-suhorukov
ab96bb5428
Remove redundant check
2018-03-29 23:33:38 +02:00
igor-suhorukov
c1ff97e2a8
Short-circuit logic should be used in boolean contexts
2018-03-29 23:33:22 +02:00
Rossen Stoyanchev
dd96c873e3
Improve docs on forwarded headers
...
Issue: SPR-16660
2018-03-29 16:11:01 -04:00
Rossen Stoyanchev
a546cf0a3b
Reject invalid forwarded headers
...
Issue: SPR-16660
2018-03-29 15:28:34 -04:00
Thor Andreas Rognan
5fb4c8254f
Fix inclusion of license in jar
2018-03-29 12:30:28 -04:00
Rossen Stoyanchev
30b63a71bd
Switch to Bismuth snapshots
2018-03-29 12:28:05 -04:00
Sam Brannen
9244090ba0
Support DI of individual constructor args in @Nested tests
...
Prior to this commit it was impossible to have an individual
constructor argument in a @Nested (i.e., inner) test class injected via
@Autowired, @Qualifier, or @Value.
This is due to a bug in javac on JDK versions prior to 9, whereby
annotation lookups performed directly via the
java.lang.reflect.Parameter API fail for inner class constructors.
Specifically, the parameter annotations array in the compiled byte code
for the user's test class excludes an entry for the implicit enclosing
instance parameter for an inner class constructor.
This commit introduces a workaround in ParameterAutowireUtils for this
off-by-one error by transparently looking up annotations on the
preceding Parameter object (i.e., index - 1). In addition, this commit
relies on the change recently introduced in MethodParameter in order to
compensate for the same JDK bug (see SPR-16652).
Issue: SPR-16653
2018-03-29 17:47:45 +02:00
Sam Brannen
17703e5dde
Polishing
2018-03-29 17:45:55 +02:00
Sam Brannen
7c28152c13
Introduce ClassUtils.isInnerClass() utility method
2018-03-29 17:45:25 +02:00
Juergen Hoeller
b165475eb6
Polishing
2018-03-29 16:05:52 +02:00
Juergen Hoeller
08dad4e3ac
Consistent references to primitive types (in alphabetical order)
2018-03-29 16:05:00 +02:00
Juergen Hoeller
695bf2961f
Consistent trace logging in PathResourceResolver
...
Issue: SPR-16616
2018-03-29 16:04:33 +02:00
Juergen Hoeller
53d01392d7
Workaround for inner class constructor parameter annotation bug in javac
...
Issue: SPR-16652
2018-03-29 15:45:02 +02:00
Juergen Hoeller
3ac46da22f
Correct description for doWithLocalFields
...
Issue: SPR-16658
2018-03-29 15:42:30 +02:00
nkjackzhang
82cb5dbf2b
NamedParameterUtils.parseSqlStatement should parse :{x} style parameter correctly
...
In my opinion, we should parse ":{x}" style parameter as "x" is parameter using "NamedParameterUtils.parseSqlStatement",
so the condition "j - i > 2" is the correct condition, not "j - i > 3", because if "i" is the index of
":" in ":{x}", and "j" is the index of "}" in ":{x}", "j - i == 3" is true.
Also add a test case for SPR-16663.
2018-03-29 15:00:25 +02:00
Stephane Nicoll
f4813f5b4c
Merge pull request #1759 from igor-suhorukov
...
* pr/1759:
Nested "enum"s should not be declared static
2018-03-29 09:13:18 +02:00
igor-suhorukov
8d2f64fe2d
Nested "enum"s should not be declared static
...
Closes gh-1759
2018-03-29 09:12:03 +02:00
Rossen Stoyanchev
f9e6ea5482
MvcResult returns asyncResult after asyncDispatch
...
Issue: SPR-16648
2018-03-28 22:15:16 -04:00
igor-suhorukov
e6020ed377
avoid unnecessary autoboxing
2018-03-28 23:48:12 +02:00
Rossen Stoyanchev
b8d72516e1
Update link to WebSocket spec issue
2018-03-28 15:54:57 -04:00
Sam Brannen
4b9e3a9211
Introduce failing test for SPR-16652
...
This commit introduces tests for looking up annotations on parameters
in constructors for nested and inner classes via Spring's
MethodParameter abstraction.
The test for an inner class is currently disabled since it fails on
JDK 8. See JIRA issue for details.
Issue: SPR-16652
2018-03-28 17:42:55 +02:00
Juergen Hoeller
d95bbb6b1b
Test for hasError keeping body available in case of unknown status code
...
Issue: SPR-16604
2018-03-28 12:16:03 +02:00
Juergen Hoeller
b2d87abcbb
Polishing
2018-03-28 12:06:38 +02:00
Stephane Nicoll
d1a0b8d53f
Clarify the format supported by @PropertySource
...
Issue: SPR-16563
2018-03-28 11:03:53 +02:00
Rossen Stoyanchev
5861e9685b
Always specify charset for form data requests
...
Issue: SPR-16613
2018-03-27 19:56:09 -04:00
Rossen Stoyanchev
e00384a6fd
MimeTypeUtils trims parameter names / values
...
Issue: SPR-16630
2018-03-27 19:56:09 -04:00
igor-suhorukov
4aae6a6dda
Use Map.forEach instead of manual Map.Entry iteration wherever possible SPR-16646
2018-03-28 01:09:03 +02:00
Rossen Stoyanchev
224d52e032
Refine RequestedContentTypeResolver contract
...
Consistently return "*/*" if no media types were requested rather than
an empty list. Existing code has to check for both in any case to see
if nothing was requested.
Issue: SPR-16624
2018-03-27 16:54:25 -04:00
Rossen Stoyanchev
f3994467c4
Refine ContentNegotiationStrategy contract
...
Consistently return "*/*" if no media types were requested rather than
an empty list. Existing code has to check for both in any case to see
if nothing was requested.
Issue: SPR-16624
2018-03-27 16:54:19 -04:00
Juergen Hoeller
9a27bc9b3e
Upgrade to Jackson 2.9.5 and Hibernate Validator 6.0.9
2018-03-27 17:33:34 +02:00
Juergen Hoeller
c072c6deb5
Refined javadoc for SimpleEvaluationContext and its builder features
...
Issue: SPR-16588
2018-03-27 17:07:03 +02:00
Juergen Hoeller
98ad23bef8
Consistent logging of encoded path evaluation failure
...
Issue: SPR-16616
2018-03-27 17:04:59 +02:00
Sam Brannen
75f70b269e
Introduce @Nested tests with constructor injection
...
This commit introduces @Nested tests to verify support for constructor
injection when using the SpringExtension.
One of the tests is disabled on Java 8 due to a bug in javac that was
first fixed in JDK 9.
See https://github.com/junit-team/junit5/issues/1345 for details.
2018-03-27 16:45:26 +02:00
Sam Brannen
b6e9d1c9ad
Publish SpEL content in Reference Manual
2018-03-27 12:48:37 +02:00
Juergen Hoeller
13356a7ee2
Consistent encoded path evaluation in reactive ResourceWebHandler and co
...
Issue: SPR-16616
2018-03-27 01:00:42 +02:00
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
2018-03-27 00:38:32 +02:00
Juergen Hoeller
10cb2ccaef
Avoid triggering lazy resolution in MultipartResolver.cleanupMultipart
...
Issue: SPR-16640
2018-03-27 00:25:05 +02:00
Juergen Hoeller
24aae2e104
Defensive containsSingleton cache guard within getObjectFromFactoryBean
...
Issue: SPR-16625
2018-03-27 00:24:03 +02:00
Juergen Hoeller
f59ea610df
Simplified separator check within isInvalidEncodedPath
...
Issue: SPR-16616
2018-03-27 00:23:36 +02:00
Juergen Hoeller
c60cefa331
SimpleEvaluationContext.Builder withRootObject/withTypedRootObject
...
Issue: SPR-16588
2018-03-27 00:22:54 +02:00
Rossen Stoyanchev
19875d8e3f
Document WebFlux concurrency model
...
Issue: SPR-16538
2018-03-26 09:59:38 -04:00
Juergen Hoeller
c441d60d1d
Upgrade to Kotlin 1.2.31 and RxJava 2.1.12
...
Includes H2 1.4.197 and Selenium HtmlUnit Driver 2.29.3 as well.
2018-03-24 16:48:53 +01:00
Juergen Hoeller
8d5587fe4f
Consistent thread-safe iteration in DefaultSingletonBeanRegistry
...
Issue: SPR-16620
2018-03-24 16:30:51 +01:00
Juergen Hoeller
9128226da4
SimpleEvaluationContext.Builder withMethodResolvers/withInstanceMethods
...
Includes DataBindingMethodResolver as ReflectiveMethodResolver subclass.
Issue: SPR-16588
2018-03-24 16:30:37 +01:00
Rossen Stoyanchev
a989ea0867
Polish Synchronoss message reader
...
Issue: SPR-16639
2018-03-24 08:59:16 -04:00
Rossen Stoyanchev
729d0d2796
Property handling of Void.class in WebClient retrieve()
...
Issue: SPR-16636
2018-03-23 22:21:06 -04:00
Rossen Stoyanchev
ab2410c754
MimeTypeUtils uses SecureRandom
...
The prevailing current wisdom is to use the default constructor for
secure and let it pick the best algorithm for the OS.
On Java 8 (Oracle), Linux this results in "NativePRNG" which uses
/dev/random (potentially blocking) for the initial seed, and
/dev/urandom (non-blocking) for subsequent calls to nextInt.
Issue: SPR-16635
2018-03-23 21:45:41 -04:00
Rossen Stoyanchev
f6ea7407e6
Improve docs on client-side multipart requests
...
Issue: SPR-16635
2018-03-23 21:44:27 -04:00
Rossen Stoyanchev
d007c25585
Improve docs on RestTemplate
...
In preparation for adding multipart content.
Issue: SPR-16635
2018-03-23 21:44:18 -04:00
Rossen Stoyanchev
0af847c01c
ServerSentEventHttpMessageReader internal refactoring
...
Eliminate use of .block() which Reactor now flags as illegal on
schedulers where that's not expected.
2018-03-23 19:01:11 -04:00
Juergen Hoeller
b2f900e518
Upgrade to Hibernate ORM 5.2.16 and 5.1.13
2018-03-23 17:36:55 +01:00
Juergen Hoeller
f00afe3247
Use (Concurrent)Map.computeIfAbsent for lazy nested collection creation
2018-03-23 17:36:23 +01:00
Juergen Hoeller
8d8e218b52
Consistent FactoryBean cache visibility in concurrent creation scenarios
...
Issue: SPR-16625
Issue: SPR-16627
2018-03-23 17:34:33 +01:00
Juergen Hoeller
937cd48fcb
Contextual BeanCreationException in case of depending on a missing bean
...
Issue: SPR-16628
2018-03-23 17:32:08 +01:00
Juergen Hoeller
38dcd179d5
Guidance of which PropertyAccessors to use with SimpleEvaluationContext
...
Issue: SPR-16588
2018-03-23 17:29:21 +01:00
Rossen Stoyanchev
94924566d5
Minor typo in docs
2018-03-23 11:12:54 -04:00
Rossen Stoyanchev
3b4c7a40c0
Improve docs on @Controller methods in STOMP section
...
Issue: SPR-16631
2018-03-23 10:54:53 -04:00
Arjen Poutsma
c56317928f
Add formData() and multipartData() to ServerRequest
...
Issue: SPR-16551
2018-03-23 10:00:30 +01:00
Rossen Stoyanchev
1b83f129a2
ReactorNettyTcpClient uses elastic pool
...
Issue: SPR-16626
2018-03-22 20:22:07 -04:00
Juergen Hoeller
a8688880b1
Upgrade to RxJava 2.1.11 and 1.3.7 as well as Jetty 9.4.9
2018-03-22 18:10:29 +01:00
Juergen Hoeller
51c57d77d9
SimpleEvaluationContext with dedicated factory methods for common cases
...
Aligned with DataBindingPropertyAccessor and shown in ref doc examples.
Issue: SPR-16588
2018-03-22 18:09:27 +01:00
Rossen Stoyanchev
025ee83403
Update CONTRIBUTING.md
2018-03-22 10:57:19 -04:00
sn42
f18d8c31e2
Correct link caption.
2018-03-22 13:21:57 +01:00
Christoph Dreis
d3a0a8e007
Use Collection.removeIf() where possible ( #1747 )
...
Use Collection.removeIf() where possible
Issue: SPR-16622
2018-03-22 11:36:11 +01:00
Rossen Stoyanchev
e0de9126ed
Re-use EvaluationContext in DefaultSubscriptionRegistry
...
Rather than create a new EvaluationContext instance per evaluation, we
now create a statically shared instance, without the root object in it,
and re-use it for all evalutations.
2018-03-21 23:29:58 -04:00
Rossen Stoyanchev
19293b9847
SimpleEvaluationContext builder
...
Issue: SPR-16588
2018-03-21 22:36:08 -04:00
Juergen Hoeller
b5511645b8
DataBindingPropertyAccessor with factory methods (forReadOnlyAccess etc)
...
Includes configurable write support at ReflectivePropertyAccessor level.
Issue: SPR-16588
2018-03-22 00:03:06 +01:00
Rossen Stoyanchev
94c525cdc8
Polish @RequestPart support
2018-03-21 18:26:13 -04:00
Juergen Hoeller
c1405ef140
Polishing
2018-03-21 16:12:42 +01:00
Juergen Hoeller
ba5ef6456f
WebFluxResponseStatusExceptionHandler for @ResponseStatus introspection
...
The web.server package is quite low-level and should not depend on web.bind in order to avoid a dependency cycle. Extracting the introspection of the ResponseStatus annotation into a WebFlux-level subclass resolves the cycle.
Issue: SPR-16567
2018-03-21 16:12:32 +01:00
Juergen Hoeller
639d2c6fe7
Polishing
2018-03-21 12:39:15 +01:00
Juergen Hoeller
1fd5935afa
SimplePropertyAccessor with configurable write support
...
Issue: SPR-16588
2018-03-21 12:06:40 +01:00
Juergen Hoeller
91b803a231
Consistent encoded path evaluation in ResourceHttpRequestHandler and co
...
Issue: SPR-16616
2018-03-21 12:02:13 +01:00
Rossen Stoyanchev
f9df8c738a
Avoid inifinite recursion in UndertowServerHttpRequest
...
Undertow does not provide a way to check if data is available to read
but instead we have to try to read and see if any data is returned.
This makes it impossible to implement checkOnDataAvailable without
trying to read and that can lead to infinite recursion like this:
...
UndertowServerHttpRequest$RequestBodyPublisher.checkOnDataAvailable(UndertowServerHttpRequest.java:156)
AbstractListenerReadPublisher.changeToDemandState(AbstractListenerReadPublisher.java:177)
AbstractListenerReadPublisher.access$900(AbstractListenerReadPublisher.java:47)
AbstractListenerReadPublisher$State$4.onDataAvailable(AbstractListenerReadPublisher.java:319)
AbstractListenerReadPublisher.onDataAvailable(AbstractListenerReadPublisher.java:85)
UndertowServerHttpRequest$RequestBodyPublisher.checkOnDataAvailable(UndertowServerHttpRequest.java:156)
This commit prevent the call to checkOnDataAvailable() when switching
states from READING->DEMAND which implies we exited the readAndPublish
loop because there was no more data to read.
Issue: SPR-16545
2018-03-20 17:21:33 -04:00
Rossen Stoyanchev
88a17a4b10
Reactor2TcpClient constructor with address supplier
...
Issue: SPR-12452
2018-03-20 12:21:45 -04:00
Rossen Stoyanchev
0e28bee0f1
Clean duplicate separators in resource URLs
...
Most Servlet containers do this anyway, but not all, and not
consistently for forward and backslashes.
Issue: SPR-16616
2018-03-19 17:16:03 -04:00
Juergen Hoeller
fdd756ce8a
Upgrade to Log4J 2.11
2018-03-19 20:39:54 +01:00
Juergen Hoeller
442ddb0845
Correct documentation of default HttpMessageConverters in RestTemplate
...
Issue: SPR-7885
2018-03-19 20:38:14 +01:00
Rossen Stoyanchev
2ff35daf9b
Add test case based on SPR-16615
2018-03-19 13:32:10 -04:00
Rossen Stoyanchev
26bb3a0893
Improve docs on enabling Servlet 3 multipart
2018-03-19 11:20:08 -04:00
Rossen Stoyanchev
8651b8d4c1
Show use of RequestEntity rather than HttpEntity
...
Issue: SPR-16608
2018-03-19 08:57:01 -04:00
Juergen Hoeller
99399084a6
Consistent Future check (even if typically encountering RunnableFuture)
...
Issue: SPR-16607
2018-03-19 12:42:49 +01:00
Juergen Hoeller
578c04ea17
Consistent table declarations (including fix for disarranged FTL macros)
...
Issue: SPR-16612
2018-03-19 12:41:22 +01:00
Juergen Hoeller
702b27e1e4
Polishing
2018-03-19 12:05:04 +01:00
Juergen Hoeller
2c7efbb9d0
Deprecate TableMetaDataContext.getSimulationQueryForGetGeneratedKey
2018-03-19 12:04:51 +01:00
Juergen Hoeller
b7c423813d
CallMetaDataContext handles 'procedureColumnResult' as return parameter
...
Issue: SPR-16611
2018-03-19 12:04:15 +01:00
Juergen Hoeller
3c1adf7f6a
ThreadPoolTaskExecutor/Scheduler cancels remaining Futures on shutdown
...
Issue: SPR-16607
2018-03-19 01:45:22 +01:00
Wang Jingyu
9d63f805b3
Fix AsciiDoc typos in AOP documentation ( #1743 )
...
* Fix AsciiDoc typos in AOP documentation
* Polish formatting
2018-03-17 17:17:41 +01:00
Rossen Stoyanchev
30583a62cf
Fix Class isAssignableFrom checks for Resource conversion
...
Issue: SPR-16606
2018-03-16 16:18:05 -04:00
Rossen Stoyanchev
842c29103f
MultipartBodyBuilder supports PublisherEntity as input
...
Issue: SPR-16601
2018-03-16 16:18:05 -04:00
Rossen Stoyanchev
313c6cef32
Polish
2018-03-16 16:18:05 -04:00
Juergen Hoeller
4fef1fe820
Polishing
2018-03-16 18:49:12 +01:00
Juergen Hoeller
914b2470dc
Scope annotation in class hierarchies vs XML bean definition inheritance
...
Issue: SPR-16602
2018-03-16 18:49:00 +01:00
Arjen Poutsma
b31d55dfce
Deprecated ClientRequest.method in favor of ClientRequest.create
...
The former method clashed with the ClientRequest.method() getter.
2018-03-16 17:27:29 +01:00
Arjen Poutsma
04c2a2990d
Provide simple way to create ClientResponse
...
This commit introduces ClientResponse.Builder, an easier way to create a
ClientResponse from an existing response, or from scratch.
Issue: SPR-16553
2018-03-16 17:27:29 +01:00
Juergen Hoeller
f8588e364a
AcceptHeaderLocaleResolver keeps language match among supported locales
...
Issue: SPR-16599
2018-03-16 14:17:50 +01:00
Rossen Stoyanchev
7de2650a70
Drop @WebServlet annotation
...
Issue: SPR-16591
2018-03-16 00:14:54 -04:00
Rossen Stoyanchev
72bbb2619d
Commit actions are (properly) deferred
...
Issue: SPR-16597
2018-03-15 23:17:57 -04:00
Rossen Stoyanchev
541ee13934
Add bufferContent option to MockRestServiceServer
...
Issue: SPR-14694
2018-03-15 22:13:44 -04:00
Rossen Stoyanchev
f7e75a5b82
Polish MockRestServiceServer client tests
2018-03-15 22:13:43 -04:00
Rossen Stoyanchev
8d51d6769b
[docs] Polish reactive types section
2018-03-15 22:13:43 -04:00
Juergen Hoeller
2096676b3f
Upgrade to Apache Johnzon 1.1.7 and JRuby 9.1.16
2018-03-15 15:43:45 +01:00
Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
2018-03-15 15:17:55 +01:00
Rossen Stoyanchev
b8d94f8a20
Improve WebFlux support for response status exceptions
...
Support @ResponseStatus annotated exceptions.
Supported root cause exceptions with response status information.
Issue: SPR-16567
2018-03-14 20:07:00 -04:00
Rossen Stoyanchev
cb8c6e3251
Add SimpleEvaluationContext
...
Issue: SPR-16588
2018-03-14 15:53:19 -04:00
Juergen Hoeller
58011f71e9
Consistent assertions for template method result vs servlet registration
2018-03-14 18:55:50 +01:00
Juergen Hoeller
c4e9ce8d0e
Clarified repeatable PropertySource annotation vs use as meta-annotation
...
Issue: SPR-16592
2018-03-14 18:53:50 +01:00
Juergen Hoeller
3988dd9ebb
Polishing
2018-03-14 17:24:58 +01:00
Juergen Hoeller
356ef45e99
ConcurrentReferenceHashMap properly handles getOrDefault for null values
...
Issue: SPR-16584
2018-03-14 17:17:04 +01:00
Stephane Nicoll
cc12afdea2
Add support for deferred import selector group
...
This commit allows several DeferredImportSelector instances to be
grouped and managed in a centralized fashion. This typically allows
different instances to provide a consistent ordered set of imports to
apply.
Issue: SPR-16589
2018-03-13 16:52:26 -04:00
Sam Brannen
5f4d5f17f7
Polishing
2018-03-13 16:48:52 +01:00
Sam Brannen
2c2ce55f47
Support target type in JsonPath assertions for MockMvc results
...
This commit picks up where SPR-14498 left off by adding support for an
explicit target type when using JsonPath to perform an assertion against
the response content using a Hamcrest Matcher.
Specifically, there is a new overloaded value(Matcher<T>, Class<T>)
method in JsonPathResultMatchers for use with Hamcrest matchers where
the target type (i.e., Class<T>) can be specified.
Issue: SPR-16587
2018-03-13 15:55:39 +01:00
Bronwyn Perry-Huston
d64f2eb038
Add JSON matcher to assert on request body
...
Support asserting JSON regardless of order and formatting.
Based on same JsonExpectationHelper used in ContentResultMatchers.
Issue: SPR-13919
2018-03-13 12:27:05 +01:00
Andy Clement
1db7e02de3
Modify SpEL code gen to take account of null safe refs
...
With this change the code generation for method and property
references is modified to include branching logic in the
case of null safe dereferencing (?.). This is complicated
by the possible usage of primitives on the left hand side
of the dereference. To cope with this case primitives are
promoted to boxed types when this situation occurs enabling
null to be passed as a possible result.
Issue: SPR-16489
2018-03-12 15:58:59 -07:00
Juergen Hoeller
41730220f4
InterceptingClientHttpRequest adapts to StreamingHttpOutputMessage
...
Issue: SPR-16582
2018-03-12 22:31:48 +01:00
Juergen Hoeller
499128dae7
URIEditor uses straight ClassPathResource.getURI() access
...
Issue: SPR-16581
2018-03-12 22:26:18 +01:00
sdeleuze
36a222acd5
Take into account the MimeType's charset in Jackson encoder
...
Notice that per specification, only Unicode is supported
(UTF8, UTF16_BE, UTF16_LE, UTF32_BE, UTF32_LE).
Issue: SPR-16539
2018-03-12 21:54:53 +01:00
Juergen Hoeller
99bb97388e
Upgrade to Tomcat 8.5.29 and Selenium 3.11
2018-03-12 20:42:11 +01:00
Juergen Hoeller
04a8f81710
Polishing
2018-03-12 20:42:03 +01:00
Juergen Hoeller
967a2ef2d2
Validate Class attributes as well as Class array attributes
...
Issue: SPR-16564
2018-03-12 20:41:44 +01:00
Juergen Hoeller
50e980c02f
Validate declared annotations before deciding between reflection and ASM
...
Issue: SPR-16564
2018-03-12 13:40:26 +01:00
Juergen Hoeller
1b1a69a144
SimpleAliasRegistry fully synchronizes registerAlias and removeAlias
...
Issue: SPR-16577
2018-03-12 13:27:48 +01:00
Sam Brannen
42b4f6e1ff
Clean up warnings and dead code in spring-core module
2018-03-11 14:13:30 +01:00
Sam Brannen
2575c26020
Clean up warnings and dead code in spring-webflux module
2018-03-11 13:44:27 +01:00
Stephane Nicoll
fb7c4a3066
Polish
2018-03-11 10:26:41 +01:00
Sam Brannen
1fa1f2b58a
Delete unused import
2018-03-10 16:56:33 +01:00
Rossen Stoyanchev
e228ded589
Include form and multipart data in WebFlux.fn chapter
...
Issue: SPR-16547
2018-03-09 21:16:19 -05:00
Rossen Stoyanchev
a3d8c60aba
Restructure functional endpoints chapter
...
This commit restructures the existing content to separate out Overview
content into its own section, and also introduces more formal structure
where reference type content can be expanded over time.
Issue: SPR-16547
2018-03-09 21:16:19 -05:00
Rossen Stoyanchev
3653a37e27
Polish tests
2018-03-09 21:16:18 -05:00
Sam Brannen
107f8bb5fd
Polishing
2018-03-09 18:19:30 +01:00
Sam Brannen
00fea23e6b
Introduce test for WebTestClient with RegEx-based JsonPath
2018-03-09 14:51:37 +01:00
Juergen Hoeller
2a3f90dc7b
Upgrade to Hibernate ORM 5.2.15 and Hibernate Validator 6.0.8
2018-03-09 09:40:12 +01:00
Juergen Hoeller
df8061494c
TransactionTemplate equality for same transaction manager only
...
Issue: SPR-16572
2018-03-09 09:39:45 +01:00
Juergen Hoeller
cf74b1b8be
Consistent result synchronization in WebAsyncManager
...
Issue: SPR-16571
2018-03-09 09:03:15 +01:00
igor-suhorukov
58a5138f26
simplify lambda expression
2018-03-08 23:44:32 +01:00
igor-suhorukov
2f9d0a7de8
simplify boolean NOT operation
2018-03-08 23:44:15 +01:00
igor-suhorukov
d89f9af22d
parentheses should be removed from a single lambda input parameter when its type is inferred
2018-03-08 21:55:45 +01:00
igor-suhorukov
0c45c4c6a3
lamdbas containing only one statement should not nest this statement in a block
2018-03-08 21:49:04 +01:00
igor-suhorukov
6163f2d32f
use more modern java API for empty collections
2018-03-08 21:41:57 +01:00
igor-suhorukov
32b689a994
use StringBuilder for complex string concatenation
2018-03-08 21:25:47 +01:00
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
2018-03-08 20:37:48 +01:00
Brian Clozel
ed7684d2b2
Don't implicitly check preconditions on PUT requests
...
Prior to this commit, the `HttpEntityMethodProcessor` would check HTTP
conditions on non-safe requests (i.e. not GET/HEAD). This would prevent
Controllers from returning `ResponseEntity` containing response headers
with updated values of `"Last-Modified"` or `ETag` once the resource has
been updated.
This commit avoids those checks for non GET/HEAD requests - this code
can still be leveraged from Controllers themselves using
`ServletWebRequest::checkNotModified` methods.
Issue: SPR-15780
2018-03-08 19:43:01 +01:00
Juergen Hoeller
50253f670e
Quick access to volatile field (full synchronization only for lazy init)
...
Issue: SPR-16570
2018-03-08 18:13:00 +01:00
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
2018-03-08 18:11:57 +01:00
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
2018-03-08 17:57:47 +01:00
Juergen Hoeller
a02aafe5fe
Regular getBeanInfo call for interfaces (enabling Introspector's cache)
...
Issue: SPR-16568
2018-03-08 12:29:09 +01:00
Rossen Stoyanchev
eb96ff2943
Doc improvements related to HTTP streaming
...
Issue: SPR-16494
2018-03-07 17:07:09 -05:00
Rossen Stoyanchev
568c93457a
Improve ResponseBodyEmitter error handling
...
After send error, ignore calls to complete or completeWithError by the
application in the same thread (e.g. try-catch block), to avoid a
competing with an error callback from servlet container during which
the same action is taken.
Issue: SPR-16548
2018-03-07 15:25:31 -05:00
Rossen Stoyanchev
e20652009d
Improve docs on SseEmitter onComplete/onError
...
Issue: SPR-16548
2018-03-07 14:59:18 -05:00
Sam Brannen
b14301bfba
Allow TestContextManager to be compiled in Eclipse again
2018-03-07 17:44:24 +01:00
Violeta Georgieva
030bc224e3
Invert the check for ServletInputStream.isReady()
...
When checking whether there is still request body the first method
that should be checked is ServletInputStream.isReady() and then
ServletInputStream.isFinished(). ServletInputStream.isReady() is the active
method whereas the ServletInputStream.isFinished() is not.
It is important to call ServletInputStream.isReady() because if it returns
false it will schedule a dispatch and if the request body is already read it will
send onAllDataRead event.
Issue: SPR-16521
2018-03-07 11:23:10 -05:00
Juergen Hoeller
20287e0cb0
Polishing
2018-03-07 17:09:09 +01:00
Juergen Hoeller
934a995acb
Strong recommendation for OpenPDF 1.0.5 instead of iText 2.1.7
...
Issue: SPR-16107
(cherry picked from commit b70d400 )
2018-03-07 17:08:45 +01:00
Sam Brannen
0f5a3e2647
Polish formatting in Groovy scripts
2018-03-07 16:09:04 +01:00
Sam Brannen
df0b39e8ac
Add missing packages to Groovy scripts
2018-03-07 16:09:03 +01:00
Juergen Hoeller
f57fcdee3c
Polishing
2018-03-07 15:49:58 +01:00
Patrick0308
6f4d25a6e6
Polish "Use Java 8 forEach method on Map"
2018-03-07 15:39:58 +01:00
Sam Brannen
2454b31b30
Polish MockRestRequestMatchers[Tests]
2018-03-07 14:20:57 +01:00
Sam Brannen
f932796201
Polishing
2018-03-07 13:22:36 +01:00
Sam Brannen
fef0c7b151
Throw AssertionError instead of IAE in MockRestRequestMatchers
2018-03-07 13:22:21 +01:00
Yannik Hampe
4094879daf
Make MockRestRequestMatchers independent of JUnit ( #1720 )
...
MockRestRequestMatchers was using org.junit.Assert.assertNotNull
and thus could not be used in projects that use e.g. TestNG instead
of JUnit 4.
2018-03-07 13:07:32 +01:00
Rossen Stoyanchev
27815847b1
content-length support in EncoderHttpMessageWriter
...
EncoderHttpMessageWriter checks explicitly for Mono publishers and sets
the content length, if it is known for the given data item.
Issue: SPR-16542
2018-03-06 19:04:02 -05:00
Rossen Stoyanchev
7a8e0ff3c3
Update ServerWebExchangeTests
2018-03-06 18:12:37 -05:00
Juergen Hoeller
eb9c43dcbc
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
2018-03-06 23:06:14 +01:00
Juergen Hoeller
90d768bb7f
Overloaded convenience setters: setCacheControl(CacheControl), setExpires(ZonedDateTime)
...
Issue: SPR-16562
2018-03-06 23:06:04 +01:00
Juergen Hoeller
82515a3f01
Consistent incrementer arrangement for PostgreSQL, DB2 and SAP HANA
...
Includes related polishing in core.metadata and datasource.embedded and a revision of the corresponding database definitions in sql-error-codes.
Issue: SPR-16558
2018-03-06 13:36:15 +01:00
Juergen Hoeller
4a4f2c2f08
Drop version check in isGetGeneratedKeysSimulated (for PostgreSQL 10)
...
Issue: SPR-16556
2018-03-06 13:31:26 +01:00
Rossen Stoyanchev
e48def2d35
Set readyToWrite flag after cached signals emitted
...
Issue: SPR-16555
2018-03-05 23:23:39 -05:00
Brian Clozel
6d26e61ac7
Guard against invalid paths in ResourceUrlProvider
...
This commit makes sure that no `StringIndexOutOfBoundsException` is
thrown when `getForRequestUrl` is called with a URL that's shorter than
the expected context path.
Issue: SPR-16526
2018-03-05 15:26:56 +01:00
Juergen Hoeller
4f8c4546f1
Upgrade to SnakeYAML 1.20 and Selenium 3.10
2018-03-05 15:25:01 +01:00
Juergen Hoeller
a0cc80063d
Concurrency and exception message refinements for test transactions
2018-03-05 13:00:35 +01:00
Juergen Hoeller
ff818d56a4
Correct description for class-level @Transactional with AspectJ
...
Includes proper quoting of AspectJ expressions in Asciidoc.
Issue: SPR-16552
Issue: SPR-16549
2018-03-05 12:22:17 +01:00
Juergen Hoeller
c543368aad
Polishing
2018-03-03 17:33:48 +01:00
igor-suhorukov
06fef1e5a4
Polish: assertion arguments should be passed in the correct order
2018-03-03 16:14:45 +01:00
Stephane Nicoll
38ebb6c982
Restore includes and isCompatibleWith
...
See gh-1713
2018-03-03 12:41:58 +01:00
Stephane Nicoll
d89d95ef1c
Merge pull request #1715 from igor-suhorukov:master
...
* pr/1715:
Polish
2018-03-03 12:12:45 +01:00
igor-suhorukov
129530f792
Polish
...
Closes gh-1715
2018-03-03 12:12:15 +01:00
Rossen Stoyanchev
cef98e1125
FilePart uses correct flags when opening files
...
Issue: SPR-16546
2018-03-02 10:42:50 -05:00
Juergen Hoeller
cec7204fca
Polishing
2018-03-02 13:53:17 +01:00
Juergen Hoeller
2e164787db
Upgrade to Groovy 2.4.14 and Undertow 1.4.23
2018-03-02 13:52:42 +01:00
igor-suhorukov
ed936cbd89
Polish: Overriding methods should do more than simply call the same method in the super class
2018-03-02 00:06:27 +01:00
Juergen Hoeller
cd4f0935c5
Revised deprecation markers
2018-03-01 23:43:06 +01:00
Juergen Hoeller
cf1d162e1c
Upgrade to Kotlin 1.2.30
2018-03-01 23:41:59 +01:00
Rossen Stoyanchev
9352e3d047
Add ClientRequest attribute for URI template
...
Issue: SPR-16537
2018-03-01 17:06:24 -05:00
Rossen Stoyanchev
36cfdf68b1
Correct log level
...
Issue: SPR-16528
2018-03-01 15:52:59 -05:00
Juergen Hoeller
fa670dd07d
Indexer enforces target descriptor only after non-null target check
...
Issue: SPR-16544
2018-03-01 13:31:56 +01:00
Juergen Hoeller
bfddbbe731
Polishing
2018-03-01 01:39:06 +01:00
Juergen Hoeller
478162741d
WebApplicationContextFacesELResolver.isReadOnly returns true for WAC
...
Issue: SPR-16543
2018-03-01 01:32:11 +01:00
Juergen Hoeller
6f7ad0304c
Polishing
2018-03-01 00:29:38 +01:00
igor-suhorukov
83300c4b27
Polish: follow naming convention
2018-03-01 00:22:29 +01:00
igor-suhorukov
8080f56db8
Polish: "@Override" should be used on overriding and implementing methods
2018-03-01 00:15:18 +01:00
Juergen Hoeller
a19d4deb24
Polishing
2018-02-28 16:41:59 +01:00
Juergen Hoeller
33cd160861
Upgrade to Reactor Bismuth SR7, Hibernate ORM 5.2.14, Common Annotations 1.3.2
2018-02-28 14:01:04 +01:00
Juergen Hoeller
9962df6527
Polishing
2018-02-28 00:09:15 +01:00
Juergen Hoeller
95aad9cdc2
Interrupt listener invoker threads on shutdown (after initial wait step)
...
Issue: SPR-16536
2018-02-28 00:06:46 +01:00
igor-suhorukov
d1ccecd021
Polish: to get rid unnecessary array creation
2018-02-27 23:37:54 +01:00
Rossen Stoyanchev
bf0308b0cf
Merge pull request #1706 from mariusz-jasinski/SPR-16519
2018-02-27 15:39:30 -05:00
Rossen Stoyanchev
356ef5199e
Polish
...
Issue: SPR-16519
2018-02-27 15:38:34 -05:00
Mariusz Jasinski
184ed6da57
Overloaded acknowledge method with StompHeaders
...
Issue: SPR-16519
2018-02-27 15:38:10 -05:00
igor-suhorukov
7bce04c06c
Polish: combine catches block with same body
2018-02-27 12:51:28 +01:00
Rossen Stoyanchev
f835f7b500
Switch to Bismuth snapshots
2018-02-26 20:41:00 -05:00
Rossen Stoyanchev
e12fcca1e3
Fix failing test
2018-02-26 20:35:17 -05:00
Rossen Stoyanchev
e0e90ed006
SSE writer respects charset in MediaType
...
Issue: SPR-16516
2018-02-26 16:42:00 -05:00
Juergen Hoeller
6663d0ff07
Support for ResolvableType.getType().getTypeName() on Java 8
...
Issue: SPR-16535
2018-02-26 17:19:12 +01:00
Juergen Hoeller
c2d5ca9811
Proper nullable return declaration for AbstractValueAdaptingCache.lookup
...
Issue: SPR-15540
2018-02-26 13:05:12 +01:00
Juergen Hoeller
7d89de06e3
Enforce GMT timezone for testBindInstantFromJavaUtilDate
...
Issue: SPR-16534
2018-02-26 13:02:17 +01:00
Juergen Hoeller
15c97b753e
Revised URI building in http.server (consistently use raw attributes)
...
Issue: SPR-16434
2018-02-26 13:00:38 +01:00
sdeleuze
c6f5acf15d
Upgrade Dokka to 0.9.16
2018-02-26 11:07:02 +01:00
Juergen Hoeller
2a379e099c
Polishing
2018-02-25 21:24:38 +01:00
Juergen Hoeller
8a56cd0e8b
Revised URI building in http.server (avoid package cycle with web.util)
...
Issue: SPR-16434
2018-02-25 21:24:10 +01:00
igor-suhorukov
b202205d77
Polish: String.valueOf() should not be appended to a String
2018-02-25 21:10:19 +01:00
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
2018-02-25 20:48:47 +01:00
Rossen Stoyanchev
9c55dd5961
Additional shortcut with charset in WebSocketMessage
2018-02-25 14:41:13 -05:00
Alexander Sparkowsky
d3eff49c59
Fix typos in webmvc documentation
2018-02-25 19:40:25 +01:00
Juergen Hoeller
3732032ee4
Customizable PreparedStatementCreator in NamedParameterJdbcTemplate
...
Issue: SPR-16050
2018-02-25 18:23:00 +01:00
Juergen Hoeller
0ef9568c06
Upgrade to OkHttp 3.10 (as well as RxJava 2.1.10 and Caffeine 2.6.2)
2018-02-25 15:38:56 +01:00
Juergen Hoeller
9e55422334
Polishing
2018-02-25 15:38:32 +01:00
Juergen Hoeller
01d9475bcc
Turn registered controller classes into controller instances on the fly
...
Issue: SPR-16520
2018-02-25 14:29:44 +01:00
Juergen Hoeller
85984f3b72
Mark Castor tests as deprecated
...
Issue: SPR-16219
2018-02-25 14:29:28 +01:00
igor-suhorukov
c782075a13
Polish: Array designators "[]" should be on the type, not the variable
2018-02-25 13:14:20 +01:00
Juergen Hoeller
7f58d9ede0
Efficiently merge bean name result with parent result (possibly empty)
2018-02-25 00:27:06 +01:00
Juergen Hoeller
3531c104b0
Prefer Collections.addAll call with array over Set.addAll(Arrays.asList)
2018-02-25 00:21:39 +01:00
igor-suhorukov
67a91cf6f9
Polish: redundant pairs of parentheses should be removed
2018-02-25 00:01:43 +01:00
Juergen Hoeller
eeecbaef2c
Gson/JsonbHttpMessageConverter keeps output stream open (for SseEmitter)
...
Issue: SPR-16529
2018-02-23 10:49:38 +01:00
Juergen Hoeller
578c078082
Polishing
2018-02-22 15:14:20 +01:00
Juergen Hoeller
0f740527c1
Deprecated StringUtils.mergeStringArrays
2018-02-22 15:13:57 +01:00
Juergen Hoeller
1278459ad5
ReactorHttpHandlerAdapter logs bad request at warn level only
...
Issue: SPR-16524
2018-02-22 15:12:51 +01:00
Juergen Hoeller
3d6483873f
Upgrade to Netty 4.1.22
2018-02-22 15:11:45 +01:00
Juergen Hoeller
0939492966
Upgrade to Apache Johnzon 1.1.6
2018-02-22 11:32:14 +01:00
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
2018-02-22 11:29:46 +01:00
Jinsoo Park
1ab3f88e82
Fix typo
...
MockMVc -> MockMvc
2018-02-21 14:22:40 -05:00
Rossen Stoyanchev
bb8cddda23
Assert instances (vs classes) in MockMvc/WebTestClient
...
Issue: SPR-16520
2018-02-21 14:01:53 -05:00
Rossen Stoyanchev
3bfa56dff2
Polish
2018-02-21 10:29:46 -05:00
Rossen Stoyanchev
6959e66b25
JsonEOFException is wrapped as DecodingError
...
Jackson2Tokenizer now also wraps JsonProcessingException's on
endOfInput(), as it also does in tokenize(DataBuffer). This ensures
treating those errors as 400 vs 500.
Issue: SPR-16521
2018-02-21 10:12:33 -05:00
Rossen Stoyanchev
a6d527e57a
Call onAllDataRead when read() returns -1
...
When read returns -1, we know we've reached the end of input. Instead
of waiting for the onAllDataRead container callback, this commit
proactively calls onAllDataRead.
Issue: SPR-16521
2018-02-21 09:44:24 -05:00
Spring Buildmaster
1aaefbdd03
Next Development Version
2018-02-19 11:12:59 +00:00
Juergen Hoeller
f316f6a46a
Remove unnecessary assertions from annotation resolution code paths
...
Issue: SPR-16514
2018-02-19 10:29:09 +01:00
Juergen Hoeller
3ba858213f
Upgrade to RxJava 1.3.6
2018-02-18 23:43:32 +01:00
Juergen Hoeller
0de36d2883
Consistent HttpMethod identity comparisons
2018-02-18 22:01:22 +01:00
Stephane Nicoll
d1e9161ca6
Merge pull request #1691 from theHacker:patch-1
...
* pr/1691:
Polish Javadoc
2018-02-18 08:57:51 +01:00
Alexander Münch
37f19a4b43
Polish Javadoc
...
WebSocketMessageBrokerStats's Javadoc now states the correct default
logging period.
Closes gh-1691
2018-02-18 08:57:08 +01:00
Juergen Hoeller
1ea233ac56
Upgrade to Reactor Bismuth SR6
2018-02-17 23:23:24 +01:00
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40 )
2018-02-16 20:49:17 +01:00
Rossen Stoyanchev
c198138d4e
Polish URI encoding section
2018-02-16 14:35:15 -05:00
Rossen Stoyanchev
2b4250ec44
[doc] WebFlux has coverage of URI links
...
Issue: SPR-16423
2018-02-16 12:58:01 -05:00
Rossen Stoyanchev
9c679fccdf
Fix intdentation
2018-02-16 12:34:25 -05:00
Rossen Stoyanchev
ac495d7380
Polish ForwardedHeaderFilter and related code
...
Issue: SPR-16506
2018-02-16 12:17:23 -05:00
Juergen Hoeller
c9d08bff41
DefaultListableBeanFactory only calls getPriority for non-null instance
...
Issue: SPR-16508
2018-02-16 17:27:42 +01:00
Rossen Stoyanchev
6920a1f958
ForwardedHeaderFilter handles query+fragment correctly
...
Issue: SPR-16506
2018-02-16 11:10:50 -05:00
Rossen Stoyanchev
dcf5c646be
Use correct X509 certificate attribute name
...
Issue: SPR-16507
2018-02-16 09:45:17 -05:00
Sam Brannen
1513e7be63
Polishing
2018-02-16 14:25:13 +01:00
Juergen Hoeller
8d3264f680
Prefer List.sort(Comparator) over Collections.sort(List, Comparator)
2018-02-16 10:23:18 +01:00
Juergen Hoeller
b35274f5a7
WebSocket callbacks need to remain inner classes (retaining generics)
2018-02-16 10:22:05 +01:00
igor-suhorukov
d5b0df8c3f
Polish codacy warning: fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
2018-02-16 09:38:19 +01:00
igor-suhorukov
2be4985b8f
Polish: anonymous inner classes containing only one method should become lambdas,
...
use getOrDefault instead of ternary operator
2018-02-16 09:38:19 +01:00
Rossen Stoyanchev
aa4bcedad3
Up-to-date and expanded coverage on preparing URIs
...
Issue: SPR-16422
2018-02-15 23:25:52 -05:00
Rossen Stoyanchev
9801afb85d
Fix compile error
...
Update places that call UriUtils to catch the right exception that is
now raised as a result of using Charet.forName.
2018-02-15 15:59:21 -05:00
Rossen Stoyanchev
4db0d999af
Polish UriBuilderFactory and implementation
...
Issue: SPR-16422
2018-02-15 15:44:44 -05:00
Rossen Stoyanchev
3d20db1e49
Polish UriUtils, UriComponents
...
Issue: SPR-16422
2018-02-15 15:44:37 -05:00
Rossen Stoyanchev
394c30efd0
Update to Bismuth snapshots
2018-02-15 11:08:05 -05:00
Juergen Hoeller
cd8a1bdb8b
AcceptHeaderLocaleContextResolver leniently handles invalid header value
...
Also falls back to language-only match among its supported locales now.
Issue: SPR-16500
Issue: SPR-16457
2018-02-15 13:14:49 +01:00
sdeleuze
067ad4c57a
Update Kotlin reference documentation
2018-02-15 11:46:30 +01:00
Andy Wilkinson
52dfc4ebc4
Align spring-webflux's Webjars Locator dependency with spring-webmvc
2018-02-15 00:58:17 +01:00
Rossen Stoyanchev
3367df8637
Suggest use of OkHttp MockWebServer
...
Issue: SPR-16482
2018-02-14 17:32:24 -05:00
Juergen Hoeller
7baf33fea0
Avoid multiple warnings related to jackson-module-kotlin
...
Issue: SPR-16497
2018-02-14 21:19:57 +01:00
Rossen Stoyanchev
1aeae5d40d
Fix compiler error
2018-02-14 12:23:52 -05:00
Rossen Stoyanchev
0ead0503eb
AbstractJackson2Encoder uses private fields
...
Make the protected fields in AbstractJackson2Encoder private plus
minor refactoring to the way streaming separators are applied.
The current (5.0.3) behavior is to always use '\n', but in 5.0.4 the
newly supported "application/stream+x-jackson-smile" needs to be
excluded from that. For now, separator determination remains private
in the abstract base class, but current behavior remains which is to
apply '\n' by default.
Issue: SPR-15424
2018-02-14 12:15:01 -05:00
Juergen Hoeller
6d7573262e
FormTag skips rendering of hidden fields in case of empty Map
...
Issue: SPR-16498
2018-02-14 17:41:45 +01:00
Juergen Hoeller
de7ff556d9
Polishing
2018-02-14 17:41:08 +01:00
Sam Brannen
24adc7d3c6
Delete unused imports
2018-02-14 16:55:57 +01:00
Juergen Hoeller
95f7180298
Explicit documentation notes on transacted sessions vs AUTO_ACKNOWLEDGE
...
Issue: SPR-16487
2018-02-14 15:32:23 +01:00
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
2018-02-14 14:44:00 +01:00
Juergen Hoeller
46cbdff5c3
Consistent ControllerAdvice applicability against user-declared class
...
Issue: SPR-16496
2018-02-14 14:41:16 +01:00
Juergen Hoeller
766e6028d7
Defensively handle DatabaseMetaData.getConnection() returning null
...
Issue: SPR-16495
2018-02-14 14:40:52 +01:00
igor-suhorukov
7826567df6
Polish: lamdbas containing only one statement should not nest this statement in a block
2018-02-14 01:22:01 +01:00
Juergen Hoeller
99662bc702
Polishing
2018-02-13 23:32:10 +01:00
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
2018-02-13 23:00:18 +01:00
Rossen Stoyanchev
1908080d5c
Test for disconnected client detection
...
Issue: SPR-16494
2018-02-13 14:58:10 -05:00
Rossen Stoyanchev
8c37ad7ac5
Startup/shutdown log messages for AbstractHttpServer
...
Issue: SPR-16494
2018-02-13 14:58:10 -05:00
Juergen Hoeller
37609e4ede
Object/FieldError exposes source object through unwrap/contains methods
...
Issue: SPR-16372
2018-02-13 17:58:31 +01:00
Stephane Nicoll
6bbc5b0f26
Merge pull request #1681 from olivergierke-patch-1
...
* pr/1681:
Add explicit anchor to discussion about constructor VS. setter injection
2018-02-13 17:31:36 +01:00
Oliver Gierke
30316b16e5
Add explicit anchor to discussion about constructor VS. setter injection
...
This commit adds an Asciidoc anchor to the section on different injection
styles to be able to link to the discussion as official recommendation.
Closes gh-1681
2018-02-13 17:29:56 +01:00
Juergen Hoeller
0c78c9c6f7
Refined javadoc and exception messages
2018-02-13 15:25:42 +01:00
Juergen Hoeller
d3cee45f30
Polishing
2018-02-13 13:15:29 +01:00
Sam Brannen
c11a963b1e
Remove dependency on apiguardian-api in spring-test
...
The apiguardian-api dependency is once again a mandatory transitive
dependency of JUnit 5 since JUnit Jupiter 5.0.3.
2018-02-13 13:04:48 +01:00
Sam Brannen
02fb5a4121
Use effectively final local variable in lambda expression
2018-02-13 12:56:36 +01:00
Juergen Hoeller
c9aede3727
Upgrade to Tomcat 8.5.28 (and Selenium HtmlUnit Driver 2.29.2)
2018-02-13 12:44:34 +01:00
Vladimir Sitnikov
659f13be1c
Avoid creating message arguments to Assert.isABC calls
...
See https://github.com/spring-projects/spring-framework/commit/67f184293b94c076b0474231f739a74f42d5ffa8
2018-02-13 12:31:49 +01:00
Juergen Hoeller
b449928691
Avoid unused arguments for internal delegates
2018-02-13 11:40:28 +01:00
Rossen Stoyanchev
0585fb3999
Polish
2018-02-12 22:04:53 -05:00
Rossen Stoyanchev
4ee09c89b5
Fix regression in MappingJackson2MessageConverter
...
As of 4.3.13 MappingJackson2MessageConverter uses the MethodParameter
hint to obtain generic type information but it needs to be careful, and
nest one level, if the target parameter type has a Message wrapper.
Issue: SPR-16486
2018-02-12 21:30:26 -05:00
Juergen Hoeller
3c631f8ea0
SubProtocolWebSocketHandler closes sessions outside of lifecycle monitor
...
Issue: SPR-16488
2018-02-13 00:04:55 +01:00
Juergen Hoeller
a5a069c5b1
Upgrade to JavaMail 1.6.1
2018-02-13 00:02:43 +01:00
Rossen Stoyanchev
73095955bf
Refine logging in ExchangeFunctions
...
Notably do not log error signal since we are letting that propagate.
Also improve logging messages vs relying on the log operator.
Issue: SPR-16484
2018-02-12 15:56:04 -05:00
Juergen Hoeller
b089ded5b0
Polishing
2018-02-12 15:55:18 +01:00
Juergen Hoeller
d5cabca2f7
Internal adaptation to Deque semantics
2018-02-12 15:55:09 +01:00
Stephane Nicoll
e7076ad35c
Merge pull request #1676 from fabriziocucci:patch-1
...
* pr/1676:
Fix indentation in doc
2018-02-12 08:12:55 +01:00
Fabrizio Cucci
13f942fab7
Fix indentation in doc
...
Closes gh-1676
2018-02-12 08:11:34 +01:00
Kazuki Shimizu
8c623c8a42
Supports ConversionService on SingleColumnRowMapper
...
Issue: SPR-16483
2018-02-11 22:36:50 +01:00
igor-suhorukov
711b0f50f2
Polish: replace the synchronized class "Stack" by an unsynchronized one such as "Deque".
2018-02-11 21:15:46 +01:00
Juergen Hoeller
3cbb2b7616
Upgrade to Hibernate ORM 5.1.12 (for integration tests)
2018-02-10 21:57:59 +01:00
Juergen Hoeller
d00e1c5e4f
Polishing
2018-02-10 21:35:46 +01:00
Juergen Hoeller
b5bd977d9a
Revised assertion refactoring in AbstractExpressionTests
2018-02-10 18:17:40 +01:00
Juergen Hoeller
91965500cb
Upgrade to TestNG 6.14.2 and Selenium 3.9.1
2018-02-10 17:48:58 +01:00
Juergen Hoeller
55ee250659
Object/FieldError stores source object as transient (not serialized)
...
Issue: SPR-16372
2018-02-10 17:41:30 +01:00
igor-suhorukov
0ee505b73e
Polish: assertion arguments should be passed in the correct order,
...
use assertNull instead of assertEquals(null, value),
declare delta as double value in assertEquals
2018-02-10 17:17:28 +01:00
Juergen Hoeller
39201adca4
Consistent handling of InterruptedException
...
Issue: SPR-16479
2018-02-10 13:03:33 +01:00
igor-suhorukov
6ea0af3540
Polish: Lambdas should be replaced with method references
2018-02-10 12:09:46 +01:00
igor-suhorukov
d3a1d44864
Polish: Maps with keys that are enum values should be replaced with EnumMap
2018-02-10 12:09:33 +01:00
igor-suhorukov
9a6fbf59c5
Polish: follow name convention - make immutable fields final
2018-02-10 12:09:19 +01:00
Juergen Hoeller
9bb7fcd997
Object/FieldError provides access to source object (exception/violation)
...
Issue: SPR-16372
2018-02-09 18:42:56 +01:00
Juergen Hoeller
e873b18f43
ResolvableType.forClassWithGenerics retains original TypeVariables
...
Issue: SPR-16456
2018-02-09 15:29:00 +01:00
Juergen Hoeller
a639535f33
Upgrade to Netty 4.1.21
2018-02-09 13:33:16 +01:00
Juergen Hoeller
c8b860c4b8
Streamlined BeanFactory access within DefaultLifecycleProcessor
2018-02-09 13:31:31 +01:00
Juergen Hoeller
fc93f99f53
Relaxed procedure existence check on Oracle (for non-exposed synonyms)
...
Issue: SPR-16478
2018-02-09 13:30:31 +01:00
Stephane Nicoll
8222698eb2
Merge pull request #1569 from lonre:patch-1
...
* pr/1569:
Fix typo
2018-02-09 10:18:33 +01:00
Lonre Wang
b8c6734580
Fix typo
...
Closes gh-1569
2018-02-09 10:18:16 +01:00
Stephane Nicoll
991eb4858e
Update copyright header
2018-02-09 10:16:58 +01:00
Stephane Nicoll
0d757bf3f7
Merge pull request #1671 from igor-suhorukov:master
...
* pr/1671:
Change this "try" to a try-with-resources
2018-02-09 10:13:22 +01:00
igor-suhorukov
c0b4b5787f
Change this "try" to a try-with-resources
...
Closes gh-1671
2018-02-09 10:12:55 +01:00
Stephane Nicoll
909cacec42
Merge pull request #1670 from igor-suhorukov
...
* pr/1670:
Collection.isEmpty() should be used to test for emptiness
2018-02-09 10:12:06 +01:00
igor-suhorukov
e381514b07
Collection.isEmpty() should be used to test for emptiness
...
Closes gh-1670
2018-02-09 10:11:44 +01:00
Stephane Nicoll
7da40abba5
Merge pull request #1669 from igor-suhorukov
...
* pr/1669:
Polish
2018-02-09 10:11:16 +01:00
igor-suhorukov
4c888d0f32
Polish
...
Closes gh-1669
2018-02-09 10:10:05 +01:00
Arjen Poutsma
fb61af1882
Allow "release on close" for DataBuffer.asInputStream
...
This commit introduces DataBuffer.asInputStream(boolean), that can
release the underlying buffer when the stream is closed.
Furthermore, this commit adds additional javadoc.
Issue: SPR-16444
2018-02-08 10:11:53 +01:00
Juergen Hoeller
4318710b9b
Upgrade to Hibernate 5.2.13
2018-02-07 14:14:22 +01:00
Juergen Hoeller
285b01fc79
Test with all-negated profile condition
...
Issue: SPR-16465
2018-02-07 14:14:11 +01:00
Juergen Hoeller
ac7a699356
NamedParameterUtils.isParameterSeparator checks for non-ASCII characters
...
Issue: SPR-16472
2018-02-07 14:10:39 +01:00
Johnny Lim
5c0ddf3c69
Polishing
2018-02-07 10:59:10 +01:00
Rossen Stoyanchev
1b98d09855
Fix copy+paste error
2018-02-06 15:43:05 -05:00
Rossen Stoyanchev
9551b3a9bb
Eliminate sub-sections in Spring MVC test chapter
...
The very short, summary mini-sections confuse the client-side code that
highlights the TOC item. This commit removes the sub-sections.
2018-02-06 12:16:31 -05:00
Rossen Stoyanchev
efdfe9ad8d
Minor Javadoc update
2018-02-06 11:23:53 -05:00
Rossen Stoyanchev
1653a32a04
Stabilize Flux.interval emissions in integration tests
...
After this commit the use of interval in tests is combined with
take(n).onBackpressureBuffer(n) to ensure emissions don't fail if the
fixed rate is exceeded (e.g. on slow CI server).
Tests that verify N number of items followed by verifyOnComplete()
should set the number of emissions to N.
Tests that verify N number of items followed by thenCancel() should
set the number of buffered to an arbitrary number greater than N.
2018-02-06 11:01:19 -05:00
Juergen Hoeller
41a4bdea55
Upgrade to Kotlin 1.2.21
2018-02-05 22:51:59 +01:00
Juergen Hoeller
5c813a366b
Consistent use of @throws instead of @exception
2018-02-05 22:51:51 +01:00
Juergen Hoeller
0ac117ff27
Explicit notes on isolation level handling in participating transactions
...
Issue: SPR-16463
2018-02-05 22:51:43 +01:00
Juergen Hoeller
817a836960
Consistent object type exposure for JSON rendering (workaround for Gson)
...
Issue: SPR-16461
2018-02-05 22:51:33 +01:00
sdeleuze
31b25b5808
Make WebFlux Jackson refdoc section relevant for Smile
...
Issue: SPR-16151
2018-02-05 18:00:41 +01:00
sdeleuze
196f3f8cc1
Improve WebFlux exception logging
...
This commit updates HttpWebHandlerAdapter and
ResponseStatusExceptionHandler in order to specify the method/uri in the
logged message.
It also logs a WARN message for bad request (400) HTTP responses in
order to get some logs when an exception is thrown due to client error
(unable to deserialize request body for example).
Issue: SPR-16447
2018-02-05 16:08:22 +01:00
Stephane Nicoll
fdde9de005
Merge pull request #1606 from kamilszymanski:arraycopy
...
* pr/1606:
Replace manual array copy with native method call
2018-02-04 11:41:10 +01:00
Kamil Szymanski
61117245a6
Replace manual array copy with native method call
...
Closes gh-1606
2018-02-04 11:39:43 +01:00
Rossen Stoyanchev
f20eacdb9b
Polish
2018-02-02 15:06:59 -05:00
Rob Winch
0cd427bdd3
MockHttpServletRequestBuilder decodes pathInfo
...
Previously MockHttpServletRequestBuilder calculated the pathInfo from the
provided URL without decoding the value. This meant that the pathInfo
incorrectly included URL encoded values.
Now MockHttpServletRequestBuilder properly decodes the pathInfo.
Fixes: SPR-16453
2018-02-02 15:00:47 -05:00
Arjen Poutsma
609f173ebc
StringDecoder shouldn't chop off strings randomly
...
Issue: SPR-16337
2018-02-02 15:59:21 +01:00
Juergen Hoeller
cfe7ff1c81
MimeType.compareTo uses case-insensitive Charset (analogous to equals)
...
Issue: SPR-16458
2018-02-02 13:44:07 +01:00
Juergen Hoeller
4dc964544f
AcceptHeaderLocaleResolver falls back to language-only match among its supported locales
...
Issue: SPR-16457
2018-02-02 12:41:59 +01:00
Juergen Hoeller
c5a33d62dd
TypeVariablesVariableResolver compares variables by full equality again
...
Issue: SPR-16456
2018-02-02 12:41:43 +01:00
Juergen Hoeller
30f6e447d5
TypeVariablesVariableResolver compares variables by name
...
Issue: SPR-16456
2018-02-02 11:34:36 +01:00
Juergen Hoeller
b3e21ec737
MockHttpServletRequest leniently handles invalid Accept-Language header
...
Issue: SPR-16454
2018-02-02 11:34:22 +01:00
Juergen Hoeller
7f96827ade
Polishing
2018-02-02 11:34:03 +01:00
Juergen Hoeller
4a1cc9ced7
Constructor-provided field values get recorded for failed binding result
...
Also, TypeMismatchExceptions get registered via BindingErrorProcessor.
Issue: SPR-16449
2018-02-02 11:33:56 +01:00
Juergen Hoeller
9c069f6cb1
Avoid String concatenation for not-null assertion in BeanProperty/DirectFieldBindingResult
...
Issue: SPR-16455
2018-02-02 11:33:39 +01:00
Juergen Hoeller
b6ecfcf9ec
CachingConnectionFactory makes its Session caching inactive during reset
...
Issue: SPR-16450
2018-02-02 11:33:10 +01:00
Stephane Nicoll
10caaefd0b
Merge pull request #1657 from izeye:polish-20180201
...
* pr/1657:
Polish SqlParameter.sqlTypesToAnonymousParameterList()
2018-02-01 09:15:37 +01:00
Johnny Lim
df3241e072
Polish SqlParameter.sqlTypesToAnonymousParameterList()
...
Closes gh-1657
2018-02-01 09:14:56 +01:00
Stephane Nicoll
f0dd31a639
Merge pull request #1656 from adamlehenbauer:master
...
* pr/1656:
Fix typos
2018-02-01 08:44:57 +01:00
adamlehenbauer
8de80ffe9e
Fix typos
...
Closes gh-1656
2018-02-01 08:43:49 +01:00
Rossen Stoyanchev
0ded239453
[doc] Update Spring MVC exception handling content
...
Issue: SPR-16394
2018-01-31 23:03:10 -05:00
Rossen Stoyanchev
d9a93f44ae
[doc] Update links to composed annotations
2018-01-31 20:39:34 -05:00
sdeleuze
b6c78452b2
Update and improve script templating documentation
...
Issue: SPR-16447
2018-01-31 17:57:41 +01:00
Rossen Stoyanchev
b77032c36e
[doc] Explain custom/composed @RequestMapping annotations
...
Issue: SPR-16442
2018-01-31 11:03:37 -05:00
sdeleuze
b2681e1f4a
Add ViewResolverRegistry#scriptTemplate in WebFlux
...
Issue: SPR-16431
2018-01-31 10:38:08 +01:00
Juergen Hoeller
c7f60d1799
SchedulerFactoryBean always ignores local factory settings in case of an external SchedulerFactory instance (expecting it to be fully initialized)
...
This commit includes various javadoc fixes and related refinements.
Issue: SPR-16439
2018-01-30 22:35:42 +01:00
Rossen Stoyanchev
6d909b013e
Do not commit response on access to content
...
MockHttpServletResponse no longer calls flushBuffer on calls to
getContentAsByteArray and getContentAsString. The flushing doesn't
actually do anything useful but does commit the response leading to
unexpected side effects.
Issue: SPR-16430
2018-01-30 16:19:08 -05:00
Juergen Hoeller
cd57335e46
SchedulerFactoryBean ignores local factory settings in case of external SchedulerFactory instance (unless it extends from StdSchedulerFactory)
...
Issue: SPR-16439
2018-01-30 21:31:04 +01:00
sdeleuze
d02e4fb545
Add Vary:Access-Control-Request-Method/Headers CORS headers
...
This commit adds these 2 Vary headers in addition to the existing
Origin one to avoid caching of Access-Control-Request-Method and
Access-Control-Request-Headers headers which can be an issue
when allowed methods or headers are unbounded and only the
requested method or headers are returned in the response.
Issue: SPR-16413
2018-01-30 17:00:32 +01:00
Juergen Hoeller
857a5b03b7
SchedulerFactoryBean accepts external Quartz SchedulerFactory instance
...
Issue: SPR-16439
2018-01-30 16:55:09 +01:00
Rossen Stoyanchev
f4de8615aa
Fix encoding issue in ServerHttpRequest.mutate()
...
Issue: SPR-16434
2018-01-30 10:23:02 -05:00
Juergen Hoeller
637e09f995
Polishing
2018-01-30 16:00:30 +01:00
Juergen Hoeller
ef2e16912d
Formatting support for java.time.Year and java.time.Month
...
Issue: SPR-16437
2018-01-30 15:54:47 +01:00
Juergen Hoeller
89d2bd954a
Properly analyze Java 9 class cast messages for lambda event listeners
...
Issue: SPR-16435
2018-01-30 15:53:58 +01:00
Rossen Stoyanchev
4f28c28287
Update Javadoc on uriTemplateHandler property
...
Issue: SPR-16419
2018-01-29 21:53:22 -05:00
Rossen Stoyanchev
5ff724968d
[docs] View Technologies section in WebFlux
...
Issue: SPR-16393
2018-01-29 21:28:48 -05:00
Rossen Stoyanchev
49eec6248d
[docs] Reorder View Technologies
...
From:
Thymeleaf
Groovy Markup
FreeMarker
JSP & JSTL
Script Views
XML
Tiles
XSLT
PDF, Excel
RSS, Atom
Jackson
To:
Thymeleaf
FreeMarker
Groovy Markup
Script views
JSP & JSTL
Tiles
RSS, Atom
PDF, Excel
Jackson
XML
XSLT
Also move View Technologies after MVC Config to align order with
WebFlux config.
Issue: SPR-16393
2018-01-29 16:43:51 -05:00
Rossen Stoyanchev
e76973c5f0
[docs] Update view-related content
...
1. The View Technologies chapter in Spring MVC
2. The View Resolution and View Resolver config in WebFlux
Issue: SPR-16393
2018-01-29 16:43:51 -05:00
Juergen Hoeller
8d42888476
Upgrade to RxJava 1.3.5 and WebJars Locator 0.35
...
Includes Rhino 1.7.8 and JRuby 9.1.15 as well.
2018-01-29 21:31:27 +01:00
Juergen Hoeller
7772b914c6
Deep BeanCurrentlyInCreationException check in getTypeForFactoryBean
...
Issue: SPR-16427
2018-01-29 21:13:59 +01:00
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
Rossen Stoyanchev
0fb31c5e36
Refine "." separator support for STOMP messaging
...
After this commit DefaultUserDestinationResolves no longer looks at
whether AntPathMatcher is configured with "." as separator and rather
expects to be explicitly told whether to keep the leading slash in
translated destinations which actually depends on what the message
broker supports (e.g. RabbitMQ "/", Artemis ".") or how it is
configured (simple broker could be either way).
There is also a minor improvement in SimpMessagingTemplate to ensure
user destinations are correctly formed based on what the
DefaultUserDestinationResolver expects. When using "." as separtor it
allows sending messages to "queue.q1" rather than "/queue.q1".
Issue: SPR-16275
2018-01-19 21:02:43 -05:00
Rossen Stoyanchev
17f9b61249
Polish MessageBrokerConfigurationTests
2018-01-19 21:02:43 -05:00
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
2018-01-19 20:55:22 -05:00
Juergen Hoeller
572c668726
Polishing
2018-01-19 21:30:37 +01:00
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
2018-01-19 17:38:14 +01:00
Rossen Stoyanchev
09f1f727a7
Remove explicit subscribe in MultipartHttpMessageWriter
...
Issue: SPR-16402
2018-01-19 10:41:08 -05:00
Juergen Hoeller
40127bd9ad
Polishing
2018-01-19 12:30:10 +01:00
Juergen Hoeller
4c7414833b
ResolvableType returns clone for cached state with original local source
...
Issue: SPR-16210
2018-01-19 12:30:03 +01:00
Rossen Stoyanchev
357fb48d13
Update docs on stomp.js library
...
Issue: SPR-15624
2018-01-18 13:09:40 -05:00
Rossen Stoyanchev
513461d4f1
Update STOMP overview
...
Issue: SPR-15624
2018-01-18 13:04:43 -05:00
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
2018-01-18 11:34:38 +01:00
Arjen Poutsma
c211e3998b
Polishing
2018-01-18 11:34:38 +01:00
Arjen Poutsma
61d330f805
Javadoc
2018-01-18 11:34:38 +01:00
Juergen Hoeller
ea5f8f5a7c
Consistently handle NoClassDefFoundError in BeanUtils and related places
...
Issue: SPR-16369
2018-01-17 20:24:57 +01:00
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
2018-01-17 13:01:40 -05:00
Rossen Stoyanchev
7ab4d0ca08
Polish MockRestServiceServer code
2018-01-17 13:01:40 -05:00
Juergen Hoeller
214576673a
Proper NoClassDefFoundError check against BeanUtils.instantiateClass
...
Issue: SPR-16369
2018-01-17 18:29:05 +01:00
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
Rossen Stoyanchev
b36af8a11f
Uncomment test after Reactor Netty fix
...
Issue: SPR-16246
2018-01-10 10:47:36 -05:00
Arjen Poutsma
8a129ef3da
Use write aggregator from DataBufferUtils
...
This commit uses the newly introduced write aggregator from
DataBufferUtils throughout WebFlux.
Issue: SPR-16351
2018-01-10 11:15:47 +01:00
Arjen Poutsma
69ccba30e9
Introduce write aggregator to DataBufferUtils
...
As a consequence of dropping CompositeByteBuf (see prior commit),
DataBuffers fluxes that are aggregated with Flux.reduce(BiFunction) are
now required to be released, as the composite no longer holds a
reference to subsequent data buffers.
For this purpose, DataBufferUtils now has a writeAggregator that can be
used with Flux.reduce, and that released the subsequent buffers
properly.
Issue: SPR-16351
2018-01-10 11:14:02 +01:00
Arjen Poutsma
e6893da971
Remove use of CompositeByteBuf in NettyDataBuffer
...
Prior to this commit, NettyDataBuffer had a optimization in
write(ByteBuf...), where it used a CompositeByteBuf to hold the original
and the parameter buffer.
Unfortunately, this procedure has nasty consequences when splicing
buffers (see https://stackoverflow.com/a/48111196/839733 ).
As of this commit, NettyDataBuffer stopped using CompositeByteBuf, and
simply does ByteBuf.write().
Issue: SPR-16351
2018-01-10 11:05:41 +01:00
Rossen Stoyanchev
5ed0cf9027
Fix init issues in AbstractReactiveWebInitializer
...
Issue: SPR-16290
2018-01-09 17:32:40 -05:00
Rossen Stoyanchev
537f79f680
Merge pull request #1609 from jeff/SPR-16245
2018-01-09 16:40:46 -05:00
Rossen Stoyanchev
018469286d
Polish
2018-01-09 16:39:40 -05:00
Jeff Nelson
30e40210a8
Extract protected method in AbstractRequestLoggingFilter
...
Issue: SPR-16245
2018-01-09 16:38:21 -05:00
Juergen Hoeller
c8bdb3c602
Polishing
2018-01-09 22:20:22 +01:00
Juergen Hoeller
e43439c6c3
SqlParameterSource interface exposes parameter names
...
Includes default implementations of getSqlType and getTypeName.
Issue: SPR-16361
2018-01-09 22:19:46 +01:00
Juergen Hoeller
b2322e58d9
Support for PostgreSQL array syntax
...
Includes efficient separator determination.
Issue: SPR-16340
2018-01-09 22:19:05 +01:00
Masahiro Ide
d9af4d6599
ResourceBundleMessageSource uses ConcurrentHashMaps instead of synchronization
...
Issue: https://jira.spring.io/browse/SPR-16235
2018-01-09 22:12:03 +01:00
Stephane Nicoll
f72318a0ae
Merge pull request #1640 from making:patch-2
...
* pr/1640:
Fix source code in doc
2018-01-09 19:17:24 +01:00
Toshiaki Maki
50b46c9e35
Fix source code in doc
...
Closes gh-1640
2018-01-09 19:17:09 +01:00
sdeleuze
9c7de232b8
Polishing
...
Optimize same origin check when the request is an instance of
ServletServerHttpRequest and when there is no forwarded headers.
This commit also optimizes the getPort methods and ForwardedHeaderFilter
forwarded headers checks.
Issue: SPR-16262
2018-01-09 14:33:54 +01:00
sdeleuze
c326e44488
Refine forwarded protocol support
...
This commit refines forwarded protocol support in order to support
proxies that only set "X-Forwarded-Proto" header and not
"X-Forwarded-Port" by performing a reset of the port in such case.
"Forwarded" header support has been updated accordingly since it
also supports similar use case, as described in SPR-15504.
Issue: SPR-16262
2018-01-09 14:33:54 +01:00
Rossen Stoyanchev
30c0616384
Improve error message
...
Issue: SPR-16214
2018-01-08 21:30:41 -05:00
Rossen Stoyanchev
74b5c371ba
Merge pull request #1634 from lin/patch-1
2018-01-08 17:36:24 -05:00
Rossen Stoyanchev
846636f2b9
Polish
2018-01-08 17:35:30 -05:00
Aleksey Voronenkov
cb8ad46564
Overloaded methods in InterceptorRegistration
...
Issue: SPR-16324
2018-01-08 17:31:06 -05:00
Juergen Hoeller
45828cb934
Check BeanInfoFactory for interface introspection as well
...
Issue: SPR-16322
2018-01-08 18:05:02 +01:00
Rossen Stoyanchev
446e7ed25c
Links from @RequestMapping to reference docs
...
Issue: SPR-16266
2018-01-08 09:29:52 -05:00
Juergen Hoeller
73cad470e5
Upgrade to HtmlUnit 2.29 and Selenium 3.8.1
2018-01-08 13:41:36 +01:00
Juergen Hoeller
4adc820714
Warning instead of error for non-present type filter class
...
Issue: SPR-16356
2018-01-08 13:41:23 +01:00
Stephane Nicoll
0d151b0212
Fix SpEL syntax
...
Issue: SPR-16315
2018-01-08 08:46:20 +01:00
Juergen Hoeller
72590dbb21
CachingConnectionFactory does not cache producer for temporary queue/topic
...
Issue: SPR-16353
2018-01-08 00:26:29 +01:00
Juergen Hoeller
7a55d932f9
Build against OpenPDF 1.0.5 instead of outdated iText 2.1.7
...
Issue: SPR-16352
2018-01-08 00:26:10 +01:00
Skelotron
b9e03cb06b
SPR-16316 — fix transaction timeout value overflow
2018-01-07 23:48:24 +01:00
Juergen Hoeller
4a57e26d76
Polishing
2018-01-07 23:33:35 +01:00
Juergen Hoeller
b6191f6057
Direct reference to JPA 2.1 SynchronizationType enum
...
Issue: SPR-13481
2018-01-07 23:30:05 +01:00
Juergen Hoeller
d187cbce73
LoadTimeWeaver detection differentiates between WebSphere and Liberty
...
Issue SPR-16248
2018-01-07 23:29:16 +01:00
Juergen Hoeller
6a1fe0b1d0
FunctionReference's method field is volatile
...
Issue: SPR-16255
2018-01-07 23:23:45 +01:00
Juergen Hoeller
0a06bce3a6
Relaxed BeanFactory assertion in resolveInterceptorNames
...
Issue: SPR-16347
2018-01-07 23:23:25 +01:00
Juergen Hoeller
977550f956
Properly handle null bean instance in getLifecycleBeans
...
Issue: SPR-16343
2018-01-07 23:23:08 +01:00
Juergen Hoeller
18d90ec140
Properly handle null FactoryBean instance
...
Issue: SPR-16250
2018-01-07 23:22:56 +01:00
Juergen Hoeller
d3e0f4dd91
Consider enum subclasses as simple value types as well
...
Issue: SPR-16278
2018-01-07 23:20:09 +01:00
Juergen Hoeller
9beb97880f
Support for static field access on non-public enums
...
Issue: SPR-16284
2018-01-07 23:19:47 +01:00
Juergen Hoeller
7ad69bfc20
Avoid extra existence check in SimpleMetadataReaderFactory
...
Issue: SPR-16281
2018-01-07 23:18:52 +01:00
Juergen Hoeller
1a154c3e4c
Consistently throw FileNotFoundException even for NIO access
...
Issue: SPR-16334
2018-01-07 23:18:28 +01:00
Rossen Stoyanchev
37f0e8c6e5
Access to ApplicationContext via ServerWebExchange
...
Issue: SPR-16298
2018-01-05 15:46:45 -05:00
Rossen Stoyanchev
93a522f336
Fix regression in BodyInserters with multipart data
...
The issue was introduced very recently with commit #7035ee but never
released.
Issue: SPR-16350
2018-01-05 13:59:14 -05:00
Rossen Stoyanchev
542de82c5f
Document Jackson encoder/decoder behavior
...
Issue: SPR-16260
2018-01-04 22:02:27 -05:00
Rossen Stoyanchev
7bf9b767fd
Improve HTTP message reading/writing docs
...
Cross-reference sections on HttpMessageReader/Writer and
HttpMessageConverter and improve the content.
Issue: SPR-16260
2018-01-04 21:15:04 -05:00
Rossen Stoyanchev
0f1f95e090
Add hasJsonPath/doesNotHaveJsonPath assertion options
...
Issue: SPR-16339
2018-01-03 20:27:09 -05:00
Juergen Hoeller
a49123a72b
Upgrade to RxJava 2.1.8 (and Protobuf 3.5.1)
2017-12-31 18:51:22 +01:00
Juergen Hoeller
dd4f915234
Upgrade to JCache 1.1 (and Caffeine 2.6.1)
...
Issue: SPR-13574
2017-12-28 14:08:21 +01:00
sdeleuze
d2616b7996
Fix RestOperations extensions parameters nullability
...
Issue: SPR-16328
2017-12-27 17:54:38 +01:00
sdeleuze
deac8e556e
Improve Kotlin extensions doc about type erasure
...
Since type erasure can be fixed only when using
ParameterizedTypeReference based Java methods, RestOperations and
WebFlux API documentation should be updated to specify which extensions
are subject to type erasure, and which are not.
Issue: SPR-16273
2017-12-27 17:49:18 +01:00
Stephane Nicoll
8fc16fc937
Merge pull request #1627 from nkjackzhang:patch-1
...
* pr/1627:
Polish Javadoc
2017-12-23 14:20:28 +01:00
nkjackzhang
ec6eed6c63
Polish Javadoc
...
Closes gh-1627
2017-12-23 14:19:56 +01:00
Rossen Stoyanchev
3aee3182ac
Restore milestone repo for AspectJ
2017-12-22 15:13:48 -05:00
Rossen Stoyanchev
f389f66270
Upgrade to Reactor Bismuth snapshots
...
This allows us to confirm 0.7.3 fixes and run tests against the latest
ahead of an upgrade to Reactor Netty 0.8 snapshots.
The fix for #231 and #240 are confirmed but unfortunately test case for
2017-12-22 12:50:18 -05:00
Arjen Poutsma
6c3a64578c
Move ResolvableType from HttpEntity to PublisherEntity
...
This commit moves the ResolvableType field from HttpEntity to
PublisherEntity, a new entity type defined in MultipartBodyBuilder.
With this change, the scope of the ResolvableType is limited to
multipart-related code, instead of becoming part of the complete
HttpEntity hierarchy.
Issue: SPR-16307
2017-12-22 13:44:01 +01:00
Brian Clozel
6e587d5c57
Add new WebTestClient header assertions
...
This commit adds new header assertions for `WebTestClient`.
`doesNotExist` tests that a given header is not present:
.expectHeader().doesNotExist("Cache-Control");
`contentTypeCompatibleWith` tests for MediaType compatibility:
.expectHeader().contentTypeCompatibleWith("text/*");
Issue: SPR-16285
2017-12-21 20:34:24 +01:00
Arjen Poutsma
7035ee7ebb
Support Publishers for multipart data in BodyInserters
...
This commit uses the changes in the previous commit to support
Publishers as parts for multipart data.
Issue: SPR-16307
2017-12-21 17:41:01 +01:00
Arjen Poutsma
f23612c3a3
Add ResolvableType to HttpEntity for multipart Publishers
...
This commit adds a ResolvableType field to HttpEntity, in order to
support Publishers as multipart data. Without the type, the
MultipartHttpMessageWriter does not know which delegate writer to use to
write the part.
Issue: SPR-16307
2017-12-21 17:40:27 +01:00
Juergen Hoeller
9d27e86951
Upgrade to Hibernate Validator 6.0.7
2017-12-21 17:00:06 +01:00
Juergen Hoeller
4577a19190
Upgrade to Commons Pool 2.5 (and Jackson Kotlin Module 2.9.3)
2017-12-21 13:52:00 +01:00
sdeleuze
0075f13126
Improve CORS list properties combination logic
...
This commit allows CorsConfiguration#combine()
to differentiate permit default values set by
CorsConfiguration#applyPermitDefaultValues()
from values configured explicitly by the user.
Those permit default values will be overridden
by any user-provided ones while user-provided values
will be combined in an additive way, including
when "*" is specified.
Documentation has been improved accordingly.
Issue: SPR-15772
2017-12-20 22:38:01 +01:00
Juergen Hoeller
425a999d5e
Upgrade to Gradle 4.4.1 (and Netty 4.1.19)
...
Issue: SPR-16237
2017-12-20 18:10:15 +01:00
Rossen Stoyanchev
a8cf275aed
MockServerHttpRequest builder supports query params
...
Issue: SPR-16280
2017-12-19 15:38:12 -05:00
Rossen Stoyanchev
6df1a7874a
MockHttpServletResponse uses correct language header
...
Issue: SPR-16311
2017-12-19 13:56:16 -05:00
sdeleuze
99cbfd32c3
Set default view content-type with WebFlux fn
...
With this commit, the default content-type defined by the
view (usually "text/html;charset=UTF-8" defined in AbstractView)
is used if any, when none is defined in the response headers.
Issue: SPR-16247
2017-12-19 11:11:40 +01:00
sdeleuze
e3e4f37222
Upgrade to Kotlin 1.2.10
2017-12-19 11:03:50 +01:00
Juergen Hoeller
3a51b5a9d2
Upgrade to Hibernate Validator 6.0.6
2017-12-15 15:58:12 +01:00
Arjen Poutsma
b8201f48fd
Typo in example code in spring reactive reference document
...
Issue: SPR-16300
2017-12-15 12:03:14 +01:00
Rossen Stoyanchev
f4d8c7cc2b
Improve decodeToMono support
...
This commit ensures uniform support for decodeToMono across the various
byte and String related decoders.
Issue: SPR-16253
2017-12-14 16:59:34 -05:00
Arjen Poutsma
8e253a316d
Support top-level scalar values in Jackson2Tokenizer
...
Issue: SPR-16166
2017-12-14 16:44:40 +01:00
sdeleuze
51aa16f85f
Remove -Xskip-runtime-version-check Kotlin compiler arg
...
This compiler argument is not needed anymore since KT-16780
has been fixed.
2017-12-14 15:08:00 +01:00
sdeleuze
8c2e5dcb4a
Update Kotlin reference documentation
...
This commit removes the mention that Spring Boot 2.0 includes
Jackson Kotlin module since it is not the case as of M7, and
add a note about using bean validation annotations with Kotlin.
2017-12-14 14:22:59 +01:00
Juergen Hoeller
05988193b7
Upgrade to Jackson 2.9.3 and Netty 4.1.18
2017-12-13 17:55:50 +01:00
sdeleuze
6a7b197af7
Improve Jackson codecs documentation
2017-12-13 12:07:43 +01:00
sdeleuze
73a81f98d4
Allow interceptors to add existing header values
...
Additional commit to provide support of requests
that have a body.
Issue: SPR-15066
2017-12-13 10:08:24 +01:00
Rossen Stoyanchev
583201b02c
MappingJackson2MessageConverter uses generic type
...
Issue: SPR-16252
2017-12-12 22:32:33 -05:00
Rossen Stoyanchev
f05175586e
Refine behavior on error after response committed
...
If the response is set and we can't change the status through
ServerHttpResponse any more, allow the error signal to propagate and
let the individual server adapters handle it. Ultimately that should
result in closing the connection.
On Servlet containers, we check one last time if the response is
committed (we may not have filled the buffer). If not then save
the exception as a request attribute, dispatch, and re-throw it on the
container thread.
On Undertow access the connection and close it.
On Netty just let the error through to Reactor Netty.
Issue: SPR-16051
2017-12-12 14:51:24 -05:00
Juergen Hoeller
9d421841d5
Merge pull request #1622 from dreis2211/SPR-16293
...
Improve performance of some string operations
Issue: SPR-16293
2017-12-12 18:36:07 +01:00
Christoph Dreis
260ebeca3a
Improve performance of some string operations
...
Issue: SPR-16293
2017-12-12 17:14:24 +01:00
Rossen Stoyanchev
f736b665bd
Fix compile issue from previous commit
2017-12-11 16:37:11 -05:00
Rémi Alvergnat
76dcde9e31
Fix Stomp Broker Relay ignoring destination prefixes in some cases
...
Issue: SPR-16265
2017-12-11 13:25:29 -08:00
sdeleuze
554662ebab
Allow interceptors to add existing header values
...
Provide a fully mutable HttpHeaders to ClientHttpRequestInterceptors
of a RestTemplate when headers are set using HttpEntity. This avoids
UnsupportedOperationException if both HttpEntity and
ClientHttpRequestInterceptor add values for the same HTTP header.
Issue: SPR-15066
2017-12-11 15:01:20 +01:00
sdeleuze
ac00d8a215
Use JCenter first to resolve plugins
...
This is a workaround for Kotlin/dokka#146 .
2017-12-11 12:07:17 +01:00
sdeleuze
769ea1b106
Fix Kdoc regression to show only Kotlin API
...
As of Gradle Kotlin plugin 1.1.60,
project.sourceSets.main.kotlin.srcDirs contains
Java source directories in addition to Kotlin
ones. This commit filter out Java sources to
retain only Kotlin ones.
Issue: SPR-16268
2017-12-11 11:28:39 +01:00
Stephane Nicoll
206a5e02dd
Merge pull request #1615 from gro-gg:patch-1
...
* pr/1615:
Fix exception message
2017-12-09 15:46:55 -08:00
Philipp Grogg
591429e538
Fix exception message
...
initialDelayString is parsed into long, not integer.
Closes gh-1615
2017-12-09 15:46:28 -08:00
Juergen Hoeller
d198626618
Upgrade to Gradle 4.4 (and Apache HttpClient 4.5.4)
...
Issue: SPR-16237
2017-12-07 07:28:07 +01:00
Sam Brannen
767ea9db83
Fix minor logic error in SocketUtils
2017-12-06 17:00:29 -08:00
Tony Mitchell
9f36d170be
Support identical minPort and maxPort in SocketUtils ( #1612 )
...
This commit fixes a bug where an IllegalStateException was
thrown if the minPort and maxPort values supplied to
SocketUtils.findAvailableTcpPort(int, int) were identical.
2017-12-06 16:38:46 -08:00
Sam Brannen
f9689dfe48
Polishing
2017-12-06 15:54:02 -08:00
Juergen Hoeller
bf8831157d
Merge pull request #1614 from dreis2211/SPR-16264
...
Reduce access on user in SimpleBrokerMessageHandler.handleMessageInternal
2017-12-06 00:40:38 +01:00
Christoph Dreis
f4e9fb52a8
Reduce access on user in SimpleBrokerMessageHandler.handleMessageInternal
...
Issue: SPR-16264
2017-12-05 11:18:02 +01:00
ugultopu
04ab93ceb4
Add missing verb on the note about relays
2017-12-04 11:20:39 -05:00
Juergen Hoeller
0ef117ff11
Upgrade to Tomcat 8.5.24 and Jetty 9.4.8
2017-12-03 16:03:02 +01:00
Rossen Stoyanchev
fda08852ba
Take content-type from ResponseEntity unconditionally
...
From #9a894a we began using the content-type from the ResponseEntity
but cross-checking it still against the requested content type.
Arguably there isn't any purpose in cross-checking. The only possible
outcomes are: a) it's compatible or b) it's not, which would result in
406 (NOT_ACCEPTABLE). As we've been given explicitly the media type to
use, it makes little sense to send 406, ignoring the wish to use that
content type.
Issue: SPR-16251
2017-12-02 00:43:43 -05:00
Rossen Stoyanchev
203370a810
Handle absolute URI in Reactor request.uri()
...
The request URI returned from HttpServerRequest.uri() typically
contains contains an absolute path but could also contain an
absolute URI. This commit adds handling for the latter, effectively
taking only the absolute path portion.
Issue: SPR-16243
2017-12-01 23:34:35 -05:00
Rossen Stoyanchev
b9a1168580
Consistently return null if certificates not available
...
Issue: SPR-16244
2017-12-01 21:38:40 -05:00
Rossen Stoyanchev
e99b0038a0
Polish
2017-12-01 21:18:13 -05:00
Rossen Stoyanchev
91d3e4402f
Add test case for SPR-16246
2017-12-01 15:40:35 -05:00
Rossen Stoyanchev
44c95a4736
Adjust logging to catch sporadic PERF build failure
2017-12-01 10:11:51 -05:00
sdeleuze
7368f58518
Upgrade to Kotlin 1.2
...
apiVersion and languageVersion options are set to 1.1
on production code in order to avoid incompatibilities
with Kotlin 1.1 based projects or libraries.
Issue: SPR-16239
2017-11-30 14:50:16 +01:00
Rossen Stoyanchev
63c2c08e01
Update advice on file extensions in URLs
...
Issue: SPR-16240
2017-11-29 15:09:13 -05:00
Rossen Stoyanchev
dd0d270ba2
Improve error handling when response is committed
...
ResponseStatusExceptionHandler lets the error through if it can't
change the status while HttpWebHandlerAdapter logs a more helpful
message (including status code) but without a full stack trace.
Issue: SPR-16231
2017-11-29 12:39:06 -05:00
Juergen Hoeller
873cb4e58b
Remove unnecessary deprecation suppression
2017-11-29 15:44:08 +01:00
Juergen Hoeller
b55a2631ba
NamedParameterJdbcTemplate provides accessor for classic JdbcTemplate
...
Issue: SPR-16241
2017-11-29 15:38:21 +01:00
Rossen Stoyanchev
6f73b8b200
Add WebTestClient to Web Servlet section
2017-11-29 08:45:07 -05:00
Sam Brannen
2b68212c20
Fix grammar
2017-11-29 14:44:21 +01:00
Rossen Stoyanchev
3650ecc3bb
Polish
2017-11-28 22:16:07 -05:00
Rossen Stoyanchev
bec63fbb33
Update CORS chapters
...
- Add "Processing" section (also replaces Advanced Customizations)
- Add information on out-of-the-box behavior
- Add more deails on @CrossOririn default configuratio
- Add cross-references between Spring MVC and WebFlux
- Polish
2017-11-28 16:29:30 -05:00
Rossen Stoyanchev
375a63a041
Update README.md
2017-11-28 09:28:34 -05:00
Sam Brannen
773cd3241b
Polishing
2017-11-28 14:11:21 +01:00
Juergen Hoeller
f2e8171bfb
Latest dependency updates (RxJava 2.1.7, TestNG 6.13.1, Selenium HtmlUnit Driver 2.28.2)
2017-11-28 12:10:26 +01:00
Rossen Stoyanchev
dc3d834026
Refinements related to a committed response
...
1. setComplete checks the isCommitted flag to avoid an unnecessary
debug message. This method is meant to be safe to call many times.
2. setStatusCode lowers log message to TRACE, since the return value
communicates the outcome it's arguably much less critical.
3. Add comment and test case for ResponseStatusExceptionHandler.
A ResponseStatusException is clearly meant to be handled by this
handler so don't let it pass through even if the respones is
committed.
Issue: SPR-16231
2017-11-27 16:31:49 -05:00
Spring Buildmaster
e30f1fbe89
Next Development Version
2017-11-27 10:52:28 +00:00
Juergen Hoeller
b1c657fa4b
Consistent nullability in DataAccessUtils through nullableSingleResult
...
Issue: SPR-16225
2017-11-26 17:16:39 +01:00
Juergen Hoeller
a8323f6a27
Latest dependency updates (OkHttp 3.9.1, JRuby 9.1.14, Rome 1.9)
2017-11-26 16:03:48 +01:00
Juergen Hoeller
81052cd27a
Upgrade to Kotlin 1.1.61
...
Issue: SPR-16194
2017-11-24 23:23:38 +01:00
Juergen Hoeller
35dd8db892
Correct number of web-specific scopes
...
Issue: SPR-16230
2017-11-24 14:13:23 +01:00
Juergen Hoeller
edf22a3e25
Upgrade to Log4J 2.10 (and Groovy 2.4.13)
2017-11-24 12:04:08 +01:00
sdeleuze
3b96690e69
Add missing RestOperations extensions
...
Issue: SPR-16229
2017-11-23 22:12:03 +01:00
Rossen Stoyanchev
01a82b5291
Improve semantics writing currentData
...
Before this commit, the return value from write was interpreted as the
data being fully written and ready to be released via releaseData().
This is not true for WebSocketSession implementations where a true
return value simply means the message was sent with the full payload
but releas is not appropriate until a send confirmation.
Technically not an issue since WebSocketSession's extending this do
not use pooled buffers. Nevertheless this commit refines the semantics
of write, removes the releaseData() method, and makes sub-classes
responsible for releasing the buffer when fully written (and they
know best when that is). As a bonus currentData is now private.
Issue: SPR-16207
2017-11-23 10:55:03 -05:00
Rossen Stoyanchev
102a0ad792
Polish
2017-11-23 10:22:35 -05:00
Rossen Stoyanchev
c1b191edb0
Polish and improve logging
2017-11-22 23:25:36 -05:00
Rossen Stoyanchev
f44366877c
Switch to suspended mode before demand
...
After this commit, Tomcat and Undertow WebSocketSession imlpementations
start out in suspended mode and wait for demand.
The JettyWebSocketSession is capable of suspending but it doesn't seem
to work if invoked before any messages are received. That may become an
issue if there is a case where no demand appears long enough for more
messages to accumulate than we can hold.
UnderowServerHttpRequest would ideally also start in suspended mode but
that also doesn't work. It is not an issue in this case since we can
ignore the read notifications.
Servlet API requires a proactive check before it calls you back so
there is no need to suspend.
Issue: SPR-16207
2017-11-22 17:55:20 -05:00
Rossen Stoyanchev
afdca285e5
Avoid resume-suspend race condition
...
This commit turns suspendReading() into a readingPaused() notification
that is invoked after a succession of reads stops because there is no
more demand. Sub-classes can use this notification to suspend, if that
applies to them.
Most importantly the notification is guaranteed not to overlap with
checkOnDataAvailable() which means that suspend does not need to be
atomic and guarded against resume. The two can and do compete all the
time when reading ends with no demand, and a request for demand arrives
concurrently.
Issue: SPR-16207
2017-11-22 17:48:03 -05:00
sdeleuze
4a87d3da7b
Set Vary: Origin on CORS unauthorized response
...
Issue: SPR-16224
2017-11-22 22:46:53 +01:00
sdeleuze
652e5c5584
Disable CORS credentials by default
...
Access-Control-Allow-Credentials CORS header, used to
allow cookies with CORS requests, is not set to true
anymore by default when enabling CORS with
@CrossOrigin or global CORS configuration in order to
provide a more secured default CORS configuration.
The related allowCredentials property now requires to
be set to true explicitly in order to support cookies
with CORS requests.
Issue: SPR-16130
2017-11-22 22:46:44 +01:00
Juergen Hoeller
93f17dae47
Log4jLog explicitly passes String argument (avoiding argument expansion)
...
Issue: SPR-16226
2017-11-22 21:13:39 +01:00
Rossen Stoyanchev
b7c924cac1
Polish
2017-11-21 23:20:13 -05:00
Violeta Georgieva
d8099adc9a
AbstractListenerWebSocketSession: suspend the channel when there is no demand
...
Issues: SPR-16207
2017-11-21 22:59:33 -05:00
Rossen Stoyanchev
06b2ab3908
Use volatile for subscriber in base publishers
...
Issue: SPR-16207
2017-11-21 22:57:15 -05:00
Rossen Stoyanchev
b89a48a703
Improve FlushingIntegrationTests
2017-11-21 22:12:33 -05:00
Rossen Stoyanchev
3c2d1862f1
Light refactoring/polish in reactive read/write bridge
...
Issue: SPR-16207
2017-11-21 21:46:30 -05:00
Violeta Georgieva
2a481c5411
Fix race conditions in AbstractListenerReadPublisher
...
Transition from DEMAND->NO_DEMAND:
Two concurrent threads enter DEMAND.request and DEMAND.onDataAvailable.
And DEMAND.onDataAvailable finishes before DEMAND.request to be able to
update the demand field then a request for reading will be lost.
Transition from READING->NO_DEMAND:
readAndPublish() returns false because there is no demand but before
switching the states READING.request is invoked again a request for
reading will be lost.
Changing READING->DEMAND/NO_DEMAND is made conditional so that the
operations will be executed only if changing states succeeds.
When in READING state detect completion before each next item in order
to exit sooner, if completed.
Issue: SPR-16207
2017-11-21 14:44:46 -05:00
Violeta Georgieva
b814875211
Fix race condition in transition from UNSUBSCRIBED->COMPLETED
...
- Ensure completion signal (normal/exception) will be delivered to
the subscriber when transition from UNSUBSCRIBED->COMPLETED
- According to the specification "Publisher.subscribe MUST call onSubscribe
on the provided Subscriber prior to any other signals to that Subscriber" so
ensure onComplete/onError signals will be called AFTER onSubscribe signal.
Issue: SPR-16207
2017-11-21 14:44:01 -05:00
Violeta Georgieva
41b13a4e8a
Ensure onComplete/onError events will be delivered
...
Issue: SPR-16207
2017-11-21 14:42:05 -05:00
Juergen Hoeller
604017894e
Upgrade to Tiles 3.0.8 (and Selenium HtmlUnit Driver 2.28.1)
2017-11-21 17:56:42 +01:00
Juergen Hoeller
0cc644f61f
Polishing
2017-11-21 16:34:08 +01:00
sdeleuze
9f1d8517ba
Polish Kotlin source code style
2017-11-21 15:59:23 +01:00
Juergen Hoeller
5843173567
Polishing
2017-11-21 13:42:57 +01:00
Juergen Hoeller
08c95fbcb3
Unit tests for configuration superclass inclusion
...
Issue: SPR-16217
2017-11-21 13:42:01 +01:00
Stephane Nicoll
bdb04b1d28
Merge pull request #1601 from hongxingwz:master
...
* pr/1601:
Fix copy/paste in Javadoc
2017-11-21 06:58:45 +01:00
jianglei
4b614dc1de
Fix copy/paste in Javadoc
...
Closes gh-1601
2017-11-21 06:58:14 +01:00
Rossen Stoyanchev
bc8e525e60
Add shared instance of ReactiveAdapterRegistry
...
Issue: SPR-16218
2017-11-20 17:02:22 -05:00
Juergen Hoeller
6f24c0de17
Consistent use of tabs for sample code in the reference documentation
2017-11-20 22:28:00 +01:00
Juergen Hoeller
08c78554b9
Deprecate Castor support
...
Issue: SPR-16219
2017-11-20 22:27:47 +01:00
Juergen Hoeller
40dacd3c1c
Polishing
2017-11-20 22:27:07 +01:00
Juergen Hoeller
73b9aaa7ff
Upgrade to RxJava 1.3.4
2017-11-20 22:26:39 +01:00
Juergen Hoeller
27bbb73583
Expose all HttpResource header values (even if commonly not multi-value)
...
Issue: SPR-14264
2017-11-20 15:31:34 +01:00
Juergen Hoeller
84699c8b9b
Document common use cases for @Order vs @Priority vs @DependsOn
...
Issue: SPR-16213
2017-11-20 12:53:37 +01:00
Juergen Hoeller
040aae5309
Upgrade to Protobuf 3.5 and Apache Johnzon 1.1.5
2017-11-20 12:49:25 +01:00
Juergen Hoeller
daee6eeaad
ParameterMetaData.getParameterType performance on Oracle 12c
...
Issue: SPR-16139
2017-11-19 21:17:32 +01:00
Juergen Hoeller
a8b48848b9
SqlParameterSourceUtils.createBatch with Collection support
...
Issue: SPR-16215
2017-11-19 21:17:24 +01:00
Juergen Hoeller
20fcefc647
ResourceHttpRequestHandler uses EmbeddedValueResolverAware
2017-11-19 21:16:29 +01:00
Juergen Hoeller
14a7da8183
Upgrade to Hibernate Validator 6.0.5
2017-11-19 21:16:10 +01:00
Andy Clement
508aea8a47
Rework implementation of PathPattern.extractPathWithinPattern
...
This commit changes the implementation of the PathPattern
extractPathWithinPattern method that used an old AntPathMatcher
derivative to a new version that integrates more closely with
PathContainer.
It also introduces consistency in a couple of areas. The javadoc
is updated to specify this but basically:
- the response from the extra method will have all leading
and trailing separators removed.
- the response will have multiple adjacent separators within the
reponse reduced to just one. (For example response would be
aaa/bb/cc and not aaa///bbb//cc)
If your response would start or finish with multiple separators, they
are all removed.
Issue: SPR-16120
2017-11-17 12:03:17 -08:00
Rossen Stoyanchev
b1b5353b7f
Revise charset by location support for static resources
2017-11-17 12:33:58 -05:00
Rossen Stoyanchev
ce895d7a84
Add mention of shortcut methods in BodyInserters
2017-11-17 10:43:53 -05:00
Violeta Georgieva
0fbfa64385
UndertowServerHttpRequest: suspend reading when no demand
...
- When there is no demand for reading, the implementation
should suspend reading otherwise useless events will be
send by Undertow to the registered read listener.
- There is not need to wait for an event for reading/writing after calling
resumeReads/resumeWrites
2017-11-16 16:15:55 +01:00
sdeleuze
3e8e0c1d6a
Upgrade to Reactor Bismuth-SR4
...
Issue: SPR-16206
2017-11-16 15:36:42 +01:00
sdeleuze
c530745015
Fix JsonView + HttpEntity Reactive handling
...
This commit adds
AbstractMessageReaderArgumentResolver#readBody and
AbstractMessageWriterResultHandler#writeBody variants
which allow to pass the actual MethodParameter in order
to perform proper annotation-based hint resolution with
nested generics, for example with HttpEntity.
Issue: SPR-16098
2017-11-16 15:12:58 +01:00
Arjen Poutsma
e4d405271a
Document DataBuffer/PooledDataBuffer and codecs
...
Issue: SPR-16156
2017-11-16 11:36:26 +01:00
Juergen Hoeller
cc7c90cca5
Polishing
2017-11-16 10:52:56 +01:00
Juergen Hoeller
7af9910244
Restored support for placeholders in mvc namespace resource locations
...
With the recent charset mechanism in place, we cannot rely on implicit placeholder parsing during String-to-Resource conversion anymore.
2017-11-16 09:36:23 +01:00
Rossen Stoyanchev
8e21023f28
Update docs on ClientResponse
...
Issue: SPR-16200
2017-11-15 17:08:57 -08:00
Rossen Stoyanchev
19a9bc4747
Remove unnecessary assertion
...
Issue: SPR-16201
2017-11-15 16:04:32 -08:00
Rossen Stoyanchev
6e05a5881e
Update WebClient Javadoc
...
Issue: SPR-16197
2017-11-15 15:09:01 -08:00
Juergen Hoeller
7bcbdbbc62
Upgrade to AspectJ 1.8.13 (and 1.9 RC2)
...
Issue: SPR-16161
2017-11-15 23:55:55 +01:00
sdeleuze
9dd29f76ae
Polish CORS documentation
2017-11-15 16:16:13 +01:00
sdeleuze
38040bf3f2
Add WebFlux CORS reference documentation
...
Issue: SPR-16199
2017-11-15 16:16:01 +01:00
Juergen Hoeller
7697b398d5
Polishing
2017-11-14 17:11:16 +01:00
Juergen Hoeller
85baba33bf
Accessors for PeriodicTrigger properties
...
Issue: SPR-15982
2017-11-14 17:09:19 +01:00
Rossen Stoyanchev
fb7b7d089b
Revert erroneously committed change
2017-11-14 08:42:04 -05:00
sdeleuze
90e5945014
Upgrade to Kotlin 1.1.60
...
Issue: SPR-16194
2017-11-14 10:09:00 +01:00
sdeleuze
edf8232555
Avoid implicit autowiring with Kotlin secondary ctors
...
Autowiring implicitely Kotlin primary constructors
when there are secondary constructors has side effects
on ConstructorResolver. It seems reasonable to
require explicit @Autowired annotation in such case.
With this commit, implicit autowiring of Kotlin
primary constructors is only performed when there
is a primary constructor defined alone or with
a default constructor (define explicitly or
generated via the kotlin-noarg compiler plugin
or via optional constructor parameters with default
values).
Issue: SPR-16022
2017-11-14 09:25:46 +01:00
Rossen Stoyanchev
536e72c8df
Add WebSocket chapter to WebFlux section
...
Issue: SPR-15700
2017-11-13 23:20:01 -05:00
Rossen Stoyanchev
0dd31b834e
Refactor WebSocket intro and create separate doc
...
Issue: SPR-15700
2017-11-13 23:20:01 -05:00
Rossen Stoyanchev
5e86049438
Expose WebSocket options for Tomcat/Jetty
2017-11-13 23:20:01 -05:00
Rossen Stoyanchev
e818b904ad
Polish WebSocket-related
2017-11-13 23:20:01 -05:00
Juergen Hoeller
c30145d6f9
MethodReference treats proxy-targeting expressions as non-compilable
...
Issue: SPR-16191
2017-11-13 23:00:53 +01:00
Juergen Hoeller
7406f5993a
Polishing
2017-11-13 22:39:39 +01:00
Juergen Hoeller
3e5209bea5
Test dependency updates (Mockito 2.12, HtmlUnit 2.28, Selenium 3.7.1, XMLUnit 2.5.1)
2017-11-13 21:51:23 +01:00
Juergen Hoeller
b5cedd43eb
Consistent and efficient access to BeanDefinition argument values
...
Issue: SPR-16192
2017-11-13 21:51:11 +01:00
Juergen Hoeller
e2bb06edbd
Unit tests for unresolvable generics with partial mismatch
...
Issue: SPR-16179
2017-11-13 21:51:02 +01:00
Juergen Hoeller
3091feee23
SpringValidatorAdapter skips value retrieval for Set field without index
...
Issue: SPR-16177
2017-11-13 21:50:55 +01:00
diesieben07
0e49e32188
Handle parameters of Kotlin extension methods correctly
...
The EXTENSION_RECEIVER parameter of Kotlin's extension
methods appear as normal method parameters to Java and
thus require a name. The synthetic name "$receiver" is
used here, as it is not a valid Kotlin identifier,
but valid in Java.
Issue: SPR-16119
2017-11-13 15:42:32 +01:00
Sam Brannen
2be2aa7b96
Add missing word to JavaDoc
2017-11-13 00:46:20 +01:00
Sam Brannen
532eb1d776
Upgrade to JUnit Jupiter 5.0.2
2017-11-12 23:43:02 +01:00
Juergen Hoeller
e2018e6b72
HibernateJpaVendorAdapter sets connection release mode ON_CLOSE in non-PersistenceUnitInfo bootstrap scenario
...
Issue: SPR-16162
2017-11-11 18:43:43 +01:00
Juergen Hoeller
72f20e8d4f
Polishing
2017-11-11 00:37:50 +01:00
Rossen Stoyanchev
87375fe6f8
ServerHttpRequest exposes SSL certificates
...
Issue: SPR-15964
2017-11-10 16:43:12 -05:00
Rossen Stoyanchev
9a894ab61e
Use ResponseEntity Content-Type as producible media type
...
Issue: SPR-16172
2017-11-10 15:05:03 -05:00
Juergen Hoeller
780993ce75
Polishing
2017-11-10 20:21:26 +01:00
Juergen Hoeller
a80fd9994a
HibernateJpaVendorAdapter preserves connection release mode for JTA
...
Issue: SPR-16162
2017-11-10 20:21:03 +01:00
Juergen Hoeller
de782026c4
Explicitly document UriTemplate as thread-safe
...
Issue: SPR-16173
2017-11-10 20:20:23 +01:00
Juergen Hoeller
a5da05c3dc
Comprehensive documentation on injection point matching
...
Issue: SPR-16142
2017-11-10 20:20:13 +01:00
Juergen Hoeller
423af674cd
Upgrade to Gradle 4.3.1 (and Netty 4.1.17)
...
Issue: SPR-16080
2017-11-10 20:20:02 +01:00
Rossen Stoyanchev
f565f635e3
Polish
2017-11-10 11:29:58 -05:00
Rossen Stoyanchev
ff97eafa4f
Fix NPE in ErrorsArgumentResolver
...
Issue: SPR-16187
2017-11-10 10:57:26 -05:00
Rossen Stoyanchev
a5103307c6
Polish ErrorArgumentResolver
2017-11-10 10:15:46 -05:00
Arjen Poutsma
8223809455
Use existing CompositeByteBuf if possible
...
This commit uses the existing CompositeByteBuf if present, as opposed
to creating a new composite for every call to
NettyDataBuffer.write(ByteBuf...)
Issue: SPR-16180
2017-11-10 15:09:14 +01:00
Rossen Stoyanchev
8cfa3c632b
Allow Undertow client in websocket integration tests
...
It seems to work.
2017-11-09 17:49:11 -05:00
Rossen Stoyanchev
988c5f2b56
Merge pull request #1590 from yneth/master
2017-11-09 17:17:04 -05:00
Rossen Stoyanchev
cb34b0b963
Polish
2017-11-09 17:16:31 -05:00
anton_bondarenko
b487db294b
Fix NullPointer when setting cookies in RequestUriSpec
2017-11-09 16:59:44 -05:00
Rossen Stoyanchev
807297f173
Remove RxNetty (from test sources)
...
Practically no changes to RxNetty for a year and efforts underway to
rebuild 0.6.x based on a current Reactor Netty base.
Aside from the extra time to run integration tests having two
Netty-based servers can also cause false alarms such as ByteBuf leaks
related to RxNetty.
2017-11-09 15:56:56 -05:00
Rossen Stoyanchev
369d33c3d0
Support charset config by (static) resource location
...
This commit adds support for configuring static resource locations
with a charset to be applied to relative paths.
2017-11-09 13:15:06 -05:00
Arjen Poutsma
db00669197
Allow to set cookies in ServerResponse
...
Issue: SPR-16121
2017-11-09 11:04:02 +01:00
Rossen Stoyanchev
840ef46a9f
Polish
...
Also remove ErrorDeferredResultProcessingInterceptor which was meant
to be package private to begin with as its peer
ErrorCallableProcessingInterceptor (also removed).
2017-11-08 23:15:31 -05:00
Juergen Hoeller
457c70cf33
Merge pull request #1588 from benbenw/SPR-16170
...
Improve memory allocations when substituting named parameters
Issue: SPR-16170
2017-11-08 23:54:38 +01:00
benoit
667e0341fa
Improve memory allocations when substituting named parameters.
...
Create the buffer with at least the original sql length to avoid
multiple re-allocations
Add a fast path if the original sql doesn't contain any parameters
2017-11-08 23:45:53 +01:00
Rossen Stoyanchev
263da1535b
WebTestClient can be configured with connector
...
Issue: SPR-16168
2017-11-07 13:01:12 -05:00
sdeleuze
1a246c0a67
Fix ListableBeanFactory Kotlin extensions return types
2017-11-07 13:51:53 +01:00
Rossen Stoyanchev
9786750b5a
Improve @RequestAttribute WebFlux resolver
...
The resolver now takes into account the possibility the attribute
itself may be a reactive type.
Issue: SPR-16158
2017-11-06 21:44:45 -05:00
Rossen Stoyanchev
14f02d7192
Update reference with examples of multipart requests
...
Issue: SPR-16118
2017-11-06 16:33:58 -05:00
Juergen Hoeller
4ec60f08ad
PrintingResultHandler defensively accesses session.getAttributeNames()
...
Issue: SPR-16164
2017-11-06 21:19:44 +01:00
Juergen Hoeller
899994e7c1
Merge pull request #1587 from dreis2211/SPR-16165
...
Reduce access on headers for STOMP messaging
Issue: SPR-16165
2017-11-06 20:41:10 +01:00
Christoph Dreis
9fab208fdd
Reduce access on headers for STOMP messaging
...
Issue: SPR-16165
2017-11-06 20:19:00 +01:00
Juergen Hoeller
ffd6eff369
Scheduled task introspection through ScheduledTaskHolder interface
...
Issue: SPR-15982
2017-11-06 18:36:39 +01:00
Juergen Hoeller
9511d29adb
Updated bean count expectations in ClassPathBeanDefinitionScannerTests
...
Issue: SPR-16152
2017-11-06 18:36:29 +01:00
Arjen Poutsma
af2e296ff3
Javadoc
2017-11-06 16:00:18 +01:00
Stephane Nicoll
1838ddb95d
Support Ant-style package name with component index
...
This commit improves the component index so that it supports ant-style
package name (i.e. com.example.**.foo).
Issue: SPR-16152
2017-11-06 15:19:30 +01:00
Juergen Hoeller
9649b0cb25
Properly resolve null beans as getBeansOfType result entries
...
Issue: SPR-16163
2017-11-06 13:27:51 +01:00
Arjen Poutsma
2d1f87501c
Add MultipartBodyBuilder
...
This commit introduces the MultipartBodyBuilder, a builder for multipart
form bodies.
Issue: SPR-16134
2017-11-06 10:42:11 +01:00
Juergen Hoeller
9b7af8b5aa
Polishing
2017-11-05 21:07:26 +01:00
Juergen Hoeller
07b479e264
FileUrlResource creates same class from createRelative
...
Issue: SPR-16140
2017-11-05 21:01:29 +01:00
Juergen Hoeller
a75dd2dd3e
Consistent getDateHeader checks in spring-webmvc unit tests
...
Issue: SPR-16160
2017-11-05 17:00:18 +01:00
Juergen Hoeller
e5c1deea63
Polishing
2017-11-05 16:23:30 +01:00
Juergen Hoeller
80a0cf71f4
MockHttpServletResponse.getDateHeader returns -1 for non-existent header
...
Includes consistent getDateHeader results in both MockHttpServletResponse variants (spring-test and spring-web)
Issue: SPR-16160
2017-11-05 16:12:21 +01:00
Juergen Hoeller
0edf4d6509
MockHttpServletRequest.getRequestURL aligns with getServerName/Port
...
Issue: SPR-16138
2017-11-05 16:11:21 +01:00
Juergen Hoeller
db050ac38c
Polishing
2017-11-04 01:07:09 +01:00
Juergen Hoeller
996d747aed
Upgrade to Mockito 2.11
...
Includes fixes for invalid exception declarations in Mockito-based unit tests. Also includes FreeMarker 2.3.27, Commons Pool 2.4.3, JSON-P 1.1.2.
Issue: SPR-16157
2017-11-04 01:06:59 +01:00
Juergen Hoeller
a37fce854f
Merge pull request #1586 from jmax01/master
...
Correctly handle NVARCHAR, LONGNVARCHAR and NCLOBs
Issue: SPR-16154
2017-11-03 23:48:44 +01:00
jmaxwell
e4c5b77de7
SPR-16154 - Correctly handle NVARCHAR, LONGNVARCHAR and NCLOBs
2017-11-03 14:49:32 -05:00
Rossen Stoyanchev
845110aa66
Update docs on HTTP/2
2017-11-03 10:35:42 -04:00
Stephane Nicoll
fb76aa0150
Detected candidate inner classes
...
This commit improves the indexer to also consider static inner classes
on top of regular top level classes.
Issue: SPR-16112
2017-11-03 13:25:23 +01:00
Rossen Stoyanchev
ef39092b3b
UriUtils#encodUriVariables methods are now public
2017-11-03 08:21:55 -04:00
Jay Bryant
7964360f79
Fix a broken link
2017-11-02 21:21:24 -04:00
Rossen Stoyanchev
4534c5fbfc
AbstractReactiveWebInitializer supports Servlet mapping
...
Issue: SPR-16155, SPR-16144
2017-11-02 21:03:09 -04:00
Rossen Stoyanchev
8c33ed02b3
ServletHttpHandlerAdapter supports Serlvet path mapping
...
Issue: SPR-16155
2017-11-02 20:53:26 -04:00
Rossen Stoyanchev
aa653b23bc
Add AbstractReactiveWebInitializer
...
This commit introduces a new AbstractReactiveWebInitializer in
spring-web that relies on WebHttpHandlerBuilder to detect request
processing infrastructure beans from an ApplicationContext.
This eliminates the need to create a DispatcherHandler, since it is
expected to be a Spring bean, and as a result the initializers in
spring-webflux have been deprecated.
Issue: SPR-16144
2017-11-02 14:57:06 -04:00
Juergen Hoeller
1611ce7180
AbstractApplicationContext silently ignores non-initialized ApplicationEventMulticaster/LifecycleProcessor on destruction
...
Issue: SPR-16149
2017-11-02 16:07:12 +01:00
Juergen Hoeller
d00e4f17ec
ClassPathResource uses specific constructors in createRelative
...
Issue: SPR-16146
2017-11-02 16:05:57 +01:00
Juergen Hoeller
b921d564d2
DefaultResourceLoader resolves writable FileUrlResource for "file:" URL
...
Issue: SPR-16140
2017-11-02 16:05:40 +01:00
Juergen Hoeller
da9f138a65
Upgrade to Caffeine 2.6 and Undertow 1.4.21
2017-11-02 16:05:27 +01:00
Norman Soetbeer
4dee333a75
Allow empty usernames for BasicAuth
...
The RFCs around basic authentication don't explicitly disallow empty
usernames. On the other hand usernames containing colons are, as colons
are used to separate the username from the password.
2017-11-02 09:59:14 -05:00
Rossen Stoyanchev
abe4420006
Improve ReactorNettyTcpClient shutdown logic
...
This commit takes care of the TODOs in ReactorNettyTcpClient by taking
advantage of improvements in Reactor Netty.
Issue: SPR-16145
2017-11-01 16:34:32 -04:00
Rossen Stoyanchev
b35b50bef1
Polish
2017-11-01 09:21:36 -04:00
Rossen Stoyanchev
64bc9b4311
Do match message type
...
SimpMessageTypeMessageCondition was lenient in matching the message
type, essentially matching on any non-null message type with an exact
match given a preference only in comparing mulitple matches.
This commit modifies matching logic to look for an exact match.
Issue: SPR-16109
2017-11-01 09:21:36 -04:00
Arjen Poutsma
a58002a5de
Chained API for form and multipart data in BodyInserters
...
Issue: SPR-16133
2017-11-01 13:17:52 +01:00
Rossen Stoyanchev
579328bd7a
MockClientHttpRequest|Response support cookie headers
...
Issue: SPR-16124
2017-10-31 12:08:18 -04:00
Juergen Hoeller
d06129debd
InterceptingHttpAccessor uses internal ArrayList for sorting
...
Also caches InterceptingClientHttpRequestFactory (if applicable)
Issue: SPR-16137
2017-10-31 16:33:38 +01:00
Rossen Stoyanchev
48c2cc18b9
Update form + multipart data Javadoc on BodyInserters
...
Issue: SPR-16118
2017-10-31 09:21:09 -04:00
Rossen Stoyanchev
8083eaae54
syncBody better differentiates plain vs multipart forms
...
FromHttpMessageWriter and MultipartHttpMessageWriter both support
MultiValueMap except the former supports String values only. This
presents an issue since either full generic type information must be
provided, which is cumbersome on the client side, or if left out there
is no good way to order the writers to make a proper decision.
This commit:
- refines the canWrite behavior of to not a
accept MultiValueMap without proper generic information unless the
MediaType is explicitly set providing a strong hint.
- modifies MultipartHttpMessageWriter to be configured with a
FormHttpMessageWriter so it can write both plan and multipart data with
the ability to properly differentiate based on actual map values.
Issue: SPR-16131
2017-10-31 09:12:05 -04:00
Juergen Hoeller
e5c8dc0d65
MessageSource.getMessage returns null default message as-is (again)
...
Issue: SPR-16127
2017-10-31 11:06:42 +01:00
Juergen Hoeller
295e3b6a99
MockRestServiceServer test for follow-up request after failure
...
Issue: SPR-16132
2017-10-30 16:40:20 +01:00
Juergen Hoeller
3c07afc5be
Merge pull request #1580 from epabst/SPR-16132
...
Move requests.add(request) into finally block.
2017-10-30 16:19:30 +01:00
Eric Pabst
43d88e4a25
Move requests.add(request) into finally block.
...
This avoids "IllegalStateException: Expectations already declared" when
a MockRestServiceServer is used after one request throws an exception.
Issues: SPR-16132
2017-10-30 08:53:13 -06:00
Arjen Poutsma
49787493a6
Proper Undertow PooledByteBuffer release
...
This commit changes the way Undertow's PooledByteBuffers are dealt with.
Previously, these buffers where closed as soon as all data was read. As
of this commit, the UndertowServerHttpRequest returns PooledDataBuffers
from getBody(), so that the buffers are released when release() is
called.
2017-10-30 10:39:18 +01:00
Juergen Hoeller
70ed45020b
Add StatusAssertions.isForbidden
...
Includes aligned quoting for header assertion messages.
Also aligns HeaderAssertionTests class name.
Issue: SPR-16129
2017-10-29 09:51:25 +01:00
Rossen Stoyanchev
d9ede5bcca
Remove link to build and release FAQ
...
The "Build from Source" wiki page now consolidates build-related information
and is independent from "Release" information. The former is broadly of interest
to any contributor. The later is of interest to committers.
2017-10-27 16:42:29 -04:00
Rossen Stoyanchev
f549d583cb
Update links
2017-10-27 16:02:54 -04:00
Rossen Stoyanchev
b3407a6ce7
Update link.
2017-10-27 15:55:21 -04:00
Juergen Hoeller
80fc85067e
Upgrade to RxJava 2.1.6
2017-10-27 15:29:17 +02:00
Juergen Hoeller
78284a62e2
Polishing
2017-10-27 15:28:51 +02:00
Sebastien Deleuze
0e1be82cfb
Add SPR-15942 to the refdoc list of pending Kotlin issues
2017-10-27 13:56:24 +02:00
Sebastien Deleuze
b9a0e6bbf2
Update documentation about WebTestClient Kotlin issue
...
Issue: SPR-16057
2017-10-27 13:52:51 +02:00
Juergen Hoeller
419b4440a7
Introspect interface-declared methods in case of proxy (for varargs)
...
Issue: SPR-16122
2017-10-27 10:52:44 +02:00
Rossen Stoyanchev
2611aa000d
Polish
2017-10-26 21:20:45 -04:00
Rossen Stoyanchev
9d00552aac
Add logo to README
2017-10-26 21:10:09 -04:00
Rossen Stoyanchev
4437a185f4
Replace logo
2017-10-26 21:02:38 -04:00
Rossen Stoyanchev
e0177c9af6
Add logo
2017-10-26 20:44:03 -04:00
Rossen Stoyanchev
a7c30570c4
Update README.md
2017-10-26 17:49:54 -04:00
Juergen Hoeller
fd6f2bd6a4
Test for null value against boolean property
...
Issue: SPR-16123
2017-10-26 22:49:34 +02:00
Juergen Hoeller
ee7b928300
Upgrade to Derby 10.14.1.0
2017-10-26 21:26:31 +02:00
Juergen Hoeller
a2f5e1254e
Drive letter case alignment in addClassPathManifestEntries
...
Issue: SPR-16117
2017-10-26 15:28:27 +02:00
Rossen Stoyanchev
a982123ed5
Decouple ExchangeResult from WiretapRequest/Response
...
This commit decouples ExchangeResult from knowledge about
WiretapClientHttpRequest/Response both of which are now private to
WiretapConnector.
ExchangeResult takes ClientHttpRequest/Response instead along with
promises for the serialized request and response content in the form
of MonoProcessor<byte[]>.
This sets up the possibility for an ExchangeResult to be created
outside and independent of WebTestClient, should we decide to make its
constructor public.
Issue: SPR-16101
2017-10-25 17:41:46 -04:00
Juergen Hoeller
7e8c8f0b76
Polishing
2017-10-25 19:23:48 +02:00
Juergen Hoeller
f965123513
Correct SpEL example (matching its comment)
...
Issue: SPR-16111
2017-10-25 19:19:32 +02:00
Juergen Hoeller
9bab7a2708
Upgrade to Java Activation Framework 1.2 for test runtime
...
Includes upgrade to Hibernate Validator 6.0.4 (where applicable)
Issue: SPR-16115
2017-10-25 19:18:10 +02:00
Rossen Stoyanchev
01e7cae3ed
Fix links
2017-10-25 11:19:30 -04:00
Rossen Stoyanchev
065c9cc101
Typo
2017-10-25 11:17:03 -04:00
Rossen Stoyanchev
376e5b6b53
README + CONTRIBUTING refer to Build from Source wiki
2017-10-25 11:14:42 -04:00
Rossen Stoyanchev
3c1518f53a
Update CONTRIBUTING.md
2017-10-25 10:13:11 -04:00
Rossen Stoyanchev
5ac377499c
CONTRIBUTING is markdwon again + polish README
...
The main way CONTRIBUTING will be viewed is on Github and the output
is just not good enough to justify using asciidoctor vs md/txt as
the recommended on the Github help page for contributing guidelines.
For example it was attractive to use a TOC and that works on Github
but doesn't look good. In the end it's a very short TOC and
maintaining manually is easy enough and it's easier to control the
look.
2017-10-25 10:05:41 -04:00
Rossen Stoyanchev
bf4c97cb1c
Polish README
2017-10-24 23:48:12 -04:00
Rossen Stoyanchev
4e384a636f
Polish README
2017-10-24 23:42:54 -04:00
Rossen Stoyanchev
b1068fe71e
Replace TOC with manual listing
...
Essentially optimize for viewing on Github since the Asciidoctor
TOC works but doesn't look good with no styling.
2017-10-24 23:30:15 -04:00
Rossen Stoyanchev
a455feab59
Optimize TOC for viewing on Github
2017-10-24 23:21:29 -04:00
Rossen Stoyanchev
375d26ed50
Update link to CONTRIBUTING
2017-10-24 23:19:45 -04:00
Rossen Stoyanchev
e30d1d92ec
Overhaul contributing guidelines
...
The guidelines were originally created several years ago. This commit
does not fundamentally change anything but rather make the guidance
more compact.
The commit consolidates into into CONTRIBUTING.adoc information from
CONTRIBUTING-DOCUMENTATION.adoc and also the wiki page "The Lifecycle
of an Issue".
2017-10-24 22:54:26 -04:00
Rossen Stoyanchev
ce4d88d474
Convert CONTRIBUTING from md to adoc
2017-10-24 15:57:47 -04:00
Spring Buildmaster
6dcc8539f7
Next Development Version
2017-10-24 15:15:29 +00:00
Juergen Hoeller
d963597ec0
Test with hasError for unknown status code
...
Issue: SPR-16108
2017-10-24 15:51:29 +02:00
Juergen Hoeller
9cfa9291cc
Polishing
2017-10-24 14:56:38 +02:00
Juergen Hoeller
2d0ab4740c
Consistent hasText checks for CharSequence vs String
...
Directly inlined hasLength implementations for proper nullability detection in IntelliJ, assuming a hasText checked value is never null afterwards. Since the JVM is going to do this at runtime anyway, this is effectively equivalent but more indicative for source code introspection algorithms.
Issue: SPR-15540
2017-10-24 13:16:47 +02:00
Juergen Hoeller
9efdadcdca
Compatibility with OpenPDF as alternative to iText 2.1.7
...
Issue: SPR-16107
2017-10-24 13:14:53 +02:00
Juergen Hoeller
efe943df72
WebSphereUowTransactionManager logs overridden application exceptions
...
Issue: SPR-16102
2017-10-24 13:14:22 +02:00
Brian Clozel
bf6025303b
Start documenting HTTP/2 support
...
A new HTTP/2 support section has been added in the Spring MVC
documentation. Also, a dedicated wiki page is created for specific
container support information.
Issue: SPR-15821
2017-10-24 11:41:51 +02:00
Arjen Poutsma
6457a1556e
Javadoc
2017-10-24 10:59:47 +02:00
Juergen Hoeller
a4f8ce7553
Upgrade to AspectJ 1.9 RC1
...
Issue: SPR-16077
2017-10-24 02:02:59 +02:00
Juergen Hoeller
182da15908
BridgeMethodResolver properly resolves interface hierarchies
...
Issue: SPR-16103
2017-10-24 01:01:49 +02:00
Juergen Hoeller
55b0c2f243
Polishing
2017-10-24 01:01:42 +02:00
Sebastien Deleuze
1c256a112b
Parse correctly ContentDisposition header with semicolons
...
Issue: SPR-16091
2017-10-23 23:09:14 +02:00
Rossen Stoyanchev
a3e62284ea
Create Languages section
...
Issue: SPR-16044
2017-10-23 16:57:56 -04:00
Rossen Stoyanchev
c80aa83383
Upgrade to Reactor Bismuth SR3
2017-10-23 15:01:51 -04:00
Juergen Hoeller
ecea82d3a5
Polishing
2017-10-23 17:14:09 +02:00
Juergen Hoeller
f31069ac05
Upgrade to Selenium 3.6 and XMLUnit 2.5
2017-10-23 17:13:55 +02:00
Arjen Poutsma
40a6fba443
Allow to change URL/method in ClientRequest.Builder
...
This commit exposes the ClientRequest's URL and HttpMethod fields via a
setter, so that they can be changed more easily in a request that was
created via ClientRequest.from(ClientRequest).
Issue: SPR-16093
2017-10-23 16:39:33 +02:00
Sebastien Deleuze
585ad5961a
Upgrade to Reactor Bismuth-SR2
...
Issue: SPR-16085
2017-10-23 11:35:46 +02:00
Stephane Nicoll
62c6a0054d
Merge pull request #1575 from ocadaruma:fix-example
...
* pr/1575:
Fix wrong javadoc example
2017-10-23 09:20:46 +02:00
Haruki Okada
159da04eed
Fix wrong javadoc example
...
Closes gh-1575
2017-10-23 09:20:19 +02:00
Juergen Hoeller
c7100f771c
Explicit notes on advice mode proxy vs aspectj
...
Issue: SPR-16092
2017-10-22 20:34:34 +02:00
Juergen Hoeller
75ec973bae
Refined tests for StringUtils.starts/endsWithIgnoreCase
...
Issue: SPR-16095
2017-10-22 20:29:46 +02:00
Juergen Hoeller
5d41e0f012
Avoid temporary String creation in StringUtils.starts/endsWithIgnoreCase
...
Issue: SPR-16095
2017-10-22 14:31:17 +02:00
Juergen Hoeller
9a88ebdeba
Consistent hasText checks for CharSequence vs String
...
Issue: SPR-15540
2017-10-22 12:12:32 +02:00
Juergen Hoeller
9288990603
Varargs and consistent nullability in MailMessage implementations
...
Issue: SPR-15756
2017-10-21 23:18:54 +02:00
Juergen Hoeller
5809f5b8eb
SubProtocolWebSocketHandler provides protected decorateSession method
...
Issue: SPR-16089
2017-10-21 23:02:54 +02:00
Juergen Hoeller
d418ba1b5d
Remove snapshot repository (after Reactor Bismuth-SR1 upgrade)
...
Issue: SPR-16085
2017-10-21 22:55:51 +02:00
Stephane Nicoll
9404041719
Upgrade to Reactor Bismuth-SR1
2017-10-21 08:10:56 +02:00
Rossen Stoyanchev
1cc5afe24b
Fix lines over 120 characters
...
https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
2017-10-20 16:42:26 -04:00
Stephane Nicoll
8ad212dae2
Merge pull request #1570 from wilkinsona:patch-3
...
* pr/1570:
Add missing "be" in Part's javadoc
2017-10-20 16:44:08 +02:00
Andy Wilkinson
07eee05d1d
Add missing "be" in Part's javadoc
...
Closes gh-1570
2017-10-20 16:43:48 +02:00
Juergen Hoeller
e17ad551f3
Latest dependency updates (RxJava 1.3.3, Hibernate ORM 5.2.12, Hibernate Validator 5.4.2 & 6.0.3)
2017-10-20 16:16:06 +02:00
Juergen Hoeller
d1fac36e3e
SchedulingConfigurer and JmsListenerConfigurer respect @Order
...
Issue: SPR-16090
2017-10-20 16:10:12 +02:00
Juergen Hoeller
a4537b1b6d
Accessors for configured send-time and buffer-size limit
...
Issue: SPR-16089
2017-10-20 16:02:26 +02:00
Rossen Stoyanchev
48eb416ecc
Fix failing tests
2017-10-19 21:42:31 -04:00
Rossen Stoyanchev
ab92754a2e
@MatrixVariable resolvers for WebFlux
...
The information was already parsed and available in a request attribute
but until now there were no argument resolvers to expose it.
Issue: SPR-16005
2017-10-19 21:01:38 -04:00
Arjen Poutsma
c7a15260d6
Various DataBuffer improvements
...
This commit introduces various improvements in DataBuffer:
- DataBuffer now exposes its read and write position, as well as its
capacity and writable byte count.
- Added DataBuffer.asByteBuffer(int, int)
- DataBufferUtils.read now reads directly into a DataBuffer, rather than
copying a ByteBuffer into a DataBuffer
- TomcatHttpHandler now reads directly into a DataBuffer
Issues: SPR-16068 SPR-16070
2017-10-19 10:38:52 +02:00
Rossen Stoyanchev
d8a7b96b46
WebFlux support for "request handled" in controller
...
Issue: SPR-16087
2017-10-18 21:07:27 -04:00
Juergen Hoeller
a3eeda99e0
Consistent separation between chapters and after chapter titles
2017-10-18 20:24:17 +02:00
Juergen Hoeller
9df6f3e6b8
Polishing
2017-10-18 20:21:49 +02:00
Juergen Hoeller
c3378fda33
AbstractMessageSource properly interacts with non-AbstractMessageSource parent
...
Issue: SPR-16047
2017-10-18 20:21:12 +02:00
Rossen Stoyanchev
950edf888a
Support for Map method argument in WebFlux
...
Issue: SPR-16086
2017-10-18 11:41:46 -04:00
Juergen Hoeller
bec1fc1852
ModelAttributeMethodProcessor detects re-enabled binding declaration
...
Issue: SPR-16083
2017-10-18 12:31:22 +02:00
Juergen Hoeller
ea00c7c6c8
Explicit notes on ExceptionHandler root vs cause resolution
...
Issue: SPR-16074
2017-10-18 12:18:30 +02:00
Juergen Hoeller
ba74e42808
Upgrade to Gradle 4.2.1
...
Issue: SPR-15985
2017-10-18 12:17:24 +02:00
Juergen Hoeller
5f270bc432
Upgrade to SnakeYAML 1.19
2017-10-18 12:17:13 +02:00
Sebastien Deleuze
e5a55327f4
Upgrade to Reactor Bismuth-BUILD-SNAPSHOT
...
This is done in order to prepare for Reactor Bismuth-SR1
which will be used by Spring Framework 5.0.1.RELEASE.
Issue: SPR-16085
2017-10-18 11:38:07 +02:00
Rossen Stoyanchev
32d78e60b6
Update information on WebApplicationContext hierarchy
...
Issue: SPR-16041
2017-10-17 21:49:57 -04:00
Rossen Stoyanchev
cd634633d8
MockMvc re-uses response instance on async dispatch
...
MockMvc now properly detects the presence of an AsyncContext and
re-uses the response instance used to start it.
This commit also includes a minor fix in
ResponseBodyEmitterReturnValueHandler to ensure it does not disable
ETag related content buffering for reactive return values that do not
result in streaming (e.g. single value or collections).
Issue: SPR-16067
2017-10-17 16:57:35 -04:00
Rossen Stoyanchev
94c4a7f941
Shortcut factory method in MockServerWebExchange
...
MockServerWebExchange now has a second factory method that accepts a
MockServerHttpRequest.BaseBuilder.
Issue: SPR-16079
2017-10-17 12:23:12 -04:00
Juergen Hoeller
3d1023be8c
Polishing
2017-10-17 11:56:30 +02:00
Juergen Hoeller
ef6aef9107
Allow PropertyEditor conversion as fallback for enums
...
Issue: SPR-16082
2017-10-17 11:49:54 +02:00
Stephane Nicoll
3cb38cef2e
Merge pull request #1566 from drumonii:double-backtick-with-apostrophes
...
* pr/1566:
Missing some double backticks with apostrophes
2017-10-17 08:34:54 +02:00
Drummond Dawson
ff2bea9b6b
Missing some double backticks with apostrophes
...
Closes gh-1566
2017-10-17 08:33:46 +02:00
Rossen Stoyanchev
b4c95bf278
ReactiveAdapterRegistry uses Reactor's JdkFlowAdapter
...
Issue: SPR-16052
2017-10-16 20:49:22 -04:00
Juergen Hoeller
16a08cb465
Upgrade to Jackson 2.9.2
2017-10-16 23:53:23 +02:00
Juergen Hoeller
be9c096746
Extended coverage of full vs lite mode for configuration classes
...
Issue: SPR-16076
(cherry picked from commit 17fb4fed09 )
2017-10-16 23:53:09 +02:00
Juergen Hoeller
d1b5b5d2f7
Clarify destroy method suppression for DisposableBean vs (Auto)Closeable
...
Issue: SPR-16078
(cherry picked from commit dff2c84 )
2017-10-16 23:53:02 +02:00
Rossen Stoyanchev
2d05e538fb
Set path in CookieWebSessionIdResolver
...
Issue: SPR-16030
2017-10-16 09:55:58 -04:00
Rossen Stoyanchev
4831d38db2
Lower log level for ResponseStatusException
...
Issue: SPR-16049
2017-10-16 09:55:58 -04:00
Rossen Stoyanchev
e9187daa5c
Improvements to DispatcherHandler chapter
2017-10-16 09:55:58 -04:00
Rossen Stoyanchev
314f3fc547
Summary of client-side REST options in MVC section
2017-10-16 09:55:58 -04:00
Juergen Hoeller
c3cf0840b7
Polishing
2017-10-16 15:34:39 +02:00
Juergen Hoeller
c29b6f5b55
Consistent handling of null array for arguments
...
Issue: SPR-16075
2017-10-16 15:34:18 +02:00
Juergen Hoeller
3890d4c9eb
AbstractServerHttpResponse stores HTTP status code as integer value
...
Issue: SPR-16073
2017-10-16 15:34:09 +02:00
Sam Brannen
8a94077da0
Clean up warnings in spring-core
2017-10-15 18:28:08 +02:00
Sam Brannen
8f4fb207d7
Reinstate CastorUnmarshallerTests.clearCollectionsFalse()
2017-10-15 16:16:48 +02:00
Sam Brannen
e9367a11f6
Delete unused import
2017-10-15 16:15:44 +02:00
Juergen Hoeller
43b5e21947
Consistent alias declarations for value attribute on stereotypes
...
Issue: SPR-16066
2017-10-13 18:18:12 +02:00
Arjen Poutsma
24ca8ccf5a
WebTestClient.mutate() should not impact future .mutate() invocations
...
Issue: SPR-16059
2017-10-13 16:54:30 +02:00
Sebastien Deleuze
6e71664a60
Add spring-kotlin-fullstack example to Kotlin refdoc
2017-10-13 14:38:46 +02:00
Juergen Hoeller
625737f90a
Controller/Repository/Service declare value attribute as alias for Component
...
Issue: SPR-16066
2017-10-13 14:24:12 +02:00
Juergen Hoeller
682186a20d
Refactored CodecConfigurer creation for clearer subpackage interdependencies
...
Includes redeclaration of CodecConfigurer.DefaultCodecs without concrete Jackson decoder/encoder references in order to avoid hard Jackson dependency.
Issue: SPR-16064
2017-10-13 14:23:22 +02:00
Arjen Poutsma
faa74988c4
WebClient.mutate() should not impact future .mutate() invocations
...
Before this commit, when adding filters to a builder obtained via
`WebClient.mutate()`, the filters were added both to the original client
as well as the mutated builder. This commit fixes that.
Issue: SPR-16059
2017-10-13 11:23:10 +02:00
Sebastien Deleuze
2962f085e5
Relax type check in FormHttpMessage(Reader|Writer)
...
Issue: SPR-16055
2017-10-12 17:48:42 +02:00
Sam Brannen
ef0e4dc56a
Delete unused import
2017-10-12 17:31:10 +02:00
Juergen Hoeller
91a8993895
Skip init/destroy method check for null beans
...
Issue: SPR-16063
2017-10-12 15:31:57 +02:00
Juergen Hoeller
d611486978
HandlerMappingIntrospector.getHandlerMappings() never returns null
2017-10-12 15:31:11 +02:00
Rossen Stoyanchev
2e0a2845ab
Top-level main.css for all asciidoctor styles
...
Properly separate tocbot from asciidoctor styles and use main.css to
include both.
2017-10-11 07:40:25 -04:00
Brian Clozel
3febec3df6
ResourceWebHandler signals error for missing resources
...
Prior to this commit, the `ResourceWebHandler` would itself handle the
response with an HTTP 404 in many cases, including a missing static
resource.
This does not give a chance to `WebExceptionHandler` instances to handle
that error and, for example, display an error page.
See spring-projects/spring-boot#8625
Issue: SPR-16023
2017-10-10 23:28:03 +02:00
Brian Clozel
1356bd4359
Share HandlerInterceptors in ResourceHandlerMapping
...
Prior to this commit, the Resource `HandlerMapping` configured by
`@EnableSpringMvc` would be set up with only one custom
`HandlerInterceptor` (the one exposing the `ResourceUrlProvider` for
resolving URLs of static resources).
This behavior is not consistent with the rest of the default
configuration which leverages the interceptors configured against the
interceptor registry (with possible user-provided ones).
This change allows to register interceptors against resource handling;
this can be useful for metrics purposes, as in
spring-projects/spring-boot#10335 .
Issue: SPR-16034
2017-10-10 22:57:52 +02:00
Juergen Hoeller
699fde91db
Polishing
2017-10-10 22:18:09 +02:00
Rossen Stoyanchev
6833d4cdff
Spring MVC content refactoring
...
Easier to find (at the top level) and better summary of testing support.
Improve structure headings names.
Remove or update outdated content.
2017-10-10 16:16:29 -04:00
Juergen Hoeller
0d3fa4eb70
Upgrade to Apache Johnzon 1.1.4
2017-10-10 20:35:47 +02:00
Juergen Hoeller
6ef7dd4d5e
Notes on classpath scanning and exports vs opens with Jigsaw
...
Issue: SPR-14579
2017-10-10 20:33:52 +02:00
Juergen Hoeller
dc3299152c
Polishing
2017-10-09 16:06:03 +02:00
Juergen Hoeller
28e2dd0487
Upgrade to RxJava 2.1.5
2017-10-09 14:00:11 +02:00
Juergen Hoeller
cc6e6490d2
Polishing
2017-10-09 13:59:29 +02:00
Juergen Hoeller
ad4c8e7c0d
Consistently sort BeanDefinitionRegistryPostProcessors
...
Issue: SPR-16043
2017-10-09 13:59:09 +02:00
Juergen Hoeller
53091c76bf
Convenient forType methods for ParameterizedTypeReference
...
Issue: SPR-16054
2017-10-09 13:59:01 +02:00
Rossen Stoyanchev
d4677be5c0
Improve Web Servlet section structure
2017-10-06 21:29:36 -04:00
Rossen Stoyanchev
9998c63ee4
Compact headings in Web Servlet section
...
Optimized for viewing in left TOC.
2017-10-06 13:11:15 -04:00
Stephane Nicoll
b47905f050
Merge pull request #1549 from WilderPereira:patch-1
...
* pr/1549:
Fix doc format
2017-10-06 07:46:18 +02:00
Wilder Pereira
fba2633e6e
Fix doc format
...
Closes gh-1549
2017-10-06 07:45:31 +02:00
Rossen Stoyanchev
3533db78d2
Fix broken link to overview
2017-10-05 23:33:21 -04:00
Rossen Stoyanchev
b11caeb3ea
Fix headings in WebFlux section
2017-10-05 22:43:26 -04:00
Rossen Stoyanchev
ee3913c6d0
Use Tocbot for Table of Contents
2017-10-05 22:23:38 -04:00
Rossen Stoyanchev
8aaa7e9cc7
Polish index.html
2017-10-05 15:31:27 -04:00
Rossen Stoyanchev
eea8ee2165
Migrate JSP tag library appendix reference to Javadoc.
...
The Javadoc on tag classes now has all the information including a
list of all tags at the package level, HTML tables listing tag
attributes in each tag class, and class level description that is
as good or in many cases better than what was in the reference.
Issue: SPR-16045
2017-10-05 14:25:23 -04:00
Rossen Stoyanchev
e5a5677fcd
Appendix refactoring
...
1. Move schemas to local appendix within each top-level section.
2. Link to Javadoc for JSP tags
3. Purge Class Spring usage information
Issue: SPR-16045
2017-10-05 14:25:18 -04:00
Rossen Stoyanchev
d04d4bfb4d
Better "no content" support and polish in WebTestClient
...
The WebTestClient now takes advantage of the support for decoding
response to Void.class in WebClient so that applications can use
expectBody(Void.class) to the same effect as using
response.bodyToMono(Void.class) as documneted on WebClient#exchange.
The top-level, no-arg returnResult method (added very recently) has been
retracted, since the use of returnResult at that level, i.e. without
consuming the response content, should be used mainly for streaming.
It shouldn't be used for "no content" scenarios.
Documentation and Javadoc have been udpated accordingly.
2017-10-04 15:05:25 -04:00
Rossen Stoyanchev
decb6329db
DefaultWebTestClient internal refactoring
...
Use the ClientResponse methods bodyToMono and bodyToFlux rather than
passing in a BodyExtractor so that WebTestclient now also benefits from
the recently improved handling of Void.class.
2017-10-04 15:05:25 -04:00
Juergen Hoeller
66a6fdacca
Deprecate HibernateJpaSessionFactoryBean (against Hibernate 5.2)
...
Issue: SPR-16016
2017-10-04 12:29:16 +02:00
Juergen Hoeller
03b68286a2
Tokenizer uses single process step and length-based exhaustion check
...
Issue: SPR-16032
2017-10-04 12:23:16 +02:00
Rossen Stoyanchev
b2017bb1ec
3rd party web frameworks is back in the web section
2017-10-03 18:06:13 -04:00
Rossen Stoyanchev
45c207aece
What's new and migrating are prominently featured
...
Before this commit those were burried in the Appendix where few would
guess to look. Previously that information was at the top, so it makes
sense to point to the Github wiki from the index HTML page.
Also a general update of the index page. Since we have recently revised
the overview, we can simply point to it and keep it shorter.
The section listing now includes more details per section.
2017-10-03 17:59:07 -04:00
Rossen Stoyanchev
6597551858
WebClient content included in WebFlux section only
...
Before this commit WebClient documentation was also included from the
Integration section where the RestTemplate is documented. That is
convenient but results in duplicate content under different URLs.
This commit removes the include from the Integration section and leaves
2017-10-03 17:59:07 -04:00
Juergen Hoeller
3eebdb389b
Upgrade to JUnit 5.0.1 and Tomcat 8.5.23
2017-10-03 20:20:35 +02:00
Rossen Stoyanchev
fbf2e1e355
Documentation for WebTestClient
...
Issue: SPR-16009
2017-10-03 10:00:48 -04:00
Sebastien Deleuze
2ecd5a4f02
Update Kotlin issues list in the refdoc
2017-10-03 15:49:37 +02:00
Stephane Nicoll
34a7991e18
Merge pull request #1547 from tomfitzhenry:patch-1
...
* pr/1547:
Fix typo in exception message: quite -> quiet
2017-10-03 08:25:01 +02:00
Tom Fitzhenry
1fe3e0cd06
Fix typo in exception message: quite -> quiet
...
Closes gh-1547
2017-10-03 08:24:34 +02:00
Juergen Hoeller
c9d3c2690d
Properly resolve null candidates for collection injection
...
Issue: SPR-16033
2017-10-02 12:27:11 +02:00
Stephane Nicoll
30d1b53aa5
Merge pull request #1545 from MottoX:fix-typo
...
* pr/1545:
Fix typo
2017-10-01 09:23:23 +02:00
Robin Wang
d9c0151d41
Fix typo
...
Closes gh-1545
2017-10-01 09:23:07 +02:00
Sebastien Deleuze
cf86f9b3dd
Polish Kotlin reference documentation
2017-09-30 19:59:34 +02:00
Sam Brannen
657dc961f4
Polishing
2017-09-30 15:25:51 +02:00
Rossen Stoyanchev
7a8c8c062e
Add reactive mocks to testing section
2017-09-29 20:21:01 -04:00
Rossen Stoyanchev
48c41049b1
Correct package for MockServerWebExchange
...
Discovered late, but not too late. MockServerWebExchange is now in the
proper package matching to the location of ServerWebExchange.
2017-09-29 17:03:23 -04:00
Rossen Stoyanchev
223e27d53d
Package private request and response implementations
...
Concrete server and client, reactive request and response
implementations should not have to be accessed outside their package.
They could be seen as private to their HttpHandler adapters and
ClientHttpConnector's respectively.
The one exception, WebSocket upgrades in spring-webflux, is an internal
framework use case, accommodated via downcast + accessors in the
abstract base classes.
2017-09-29 13:04:03 -04:00
Juergen Hoeller
95fdfac128
Upgrade to Gradle 4.2 (and Netty 4.1.16)
...
Issue: SPR-15985
2017-09-29 17:57:11 +02:00
Stephane Nicoll
cee9d1c08f
Fix formatting
...
Closes gh-1483
2017-09-29 14:41:57 +02:00
Stephane Nicoll
1f0f292bab
Merge pull request #1535 from nkjackzhang:patch-3
...
* pr/1535:
Fix typos in spring-mvc.xsd
2017-09-29 14:36:59 +02:00
nkjackzhang
b11d1f5f9b
Fix typos in spring-mvc.xsd
...
Closes gh-1535
2017-09-29 14:36:26 +02:00
Stephane Nicoll
f2d040c41c
Fix link to "Message Converters" section
...
Issue: SPR-16024
2017-09-29 14:31:50 +02:00
Sebastien Deleuze
12e1ad9163
Upgrade to Kotlin 1.1.51
2017-09-29 12:30:20 +02:00
Arjen Poutsma
69945f4185
WebClient throws ClassCastException for bodyToMono(ParameterizedTypeReference)
...
Prior to this commit, the `WebClient` always throws a `ClassCastException`
when an error occurs in `bodyToMono(ParameterizedTypeReference)``, and
not the expected exception, as set up by `onStatus`
Issue: SPR-16025
2017-09-29 10:15:40 +02:00
Rossen Stoyanchev
d332e06f6c
Update reference after removal of ClientResponse.close()
2017-09-28 16:11:48 -04:00
David Harrigan
b7708d989b
Improve Kotlin documentation readability
2017-09-28 22:02:25 +02:00
Rossen Stoyanchev
2c2bbb45b9
Fix typo
2017-09-28 14:53:43 -04:00
Nikola Kolosnjaji
7c5dd03c9d
Correct ResourceTransformer name
2017-09-28 19:55:07 +02:00
Sam Brannen
2408e2515a
Escape hashtag in Testing chapter to disable Asciidoc highlighting
2017-09-28 16:44:08 +02:00
Jussi Hallila
1440026fb4
Change bean registration to use initialize
...
This commit changes the reference documentation to conform
with the updated API defined in
https://github.com/spring-projects/spring-framework/commit/8b8a6766de01467c8b45b1b9664f0ab2d58f7c69
2017-09-28 15:02:25 +02:00
Spring Buildmaster
5c7bd0a9ea
Next Development Version
2017-09-28 11:28:33 +00:00
Juergen Hoeller
c078e2eb1d
Overview with explicit JDK 9 (Jigsaw) and Java EE 8 references
2017-09-28 11:47:50 +02:00
Juergen Hoeller
255ccf58e0
Remove snapshot repository from build setup
2017-09-28 11:45:33 +02:00
Rossen Stoyanchev
5733065ba4
Rename webflux-client.adoc to webflux-webclient.adoc
2017-09-28 01:16:51 -04:00
Rossen Stoyanchev
67910ee48c
WebFlux and Integration share webflux-client.adoc
...
Extract WebClient content into a separate file that is now included
both in the WebFlux and in the Integration sections.
This allows having RestTemplate and WebClient documented in one place
under Integration while also keeping the same included in the WebFlux
section too.
2017-09-27 23:34:45 -04:00
Rossen Stoyanchev
71ccf3c9e3
Polish
2017-09-27 22:48:26 -04:00
Rossen Stoyanchev
13c959296a
Polish
2017-09-27 22:04:07 -04:00
Rossen Stoyanchev
869b818e96
WebFlux support for LocaleContext related arguments
...
Issue: SPR-15998
2017-09-27 22:03:42 -04:00
Rossen Stoyanchev
0f1bd49f6d
HandlerMappingIntrospector is a bean
2017-09-27 21:28:49 -04:00
Brian Clozel
126ac849e5
Fix behavior of ClientResponse#bodyTo** with Void
...
Prior to this commit, asking for a `Void` type using any of the
`ClientResponse#bodyTo*` methods would immediately return an empty
`Publisher` without consuming the response body.
Not doing so can lead to HTTP connection pool inconsistencies and/or
memory leaks, since:
* a connection that still has a response body being written to it cannot
be properly recycled in the connection pool
* incoming `DataBuffer` might not be released
This commit detects when `Void` types are asked as body types and in
those cases does the following:
1. Subscribe to the response body `Publisher` to allow the connection to
be returned to the connection pool
2. `cancel()` the body `Publisher` if the response body is not empty; in
that case, we choose to close the connection vs. consume the whole
response body
Those changes imply that `ClientHttpResponse` and other related
contracts don't need a `close()` method anymore.
Issue: SPR-16018
2017-09-28 00:58:38 +02:00
Juergen Hoeller
ec345bf162
Revised handling of missing data class arguments
...
Includes unified detection of Kotlin's optional parameters in MethodParameter.isOptional(), reduces BeanUtils.findPrimaryConstructor to Kotlin semantics (for reuse in AutowiredAnnotationBeanPostProcessor), and finally introduces a common KotlinDetector delegate with an isKotlinType(Class) check.
Issue: SPR-15877
Issue: SPR-16020
2017-09-28 00:31:12 +02:00
Sam Brannen
d3129a8bd7
Convert selected examples to JUnit Jupiter in reference manual
...
Issue: SPR-14524
2017-09-27 23:27:44 +02:00
Sam Brannen
8c9d42f793
Document SpringExtension for JUnit Jupiter in reference manual
...
Issue: SPR-14524
2017-09-27 23:01:59 +02:00
Sebastien Deleuze
492c469d79
Polish Kotlin reference documentation
2017-09-27 22:54:18 +02:00
Sebastien Deleuze
142c16611d
Upgrade to Gradle asciidoctor plugin 1.5.6
2017-09-27 21:31:34 +02:00
Rossen Stoyanchev
6ee1af27c6
WebFlux supports HTTP HEAD
...
Issue: SPR-15994
2017-09-27 15:25:29 -04:00
Sam Brannen
d8d74faab8
Polishing
2017-09-27 21:04:58 +02:00
Sam Brannen
e995854f11
Cross reference SpEL and Environment from JUnit Jupiter documentation
...
Issue: SPR-14524
2017-09-27 20:05:50 +02:00
Juergen Hoeller
a1a7c62127
Consistent configurer access in WebMvcConfigurationSupport
...
Issue: SPR-16017
(cherry picked from commit 40ba95f )
2017-09-27 19:52:48 +02:00
Sebastien Deleuze
00c0d7847f
Add spring-petclinic-kotlin to Kotlin refdoc
2017-09-27 16:37:10 +02:00
Sam Brannen
550bed2905
Document JUnit Jupiter annotation support in the reference manual
...
Issue: SPR-14524
2017-09-27 16:25:30 +02:00
Sam Brannen
1a8122f97a
Update Testing chapter regarding Servlet 4.0 API for mocks
2017-09-27 16:25:30 +02:00
Sam Brannen
2b91d668df
Polish Javadoc for @DisabledIf
2017-09-27 16:25:30 +02:00
Juergen Hoeller
75bd516251
Refined TemporaryLobCreator null handling (from 4.3.x)
...
Issue: SPR-15656
2017-09-27 15:40:13 +02:00
Brian Clozel
10139d42fc
Revisit meaning of response.close() in HTTP client
...
Prior to this issue, SPR-15920 added this new `close()` method which was
supposed to be called to clean resources after response processing.
This commit changes the meaning of that method: calling `close()` will
close the underlying HTTP connection. This has to be called if the
response body is not consumed by the application, since at that point
the underlying connection might be in an inconsistent state if shared in
a connection pool.
Issue: SPR-15993
2017-09-27 14:03:55 +02:00
Sebastien Deleuze
fb09a75c82
Improve support of Kotlin beans w/ primary and default ctors
...
This commit add the default constructor if available as
fallback after to the primary constructor.
Issue: SPR-16012
2017-09-27 11:27:00 +02:00
Rossen Stoyanchev
ec5969c578
InMemoryWebSession cleans up expired sessions
...
Issue: SPR-15963
2017-09-27 01:43:11 -04:00
Rossen Stoyanchev
15cc44e6e8
Add WebSession.invalidate()
...
Issue: SPR-15960
2017-09-27 00:10:38 -04:00
Rossen Stoyanchev
6da3518a66
WebSessionStore updates lastAccessTime on retrieve
...
Now that WebSessionStore is in charge of expiration checks on retrieve
it makes sense to also update the lastAccessTime on retrieve at the
same time, saving the need to call it after a retrieve.
Issue: SPR-15963
2017-09-26 23:12:58 -04:00
Rossen Stoyanchev
cb2deccb2d
WebSessionStore performs expiration check on retrieve
...
Issue: SPR-15963
2017-09-26 23:12:12 -04:00
Sebastien Deleuze
fbb428f032
Polishing
...
Issue: SPR-16014
2017-09-27 01:35:25 +02:00
Juergen Hoeller
efce7902c4
Polishing
2017-09-27 01:34:11 +02:00
Juergen Hoeller
a4b2ae583e
Expose AspectJ 1.8.11 in POMs (and use it for all tests)
...
Issue: SPR-15974
2017-09-27 01:34:02 +02:00
Sebastien Deleuze
23497a7ece
Support autowiring by constructor in Kotlin bean DSL
...
Issue: SPR-16014
2017-09-27 01:25:22 +02:00
Rossen Stoyanchev
0e7e95cded
Polish
...
Issue: SPR-16009
2017-09-26 17:24:39 -04:00
Rossen Stoyanchev
9d5a25e737
Proper WebFlux reference and MVC reference updates
...
Pending -- WebSocket, WebTestClient, more details around annotation
processing, exception handling, and view resolution.
Issue: SPR-15149, SPR-16009
2017-09-26 15:35:17 -04:00
Rossen Stoyanchev
41b53de644
DispatcherHandler.getHandlerMappings() is also final
...
Issue: SPR-15934
2017-09-26 15:35:17 -04:00
Rossen Stoyanchev
eb6bd2d7b8
Remove args and return value lists from @RequestMapping
...
It is no longer adequate to list supported arguments and return values
-- between Web MVC and WebFlux, directly on the annotation.
Instead we have tables in the respective chapters in the reference with
cross references to each other.
Issue: SPR-15149
2017-09-26 15:29:58 -04:00
Sebastien Deleuze
14cba15296
Open router and bean Kotlin DSL to allow building custom ones
2017-09-26 16:31:16 +02:00
Sam Brannen
96bbd18e98
Delete unused import
2017-09-26 16:19:49 +02:00
Sebastien Deleuze
12ef367f89
Polish reference documentation
2017-09-26 14:49:39 +02:00
Eddú Meléndez
6f2d58fac6
Remove jackson-datatype-jdk7 auto registration
...
`jackson-datatype-jdk7` is not provided anymore. It's handlers are
incorporated in core databind.
2017-09-26 14:48:34 +02:00
Arjen Poutsma
f9e1913e0d
Added docs on customizing WebClient
...
Issue: SPR-15778
2017-09-26 14:06:53 +02:00
Juergen Hoeller
9d8e3d4185
Explicit check for duplicates in addClassPathManifestEntries
...
Issue: SPR-15989
2017-09-26 11:49:49 +02:00
Brian Clozel
95b83fe1ba
Add zero copy support in reactor-based WebClient
...
This commit makes Reactor Netty `WebClient` instances
support zero-copy requests by implementing `ZeroCopyHttpOutputMessage`.
The implementation leverages the optimized `sendFile` mechanism if
available.
2017-09-26 11:05:48 +02:00
Brian Clozel
80979e7592
Polish
2017-09-26 11:00:34 +02:00
Brian Clozel
3d37c889fa
Un-ignore RequestMapping test for handling "" paths
...
Issue: SPR-15653
2017-09-26 10:59:21 +02:00
Andy Clement
07b961caa6
Empty path should match the "/" PathPattern
...
This commit makes both slash "/" and empty "" request paths match the
"/" `PathPattern`.
Issue: SPR-15653
2017-09-26 10:59:13 +02:00
Sebastien Deleuze
b85764c7db
Add a section about immutable classes persistence in Kotlin refdoc
2017-09-26 00:04:12 +02:00
Sebastien Deleuze
74120ef00f
Add custom deserializers support to AbstractJackson2Decoder
...
Issue: SPR-15975
2017-09-25 23:21:50 +02:00
Juergen Hoeller
e927cae476
ObjectProvider offers ifAvailable/ifUnique variants with Consumer
...
Issue: SPR-16001
2017-09-25 22:45:15 +02:00
Juergen Hoeller
9ff4c0bff8
DispatcherServlet.getHandlerMappings() accessor declared as final
...
Issue: SPR-15934
2017-09-25 22:45:04 +02:00
Rossen Stoyanchev
bdde0f1ea0
WebFlux supports UriBuilder, UriComponentsBuilder args
...
Issue: SPR-15997
2017-09-25 16:41:30 -04:00
Rossen Stoyanchev
2da2c17fbb
WebFlux supporst HttpHeaders return values
...
Issue: SPR-16006
2017-09-25 16:09:28 -04:00
Sebastien Deleuze
3133f87c14
Upgrade to Reactor Bismuth-RELEASE !!!
...
This upgrade includes:
- reactor-core 3.1.0.RELEASE
- reactor-test 3.1.0.RELEASE
- reactor-netty 0.7.0.RELEASE
Issue: SPR-16007
2017-09-25 21:48:14 +02:00
Sebastien Deleuze
2d6364eb83
Remove "chin" in admonition blocks of reference documentation
...
Originally contributed by @olivergierke via
spring-projects/spring-framework#1520 . This commit is based on
the spring.css generated from the SASS original source, see
bclozel/asciidoctor-stylesheet-factory#1 .
2017-09-25 15:17:22 +02:00
Juergen Hoeller
ac45aa2022
Upgrade to AspectJ 1.9 beta 7 (with 1.8.10 exposed in POMs)
...
Issue: SPR-15974
2017-09-25 13:50:50 +02:00
Arjen Poutsma
1a3cc3df94
Moved fromServerRequest to ServerRequest itself
...
This commit moves WebFluxUriComponentsBuilder.fromServerRequest to the
ServerRequest interface itself.
Consequently, the WebFluxUriComponentsBuilder is removes itself, as it
contained no other methods.
Issue: SPR-15953
2017-09-25 11:29:07 +02:00
Sebastien Deleuze
0d8031d9b4
Remove remaining Kotlin compilation warning
2017-09-24 23:11:36 +02:00
Sebastien Deleuze
997748ee29
Upgrade to Kotlin 1.1.50
...
Potential regression detected for null-safety on user project side
https://youtrack.jetbrains.com/issue/KT-20411
2017-09-24 23:11:36 +02:00
Sebastien Deleuze
3996f33399
Support non-standard classes in Kotlin reflection discovery methods
...
Issue: SPR-15999
2017-09-24 23:10:40 +02:00
Juergen Hoeller
65f556c0e2
Downgrade xjc to 2.2.11 (while keeping JAXB at 2.3.0 general)
...
Issue: SPR-15996
2017-09-24 18:05:59 +02:00
Juergen Hoeller
e2882fe1db
Build against EE 8 API level wherever possible
...
Upgrade to JAXB 2.3, JAX-WS 2.3, Annotations 1.3.1, Interceptor 1.2.1.
Also includes Log4J 2.9.1 and Asciidoctor 1.5.6.
2017-09-24 17:18:21 +02:00
Sebastien Deleuze
1e87b6dd7d
Update null-safety refdoc with jsr305 JAR guidelines
2017-09-24 13:31:32 +02:00
Juergen Hoeller
9190b76ab9
Latest dependency updates (POI 3.17, Rome 1.8, EhCache 3.4, Caffeine 2.5.6, RxJava 2.1.4, Tomcat 8.5.21, JRuby 9.1.13, Rhino 1.7.7.2)
2017-09-23 11:28:19 +02:00
Rossen Stoyanchev
d742fc198a
Add consumeWith to FluxExchangeResult
...
Issue: SPR-15959
2017-09-22 21:04:02 -04:00
Rossen Stoyanchev
132022861e
Remove ResourceServlet deprecated in 4.3.x
...
Issue: SPR-15984
2017-09-22 20:14:06 -04:00
Stephane Maldini
9c216c2144
update to Bismuth-RC1
2017-09-22 15:58:22 -07:00
Stephane Maldini
21203921f0
sync with reactor-core snapshot
2017-09-22 13:56:39 -07:00
Stephane Maldini
90f4b13767
update to Bismuth-BUILD-SNAPSHOT
2017-09-22 13:50:44 -07:00
Rossen Stoyanchev
ed10cab9d3
Remove DispatcherHandler static factory methods
...
The typical way to load DispatcherHandler is to use
WebHttpHandlerBuilder#applicationContext which also detecs filters,
exception handlers, as well as other beans that are injected into every
ServerWebExchange -- custom session manager, localecontext resolver,
codecs for form data, multipart data, etc
WebHttpHandlerBuilder is the preferred and way so removing the ones on
DispatcherHandler. They could always be added back later.
2017-09-22 16:24:39 -04:00
Rossen Stoyanchev
c28a6357c5
DispatcherHandler alignment with DispatcherServlet
...
Issue: SPR-15934
2017-09-22 15:44:12 -04:00
Rossen Stoyanchev
816a58fcf9
RouterFunctionMapping provides getter for RouterFunction
...
Issue: SPR-15991
2017-09-22 15:15:41 -04:00
Rossen Stoyanchev
31619b3ffb
DispatcherHandler orders HandlerMappings correctly again
...
Issue: SPR-15991
2017-09-22 15:06:23 -04:00
Juergen Hoeller
7ae59d0c2a
Nullability refinements on private and static methods
...
Based on IntelliJ IDEA 2017.3 introspection results.
Issue: SPR-15756
2017-09-22 18:22:14 +02:00
Brian Clozel
60f47f4489
Fix memory leak in reactive multipart parser
2017-09-22 17:03:38 +02:00
Arjen Poutsma
4fbf86e5ce
Javadoc
2017-09-22 14:17:51 +02:00
Arjen Poutsma
2841ef5d05
Introduce RouterFunction visitor
...
This commit introduces a visitor for router functions
(RouterFunctions.Visitor), allowing to iterate over all the components
that make up a router function.
This commit also introduces a ToStringVisitor, which creates a nicely
formatted string for use with toString().
Issue: SPR-15711, SPR-15711
2017-09-22 14:03:09 +02:00
Sebastien Deleuze
7b6f1d1b58
Use compileOnly and testCompileOnly for JSR 305 JAR
...
This change avoids error messages in logs during test classes
compilation which are using @NonNull and @Nullable.
2017-09-22 13:44:42 +02:00
Sebastien Deleuze
d8e52c0413
Refine BeanUtils#findPrimaryConstructor behavior
...
Issue: SPR-15673
2017-09-22 13:40:37 +02:00
Jason Yu
78434c8e20
Release DataBuffers in FreeMarkerView
...
When template processing throws an exception, we must ensure that
`DataBuffers` are properly released to avoid memory leaks.
Issue: SPR-15966
2017-09-22 10:08:18 +02:00
Sebastien Deleuze
7c18e4b115
Polish null-safety documentation
...
Issue: SPR-15756
2017-09-22 09:45:58 +02:00
Sebastien Deleuze
6c4a103f70
Remove support for generics nullability for now
...
See https://github.com/Kotlin/KEEP/issues/79
2017-09-21 18:44:27 +02:00
Rossen Stoyanchev
819ca0dbd4
Expose getters for the configured HandlerMapping's
...
Issue: SPR-15934
2017-09-21 09:46:26 -04:00
Juergen Hoeller
c9afdce54b
Merge pull request #1532 from aahlenst/spr-15988
...
ProtobufHttpMessageConverter: Ensure that JSON is written to response body
2017-09-21 12:45:49 +02:00
Andreas Ahlenstorf
b30f6fd991
Ensure that JSON is written to response body
...
Issue: SPR-15988
2017-09-21 12:19:35 +02:00
Juergen Hoeller
15c82afc1c
Consistent conversion of Optional array/list arrangements
...
Issue: SPR-15918
Issue: SPR-15919
Issue: SPR-15676
2017-09-20 18:28:49 +02:00
Juergen Hoeller
ea01c4113a
Revisit MockPart constructors
...
Issue: SPR-15854
2017-09-20 10:55:06 +02:00
Juergen Hoeller
4cbef27f90
Consistent tolerance of unknown HTTP status codes behind RestTemplate
...
Issue: SPR-15978
2017-09-20 10:54:58 +02:00
Juergen Hoeller
215e5f5682
Defensively call getParameterType (which might fail for certain statements)
...
Issue: SPR-15977
2017-09-20 10:54:49 +02:00
Juergen Hoeller
ffe80ff002
Clarify @Bean return type recommendation in case of multiple interfaces
...
Issue: SPR-15973
2017-09-20 10:54:23 +02:00
Stephane Nicoll
7b48e60c81
Merge pull request #1531 from xavier630:patch-1
...
* pr/1531:
Fix Javadoc typo
2017-09-20 09:31:11 +02:00
Xavier Downs
dba1ef0b26
Fix Javadoc typo
...
Closes gh-1531
2017-09-20 09:30:37 +02:00
Juergen Hoeller
80134d2e0c
Automatic-Module-Name manifest entries for Jigsaw
...
Includes upgrade to Jetty 9.4.7 GA.
Issue: SPR-13716
2017-09-19 15:35:10 +02:00
Juergen Hoeller
185c2bf5b6
Upgrade to ASM 6.0
...
Issue: SPR-14514
2017-09-19 13:49:32 +02:00
Juergen Hoeller
ac9cfefaff
TaskExecutorRegistration does not apply its default settings to a user-provided executor
...
Also, ChannelRegistration.setInterceptors is deprecated now: in favor of a fluently named interceptors(...) method which is documented to add the given interceptors to the channel's current list.
Issue: SPR-15962
Issue: SPR-15976
2017-09-19 13:47:43 +02:00
Juergen Hoeller
5bdcb895c0
HttpEntityMethodProcessor lets entity headers override existing headers (again)
...
Issue: SPR-15952
2017-09-19 13:47:30 +02:00
Sebastien Deleuze
8caeb33974
Polish Kotlin reference documentation
2017-09-19 13:34:21 +02:00
Juergen Hoeller
3bd2154046
Polishing
2017-09-19 00:02:40 +02:00
Juergen Hoeller
0f42f38336
Drop Animal Sniffer setup (and upgrade to RxJava 1.3.2)
2017-09-19 00:02:19 +02:00
Juergen Hoeller
346d2edce1
Revised org.springframework.lang javadoc
...
Issue: SPR-15756
2017-09-18 23:59:11 +02:00
Juergen Hoeller
1f3967cb3c
spring-jcl provides NoOpLog and SimpleLog as well
...
Issue: SPR-15957
2017-09-18 23:57:44 +02:00
Sebastien Deleuze
825449a3d2
Introduce a link to go back to refdoc index
2017-09-18 15:23:26 +02:00
Stephane Nicoll
cad51d1251
Merge pull request #1530 from qwazer:rename_fix
...
* pr/1530:
Fix class name in javadoc
2017-09-18 14:28:58 +02:00
areshetnikov
0f0b8dc745
Fix class name in javadoc
...
Closes gh-1530
2017-09-18 14:28:37 +02:00
Stephane Nicoll
b275a06d16
Reuse JmsTemplate's MessageConverter in JmsMessagingTemplate
...
This commit makes sure that any custom MessageConverter set in a
JmsTemplate used by a JmsMessagingTemplate is reused as the payload
converter of the message.
Issue: SPR-15965
2017-09-18 14:27:47 +02:00
Stephane Nicoll
7aa956a920
Polish
2017-09-18 14:06:31 +02:00
Sebastien Deleuze
c5ba55ffc2
Polish null-safety documentation
...
Issue: SPR-15756
2017-09-15 18:06:58 +02:00
Arjen Poutsma
a7617a2641
Introduce WebFluxUriComponentsBuilder
...
This commit introduces the WebFluxUriComponentsBuilder, with a single
method that creates a UriComponentsBuilder for a ServerRequest. More
methods to be added by @rstoyanchev.
Issue: SPR-15953
2017-09-15 14:14:39 +02:00
Arjen Poutsma
2fb3eeba6f
Introduce ServerRequest.methodName()
...
This commit introduces a methodName() method to the ServerRequest,
returning the String name of the method. This method is useful for
non-standard HTTP methods.
2017-09-15 14:14:39 +02:00
Sebastien Deleuze
1bc93e3d0f
Revisit nullability annotations
...
This commit introduces the following changes.
1) It adds a new Spring @NonNull annotation which allows to apply
@NonNullApi semantic on a specific element, like @Nullable does.
Combined with @Nullable, it allows partial null-safety support when
package granularity is too broad.
2) @Nullable and @NonNull can apply to ElementType.TYPE_USE in order
to be used on generic type arguments (SPR-15942).
3) Annotations does not apply to ElementType.TYPE_PARAMETER anymore
since it is not supported yet (applicability for such use case is
controversial and need to be discussed).
4) @NonNullApi does not apply to ElementType.FIELD anymore since in a
lot of use cases (private, protected) it is not part for the public API
+ its usage should remain opt-in. A dedicated @NonNullFields annotation
has been added in order to set fields default to non-nullable.
5) Updated Javadoc and reference documentation.
Issue: SPR-15756
2017-09-15 13:26:41 +02:00
Violeta Georgieva
ec2218c967
AbstractListenerWriteFlushProcessor: Ensure the last flush will be performed
...
When writing Publisher<Publisher<T>>, a flush operation is performed onComplete
for every Publisher. If the flush operation is not able to be performed immediately
it will be retried before starting to process data provided by the next Publisher.
For the last Publisher the implementation needs to ensure that the flush will
be performed only then whole operation will complete.
Issue: SPR-15949
2017-09-15 08:53:00 +02:00
Arjen Poutsma
2510db0683
Javadoc
2017-09-14 17:23:25 +02:00
Arjen Poutsma
e70210a1da
Introduce ForwardedHeaderFilter for WebFlux
...
This commit introduces a ForwardedHeaderFilter for WebFlux, similar to
the existing Servlet version. As part of this the
DefaultServerHttpRequestBuilder had to be changed to no longer use
delegation, but instead use a deep copy at the point of mutate().
Otherwise, headers could not be removed.
Issue: SPR-15954
2017-09-14 16:27:12 +02:00
Juergen Hoeller
69af698ceb
Latest dependency updates (EclipseLink 2.7 final, Hibernate ORM 5.2.11, Selenium 3.5.3)
2017-09-14 15:16:53 +02:00
Brian Clozel
81125de697
Fix error responses handling in WebClient
...
This commit fixes a typo in the `DefaultWebClient` implementation.
Instead of forwarding resolved `WebClientException` instances as error
signals, the `bodyToMono(ParameterizedTypeReference)` variant would just
forward those exceptions as `onNext` signals.
Issue: SPR-15946
2017-09-14 14:15:05 +02:00
Brian Clozel
98b6491f0c
Send error signal also for empty server responses
...
Prior to that commit, the `ResponseSpec` `WebClient` would process error
responses (4xx, 5xx HTTP status) and transform those into error signals
with a `WebClientResponseException`. But this would only work if the
HTTP response would have a non-empty response body.
An empty error response would not send an error signal and only
translate in an `onComplete` signal.
This commit fixes this behavior and makes sure that this error signal is
sent in all cases.
Issue: SPR-15946
2017-09-13 10:56:57 +02:00
Brian Clozel
aa19912e00
Polish
2017-09-13 10:51:13 +02:00
Grant Hutchins
f4ef5cd451
Fix broken RequestMappingHandlerAdapter setter
...
RequestMappingHandlerAdapter.setReactiveRegistry() doesn't actually set the value appropriately.
FYI: I found this using lgtm.com
https://lgtm.com/projects/g/spring-projects/spring-framework/alerts/?mode=list
2017-09-12 15:04:33 -04:00
Rossen Stoyanchev
ac5694b150
Web documentation update
...
Issue: SPR-15149
2017-09-12 15:02:00 -04:00
David Harrigan
1871c9626d
Kotlin documentation readability improvements
...
Issue: SPR-15659
2017-09-12 16:36:06 +02:00
Arjen Poutsma
4a0784bea8
Test HTTPS in ReactorServerHttpRequest URI
...
This commit adds a test for ReactorServerHttpRequest.getUri() to check
whether it returns a HTTPS scheme when configured with SSL.
Issue: SPR-15931
2017-09-12 15:14:54 +02:00
Rossen Stoyanchev
e214d69350
Remove jetbrains annotations inserted by IDE
2017-09-11 09:31:43 -04:00
Juergen Hoeller
4371350b5d
Polishing
2017-09-10 21:56:31 +02:00
Juergen Hoeller
30d67f7c42
Tests for @Lazy Validator setup
...
Issue: SPR-15807
2017-09-10 21:56:23 +02:00
Juergen Hoeller
6dcf2e3c5b
Upgrade to RxJava 1.3.1
...
Issue: SPR-15497
2017-09-10 21:55:42 +02:00
Sam Brannen
0867045fc1
Upgrade to JUnit 5.0 GA!
...
Issue: SPR-15737
2017-09-10 21:20:38 +02:00
Rossen Stoyanchev
5c0ca98372
Update index.adoc
2017-09-09 18:21:57 -04:00
Rossen Stoyanchev
f76ac5bb32
WebFlux support for @SessionAttributes
...
Issue: SPR-15887
2017-09-09 17:40:59 -04:00
Rossen Stoyanchev
bc470fca30
Polish
2017-09-09 17:40:59 -04:00
Stephane Maldini
8f78c772b5
update to Bismuth-M4
2017-09-08 16:56:23 -07:00
Juergen Hoeller
04765b6202
Upgrade to OkHttp 3.9 and removal of superfluous spring-jcl reference
2017-09-08 16:56:40 +02:00
Juergen Hoeller
fd0132c7e6
Polishing
2017-09-08 16:56:22 +02:00
Juergen Hoeller
aa4ae7a750
Heart-beat log message potentially without session id
...
Issue: SPR-15937
2017-09-08 16:55:27 +02:00
Juergen Hoeller
496223a927
WebFlux supports field default/marker parameters for data classes as well
...
Issue: SPR-15871
2017-09-08 16:55:12 +02:00
Yi EungJun
cf106ec99e
Fix typo
2017-09-08 10:48:27 +02:00
Brian Clozel
1a883b863d
Remove temporary workaround for reactor-netty client
...
Now that https://github.com/reactor/reactor-netty/issues/138 is solved,
this commit removes the temporary workaround introduced in SPR-15784
but leaves the general mechanism for detecting empty responses.
2017-09-08 10:27:35 +02:00
Brian Clozel
69edd4ac50
Remove spring-build-src module from BOM
...
Issue: SPR-15932
2017-09-08 08:50:34 +02:00
Brian Clozel
c64083da8d
Upgrade to Jackson 2.9.1
2017-09-08 08:49:10 +02:00
Andy Clement
3956423afe
Polish
...
The high level matchStarting API was removed a few commits ago.
This change tidies up by removing the supporting infrastructure
for that from the PathElements.
2017-09-07 14:03:46 -07:00
Sebastien Deleuze
a8693bf947
Improve Kotlin ref doc
...
This commit add a section about annotations and provides
various update and enhancements to the Kotlin reference
documentation.
Issue: SPR-15659
2017-09-07 17:30:52 +02:00
Arjen Poutsma
ec6475a24c
Expose scheme in ReactorServerHttpRequest URI
...
This commit determines fixes ReactorServerHttpRequest.getUri() so that
it includes a URL scheme.
Issue: SPR-15931
2017-09-07 12:29:28 +02:00
Sam Brannen
15ab0ad6e2
Clean up warnings in Gradle build output
2017-09-07 12:25:10 +02:00
Sam Brannen
8acb8aef1f
Exclude commons-logging from spring-test dependencies
...
Prior to this commit, various dependencies in the spring-test module
pulled in commons-logging as a transitive dependency. Consequently,
the presence of commons-logging in the generated Eclipse classpath
overrode the intended use of the spring-jcl module causing JUL to be
used instead of log4j for tests executed within Eclipse, thereby
ignoring the configuration in src/test/resources/log4j2-test.xml.
This commit addresses this issue by excluding commons-logging in
spring-test.gradle for all Selenium dependencies.
Issue: SPR-15930
2017-09-07 12:16:53 +02:00
Rossen Stoyanchev
dff0e7923c
Merge pull request #1507 from rwinch/websessionmanager
2017-09-06 11:48:17 -04:00
Rossen Stoyanchev
2fc2dab230
Fold DefaultWebSession within InMemoryWebSessionStore
...
InMemoryWebSessionStore is very closely associated to DefaultWebSession
passing it to it several fields and functions. Now that the store also
creates the session, it makes sense to bring the latter in as an inner,
nested class.
Issue: SPR-15875, 15876
2017-09-06 11:47:43 -04:00
Rossen Stoyanchev
c7d54c8b52
Polish
2017-09-06 11:47:43 -04:00
Rob Winch
8ad14ae95c
DefaultWebSessionManager decoupled from DefaultWebSession
...
DefaultWebSessionManager no longer requires the WebSessionStore
to use DefaultWebSession.
Removed explicit start() in save(). This seemed unnecessary since at
that point isStarted is guaranteed to return true. The status can
be updated through the copy constructor.
DefaultWebSessionTests added.
Issue: SPR-15875
2017-09-06 11:47:43 -04:00
Rob Winch
86912475af
Refactor WebSessionStore
...
- Add WebSessionStore.createWebSession.
- Remove remove WebSessionStore.changeSessionId
- Add WebSessionStore updateLastAccessTime which allows updating the
WebSession lastAccessTime without exposing a method on WebSession in
an implementation independent way.
- Remove WebSessionStore.storeSession. This method is not necessary
since the WebSession that is returned allows saving the WebSession.
Additionally, it is error prone since the wrong type might be passed
into it.
Issue: SPR-15875, 15876
2017-09-06 11:47:43 -04:00
Rob Winch
b7280472d6
Improve WebSession related tests
...
Add missing DefaultWebSessionManagerTests .block(). Previously
session.save() was invoked, but we did not ensure it was completed.
This commit makes it block on session.save()
Fix existingSessionIsExpired. This test is actually broken and is
testing a new session is created because the session id returned
by the idResolver does not match the existing WebSession.
This commit ensures that the id of the WebSession found by idResolver
matches the existing WebSession.
DefaultWebSessionManagerTests use Mockito. To ensure we test with
independence from InMemoryWebSessionStore we use Mockito for the
DefaultWebessionManager collaborators.
Add test for response.setComplete(). We want to ensure that when the
response is completed, it saves the WebSession and writes it to the
response using idResolver
2017-09-06 11:47:43 -04:00
Rob Winch
167ddc7cfc
Polish HeaderWebSessionIdResolver
...
Use constant for default header name and make getHeaderName private.
Also switch HeaderWebSessionIdResolverTests to unit tests rather than
testing with DefaultWebSessionManager.
Issue: SPR-15917
2017-09-06 11:47:43 -04:00
Sam Brannen
dcdb0b416f
Rename SPRING_CLASS_RULE fields to springClassRule
2017-09-06 17:38:22 +02:00
Brian Clozel
16f3f8d28f
Add close() method on HTTP client response
...
Before this commit, there was no way to signal the HTTP client that we
were done consuming the response. Without that, the underlying client
library cannot know when it is safe to release the associated resources
(e.g. the HTTP connection).
This commit adds new `close()` methods on both `ClientHttpResponse`
and `ClientResponse`. This methods is non-blocking and its behavior
depends on the library, its configuration, HTTP version, etc.
At the `WebClient` level, `close()` is called automatically if we
consume the response body through the `ResponseSpec` or the
`ClientResponse` itself.
Note that it is *required* to call `close()` manually otherwise; not
doing so might create resource leaks or connection issues.
Issue: SPR-15920
2017-09-06 17:29:18 +02:00
Sam Brannen
ba6b617bd5
Demo: @Autowired rules not supported with Spring's JUnit rules
...
This commit introduces a test that demonstrates that custom JUnit 4
rules can be @Autowired into a test instance but that they will not be
applied by JUnit since JUnit only ever sees such fields as null and
therefore ignores them.
Issue: SPR-15927
2017-09-06 17:29:04 +02:00
Sebastien Deleuze
699dfc55a8
Improve Kotlin ref doc structure
...
Issue: SPR-15659
2017-09-06 17:13:17 +02:00
Sebastien Deleuze
5ae35f606c
Leverage kotlin-reflect to determine parameter names
...
This is especially useful to determine interface parameter names
without requiring Java 8 -parameters compiler flag.
Issue: SPR-15541
2017-09-06 15:56:45 +02:00
Arjen Poutsma
02a2c400c7
Move URL transform methods from ServerHttpResponse to ServerWebExchange
...
This commit moves `encodeUrl` and `registerUrlEncoder` from
ServerHttpResponse to ServerWebExchange.
It also renames `encodeUrl` to `transformUrl` and `registerUrlEncoder`
to `addUrlTransformer` to make it clearer that these methods do not
perform actual URL encodings (i.e. they do not replaceinvalid
characters).
The `add` prefix (instead of `register`) makes it clearer that each
function is added in addition to the previous one.
Issue: SPR-15924
2017-09-06 14:39:09 +02:00
Sebastien Deleuze
5d4ee09d53
Fix AbstractJackson2Encoder#canEncode
...
This commit ensures that the Jackson encoder is selected only
with supported mime types.
Issue: SPR-15910
2017-09-06 08:26:15 +02:00
Rossen Stoyanchev
320bfdf413
Polish
2017-09-05 17:47:02 -04:00
Greg Turnquist
c98e01ad1f
Create session-based WebSessionIdResolver
...
Introduces HeaderSessionIdResolver, which reads session ids from a session header and generates a session response header when new session are created.
Related issue: SPR-15917
2017-09-05 17:37:50 -04:00
Rossen Stoyanchev
03eb6f76db
Improve check for actual return value type
...
Issue: SPR-15910
2017-09-05 16:11:35 -04:00
Rossen Stoyanchev
39cefb5bd7
One more instance of modified method name in Mono
2017-09-05 13:59:45 -04:00
Rossen Stoyanchev
fc0841c60f
Adapt to method name change in Mono
2017-09-05 13:57:20 -04:00
Sam Brannen
0702898836
Clean up warnings in Gradle build output
2017-09-04 16:26:51 +02:00
Sebastien Deleuze
60f763a0dd
Polish Kotlin reference documentation
...
Issue: SPR-15659
2017-09-04 10:54:48 +02:00
Sebastien Deleuze
8b8a6766de
Change BeanDefinitionDsl to implement ApplicationContextInitializer
2017-09-04 10:46:20 +02:00
Sebastien Deleuze
2969af82d2
Fix Reactive Web link in the ref doc
2017-09-04 07:40:18 +02:00
Stephane Nicoll
71182ab54b
Provide hierarchy traversal support for getBeanNamesForAnnotation
...
Issue: SPR-15923
2017-09-03 08:19:34 +02:00
Juergen Hoeller
f0198f3756
Upgrade to Apache Johnzon 1.1.3
...
Issue: SPR-15590
2017-09-02 00:28:41 +02:00
Brian Clozel
bff54788e8
Enable HTTP compression Reactor ClientHttpConnector
...
`ReactorClientHttpConnector` provides an adapter layer to `WebClient`
for using Reactor-Netty's `HttpClient`.
This commit enables HTTP compression support by default for this client
Connector.
Another constructor is still available for providing a custom
`HttpOptions` configuration.
Issue: SPR-15908
2017-09-01 23:14:58 +02:00
Rossen Stoyanchev
edb70b4f55
Merge pull request #1504 from bbohl/stringindexoutofbounds_resttemplate_fix
2017-09-01 16:58:09 -04:00
Rossen Stoyanchev
3d61f7ba60
Polish
2017-09-01 16:57:35 -04:00
Brian Bohl
81dfadcb16
Fix StringIndexOutOfBoundsException in RestTemplate.doExecute IOException handler when query string is an empty string
2017-09-01 16:48:53 -04:00
Juergen Hoeller
26284cac4f
Hibernate Validator 5 compatible support for element constraints
...
Issue: SPR-15916
Issue: SPR-15839
2017-09-01 16:40:24 +02:00
Juergen Hoeller
b6cae219d8
Upgrade to Log4J 2.9 (and Undertow 1.4.20)
2017-09-01 14:08:19 +02:00
Juergen Hoeller
97ded1dcc7
Polishing
2017-09-01 14:05:35 +02:00
Juergen Hoeller
30bd5827b0
ConfigurationClassEnhancer leniently allows for null bean references
...
Issue: SPR-15829
2017-09-01 14:05:14 +02:00
Juergen Hoeller
204ddebd68
SimpleAsyncTaskExecutor properly respects NO_CONCURRENCY
...
Issue: SPR-15895
2017-09-01 13:44:49 +02:00
Stephane Nicoll
678a786076
Merge pull request #1512 from Buzzardo:CONTRIBUTING-DOCUMENTATION-edit
...
* pr/1512:
CONTRIBUTING-DOCUMENTATION.adoc edit
2017-09-01 09:28:28 +02:00
Jay Bryant
3736b049d0
CONTRIBUTING-DOCUMENTATION.adoc edit
...
I made it be more formal and be easier to read.
Closes gh-1512
2017-09-01 09:28:09 +02:00
Stephane Nicoll
3a006439ee
Merge pull request #1511 from arend-von-reinersdorff:patch-1
...
* pr/1511:
Minor fix in example code: No quotes for boolean
2017-09-01 09:27:05 +02:00
Arend v. Reinersdorff
ba50581961
Minor fix in example code: No quotes for boolean
...
Closes gh-1511
2017-09-01 09:26:47 +02:00
Arjen Poutsma
14af5d941a
Javadoc
...
Issue: SPR-15912
2017-08-31 13:55:19 +02:00
Sebastien Deleuze
2f812112c2
Update Kotlin Slack URL
...
Issue: SPR-15659
2017-08-31 10:23:25 +02:00
Sebastien Deleuze
466699ba63
Polishing
...
Issue: SPR-15659
2017-08-31 09:57:11 +02:00
Stephane Nicoll
a8f10280ff
Merge pull request #1509 from Buzzardo:master
...
* pr/1509:
Polish contribution
Polish
2017-08-30 18:14:08 +02:00
Stephane Nicoll
8bd45cdec4
Polish contribution
...
Closes gh-1509
2017-08-30 18:13:10 +02:00
Jay Bryant
ea0e22218f
Polish
...
See gh-1509
2017-08-30 18:12:50 +02:00
Sebastien Deleuze
44e8cdcd89
Polishing
...
Issue: SPR-15659
2017-08-30 17:28:36 +02:00
Sebastien Deleuze
884fc40c3c
Add "Injecting configuration properties" to Kotlin ref doc
...
Issue: SPR-15659
2017-08-30 16:36:55 +02:00
Sebastien Deleuze
75114bd835
Upgrade to Kotlin 1.1.4-3
2017-08-30 15:27:21 +02:00
Sebastien Deleuze
3c9bb645d5
Improve Kotlin reference documentation
...
Issue: SPR-15659
2017-08-30 11:56:20 +02:00
Sam Brannen
71bd10f150
Update notes in Eclipse import script
2017-08-29 17:22:05 +02:00
Sam Brannen
9dd3a1cae7
Polishing
2017-08-29 16:57:27 +02:00
Martin Macko
721af4f780
Fix wrong instructions for building documentation ( #1508 )
...
Issue: SPR-15906
2017-08-29 16:51:11 +02:00
Juergen Hoeller
2b44e6e21c
Strong references to mapped exception handler methods
...
Issue: SPR-15907
2017-08-29 15:07:23 +02:00
Juergen Hoeller
b122bc6dcc
Upgrade to Hibernate Validator 6.0.2
...
Includes latest dependency updates (Netty 4.1.15, Undertow 1.4.19)
Issue: SPR-15808
2017-08-29 15:04:17 +02:00
Sebastien Deleuze
bddd71e705
Polishing
...
Issue: SPR-15659
2017-08-29 10:45:11 +02:00
Sebastien Deleuze
4359008b2b
Polishing
...
Issue: SPR-15659
2017-08-29 01:49:37 +02:00
Sebastien Deleuze
c1559b3f0a
Fix link to Spring Framework KDoc
...
Issue: SPR-15659
2017-08-29 01:43:32 +02:00
Sebastien Deleuze
ed6a35b465
Add API and reference documentation for Kotlin support
...
Issue: SPR-15659
2017-08-29 01:07:27 +02:00
Sebastien Deleuze
d2c1b284f3
Polish Kotlin API contracts and documentation
...
Issue: SPR-15659
2017-08-29 00:56:39 +02:00
Sam Brannen
3f2e27f24f
Fix Javadoc formatting in AnnotationBeanConfigurerAspect
2017-08-28 15:45:09 +02:00
Sam Brannen
4e81ee5fdf
Verify support for H2 database aliases in SQL scripts
...
This commit introduces a test to demonstrate how to define an alias in
an SQL script executed against an embedded H2 database.
Issue: SPR-15896
2017-08-26 15:04:48 +01:00
Brian Clozel
582014e944
Support HTTP range requests in MVC Controllers
...
Prior to this commit, HTTP Range requests were only supported by the
ResourceHttpRequestHandler when serving static resources.
This commit improves the `HttpEntityMethodProcessor` and
the `RequestResponseBodyMethodProcessor`. They now extract
`ResourceRegion`s from the `Resource` instance returned by the
Controller and let the Resource-related message converters
handle the writing of the resource (including partial writes).
Controller methods can now handle Range requests for
return types that extend Resource or HttpEntity:
@RequestMapping("/example/video.mp4")
public Resource handler() { }
@RequestMapping("/example/video.mp4")
public HttpEntity<Resource> handler() { }
Issue: SPR-15789, SPR-13834
2017-08-24 20:50:37 +02:00
Sam Brannen
d20b3cf86d
Upgrade to TestNG 6.12
2017-08-24 15:27:46 +01:00
Sam Brannen
d070010650
Upgrade to JUnit Jupiter 5.0 RC3
...
Issue: SPR-15848
2017-08-23 20:53:46 +01:00
Sebastien Deleuze
ba02b5761e
Provide distinct Web and Reactive Web sections
...
This change allows much more usable TOC for the reactive
stack and will make WebFlux documentation easier to
contribute thanks to a clearer split between both stacks.
Issue: SPR-15149
2017-08-23 16:02:04 +02:00
Sebastien Deleuze
cdb6688815
Update WebFlux code examples
2017-08-23 13:59:46 +02:00
Sebastien Deleuze
d61db48d64
Improve WebFlux documentation sections
...
Issue: SPR-15149
2017-08-23 13:53:58 +02:00
Sam Brannen
9da3927235
Polishing
2017-08-22 22:23:44 +01:00
Sam Brannen
1cb96f47c8
Fix Eclipse support in Gradle build
...
The upgrade to Gradle 4.0 broke the custom Eclipse support in the
Spring Framework build.
This commit includes the following changes which re-enable support for
Eclipse in the build.
- Switched to ProjectDependency(String) constructor
- Updated regular expression that matches against project output
dependencies to include more than one subdirectory between "build"
and "main"|"test".
Issue: SPR-15862
2017-08-22 22:16:34 +01:00
Brian Clozel
397fd24849
Revert "Leverage Kotlin plugin dependency management"
...
This reverts commit 3e2f6c848a .
2017-08-22 21:29:39 +02:00
Brian Clozel
a1e898fd39
Share common compiler args between src and test
...
Issue: SPR-15885
2017-08-22 18:09:19 +02:00
Sebastien Deleuze
3e2f6c848a
Leverage Kotlin plugin dependency management
2017-08-22 17:35:57 +02:00
Sebastien Deleuze
ef68ccdbd8
Add support for Kotlin autowired ctors w/ optional params
...
This commit adds support for autowired constructor parameters
on Kotlin classes with optional parameters. If some constructor
parameters are not available, optional parameter default values
will be used instead. Both explicit @Autowired annotated constructor
and implicit single constructor automatically autowired are supported.
Issue: SPR-15847
2017-08-22 17:05:18 +02:00
Sebastien Deleuze
ab6430569d
Efficient Kotlin metadata detection
...
Follow-up of 3991ab4a23 .
Issue: SPR-15673
2017-08-22 16:22:25 +02:00
Brian Clozel
cea9d1db8e
Fix Spring Framework BOM
...
This commit reinstates the Spring Framework BOM, which was previously
empty because of a previous change in 41cbc4670f .
This change also removes the JSR305 dependency from the BOM, which does
not belong here since it is not an artifact produced by Spring.
Issue: SPR-15885
2017-08-22 16:04:23 +02:00
Brian Clozel
af7673dda7
Polish build
...
Issue: SPR-15885
2017-08-22 11:23:22 +02:00
Brian Clozel
f6023c2202
Remove Sonar / Jacoco build configuration
...
Issue: SPR-15885
2017-08-22 11:10:53 +02:00
Stephane Nicoll
5a51351fa4
Relax test assertion when Jacoco is enabled
...
This commit changes the resolveMethod to take a method name as
instrumentation may add additional methods to the test object.
Issue: SPR-15888
2017-08-22 10:26:19 +02:00
Sebastien Deleuze
9abe77670c
Sync with reactor-core when() -> zip() change
2017-08-21 19:54:08 +02:00
Brian Clozel
9341955107
Do not render PDF reference doc for SNAPSHOT builds
...
This commit ensures that only the HTML version of the reference
documentation is rendered for SNAPSHOT builds. This speeds up
significatly the build.
Issue: SPR-15885
2017-08-21 14:42:21 +02:00
Brian Clozel
5460c0095b
Fix Gradle warnings about task output
...
As of Gradle 4.0, project SourceSets can have multiple output
directories (one per programming language).
This commit fixes warnings that are logged when a single output dir
is considered by tasks.
Issue: SPR-15885
2017-08-21 14:42:12 +02:00
Brian Clozel
cc3d7d2d48
Apply dependency management to selected modules
...
This commit applies the Dependency Management Plugin to modules that
require it; right now Spring Framework is importing BOMs for Netty and
Reactor dependencies only.
Instead of applying those BOMs to all modules, they're applied only
where they're needed.
Issue: SPR-15885
2017-08-21 14:42:03 +02:00
Brian Clozel
2eeb428e95
Move modules to independent build files
...
The main `build.gradle` file contains now only the common build
infrastructure; all module-specific build configurations have
been moved to their own build file.
Issue: SPR-15885
2017-08-21 14:41:55 +02:00
Brian Clozel
41cbc4670f
Refactor the spring-beans build
...
This commit merges back the "spring-beans-groovy" module into the main
"spring-beans" one. The build is configured so:
* Java and Groovy sources are jointly compiled
* Kotlin sources are compiled after
With this change, the `MergePlugin` is not used anymore in the project
build and therefore is removed.
The `DetectSplitPackagesPlugin` wasn't applied so it's been removed as
well.
Issue: SPR-15885
2017-08-21 14:41:46 +02:00
Brian Clozel
0c178ff762
Generate docs *after* running tests in Gradle build
...
This commit reorders docs generation (javadoc, asciidoctor) *after*
runing tests for `./gradlew build` commands.
Issue: SPR-15885
2017-08-21 14:41:38 +02:00
Brian Clozel
2e50ea7eb4
Move plugin declarations to plugin syntax
...
Note: this syntax automatically applies the plugin to the root project.
Adding `apply false` in the plugin declaration disables that.
Issue: SPR-15885
2017-08-21 14:41:28 +02:00
Brian Clozel
11418d8d28
Allow dedicated build files for subprojects
...
With this change, each subproject can configure its
build in a dedicated file like:
```
spring-core/spring-core.gradle
spring-web/spring-web.gradle
```
Issue: SPR-15885
2017-08-21 14:40:35 +02:00
Brian Clozel
4d306e2d85
Use Gradle build scans
...
This commit configures Gradle build scans for the Spring Framework
build. Scans aren't performed for every build but can be enabled
with the following:
```
./gradlew build --scan
```
Issue: SPR-15885
2017-08-21 14:29:49 +02:00
Stephane Nicoll
3d28e80e53
Fix code format
...
Closes gh-1501
2017-08-21 08:42:26 +02:00
Juergen Hoeller
b61c055e43
Polishing
2017-08-21 01:37:33 +02:00
Juergen Hoeller
fac1f236c3
Upgrade to Servlet API 4.0 for MVC and merge EhCache 3 tests into spring-context-support
...
Includes general streamlining of dependency declarations with reduced version variables, direct use of EclipseLink 2.7 and its implicit JPA 2.2 dependency in spring-orm, mixed use of Hibernate 5.2.10 and 5.1.10 for integration tests, as well as an upgrade to Jetty 9.4.7 RC0 and a downgrade to Groovy 2.4.12 (since Groovy 2.5 won't be final in time for Spring Framework 5.0).
Issue: SPR-15879
Issue: SPR-15880
2017-08-21 01:34:11 +02:00
Juergen Hoeller
3991ab4a23
Efficient Kotlin metadata detection
...
Issue: SPR-15673
2017-08-21 01:33:20 +02:00
Stephane Nicoll
f6e7fef236
Polish
2017-08-19 10:50:41 +02:00
Rossen Stoyanchev
dabb02d830
Update docs on DispatcherServlet config and processing
...
Issue: SPR-15149
2017-08-18 19:07:28 +02:00
Rossen Stoyanchev
940a344a73
Polish
2017-08-18 19:07:28 +02:00
Juergen Hoeller
9aa369f402
Data class construction supports field default/marker parameters
...
Issue: SPR-15871
2017-08-18 17:59:06 +02:00
Rossen Stoyanchev
18f42f9667
Fix typo
...
Issue: SPR-15872
2017-08-18 09:18:03 +02:00
Juergen Hoeller
47a7475898
Resolve remaining nullability warnings
...
Issue: SPR-15869
2017-08-18 00:15:46 +02:00
Juergen Hoeller
ac5e2599f7
Consistent overriding for all variants of init/destroy method inheritance
...
Issue: SPR-15532
2017-08-18 00:13:49 +02:00
Juergen Hoeller
b94302b5bd
Enforce non-null value from getBean and at injection points
...
Bean-derived null values may still get passed into bean properties and injection points but only if those are declared as non-required. Note that getBean will never return null; a manual bean.equals(null) / "null".equals(bean.toString()) check identifies expected null values now. This will only ever happen with custom FactoryBeans or factory methods returning null - and since all common cases are handled by autowiring or bean property values in bean definitions, there should be no need to ever manually check for such a null value received from getBean.
Issue: SPR-15829
2017-08-18 00:11:35 +02:00
Rossen Stoyanchev
10dcaa9bf6
Update introduction to Spring Web MVC
...
Issue: SPR-15149
2017-08-17 21:59:19 +02:00
Rossen Stoyanchev
11ac87099a
Prepare Web section for Servlet vs Reactive content
...
Refer to both Servlet and reactive stacks in web.adoc
Move web-integration.adoc to the very end
Link in web-flux-functional.adoc
Insert "Spring Web MVC" or "Servlet" prefix in chapter titles
Issue: SPR-15149
2017-08-17 21:59:13 +02:00
Rossen Stoyanchev
f1b017af04
Insert line breaks
2017-08-17 21:58:41 +02:00
Sebastien Deleuze
73cf07e9a4
Fix overridden methods nullability
...
Issue: SPR-15869
2017-08-17 15:02:59 +02:00
Juergen Hoeller
6b6c1d3e53
Build and test against JPA 2.2 and EclipseLink 2.7 (while retaining compatibility with JPA 2.1)
...
Includes latest dependency updates (Tomcat 8.5.20, Protobuf 3.4, RxJava 2.1.3, Caffeine 2.5.5)
Issue: SPR-15870
2017-08-17 12:31:35 +02:00
Juergen Hoeller
ec1eafc46f
@Lazy falls back to empty map/list/set for non-required collection dependency
...
Issue: SPR-15858
2017-08-17 12:28:55 +02:00
Juergen Hoeller
61cdc842e0
BindingResult support for constructor argument mismatch on immutable data object
...
Issue: SPR-15542
2017-08-17 11:02:40 +02:00
Juergen Hoeller
b8f5e97ae5
Properly retrieve and expose HttpServletResponse for async requests
...
Issue: SPR-15867
2017-08-17 08:52:05 +02:00
Rossen Stoyanchev
bb327b90a6
Merge pull request #1499 from rlindooren/SPR-15866-use-provided-mime-types
2017-08-16 15:45:59 +02:00
Rossen Stoyanchev
e433d8b66a
Polish
2017-08-16 15:45:14 +02:00
rlindooren
5b29555d88
Jackson encoder and decoder should use provided mime types
...
Instead of always using the default JSON mime types
2017-08-16 15:25:18 +02:00
Rossen Stoyanchev
645e3492db
Use URLDecoder for query params in WebFlux
...
Issue: SPR-15860
2017-08-16 13:34:31 +02:00
Rossen Stoyanchev
8b7a670821
Cancel WebAsyncManager thread on request timeout
...
Issue: SPR-15852
2017-08-16 09:26:21 +02:00
Rossen Stoyanchev
9c3bd8ce85
Separate forwarded~ and redirectedUrlTemplate methods
...
This commit restores and existing redirectedUrl and forwardedUrl
methods (simple String comparison) and creates separate
redirectedUrlTemplate and forwardedUrlTemplate methods that expand
and also encode before comparing.
Issue: SPR-15834
2017-08-15 15:25:39 +02:00
Rossen Stoyanchev
8bdaba913c
Merge pull request #1486 from drumonii/MockRestRequestMatchers-requestTo-UriVars
2017-08-15 15:11:02 +02:00
Rossen Stoyanchev
ea2864c73e
Polish
2017-08-15 15:08:23 +02:00
Drummond Dawson
809189be1a
URI variables with MockRestRequestMatchers requestToUriTemplate
...
Issue: SPR-15819
2017-08-15 14:55:56 +02:00
Rossen Stoyanchev
181f002ddf
Use exact type name in doc sample
...
Issue: SPR-15863
2017-08-15 14:44:22 +02:00
Sebastien Deleuze
3f4ec37262
Upgrade to Kotlin 1.1.4
...
Issue: SPR-15814
2017-08-15 10:12:34 +02:00
Rossen Stoyanchev
280c64ba35
Polish
2017-08-14 18:55:39 +03:00
Rossen Stoyanchev
8c4b1ab781
Functional PathPattern comparator
2017-08-14 16:33:39 +03:00
Sebastien Deleuze
ef175d7ca6
Fix BeanUtils#instantiateClass w/ Kotlin + noarg constructor
...
Issue: SPR-15851
2017-08-14 15:14:02 +02:00
Sebastien Deleuze
f57e5584af
Add a reference to KT-18833 in JDK 9 ignored tests
2017-08-14 11:47:08 +02:00
Sebastien Deleuze
0bdd246763
Upgrade to Kotlin 1.1.4-eap-77
...
This commit also fixes compilation with JDK9 since
KT-18832 has been fixed.
Issue: SPR-15814
2017-08-14 11:26:38 +02:00
Rossen Stoyanchev
631b546d1c
Proper null handling in PathPattern comparator
2017-08-14 11:45:27 +03:00
Juergen Hoeller
adeb521ce4
Polishing
2017-08-08 17:27:28 +02:00
Juergen Hoeller
09f5c71374
Consistent nullability for BeanDefinitionBuilder setters
...
Issue: SPR-15841
2017-08-08 17:26:45 +02:00
Juergen Hoeller
de09f8ca1f
Support for Bean Validation 2.0 container elements (with BV 2.0 test setup)
...
Includes latest dependency updates (Hibernate Validator 6.0.1, Caffeine 2.5.4, Netty 4.1.14, Tomcat 8.5.19, Johnzon 1.1.2, JsonPath 2.4, Jython 2.7.1)
Issue: SPR-15839
Issue: SPR-15808
2017-08-08 17:26:30 +02:00
Juergen Hoeller
48f95e9b96
Upgrade to Gradle 4.1
...
Issue: SPR-15667
2017-08-08 17:26:21 +02:00
Stephane Maldini
2677bab560
Use Bismut-BUILD-SNAPSHOT
...
Sync 3.1.0.BUILD-SNAPSHOT changes to Operators.checkRequest (removed)
2017-08-03 14:30:08 -07:00
Sam Brannen
c4f7ff04dc
Polish JavaDoc for the SpringExtension
2017-08-03 23:26:38 +03:00
Sam Brannen
da8d50f91f
Revise SpringExtension based on recent changes in JUnit Jupiter
...
This commit revises the implementation of the SpringExtension to use
the getRequired*() methods in the ExtensionContext which are now built
into JUnit Jupiter thanks to inspiration from the initial "convenience"
methods implemented here.
2017-08-03 23:19:57 +03:00
Juergen Hoeller
fabc9c28d7
Align new FileSystemUtils NIO implementation with original behavior
...
Issue: SPR-15845
Issue: SPR-15846
2017-08-03 14:21:00 +02:00
Rossen Stoyanchev
08dfce2cb5
Dedicated specificity comparator in PathPattern
...
The PathPattern compareTo method is now consistent with equals when
two patterns are of the same specificity but otherwise different.
Separately PathPattern now exposes a Comparator by specificity that
offers the current functionality of compareTo. This can be used for
actual sorting where we only care about specificity.
2017-08-02 18:11:36 +02:00
Rossen Stoyanchev
62fa20fd6f
PathPattern#matchAndExtract minor refactoring
...
Consistent behavior with matches(PathContainer), the two had slightly
different logic for handling of empty paths.
Make matchAndExtract independantly usable without the need to call
matches(PathContainer) first. Essentially no longer raising ISE if the
pattern doesn't match but simply returning null.
2017-08-02 16:31:06 +02:00
Rossen Stoyanchev
dccedd5ad5
Minor refactoring in PathPattern
...
Rename getPathRemaining to matchStartOfPath since the method does
match and to be more clear about what the method and the return value
intuitively follows.
Remove matchStart which matches the start of the pattern (rather than
the start of the path). It is a use case that does not come up in
request mapping.
2017-08-02 15:05:28 +02:00
Rossen Stoyanchev
c060f4f615
Polish PathPattern and parser
...
Updates to Javadoc
Consistent and separator type neutral naming for trailing slash
PathPattern extracts options from the parser instance
2017-08-02 14:21:16 +02:00
Arjen Poutsma
5394cc0c63
WebClientException should allow access to status code of the response
...
This commit changes the WebClient so that it now throws a
`WebClientResponseException` for `ResponseSpec.bodyTo`. This newly
introduces exception contains the status code, headers, and body of the
response message.
As a consequence of the above, we had to change `onStatus` so that the
`exceptionFunction` now returns a `Mono<Throwable>` rather than a
`Throwable`, which it was before. The Mono allows for asynchronous
operations, such as reading the contents of the body.
Issue: SPR-15824
2017-08-02 10:20:58 +02:00
Rossen Stoyanchev
b6d1fd9d22
Minor refactoring in PathPatternParser
...
Remove the separator constructor argument (but preserve internal
functionality) now that PathPatternParser is more explicitly purposed
for URL paths and in any case the use of an alternate separator would
also requires a similar input option on the PathContainer parsing side.
2017-08-01 22:52:18 +02:00
Rossen Stoyanchev
1794f1cea4
Polish path pattern parsing javadoc
...
Emphasize specific purpose for URL path matching.
2017-08-01 22:31:21 +02:00
Rossen Stoyanchev
b1440b6816
Remove ParsingPathMatcher
...
Now that we also have RequestPath and PathContainer with the latter as
the required input, the ParsingPathMatcher adapter can be removed.
2017-08-01 13:35:21 +02:00
Rossen Stoyanchev
4fc0ce1206
Properly detect null value params in params conditions
...
Issue: SPR-15831
2017-08-01 13:01:09 +02:00
Juergen Hoeller
ca0983cd85
Polishing
2017-08-01 12:08:57 +02:00
Juergen Hoeller
697d14a028
Unit tests for transaction annotations on parent interfaces
...
Issue: SPR-15833
2017-08-01 12:08:21 +02:00
Juergen Hoeller
dd2bbcb3ec
Leniently handle lambda-defined listeners with ErrorHandler as well
...
Issue: SPR-15838
2017-08-01 12:06:41 +02:00
Juergen Hoeller
1fbd047003
checkConfigurationClassCandidate explicitly skips factory method definitions
...
Issue: SPR-14603
2017-08-01 12:05:26 +02:00
Rossen Stoyanchev
f813a63fd8
PathContainer parses URL paths only
...
Collapse non-URL vs URL based path parsing into one essentially
supporting URL paths only.
2017-07-31 22:10:08 +02:00
Rossen Stoyanchev
af83d2332a
Fix regression in HttpPutFormContentFilter
...
Re-arrange the checks so that if there is no form parameter, then
immediately and unconditionally delegate to super.getParameterValues().
Or reversely if there is no super.getParameterValues() then return the
form parameter.
So the only remaining case is when combining values present in both.
In that case we'll take both only if a queryString exists.
One extra fix is to not even wrap the request if we did not parse any
form parameters at all which can happen with HttpHiddenMethodFilter.
Issue: SPR-15828, 15835
2017-07-31 17:30:22 +02:00
Juergen Hoeller
ce0bce28da
Upgrade to JUnit 5.0 RC2
...
Issue: SPR-15737
2017-07-31 11:11:38 +02:00
Stephane Nicoll
1a9cfefcbb
Fix test failure
...
Issue: SPR-15548
Closes gh-1488
2017-07-31 10:45:18 +02:00
Stephane Nicoll
48f18e9a47
Merge pull request #1488 from eddumelendez:jackson_2.9.0
...
* pr/1488:
Upgrade to Jackson 2.9.0
2017-07-31 09:37:56 +02:00
Eddú Meléndez
b2345d67db
Upgrade to Jackson 2.9.0
...
Issue: SPR-15548
Closes gh-1488
2017-07-31 09:37:29 +02:00
Rossen Stoyanchev
e45733e790
Update overview.adoc
2017-07-28 17:20:19 +02:00
Rossen Stoyanchev
d37498c354
Update overview.adoc
2017-07-28 16:37:49 +02:00
Rossen Stoyanchev
a48a47bbd0
Merge pull request #1487 from Buzzardo/master
...
New overview
2017-07-28 16:18:34 +02:00
Jay Bryant
4872084079
New overview
...
We have written a replacement for the current overview, as the beginning of a larger documentation effort.
2017-07-28 08:38:38 -05:00
Arjen Poutsma
0b3ea405ab
Remove BodyInserters.fromServerSentEvent variants
...
Removed superfluous `fromServerSentEvent` variants from `BodyInserters`,
as their functionality can also be obtained by passing a stream of
strings or POJOs (to be encoded as JSON) to
`fromPublisher(Publisher, Class)}`, and specifying a `text/event-stream`
Content-Type.
Issue: SPR-15826
2017-07-28 12:37:19 +02:00
Rossen Stoyanchev
dbe25cf717
Add RequestPath tests for modifying the contextPath
2017-07-28 12:26:34 +02:00
Rossen Stoyanchev
6855a85c41
Move RequestPath to parent server package
2017-07-28 12:26:34 +02:00
Sam Brannen
4630e62c20
Fix formatting
2017-07-28 12:25:05 +02:00
Sam Brannen
859da2f074
Clean up warnings in spring-test
2017-07-28 12:24:53 +02:00
Sebastien Deleuze
6583f9f754
Use ParameterizedTypeReference instead of Class in Kotlin extensions
...
This commit also removes WebFlux non-extension functions in favor of
regular Kotlin extensions leveraging ParameterizedTypeReference parameter.
Issue: SPR-15818
2017-07-28 00:22:00 +02:00
Arjen Poutsma
1d86c9c3d1
Use Credentials object instead of 2 attributes for Basic Authentication
...
This commit changes the usage of two separate attributes (username and
password) into one: a single `Credentials` object.
Additionally, the attributes key under which the credentials are stored
is changed to be specific to Basic Authentication, in order to allow for
other sorts of authentication later.
Issue: SPR-15764
2017-07-27 16:09:09 +02:00
Juergen Hoeller
26de6268aa
Polishing
2017-07-27 16:06:56 +02:00
Juergen Hoeller
fac83b2e7c
Consistent logging in Environment and PropertySource implementations
...
Issue: SPR-15825
2017-07-27 16:02:18 +02:00
Sebastien Deleuze
3cef5a1294
Add RouterFunctions#toWebHandler(RouterFunction<?>)
2017-07-27 15:25:35 +02:00
Arjen Poutsma
eb435f5947
Add ParameterizedTypeReference method variants to ServerRequest/ServerResponse
...
This commit changes adds overloaded `ParameterizedTypeReference `
variants to body-related methods in `ServerRequest` and
`ServerResponse`.
It also adds a single PTR variant to ClientRequest, which was missing
before.
Issue: SPR-15817
2017-07-27 13:38:35 +02:00
Juergen Hoeller
c5fc400534
(AnnotationAware)OrderComparator supports null values again
...
Issue: SPR-15823
2017-07-27 11:39:05 +02:00
Juergen Hoeller
25e6a2da64
StompSubProtocolHandler consistently accesses current user
...
Issue: SPR-15822
2017-07-27 11:32:32 +02:00
Arjen Poutsma
f3975776d4
Use list of HttpMessage[Reader|Writer]s instead of CodecConfigurer
...
This commit changes all consumers of CodecConfigurer to consume a `List`
of HttpMessageReaders or HttpMessageWriters instead of consuming the
Server- or ClientCodecConfigurer directly.
Issue: SPR-15816
2017-07-26 17:48:36 +02:00
Sebastien Deleuze
1e07468d20
Prevent warning about final private methods in CglibAopProxy
...
Issue: SPR-15820
2017-07-26 15:57:57 +02:00
Arjen Poutsma
d5da823482
Fix race condition for AsynchronousFileChannel
...
This commit fixes an issue in the DataBufferUtils.write variant that
takes a AsynchronousFileChannel.
Issue: SPR-15798
2017-07-26 14:10:48 +02:00
Juergen Hoeller
d904e9ed50
Latest dependency updates (RxJava 2.1.2, Rome 1.7.4, JRuby 9.1.12)
2017-07-25 14:12:57 +02:00
Juergen Hoeller
af93503a09
TemplateAwareExpressionParser treats null as non-template ParserContext
...
Issue: SPR-15810
2017-07-25 14:12:41 +02:00
Rossen Stoyanchev
45e714ec13
Add test case for SPR-15719
2017-07-25 12:29:44 +02:00
Rossen Stoyanchev
d20e5fcc59
Polish
2017-07-25 12:29:44 +02:00
Sebastien Deleuze
29c112c010
Avoid requiring it parameter in Kotlin bean DSL
...
By using function literals with receiver, we can avoid requiring
lambda parameters for a shorter and nicer syntax. Based on a
proposal from Joseph Taylor.
Issue: SPR-15815
2017-07-25 11:21:08 +02:00
Rossen Stoyanchev
d7a7b08b08
Find the last plus for suffix MediaType
...
Issue: SPR-15795
2017-07-25 10:45:59 +02:00
Rossen Stoyanchev
7e232f989b
Improve check for "Broken pipe" error message
...
Issue: SPR-15802
2017-07-25 10:30:11 +02:00
Sebastien Deleuze
ed6fe2b723
Upgrade to Kotlin 1.1.4-eap-33
...
Issue: SPR-15814
2017-07-24 17:29:02 +02:00