Juergen Hoeller
c0bd19aab5
Refine use of substring operations
...
Closes gh-25445
6 years ago
Juergen Hoeller
14b1d20822
Reset charset field in MockHttpServletResponse
...
Closes gh-25501
6 years ago
Juergen Hoeller
ce0832ae92
Avoid unnecessary computation of cleaned URL
...
Closes gh-25531
(cherry picked from commit 96a4e1150e )
6 years ago
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
6 years ago
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
6 years ago
Spring Buildmaster
eaed3bb80d
Next Development Version
6 years ago
Juergen Hoeller
e66141beb9
Defer creating logger in StandardWebSocketHandlerAdapter to instantiation time
...
Closes gh-25427
(cherry picked from commit 64f4703445 )
6 years ago
Juergen Hoeller
c82f35aa1a
Copy queryParams MultiValueMap through addAll (for independent List entries)
...
Closes gh-25423
6 years ago
Juergen Hoeller
e5227ee53c
Defensively access existing beanDefinitionMap entries
...
See gh-22263
(cherry picked from commit f1345aadf5 )
6 years ago
Juergen Hoeller
eb4f91a249
Unwrap SqlParameterValue for disposable value detection in cleanupParameters
...
Closes gh-22972
(cherry picked from commit 43e315f10c )
6 years ago
Juergen Hoeller
824ffce135
Defensively catch NoSuchBeanDefinitionException on beanDefinitionNames traversal
...
Closes gh-22263
(cherry picked from commit 30bc5e09e7 )
6 years ago
Juergen Hoeller
04a2cd49d4
Polishing
6 years ago
Juergen Hoeller
b904d5268a
Clarify enforceInitMethod/enforceDestroyMethod default values
...
Closes gh-25402
(cherry picked from commit 5846d9c2ea )
6 years ago
Juergen Hoeller
ac74de91f8
Polishing
6 years ago
Juergen Hoeller
7a8fc0e256
Avoid misleading log message for commit-triggering exception
...
Closes gh-25253
6 years ago
Juergen Hoeller
3db0bd2309
Polishing
6 years ago
Juergen Hoeller
a37fda5253
Consistent abstract declaration of "Abstract" base classes
...
Closes gh-25240
6 years ago
Juergen Hoeller
c2457b960f
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
6 years ago
Juergen Hoeller
a045574418
Polishing
6 years ago
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
6 years ago
Juergen Hoeller
b2916392fa
WebSphereUowTransactionManager sets timeout for actual transaction only
...
Closes gh-25132
6 years ago
Juergen Hoeller
ffe08aeca0
Avoid ClassCastException on IllegalArgumentException from sync invocation
...
Closes gh-25110
6 years ago
Juergen Hoeller
f4d33a6dfe
Consistent not-null assertions for configured interceptors
...
Closes gh-25089
6 years ago
Juergen Hoeller
4798da05ae
Avoid full synchronization in refreshable getBeanFactory() implementation
...
Closes gh-25081
6 years ago
Spring Buildmaster
705157ea5b
Next Development Version
6 years ago
Juergen Hoeller
5587262fcd
Polishing
6 years ago
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
6 years ago
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
6 years ago
Juergen Hoeller
4ec2844646
Honor overridden AcceptHeaderLocaleContextResolver.getDefaultLocale()
...
Closes gh-24871
6 years ago
Juergen Hoeller
d9eacaa7e8
Recursively copy directory with symbolic link
...
Closes gh-24823
6 years ago
Juergen Hoeller
a33b7bbadb
Close-suppressing Connection proxy exposes target isClosed() state
...
Closes gh-24853
6 years ago
Juergen Hoeller
56e7d73491
Clear by-type cache in case of no pre-existing bean definition as well
...
Closes gh-24852
6 years ago
Rossen Stoyanchev
11aaf6a90b
UriComponentsBuilder.cloneBuilder copies uriVariables
...
Closes gh-24772
6 years ago
Juergen Hoeller
701f54b185
Polishing
6 years ago
Juergen Hoeller
f20027f75f
Thread-safe access to WebSocketServerFactory and WebSocketExtensions
...
Closes gh-24745
6 years ago
Juergen Hoeller
4d9d814b4f
Mark MediaTypeNotSupportedStatusException as deprecated
...
Closes gh-24743
6 years ago
Juergen Hoeller
528fc662f0
Polishing
6 years ago
Juergen Hoeller
1a81aed1eb
Create ScannedGenericBeanDefinitions for index-derived components as well
...
Closes gh-24638
6 years ago
Juergen Hoeller
5eb8430688
Polishing
6 years ago
Rossen Stoyanchev
dc561aee02
Update advice on RestTemplate
...
Closes gh-24503
6 years ago
Juergen Hoeller
f90acdf42f
Consistent ROLE_INFRASTRUCTURE declarations for configuration classes
...
Closes gh-24509
6 years ago
Juergen Hoeller
844619ccf1
Use local LoggerContext in Log4jLog when static field not initialized yet
...
Closes gh-24440
6 years ago
Sam Brannen
cf1d5216da
Include Objenesis NOTICE file contents in binary distributions
...
Closes gh-24326
6 years ago
Spring Buildmaster
3334f2089a
Next Development Version
6 years ago
Sam Brannen
1cfa95418a
Document Objenesis license in license.txt
...
Closes gh-24340
6 years ago
Sam Brannen
573139e455
Update ASM and CBLIB versions in license.txt
6 years ago
Juergen Hoeller
7c52397220
Polishing
6 years ago
Juergen Hoeller
2c0a505213
Thread-safe compiled expression evaluation in SpelExpression
...
Closes gh-24265
6 years ago
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
6 years ago
Juergen Hoeller
8356762316
Polishing
6 years ago