Juergen Hoeller
f68ad7957f
StringUtils.parseLocale consistently handles invalid locale values
...
Closes gh-22603
7 years ago
Sam Brannen
5fcf662a05
Test fix in gh-22638
7 years ago
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
7 years ago
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
7 years ago
Sam Brannen
aa575c374a
Update license.txt file
...
Closes gh-22659
7 years ago
Sam Brannen
36f2c72481
Merge branch 'spring-operator-polish-urls-apache-license-5.0.x' into 5.0.x
7 years ago
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
7 years ago
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).
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Juergen Hoeller
8f62cc7720
Upgrade to Netty 4.1.34
7 years ago
Juergen Hoeller
641591b63e
Polishing
7 years ago
Sam Brannen
f241618aa6
Merge branch 'spring-operator-polish-urls-build-5.0.x' into 5.0.x
7 years ago
Sam Brannen
8e654d52ff
Manual URL Cleanup
...
Closes gh-22521
7 years ago
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).
7 years ago
Juergen Hoeller
587067a7ca
StringUtils.toStringArray/CollectionUtils.toIterator handle null input
...
Closes gh-22547
7 years ago
Juergen Hoeller
18ce8564e2
Polishing
7 years ago
Juergen Hoeller
458f75f489
Local https URL resolution attempt with fallback to parser's default
...
See gh-22504
7 years ago
Juergen Hoeller
24c6392e1a
Upgrade to SLF4J 1.7.26, H2 1.4.198, OkHttp 3.13.1, WebJars Locator 0.37
7 years ago
Juergen Hoeller
7b97ec3ead
Consistent local vs external resolution of https schema references
...
Closes gh-22504
7 years ago
Juergen Hoeller
f3475dd0ce
Fixed misformatted chapter id
7 years ago
Juergen Hoeller
ac19af511c
Polishing
7 years ago
Juergen Hoeller
565d324890
Polishing
7 years ago
Juergen Hoeller
e768bba4b5
Polishing
7 years ago
Juergen Hoeller
1a64d23f9d
JdbcTemplate preserves order of stored procedure output parameters
...
Closes gh-22491
7 years ago
Juergen Hoeller
aa89a57953
Polishing
7 years ago
Juergen Hoeller
6af8073274
Polishing
7 years ago
Juergen Hoeller
df9be494cc
Polishing
7 years ago
Juergen Hoeller
60be516be1
Only use payload if it actually matches declared event type
...
Closes gh-22426
7 years ago
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.
7 years ago
Sebastien Deleuze
42ffc7b8c9
Fix AbstractTraceInterceptor null-safety annotations
...
Closes gh-22435
7 years ago
Juergen Hoeller
276e8bb689
Polishing
7 years ago
Juergen Hoeller
77b5a6de37
Clarify role of 'aware' callback interfaces
7 years ago
Juergen Hoeller
7a205ccf03
Upgrade to Reactor Bismuth SR16
7 years ago
Juergen Hoeller
8ab58b9114
DefaultConversionService properly converts Object[] to int[]
...
Closes gh-22410
7 years ago
Juergen Hoeller
0b0e2b16ed
Polishing
7 years ago
Juergen Hoeller
12b601fa78
Expose empty annotation array as empty AnnotationAttributes array
...
Closes gh-22405
7 years ago
Juergen Hoeller
305e4535d8
Null-safe handling of response type in AcceptHeaderRequestCallback
...
Issue: SPR-16690
See gh-22401
7 years ago
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
7 years ago
Juergen Hoeller
ddb5b4a8c5
Upgrade to Tomcat 8.5.38 and Log4J 2.11.2
7 years ago
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.
7 years ago
Juergen Hoeller
25e9f0fad1
Polishing
7 years ago
Juergen Hoeller
74f832c16f
Typo in web documentation
...
Closes gh-22270
7 years ago
Rossen Stoyanchev
657fc4c191
Fix Javadoc typos
...
Closes gh-22261
(cherry picked from commit 9837ec5904 )
7 years ago
Juergen Hoeller
7c4f1de74f
AbstractAutoProxyCreator ignores unused early proxy references
...
Closes gh-22370
(cherry picked from commit b8e663c531 )
7 years ago
Juergen Hoeller
ba330f1bcb
AbstractApplicationContext resets local listeners to pre-refresh state
...
Closes gh-22325
(cherry picked from commit 0f73a69033 )
7 years ago
Juergen Hoeller
4b6558c7e5
Avoid duplicate class introspection during findAnnotationOnBean
...
Closes gh-22318
(cherry picked from commit ca7634dfe8 )
7 years ago
Juergen Hoeller
48c5b1e373
ApplicationListenerMethodAdapter uses target method for order lookup
...
Fixes #22307
(cherry picked from commit d0033f12d0 )
7 years ago
Sebastien Deleuze
cb6f24d92d
Fix truncated Value#value javadoc
...
Closes gh-22331
7 years ago