Spring Buildmaster
c4a524ac07
Release version 4.3.25.RELEASE
2019-08-02 08:07:36 +00:00
Juergen Hoeller
13b9f58c4a
Consistent suppression of get/clearWarnings without target connection
...
See gh-23346
2019-08-02 01:34:39 +02:00
Juergen Hoeller
f99b2f11da
Document all remaining public methods on BeanDefinitionParserDelegate
...
Closes gh-23349
2019-08-01 15:47:35 +02:00
Juergen Hoeller
379e919b64
TransactionAwareDataSourceProxy locally handles get/clearWarnings call
...
Closes gh-23346
2019-08-01 15:47:19 +02:00
Juergen Hoeller
87152d7ccf
MethodParameter.equals properly checks overridden containing class
...
Closes gh-23352
2019-08-01 14:44:01 +02:00
Juergen Hoeller
5b9129724b
Polishing
2019-07-31 23:34:41 +02:00
Juergen Hoeller
c14d2d37d4
Upgrade to Netty 4.1.38
2019-07-31 23:17:28 +02:00
Juergen Hoeller
b7304651de
Deprecate logger field in HandlerMethodArgumentResolverComposite
2019-07-31 23:17:16 +02:00
Juergen Hoeller
a8623dbbd7
MethodParameter.equals checks nesting level and containing class
...
Closes gh-23352
2019-07-31 23:16:20 +02:00
Juergen Hoeller
4f0104231a
Upgrade to Tomcat 8.5.43 and Netty 4.1.37
2019-07-20 21:58:23 +02:00
Juergen Hoeller
34f8ec3c77
Polishing
2019-07-20 21:58:09 +02:00
Sam Brannen
6e20f8d0a5
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:31:13 +02:00
Sam Brannen
e5a28f81c3
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.
Fixes gh-23240
2019-07-07 19:02:50 +02:00
Sam Brannen
92abe2927e
Document that Ordered is not supported for @ControllerAdvice beans
...
Closes gh-23172
2019-06-21 12:51:06 +03:00
chrunchyjesus
3f6ab6467a
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:45:58 +02:00
Juergen Hoeller
e0883f5eaa
Polishing
2019-05-21 00:05:28 +02:00
Juergen Hoeller
5900639135
Fix stale-if-error xsd documentation
...
Closes gh-22983
2019-05-21 00:05:19 +02:00
Juergen Hoeller
1345ec902e
SpEL documentation refinements (backported from 5.1.x)
2019-05-13 19:20:58 +02:00
Juergen Hoeller
6eeb065036
Upgrade to Groovy 2.4.17
2019-05-13 19:01:25 +02:00
Juergen Hoeller
c096dc45e7
Minor documentation refinements (backported from 5.1.x)
2019-05-13 19:01:12 +02:00
Juergen Hoeller
4b999cfe95
Clarify AbstractBeanDefinition.getBeanClass() return semantics
...
Closes gh-22960
2019-05-13 19:01:03 +02:00
Juergen Hoeller
ed3df72d67
Avoid expensive assertions in web resource resolution
...
Closes gh-22955
2019-05-13 19:00:55 +02:00
Spring Buildmaster
9ad9025619
Next Development Version
2019-05-09 08:59:39 +00:00
Juergen Hoeller
f8eb0fb1b2
Polishing
2019-05-07 14:02:31 +02:00
Juergen Hoeller
d777c73f78
Consistent handling of empty List entries in LinkedMultiValueMap
...
Closes gh-22912
2019-05-07 14:02:25 +02:00
Sam Brannen
0ef611707d
Introduce HTTPS mappings in spring.schemas files
...
Backport of gh-22903
Closes gh-22904
2019-05-07 13:40:10 +02:00
Juergen Hoeller
770f6786c2
Polishing
2019-05-07 02:03:11 +02:00
Juergen Hoeller
e0e720cdac
Upgrade to Netty 4.1.36
2019-05-03 16:11:02 +02:00
Juergen Hoeller
1f4ca61b80
Polishing
2019-05-03 16:10:51 +02:00
Juergen Hoeller
2e7489d124
Allow null operands in compiled SpEL numeric operator expressions
...
Closes gh-22358
2019-05-03 16:10:44 +02:00
Rossen Stoyanchev
8d0b72bee5
Fail proactively if lookupPath not in requestUri
...
Closes gh-22851
2019-05-01 14:27:12 -04:00
Juergen Hoeller
4c49833079
Polishing
2019-04-26 21:17:17 +02:00
Juergen Hoeller
4bfa2ccec5
Upgrade to Tomcat 8.5.40 and Netty 4.1.35
2019-04-26 21:17:09 +02:00
Juergen Hoeller
bbcdb65f14
Polishing
2019-04-08 20:17:22 +02:00
Juergen Hoeller
fce58c6a6e
Efficient MultiValueMap.entrySet() iteration in decodeMatrixVariables
2019-04-08 18:51:38 +02:00
Juergen Hoeller
54dd8336b2
Polishing
2019-04-08 18:18:17 +02:00
Juergen Hoeller
5d1787bd29
Avoid expensive assertions in HttpRange
...
Closes gh-22742
2019-04-08 18:17:50 +02:00
Sebastien Deleuze
f328bfc157
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-22764
2019-04-08 15:26:16 +02:00
Juergen Hoeller
f6b2c0f780
Polishing
2019-04-03 17:54:33 +02:00
Spring Buildmaster
c5802e98e9
Next Development Version
2019-03-31 07:23:26 +00:00
Juergen Hoeller
c56e7f7270
Typo fixes
2019-03-29 23:59:50 +01:00
Sam Brannen
0e354754cf
URL Cleanup - polishing
...
See gh-22678
2019-03-27 16:49:48 +01:00
Sam Brannen
6dcc414805
URL Cleanup - upgrade to more modern Xalan namespace
...
See gh-22678
2019-03-27 16:49:10 +01:00
Sam Brannen
1de492aef2
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-22678
2019-03-27 16:10:02 +01:00
Sam Brannen
e435ea7a17
URL Cleanup - Fix broken tests
...
See gh-22678
2019-03-27 16:03:23 +01:00
Spring Operator
0e93443a2b
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 3 occurrences could not be migrated:
([https](https://domain3.com ) result ConnectTimeoutException).
* [ ] http://gee.cs.oswego.edu/dl/concurrency-interest/ (200) with 1 occurrences could not be migrated:
([https](https://gee.cs.oswego.edu/dl/concurrency-interest/ ) result AnnotatedConnectException).
* [ ] 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://jasperreports.sourceforge.net (200) with 3 occurrences could not be migrated:
([https](https://jasperreports.sourceforge.net ) result AnnotatedConnectException).
* [ ] http://jasperreports.sourceforge.net/dtds/jasperreport.dtd (200) with 6 occurrences could not be migrated:
([https](https://jasperreports.sourceforge.net/dtds/jasperreport.dtd ) 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://livereload.com/ (200) with 1 occurrences could not be migrated:
([https](https://livereload.com/ ) result ConnectTimeoutException).
* [ ] 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://url.somewhereelse.com (200) with 2 occurrences could not be migrated:
([https](https://url.somewhereelse.com ) result SSLHandshakeException).
* [ ] http://www.andykhan.com/jexcelapi/ (200) with 2 occurrences could not be migrated:
([https](https://www.andykhan.com/jexcelapi/ ) result ConnectTimeoutException).
* [ ] 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.datanucleus.org/ (200) with 2 occurrences could not be migrated:
([https](https://www.datanucleus.org/ ) result AnnotatedConnectException).
* [ ] 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.jasperassistant.com (200) with 6 occurrences could not be migrated:
([https](https://www.jasperassistant.com ) 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 3 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 4 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/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 4 occurrences could not be migrated:
([https](https://foo.com/bar ) 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/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://groovy-lang.org/docs/groovy-2.3.6/html/documentation/markup-template-engine.html (302) with 1 occurrences could not be migrated:
([https](https://groovy-lang.org/docs/groovy-2.3.6/html/documentation/markup-template-engine.html ) result SSLProtocolException).
* [ ] 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.jpox.org (404) with 1 occurrences could not be migrated:
([https](https://www.jpox.org ) result ClosedChannelException).
* [ ] http://www.mularien.com/blog/2008/04/24/how-to-reference-and-use-jstl-in-your-web-application/ (404) with 1 occurrences could not be migrated:
([https](https://www.mularien.com/blog/2008/04/24/how-to-reference-and-use-jstl-in-your-web-application/ ) 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 4 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://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://www.caucho.com/burlap (302) with 5 occurrences migrated to:
https://www.caucho.com/burlap ([https](https://www.caucho.com/burlap ) result SSLHandshakeException).
* [ ] http://jruby.org (301) with 2 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://slf4j.org/faq.html (302) with 1 occurrences migrated to:
https://www.slf4j.org/faq.html ([https](https://slf4j.org/faq.html ) result SSLHandshakeException).
* [ ] 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://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 2 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://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5041784 (ReadTimeoutException) with 1 occurrences migrated to:
https://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5041784 ([https](https://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5041784 ) result SSLHandshakeException).
* [ ] http://www.w3.org/TR/html4/loose.dtd (ReadTimeoutException) with 4 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 1 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 20 occurrences migrated to:
https://domain1.com ([https](https://domain1.com ) result UnknownHostException).
* [ ] http://domain2.com (UnknownHostException) with 61 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=16014 (UnknownHostException) with 1 occurrences migrated to:
https://nagoya.apache.org/bugzilla/show_bug.cgi?id=16014 ([https](https://nagoya.apache.org/bugzilla/show_bug.cgi?id=16014 ) 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 21 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?foo=bar (UnknownHostException) with 1 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 1 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 2 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://bitworking.org/projects/URI-Templates/ (302) with 1 occurrences migrated to:
https://bitworking.org/projects/URI-Templates/ ([https](https://bitworking.org/projects/URI-Templates/ ) result 404).
* [ ] http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/overview.html (301) with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/overview.html ([https](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/overview.html ) 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/2 (404) with 1 occurrences migrated to:
https://example.com/2 ([https](https://example.com/2 ) 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/bar (404) with 5 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 4 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 4 occurrences migrated to:
https://example.com/hotel ([https](https://example.com/hotel ) result 404).
* [ ] http://example.com/hotel%20list (404) with 4 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/hotel%2520list (404) with 2 occurrences migrated to:
https://example.com/hotel%2520list ([https](https://example.com/hotel%2520list ) 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 16 occurrences migrated to:
https://example.com/hotels/ ([https](https://example.com/hotels/ ) result 404).
* [ ] http://example.com/hotels/1/bookings (404) with 1 occurrences migrated to:
https://example.com/hotels/1/bookings ([https](https://example.com/hotels/1/bookings ) 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/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 2 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/resource (404) with 4 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/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 3 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 2 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://help.github.com/send-pull-requests (404) with 2 occurrences migrated to:
https://help.github.com/send-pull-requests ([https](https://help.github.com/send-pull-requests ) result 404).
* [ ] http://host.com/outsideOfficeHours.html (404) with 1 occurrences migrated to:
https://host.com/outsideOfficeHours.html ([https](https://host.com/outsideOfficeHours.html ) 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://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 3 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.example.com/users/ (404) with 1 occurrences migrated to:
https://www.example.com/users/ ([https](https://www.example.com/users/ ) result 404).
* [ ] http://www.example.com/users/fred (404) with 3 occurrences migrated to:
https://www.example.com/users/fred ([https](https://www.example.com/users/fred ) result 404).
* [ ] http://www.example.com/users/fred.pdf (404) with 1 occurrences migrated to:
https://www.example.com/users/fred.pdf ([https](https://www.example.com/users/fred.pdf ) result 404).
* [ ] http://www.example.com/users/fred.xml (404) with 1 occurrences migrated to:
https://www.example.com/users/fred.xml ([https](https://www.example.com/users/fred.xml ) 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.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/tips0243.html (404) with 1 occurrences migrated to:
https://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/tips0243.html ([https](https://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/tips0243.html ) 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/asciidoc-syntax-quick-reference/ with 1 occurrences migrated to:
https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/ ([https](https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/ ) result 200).
* [ ] http://asciidoctor.org/docs/asciidoc-writers-guide/ with 1 occurrences migrated to:
https://asciidoctor.org/docs/asciidoc-writers-guide/ ([https](https://asciidoctor.org/docs/asciidoc-writers-guide/ ) result 200).
* [ ] http://asciidoctor.org/docs/editing-asciidoc-with-live-preview/ with 1 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://asciidoctor.org/docs/user-manual/ with 1 occurrences migrated to:
https://asciidoctor.org/docs/user-manual/ ([https](https://asciidoctor.org/docs/user-manual/ ) result 200).
* [ ] http://beanvalidation.org/ with 1 occurrences migrated to:
https://beanvalidation.org/ ([https](https://beanvalidation.org/ ) result 200).
* [ ] http://caniuse.com/ with 1 occurrences migrated to:
https://caniuse.com/ ([https](https://caniuse.com/ ) result 200).
* [ ] http://caniuse.com/websockets with 1 occurrences migrated to:
https://caniuse.com/websockets ([https](https://caniuse.com/websockets ) 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://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/7/docs/api/java/util/concurrent/ForkJoinPool.html with 1 occurrences migrated to:
https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ForkJoinPool.html ([https](https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ForkJoinPool.html ) result 200).
* [ ] http://docs.oracle.com/javase/7/docs/technotes/guides/scripting/programmer_guide/ with 1 occurrences migrated to:
https://docs.oracle.com/javase/7/docs/technotes/guides/scripting/programmer_guide/ ([https](https://docs.oracle.com/javase/7/docs/technotes/guides/scripting/programmer_guide/ ) result 200).
* [ ] http://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngineFactory.html with 1 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/3.2.4.RELEASE_to_4.0.0.RELEASE/ with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/3.2.4.RELEASE_to_4.0.0.RELEASE/ ([https](https://docs.spring.io/spring-framework/docs/3.2.4.RELEASE_to_4.0.0.RELEASE/ ) 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/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://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/filter/CorsFilter.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/filter/CorsFilter.html ([https](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/filter/CorsFilter.html ) result 200).
* [ ] http://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/jdbc/OracleConnection.html with 1 occurrences migrated to:
https://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/jdbc/OracleConnection.html ([https](https://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/jdbc/OracleConnection.html ) result 200).
* [ ] http://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/sql/BLOB.html with 7 occurrences migrated to:
https://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/sql/BLOB.html ([https](https://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/sql/BLOB.html ) result 200).
* [ ] http://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/sql/CLOB.html with 7 occurrences migrated to:
https://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/sql/CLOB.html ([https](https://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/sql/CLOB.html ) 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/Content_negotiation with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Content_negotiation ([https](https://en.wikipedia.org/wiki/Content_negotiation ) result 200).
* [ ] http://en.wikipedia.org/wiki/Cross-origin_resource_sharing with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Cross-origin_resource_sharing ([https](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing ) result 200).
* [ ] http://en.wikipedia.org/wiki/HTTP_ETag with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/HTTP_ETag ([https](https://en.wikipedia.org/wiki/HTTP_ETag ) 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/Internet_media_type with 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Internet_media_type ([https](https://en.wikipedia.org/wiki/Internet_media_type ) 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 1 occurrences migrated to:
https://en.wikipedia.org/wiki/Polyfill ([https](https://en.wikipedia.org/wiki/Polyfill ) result 200).
* [ ] http://example.com with 98 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://example.com/ with 14 occurrences migrated to:
https://example.com/ ([https](https://example.com/ ) 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 11 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 1 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 1 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://gradle.org with 1 occurrences migrated to:
https://gradle.org ([https](https://gradle.org ) result 200).
* [ ] http://h2database.com with 1 occurrences migrated to:
https://h2database.com ([https](https://h2database.com ) result 200).
* [ ] http://handlebarsjs.com with 1 occurrences migrated to:
https://handlebarsjs.com ([https](https://handlebarsjs.com ) result 200).
* [ ] http://handlebarsjs.com/ with 1 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 3 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://jcp.org/en/jsr/detail?id=310 with 1 occurrences migrated to:
https://jcp.org/en/jsr/detail?id=310 ([https](https://jcp.org/en/jsr/detail?id=310 ) result 200).
* [ ] http://jcp.org/en/jsr/detail?id=356 with 2 occurrences migrated to:
https://jcp.org/en/jsr/detail?id=356 ([https](https://jcp.org/en/jsr/detail?id=356 ) result 200).
* [ ] http://jira.pentaho.com/browse/PDI-5031 with 1 occurrences migrated to:
https://jira.pentaho.com/browse/PDI-5031 ([https](https://jira.pentaho.com/browse/PDI-5031 ) 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 2 occurrences migrated to:
https://jsonassert.skyscreamer.org/ ([https](https://jsonassert.skyscreamer.org/ ) result 200).
* [ ] http://logback.qos.ch with 1 occurrences migrated to:
https://logback.qos.ch ([https](https://logback.qos.ch ) result 200).
* [ ] http://logging.apache.org/log4j/2.x/manual/configuration.html with 1 occurrences migrated to:
https://logging.apache.org/log4j/2.x/manual/configuration.html ([https](https://logging.apache.org/log4j/2.x/manual/configuration.html ) result 200).
* [ ] http://martinfowler.com/articles/injection.html with 1 occurrences migrated to:
https://martinfowler.com/articles/injection.html ([https](https://martinfowler.com/articles/injection.html ) result 200).
* [ ] http://maven.apache.org/ with 1 occurrences migrated to:
https://maven.apache.org/ ([https](https://maven.apache.org/ ) 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 5 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 4 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 3 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://projects.spring.io/spring-webflow/ with 2 occurrences migrated to:
https://projects.spring.io/spring-webflow/ ([https](https://projects.spring.io/spring-webflow/ ) result 200).
* [ ] http://repo.spring.io/milestone/ with 1 occurrences migrated to:
https://repo.spring.io/milestone/ ([https](https://repo.spring.io/milestone/ ) result 200).
* [ ] http://repo.spring.io/release/ with 2 occurrences migrated to:
https://repo.spring.io/release/ ([https](https://repo.spring.io/release/ ) result 200).
* [ ] http://repo.spring.io/snapshot/ with 1 occurrences migrated to:
https://repo.spring.io/snapshot/ ([https](https://repo.spring.io/snapshot/ ) 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/2012/05/08/spring-mvc-3-2-preview-techniques-for-real-time-updates/ with 1 occurrences migrated to:
https://spring.io/blog/2012/05/08/spring-mvc-3-2-preview-techniques-for-real-time-updates/ ([https](https://spring.io/blog/2012/05/08/spring-mvc-3-2-preview-techniques-for-real-time-updates/ ) 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://spring.io/projects with 1 occurrences migrated to:
https://spring.io/projects ([https](https://spring.io/projects ) result 200).
* [ ] http://spring.io/questions with 1 occurrences migrated to:
https://spring.io/questions ([https](https://spring.io/questions ) result 200).
* [ ] http://spring.io/services with 1 occurrences migrated to:
https://spring.io/services ([https](https://spring.io/services ) result 200).
* [ ] http://square.github.io/okhttp/ with 3 occurrences migrated to:
https://square.github.io/okhttp/ ([https](https://square.github.io/okhttp/ ) result 200).
* [ ] http://stackoverflow.com/faq with 1 occurrences migrated to:
https://stackoverflow.com/faq ([https](https://stackoverflow.com/faq ) 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 1 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 10 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 7 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 2 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://tomcat.apache.org/tomcat-6.0-doc/config/loader.html with 1 occurrences migrated to:
https://tomcat.apache.org/tomcat-6.0-doc/config/loader.html ([https](https://tomcat.apache.org/tomcat-6.0-doc/config/loader.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 3 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 3 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 58 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 9 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://velocity.apache.org with 4 occurrences migrated to:
https://velocity.apache.org ([https](https://velocity.apache.org ) result 200).
* [ ] http://vimeo.com/34436402 with 1 occurrences migrated to:
https://vimeo.com/34436402 ([https](https://vimeo.com/34436402 ) 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.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 1 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.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 2 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/articles/Web-Sockets-Proxy-Servers with 1 occurrences migrated to:
https://www.infoq.com/articles/Web-Sockets-Proxy-Servers ([https](https://www.infoq.com/articles/Web-Sockets-Proxy-Servers ) 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://jruby.sourceforge.net (302) with 1 occurrences migrated to:
https://www.jruby.org/ ([https](https://jruby.sourceforge.net ) 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 1 occurrences migrated to:
https://www.jython.org ([https](https://www.jython.org ) result 200).
* [ ] http://www.jython.org/ with 1 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 2 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://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://seleniumhq.org/projects/webdriver/ (301) with 1 occurrences migrated to:
https://www.seleniumhq.org ([https](https://seleniumhq.org/projects/webdriver/ ) result 200).
* [ ] http://www.slf4j.org with 1 occurrences migrated to:
https://www.slf4j.org ([https](https://www.slf4j.org ) 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 10 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 13 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 5 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 6 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 11 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 11 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 11 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 12 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 12 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 12 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 75 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 14 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 4 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-2.0.xsd with 5 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-2.0.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-2.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-2.5.xsd with 7 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-2.5.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-2.5.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-3.0.xsd with 11 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-3.0.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-3.1.xsd with 12 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-3.1.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-3.2.xsd with 12 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-3.2.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-3.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-4.0.xsd with 12 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-4.0.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-4.1.xsd with 13 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-4.1.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-4.2.xsd with 13 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-4.2.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-4.3.xsd with 13 occurrences migrated to:
https://www.springframework.org/schema/tool/spring-tool-4.3.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-4.3.xsd ) result 200).
* [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 8 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 1 occurrences migrated to:
https://www.stuartellis.name/articles/erb/ ([https](https://www.stuartellis.eu/articles/erb/ ) result 200).
* [ ] http://www.thymeleaf.org/ with 1 occurrences migrated to:
https://www.thymeleaf.org/ ([https](https://www.thymeleaf.org/ ) result 200).
* [ ] http://www.thymeleaf.org/documentation.html with 1 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 1 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/REC-xmlschema-1-20041028/ with 1 occurrences migrated to:
https://www.w3.org/TR/2004/REC-xmlschema-1-20041028/ ([https](https://www.w3.org/TR/2004/REC-xmlschema-1-20041028/ ) result 200).
* [ ] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/ with 1 occurrences migrated to:
https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/ ([https](https://www.w3.org/TR/2004/REC-xmlschema-2-20041028/ ) 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 14 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 2 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 2 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 2 occurrences migrated to:
https://www.webjars.org ([https](https://www.webjars.org ) result 200).
* [ ] http://www.webjars.org/ with 1 occurrences migrated to:
https://www.webjars.org/ ([https](https://www.webjars.org/ ) 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://xmlbeans.apache.org/ with 2 occurrences migrated to:
https://xmlbeans.apache.org/ ([https](https://xmlbeans.apache.org/ ) 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://ant.apache.org/ivy with 1 occurrences migrated to:
https://ant.apache.org/ivy ([https](https://ant.apache.org/ivy ) result 301).
* [ ] 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://blog.pivotal.io/pivotal/products/websocket-architecture-in-spring-4-0 with 1 occurrences migrated to:
https://blog.pivotal.io/pivotal/products/websocket-architecture-in-spring-4-0 ([https](https://blog.pivotal.io/pivotal/products/websocket-architecture-in-spring-4-0 ) 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/guava-libraries/ with 1 occurrences migrated to:
https://code.google.com/p/guava-libraries/ ([https](https://code.google.com/p/guava-libraries/ ) result 301).
* [ ] http://code.google.com/p/objenesis/ with 1 occurrences migrated to:
https://code.google.com/p/objenesis/ ([https](https://code.google.com/p/objenesis/ ) result 301).
* [ ] http://code.google.com/p/xml-matchers/ with 4 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 3 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://docs.spring.io with 1 occurrences migrated to:
https://docs.spring.io ([https](https://docs.spring.io ) result 301).
* [ ] http://domain.com with 17 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 1 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://help.github.com/set-up-git-redirect with 1 occurrences migrated to:
https://help.github.com/set-up-git-redirect ([https](https://help.github.com/set-up-git-redirect ) result 301).
* [ ] http://jakarta.apache.org/commons/fileupload with 2 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://logging.apache.org/log4j with 1 occurrences migrated to:
https://logging.apache.org/log4j ([https](https://logging.apache.org/log4j ) 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-3026 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3026 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3026 ) result 301).
* [ ] http://opensource.atlassian.com/projects/spring/browse/SPR-3038 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3038 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3038 ) 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-3960 with 1 occurrences migrated to:
https://opensource.atlassian.com/projects/spring/browse/SPR-3960 ([https](https://opensource.atlassian.com/projects/spring/browse/SPR-3960 ) 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 2 occurrences migrated to:
https://site2.com ([https](https://site2.com ) 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.gradle.org/ with 1 occurrences migrated to:
https://www.gradle.org/ ([https](https://www.gradle.org/ ) 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.oracle.com/technetwork/java/javase/downloads with 1 occurrences migrated to:
https://www.oracle.com/technetwork/java/javase/downloads ([https](https://www.oracle.com/technetwork/java/javase/downloads ) 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://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html with 1 occurrences migrated to:
https://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html ([https](https://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html ) 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://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 4 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://repo.spring.io/milestone/org/springframework/spring with 1 occurrences migrated to:
https://repo.spring.io/milestone/org/springframework/spring ([https](https://repo.spring.io/milestone/org/springframework/spring ) result 302).
* [ ] http://repo.spring.io/release with 1 occurrences migrated to:
https://repo.spring.io/release ([https](https://repo.spring.io/release ) result 302).
* [ ] http://repo.spring.io/release/org/springframework/spring with 1 occurrences migrated to:
https://repo.spring.io/release/org/springframework/spring ([https](https://repo.spring.io/release/org/springframework/spring ) result 302).
* [ ] http://repo.spring.io/snapshot/org/springframework/spring with 1 occurrences migrated to:
https://repo.spring.io/snapshot/org/springframework/spring ([https](https://repo.spring.io/snapshot/org/springframework/spring ) 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.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://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 8 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 13 occurrences
* http://localhost/ with 14 occurrences
* http://localhost/42 with 1 occurrences
* http://localhost/?cookie=foo 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/content with 1 occurrences
* http://localhost/content.atom with 1 occurrences
* http://localhost/context/a with 3 occurrences
* http://localhost/contextPath/main/path 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;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/registration.html 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/this with 3 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 28 occurrences
* http://localhost:8080/ with 4 occurrences
* http://localhost:8080/OrderService with 3 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 1 occurrences
* http://localhost:8080/people with 2 occurrences
* http://localhost:8080/portfolio with 1 occurrences
* http://localhost:8080/test/ with 2 occurrences
* http://localhost:8888/AccountServiceEndpoint?WSDL with 1 occurrences
* http://localhost:9000 with 5 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 6 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 42 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 48 occurrences
* http://www.springframework.org/schema/beans with 340 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 15 occurrences
* http://www.springframework.org/schema/context with 44 occurrences
* http://www.springframework.org/schema/jdbc with 18 occurrences
* http://www.springframework.org/schema/jee with 24 occurrences
* http://www.springframework.org/schema/jms with 19 occurrences
* http://www.springframework.org/schema/lang with 26 occurrences
* http://www.springframework.org/schema/mvc with 22 occurrences
* http://www.springframework.org/schema/oxm with 16 occurrences
* http://www.springframework.org/schema/p with 5 occurrences
* http://www.springframework.org/schema/task with 14 occurrences
* http://www.springframework.org/schema/tool with 205 occurrences
* http://www.springframework.org/schema/tx with 35 occurrences
* http://www.springframework.org/schema/tx/spring-tx.xsd__ with 1 occurrences
* http://www.springframework.org/schema/util with 24 occurrences
* http://www.springframework.org/schema/websocket with 30 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 126 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 90 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 21 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 13 occurrences
Closes gh-22678
2019-03-27 13:14:57 +01:00
Sam Brannen
949f674cda
URL Cleanup - Fix broken tests
...
See gh-22672
2019-03-27 12:58:03 +01:00
Sam Brannen
52650d048a
URL Cleanup - Polishing
...
See gh-22672
2019-03-27 12:58:03 +01:00
Sam Brannen
fe887c86e6
URL Cleanup - remove obsolete ATOM schema location
...
See gh-22672
2019-03-27 12:28:49 +01:00
Spring Operator
d40ed0942b
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 3 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 214 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 69 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 115 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 34 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 6 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 2 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 141 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 42 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 11 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 2 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 4 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 3 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-3.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc-4.2.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-3.1.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/oxm/spring-oxm-3.1.xsd ([https](https://www.springframework.org/schema/oxm/spring-oxm-3.1.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 178 occurrences
* http://www.springframework.org/schema/beans with 717 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 130 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 33 occurrences
* http://www.springframework.org/schema/mvc with 60 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 376 occurrences
* http://www.w3.org/2005/Atom with 2 occurrences
Closes gh-22672
2019-03-27 12:28:09 +01:00
Sam Brannen
4af5229a2c
Verify that CssLinkResourceTransformer handles empty url() links
...
This commit introduces a test that verifies that
CssLinkResourceTransformer properly handles empty url() functions in
CSS files.
See gh-22602
2019-03-26 19:13:37 +01:00
Juergen Hoeller
ae2ecf05ff
Upgrade to Tomcat 8.5.39
2019-03-26 17:41:50 +01:00
Juergen Hoeller
c192c14a9f
Polishing
2019-03-26 17:41:29 +01:00
Sam Brannen
d397d74ea5
Test fix in gh-22638
2019-03-26 14:18:22 +01:00
Sam Brannen
b36935689c
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 14:15:47 +01:00
Sam Brannen
47e88aaf43
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 14:12:04 +01:00
Sam Brannen
afe037e3f2
Update license.txt file
...
Closes gh-22659
2019-03-25 18:12:03 +01:00
Sam Brannen
41e9fcc118
Merge branch 'spring-operator-polish-urls-apache-license-4.3.x' into 4.3.x
2019-03-23 15:06:22 +01:00
Sam Brannen
3697b18766
URL Cleanup - license headers - target subpackages
...
This commit updates license headers for source files residing in
subpackages named `target`.
Closes gh-22632
2019-03-23 15:05:49 +01:00
Spring Operator
6c4f510496
URL Cleanup - license headers
...
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 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 5990 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
See gh-22632
2019-03-23 15:04:55 +01:00
Sebastien Deleuze
04223058f1
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-22624
2019-03-21 11:23:09 +01:00
Rossen Stoyanchev
7e61826333
Fix @since typo
2019-03-19 14:39:25 -04:00
Rossen Stoyanchev
dba9c90280
Ordered WebMvcConfigurer interceptor registrations
...
Closes gh-22434
2019-03-19 14:17:02 -04:00
Rossen Stoyanchev
58b17bff22
Remove framgent in ResourceUrlEncodingFilter
...
Closes gh-22552
2019-03-19 12:06:45 -04:00
Juergen Hoeller
86bf699121
Upgrade to Netty 4.1.34
2019-03-13 16:06:53 +01:00
Juergen Hoeller
2afaaf270d
Polishing
2019-03-13 16:06:40 +01:00
Sam Brannen
d9bc3b7e38
Merge branch 'spring-operator-polish-urls-build-4.3.x' into 4.3.x
2019-03-12 16:40:03 +01:00
Sam Brannen
0adabdbae0
Manual URL Cleanup
...
Closes gh-22520
2019-03-12 16:39:20 +01:00
Spring Operator
88390941d7
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://commons.apache.org/proper/commons-codec/apidocs/ migrated to:
https://commons.apache.org/proper/commons-codec/apidocs/ ([https](https://commons.apache.org/proper/commons-codec/apidocs/ ) result 200).
* http://commons.apache.org/proper/commons-dbcp/apidocs/ migrated to:
https://commons.apache.org/proper/commons-dbcp/apidocs/ ([https](https://commons.apache.org/proper/commons-dbcp/apidocs/ ) result 200).
* http://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ migrated to:
https://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ ([https](https://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ ) result 200).
* 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.8/ migrated to:
https://fasterxml.github.io/jackson-core/javadoc/2.8/ ([https](https://fasterxml.github.io/jackson-core/javadoc/2.8/ ) result 200).
* http://fasterxml.github.io/jackson-databind/javadoc/2.8/ migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.8/ ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.8/ ) result 200).
* http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.8/ migrated to:
https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.8/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.8/ ) 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://portals.apache.org/pluto/portlet-2.0-apidocs/ migrated to:
https://portals.apache.org/pluto/portlet-2.0-apidocs/ ([https](https://portals.apache.org/pluto/portlet-2.0-apidocs/ ) 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/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://ehcache.org/apidocs/ (301) migrated to:
https://www.ehcache.org/apidocs/ ([https](https://ehcache.org/apidocs/ ) result 200).
* http://static.springframework.org/spring-framework/docs (301) migrated to:
https://docs.spring.io/spring-framework/docs ([https](https://static.springframework.org/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://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 16:39:20 +01:00
Juergen Hoeller
6030014803
CollectionUtils.toIterator tolerates null Enumeration as input
...
See gh-22547
2019-03-08 23:04:42 +01:00
Juergen Hoeller
a94c12ff9a
Polishing
2019-03-07 18:43:02 +01:00
Juergen Hoeller
2b5434e46c
Consistent local vs external resolution of https schema references
...
Closes gh-22504
2019-03-06 17:06:30 +01:00
Juergen Hoeller
cebd899988
Fixed misformatted chapter id
2019-03-05 13:38:26 +01:00
Juergen Hoeller
bc283ed7d7
Polishing
2019-02-28 15:59:47 +01:00
Juergen Hoeller
f31f65408c
Polishing
2019-02-28 14:54:23 +01:00
Juergen Hoeller
514c0b5c67
JdbcTemplate preserves order of stored procedure output parameters
...
Closes gh-22491
2019-02-28 14:53:57 +01:00
Juergen Hoeller
130f41028f
Polishing
2019-02-27 18:12:05 +01:00
Juergen Hoeller
5c20c976df
Polishing
2019-02-26 18:16:12 +01:00
Juergen Hoeller
82f1340c47
Polishing
2019-02-25 19:20:28 +01:00
Juergen Hoeller
a3fb52e402
Only use payload if it actually matches declared event type
...
Closes gh-22426
2019-02-25 19:19:24 +01:00
Juergen Hoeller
3ec8080f36
Polishing
2019-02-15 17:59:38 +01:00
Juergen Hoeller
581b567864
Clarify role of 'aware' callback interfaces
2019-02-15 17:55:45 +01:00
Juergen Hoeller
109eaf3a16
DefaultConversionService properly converts Object[] to int[]
...
Closes gh-22410
2019-02-14 15:10:18 +01:00
Gemini Kim
3e1b3c32e3
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-22320
Closes gh-21231
2019-02-11 13:00:44 +01:00
Juergen Hoeller
9865b0c080
Upgrade to Tomcat 8.5.38
2019-02-11 12:11:32 +01:00
Juergen Hoeller
95c99d63b6
Upgrade to Netty 4.1.33
2019-02-07 23:57:24 +01:00
Juergen Hoeller
f3326291b1
Polishing
2019-02-07 23:57:14 +01:00
Juergen Hoeller
af920544b4
AbstractAutoProxyCreator ignores unused early proxy references
...
Closes gh-22370
2019-02-07 23:48:55 +01:00
Juergen Hoeller
8c5cb77737
ApplicationListenerMethodAdapter uses target method for order lookup
...
Closes gh-22307
2019-02-07 23:48:31 +01:00
Juergen Hoeller
9a30748822
Avoid duplicate class introspection during findAnnotationOnBean
...
Closes gh-22318
2019-02-07 23:48:08 +01:00
Rossen Stoyanchev
596992ce3c
Fix Javadoc typos
...
Closes gh-22261
2019-02-07 23:47:53 +01:00
Sebastien Deleuze
b2ce55003a
Fix truncated Value#value javadoc
...
Closes gh-22331
2019-02-06 19:31:09 +01:00
Spring Buildmaster
d091b50720
Next Development Version
2019-01-09 09:00:51 +00:00
Juergen Hoeller
a8f540ae8c
Restored original log4j.properties file reference in 4.3.x branch
2019-01-08 21:18:09 +01:00
Juergen Hoeller
9767165c8d
Upgrade to Tomcat 8.5.37
2019-01-08 20:58:23 +01:00
Juergen Hoeller
7be0aa0de5
Polishing
2019-01-08 20:58:10 +01:00
Juergen Hoeller
e714fc533a
DefaultListableBeanFactory checks for pre-converted Optional wrappers
...
Issue: SPR-17607
2019-01-08 20:55:55 +01:00
Juergen Hoeller
c02446c5a8
Relaxed position assertion (for overflows in large inline maps)
...
Issue: SPR-17605
(cherry picked from commit b2756f5bd2 )
2019-01-08 20:55:23 +01:00
Juergen Hoeller
21baa7287b
Consistent support for EnumSet subclasses in CollectionFactory
...
Issue: SPR-17619
(cherry picked from commit 31a24720a6 )
2019-01-08 20:55:10 +01:00
Sam Brannen
3c7887c2ae
Provide external links to JUnit in published Javadoc API
2019-01-08 16:24:17 +01:00
Michel Schudel
21d3bf8db4
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 15:07:41 +01:00
Juergen Hoeller
ce05a5b5c0
Polishing
2018-12-12 13:04:59 +01:00
Juergen Hoeller
b00f98fccf
Revised SimpleEvaluationContext example
...
Issue: SPR-17581
2018-12-12 13:04:51 +01:00
Juergen Hoeller
7ff1b0e01d
Clarified VfsResource constructor
...
Issue: SPR-17563
(cherry picked from commit 50e5bdb813 )
2018-12-04 22:35:04 +01:00
Juergen Hoeller
792991a88b
Cleanup after unexpected exception from external delegation call
...
Issue: SPR-17559
(cherry picked from commit c024bdcc6f )
2018-12-04 02:43:52 +01:00
Juergen Hoeller
b8480ea011
Polishing
2018-12-04 01:21:16 +01:00
Juergen Hoeller
bf9043c737
Upgrade to POI 3.17 (and Netty 4.1.32)
...
Issue: SPR-17385
2018-12-04 01:20:57 +01:00
Juergen Hoeller
4decaa2da6
Revised section on custom BeanPostProcessors
...
Issue: SPR-17556
2018-12-04 01:20:28 +01:00
Juergen Hoeller
9d504c8e1d
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
(cherry picked from commit 7854b7ac40 )
2018-12-04 01:20:19 +01:00
Juergen Hoeller
191a2d3f25
JavaMailSenderImpl calls sendMessage with empty array instead of null
...
Issue: SPR-17540
(cherry picked from commit 16e9b83d43 )
2018-12-04 01:20:11 +01:00
Spring Buildmaster
a46a437299
Next Development Version
2018-11-27 07:40:08 +00:00
Juergen Hoeller
9600e015b7
Revised alias definition example in reference documentation
...
Issue: SPR-17536
2018-11-25 22:30:41 +01:00
Juergen Hoeller
e9f7c357b7
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:30:33 +01:00
Juergen Hoeller
cf8479c8ab
Upgrade to Tomcat 8.5.35, Netty 4.1.31, Gson 2.8.5, Jackson 2.8.11.3
...
Also includes Apache HttpClient 4.5.6 and HttpAsyncClient 4.1.4.
2018-11-24 14:23:55 +01:00
Juergen Hoeller
1c1b94285d
DefaultResponseErrorHandler detects non-standard error code as well
...
Issue: SPR-17439
2018-11-23 20:21:30 +01:00
Juergen Hoeller
85b5c5a134
Polishing
2018-11-22 20:20:36 +01:00
Juergen Hoeller
ed9afa3686
FastByteArrayOutputStream.read byte-to-int conversion
...
Issue: SPR-17492
2018-11-22 20:20:26 +01:00
Juergen Hoeller
22f4b1ce6b
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
(cherry picked from commit f5aeb81473 )
2018-11-22 20:20:14 +01:00
Rossen Stoyanchev
abacc6d29e
BEST_MATCHING_HANDLER_ATTRIBUTE for spring-webmvc
...
Issue: SPR-17518
2018-11-21 09:38:59 -05:00
Juergen Hoeller
8d668acbb4
Up-to-date version and link in ASM/CGLIB/Objenesis package javadoc
...
Issue: SPR-16405
Issue: SPR-15600
2018-11-08 17:12:05 +01:00
Juergen Hoeller
4f5ae22a52
Consistently return empty array in case of empty batch arguments
...
Issue: SPR-17476
(cherry picked from commit 362c59c310 )
2018-11-08 14:09:44 +01:00
Juergen Hoeller
8f1f36d6fb
Upgrade to Animal Sniffer 1.17, Tiles 3.0.8, Tomcat 8.5.34
2018-11-05 23:52:07 +01:00
Juergen Hoeller
79e7ba71bb
Polishing
2018-11-05 23:51:54 +01:00
Juergen Hoeller
f002ebd976
Explicit notes on class/method-level semantics in class hierarchies
...
Issue: SPR-17445
(cherry picked from commit ea3250c8d6 )
2018-11-05 23:51:48 +01:00
Juergen Hoeller
b43e7335b8
Polishing
2018-10-27 16:14:53 +02:00
Juergen Hoeller
6711515ef5
Exclude FactoryBean implementation methods on CGLIB proxies as well
...
Issue: SPR-17374
(cherry picked from commit dc1e3b4628 )
2018-10-27 16:14:31 +02:00
Juergen Hoeller
47ca7b39a2
Polishing
2018-10-24 22:10:05 +02:00
Juergen Hoeller
448182fa5c
ConfigurableWebApplicationContext needed for contextClass parameter
...
Issue: SPR-17414
2018-10-24 22:06:48 +02:00
Juergen Hoeller
46bc145196
SpringFactoriesLoader tolerates whitespace around class names
...
Issue: SPR-17413
(cherry picked from commit dd2ce20687 )
2018-10-24 22:06:35 +02:00
Juergen Hoeller
3a4fd2c832
Avoid stacktrace if root resource is not resolvable in file system
...
Issue: SPR-17417
(cherry picked from commit 83a54dba7e )
2018-10-24 22:06:26 +02:00
Juergen Hoeller
cd664673ed
Clarify FactoryBean initialization effect in getBeanNamesForAnnotation
...
Issue: SPR-17392
(cherry picked from commit da23505e94 )
2018-10-24 22:06:19 +02:00
Juergen Hoeller
a3bdeb2c53
Clarify destruction order effect in @DependsOn annotation javadoc
...
Issue: SPR-17384
(cherry picked from commit 00b7782b5f )
2018-10-24 22:06:11 +02:00
Brian Clozel
9efe37e649
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 cf25efc7d3 )
2018-10-24 21:20:29 +02:00
Rossen Stoyanchev
8e980d9a63
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:22:18 -04:00
Spring Buildmaster
f7c625cfcc
Next Development Version
2018-10-15 08:48:23 +00:00
Rossen Stoyanchev
044772641d
HttpRange validates requested ranges
...
Issue: SPR-17318
2018-10-14 23:03:34 -04:00
Juergen Hoeller
d15abfdb3f
Revert support for concurrent BeanPostProcessor registration in 4.3.x
...
Issue: SPR-17286
2018-10-14 22:12:35 +02:00
Juergen Hoeller
ebe3c270cb
MethodValidationInterceptor excludes FactoryBean metadata methods
...
Issue: SPR-17374
(cherry picked from commit 5f2d47a17e )
2018-10-14 22:12:24 +02:00
Juergen Hoeller
6c9c8efc38
Polishing
2018-10-10 00:32:07 +02:00
Juergen Hoeller
b53995b5d4
Resource.lastModified() propagates 0 value if target resource exists
...
Issue: SPR-17320
2018-10-10 00:31:49 +02:00
Rossen Stoyanchev
547b841172
Oops, add uncommitted change for last commit.
2018-10-09 12:23:25 -04:00
Rossen Stoyanchev
f61f6f2ef0
More defensive check for MockAsyncContext
...
Avoid automatically unwrapping the request in TestDispatcherServlet,
if we find the MockAsyncContext.
Issue: SPR-17353
2018-10-09 12:00:36 -04:00
Juergen Hoeller
de1139e6a0
Polishing
2018-09-29 17:55:10 +02:00
Juergen Hoeller
e978f90a19
MockHttpServletRequest allows for removing registered header entries
...
Issue: SPR-17295
2018-09-29 17:55:03 +02:00
Juergen Hoeller
ebd92fec6d
Revised javadoc for up-to-date constructor autowiring semantics
...
Issue: SPR-17299
(cherry picked from commit 333e327289 )
2018-09-29 17:54:54 +02:00
Juergen Hoeller
fa06faa3ec
Use local copy set into volatile field instead of CopyOnWriteArrayList
...
Keep supporting legacy usage of Iterator.remove on getBeanPostProcessors result List in AbstractBeanFactoryBasedTargetSourceCreator and ScriptFactoryPostProcessor (and similarly designed integrations).
Issue: SPR-17286
2018-09-18 23:32:14 +02:00
Juergen Hoeller
e94624d439
Polishing
2018-09-18 22:09:07 +02:00
Juergen Hoeller
0d1bf52122
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 22:09:01 +02:00
Juergen Hoeller
ec1aa5c6ea
Polishing
2018-09-17 14:56:55 +02:00
Juergen Hoeller
4a51f6feef
Polishing
2018-09-14 14:37:06 +02:00
Juergen Hoeller
4e9046ab6e
Correct linkplain javadoc in BufferingClientHttpRequestFactory
...
Issue: SPR-17261
(cherry picked from commit e47355078c )
2018-09-11 15:16:59 +02:00
Juergen Hoeller
e873004b52
Revise ServletUriComponentsBuilder javadoc
...
Issue: SPR-17255
2018-09-07 18:27:32 +02:00
Spring Buildmaster
5f465d056f
Next Development Version
2018-09-07 14:10:07 +00:00
Juergen Hoeller
6a5d986b33
Fix SpEL compilation for non trivial elvis operand
...
Issue: SPR-17214
2018-09-07 13:19:47 +02:00
Juergen Hoeller
8ce9236b0f
Polishing
...
(cherry picked from commit 95a56cd28d )
2018-08-31 13:22:55 +02:00
Juergen Hoeller
1a626ab948
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 13:22:14 +02:00
Juergen Hoeller
56194a1051
Transactional timeout documented as seconds in annotation javadoc
...
Issue: SPR-17226
(cherry picked from commit 8c6f3505c4 )
2018-08-31 13:21:37 +02:00
Juergen Hoeller
a496836e46
Upgrade to Tomcat 8.5.33 and Netty 4.1.29
2018-08-24 13:28:55 +02:00
Juergen Hoeller
974e7b88ee
Polishing
2018-08-24 13:28:29 +02:00
Juergen Hoeller
069704f4a0
Support Jackson filters in combination with serialization view
...
Issue: SPR-17209
(cherry picked from commit 03f1920106 )
2018-08-24 13:28:23 +02:00
Juergen Hoeller
d38eb9d6a0
SimpleAliasRegistry.hasAlias properly resolves multiple chained aliases
...
Issue: SPR-17191
(cherry picked from commit 2ac23badee )
2018-08-17 10:04:48 +02:00
Juergen Hoeller
5bd4f88af1
Polishing
2018-08-16 12:38:07 +02:00
Juergen Hoeller
b16a3229bc
Polishing
2018-08-15 18:10:25 +02:00
Rossen Stoyanchev
a409233e80
Consistent logging of resolved exceptions
...
Issue: SPR-17178
2018-08-15 11:20:32 +03:00
Juergen Hoeller
7a97ba54ea
Polishing
2018-08-14 22:03:05 +02:00
Juergen Hoeller
9de85f1336
MappingJackson2JsonView does not refer to "renderedAttributes" anymore
...
Issue: SPR-17182
2018-08-14 22:02:31 +02:00
Juergen Hoeller
484a2f3f2d
Polishing
2018-08-13 14:23:41 +02:00
Juergen Hoeller
5bd5df3ec4
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
Issue: SPR-17166
2018-08-12 20:40:26 +02:00
Juergen Hoeller
b51685bf00
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
Issue: SPR-17166
2018-08-11 22:58:36 +02:00
Juergen Hoeller
687d350b57
Polishing
2018-08-10 18:16:14 +02:00
Juergen Hoeller
73dfa9a968
Polishing
2018-08-09 19:01:14 +02:00
Juergen Hoeller
5a66a339a6
Polishing (typo fixes etc, aligned with 5.0.x)
2018-08-09 13:04:57 +02:00
Juergen Hoeller
45598ca53a
Polishing
2018-08-09 02:56:56 +02:00
Juergen Hoeller
4b30fe2b44
Polishing
2018-08-09 02:34:12 +02:00
Juergen Hoeller
e94c69149e
AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue
2018-08-09 01:52:16 +02:00
Juergen Hoeller
c69fdfadfc
Polishing
2018-08-09 01:17:10 +02:00
Juergen Hoeller
bd060a19ac
Expose checkbox field marker as 'hidden' to RequestDataValueProcessor
...
Issue: SPR-17147
(cherry picked from commit fa72186e28 )
2018-08-09 01:17:05 +02:00
Juergen Hoeller
5515112f87
Polishing
2018-08-07 21:23:43 +02:00
Juergen Hoeller
89cadfa8d9
Polishing
2018-08-07 02:38:54 +02:00
Juergen Hoeller
73da153e5c
DisposableBean javadoc refers to singletons as well as scoped beans
...
Issue: SPR-17131
(cherry picked from commit f155d21c95 )
2018-08-07 02:37:02 +02:00
Juergen Hoeller
75b323e6c2
Polishing
2018-08-02 17:39:39 +02:00
Juergen Hoeller
13637ec3b5
Polishing
...
(cherry picked from commit dc36bb34c7 )
2018-08-02 15:12:54 +02:00
Juergen Hoeller
7da02fb7e3
SchedulerAccessor catches cluster race conditions on job rescheduling
...
Issue: SPR-17114
(cherry picked from commit fa97aab8be )
2018-08-02 15:12:41 +02:00
Juergen Hoeller
92c210201e
Polishing
2018-08-01 12:32:09 +02:00
Juergen Hoeller
ae6d778c3e
Polishing
2018-07-31 22:25:44 +02:00
Juergen Hoeller
e24ac55480
Polishing
2018-07-30 23:05:57 +02:00
Juergen Hoeller
b17a6f9e03
Polishing
2018-07-27 18:41:12 +02:00
Juergen Hoeller
4c050207e7
Polishing
2018-07-26 23:37:48 +02:00
Juergen Hoeller
7ac99c1c2d
Revise BeanFactory vs ApplicationContext section in reference docs
...
Issue: SPR-17095
2018-07-26 19:02:12 +02:00
Juergen Hoeller
42e550a178
Polishing
2018-07-26 16:00:38 +02:00
Juergen Hoeller
1b78afe445
Properly identify event-related ClassCastExceptions on JDK 11
...
Issue: SPR-17093
(cherry picked from commit e458777925 )
2018-07-26 15:15:47 +02:00
Juergen Hoeller
001cecd46a
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:32:34 +02:00
Juergen Hoeller
21b7dc1ce4
Backport of WebMvcConfigurationSupport javadoc revision
...
Includes related polishing.
2018-07-25 15:54:02 +02:00
Juergen Hoeller
a403a754e9
BeanFactoryAdvisorRetrievalHelper avoids synchronization for name cache
...
Issue: SPR-16570
2018-07-24 16:43:25 +02:00
Juergen Hoeller
2ae2249842
Polishing
2018-07-24 15:17:33 +02:00
Juergen Hoeller
484addb4f8
Polishing
2018-07-20 17:04:17 +02:00
Juergen Hoeller
65e423219e
Polishing
2018-07-20 00:41:35 +02:00
Juergen Hoeller
22fc3255b7
Polishing
2018-07-19 13:47:03 +02:00
Juergen Hoeller
322b0f431f
Javadoc update: ConfigurationClassPostProcessor is priority-ordered
...
Issue: SPR-17062
(cherry picked from commit c66f9d8 )
2018-07-19 13:46:40 +02:00
Juergen Hoeller
1ff1c950fb
Consistent exposure of nested parameter type in binding exceptions
...
(cherry picked from commit ed54895 )
2018-07-18 20:11:30 +02:00
Juergen Hoeller
1e9b2b1c07
Update ref doc references to Number/Currency/PercentStyleFormatter
...
Issue: SPR-17022
2018-07-18 14:43:23 +02:00
Juergen Hoeller
19e944bd4f
UrlBasedViewResolver exposes redirect prefix as bean name
...
Issue: SPR-17045
2018-07-18 14:43:14 +02:00
Stephane Nicoll
e9e864b093
Fix typo
...
Issue: SPR-17042
2018-07-15 16:19:46 +02:00
Juergen Hoeller
f4b644dfec
Polishing
2018-07-06 15:28:15 +02:00
Juergen Hoeller
b129fb4b62
Upgrade to Jackson 2.8.11.2 and SLF4J 1.7.25
2018-07-06 02:10:53 +02:00
Juergen Hoeller
50f7ffddf8
Polishing
2018-07-04 23:07:08 +02:00
Juergen Hoeller
4298744c4a
Polishing
2018-07-03 17:06:35 +02:00
Juergen Hoeller
44b2657c8e
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 17:05:38 +02:00
Juergen Hoeller
9f69638420
Same method filtering in ConstructorResolver and getTypeForFactoryMethod
...
Issue: SPR-16999
(cherry picked from commit 0052c89 )
2018-07-03 17:05:18 +02:00
Juergen Hoeller
740751bc01
Polishing
2018-06-29 23:05:40 +02:00
Juergen Hoeller
de8d4e917d
Upgrade to Tomcat 8.5.32
2018-06-29 21:21:31 +02:00
Juergen Hoeller
fa8acfafbf
Polishing
2018-06-29 21:21:19 +02:00
Juergen Hoeller
d5bfddac69
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 )
(cherry picked from commit 5a11112 )
2018-06-29 21:21:11 +02:00
Juergen Hoeller
1b0d838a19
Support for new JsonMappingException wording in Jackson 2.9
...
Issue: SPR-16947
(cherry picked from commit 6d0f8bf )
2018-06-29 21:20:52 +02:00
Spring Buildmaster
a0f52bf633
Next Development Version
2018-06-12 14:49:55 +00:00
Juergen Hoeller
a9dd927870
Remove outdated HandlerAdapter references from annotation javadoc
...
Includes removal of PathVariable's MultiValueMap support claim.
Issue: SPR-16936
2018-06-12 11:48:45 +02:00
Brian Clozel
323ccf99e5
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:18:28 +02:00
Juergen Hoeller
437eca0b25
Upgrade to Netty 4.1.25
2018-06-11 17:04:18 +02:00
Juergen Hoeller
965f3c6434
Polishing
2018-06-11 17:00:51 +02:00
Juergen Hoeller
6df7ba2447
Remove outdated javadoc references to SpEL lambda functions
...
Issue: SPR-16930
2018-06-11 16:55:52 +02:00
Juergen Hoeller
1d6f71718d
AbstractMethodMessageHandler processes Error as MessageHandlingException
...
Issue: SPR-16912
2018-06-11 16:49:43 +02:00
Juergen Hoeller
4a6e9a5557
ReflectivePropertyAccessor caches sorted methods per class
...
Issue: SPR-16882
2018-06-11 16:47:52 +02:00
Juergen Hoeller
357ca21675
Correct code example for YamlProcessor.setDocumentMatchers
...
Issue: SPR-16849
(cherry picked from commit 455d8ac )
2018-06-11 16:46:45 +02:00
Sebastien Deleuze
874859493b
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
2018-06-08 12:33:27 +02:00
Sam Brannen
75a6f3b2b6
Document JUnit Jupiter options in Spring 4.3.x
...
Issue: SPR-16446
2018-06-04 15:05:27 +02:00
Stephane Nicoll
88456d4799
Fix faulty BeanPostProcessorChecker logs with @EnableCaching
...
Issue: SPR-16896
2018-06-04 15:03:04 +02:00
Rossen Stoyanchev
c44de3c5df
Minor update to STOMP chapter
...
Issue: SPR-16861
2018-05-23 21:57:53 -04:00
Juergen Hoeller
9d1789e718
Revised code examples for stored procedure type declarations
...
Issue: SPR-16811
2018-05-16 09:46:39 +02:00
Juergen Hoeller
849b6ccb8b
SchedulerFactoryBean triggers shutdown after registration failure
...
Issue: SPR-16816
2018-05-16 09:46:31 +02:00
Juergen Hoeller
997ca5cd3f
Query termination for JPA 2.1 StoredProcedureQuery.execute() method
...
Includes backported support for JPA 2.2 getResultStream() method.
Issue: SPR-16826
2018-05-16 09:46:11 +02:00
Spring Buildmaster
a54bc6650e
Next Development Version
2018-05-08 07:48:37 +00:00
Juergen Hoeller
70424a7e3d
Polishing
2018-05-08 00:12:18 +02:00
Juergen Hoeller
318d04cd2b
Explicit coverage of root vs cause exception matching in MVC ref docs
...
Issue: SPR-16743
(cherry picked from commit a200df6 )
2018-05-08 00:02:56 +02:00
Juergen Hoeller
d9ff109b0f
Polishing
...
(cherry picked from commit b4f83db )
2018-05-07 15:01:22 +02:00
Juergen Hoeller
8501cef98d
Upgrade to Tomcat 8.5.31
2018-05-05 16:37:20 +02:00
Juergen Hoeller
c99a104919
Polishing
2018-05-05 16:36:52 +02:00
Juergen Hoeller
193c289080
ResponseEntityExceptionHandler rethrows unknown exception (for further processing in DispatcherServlet's HandlerExceptionResolver chain)
...
Issue: SPR-16743
(cherry picked from commit 7b894fe )
2018-05-05 16:32:08 +02:00
Juergen Hoeller
9c3270ad35
Upgrade to Netty 4.1.24
2018-05-02 17:21:35 +02:00
Juergen Hoeller
e4a9ade991
Consistent SpelEvaluationException messages in findAccessorForMethod
...
Issue: SPR-16762
(cherry picked from commit 30363c8 )
2018-05-02 17:21:07 +02:00
Juergen Hoeller
fbd83015b1
Expose FactoryBean's raw object on retrieval during post-processing
...
Issue: SPR-16783
(cherry picked from commit 9281f82 )
2018-05-02 17:20:31 +02:00
Juergen Hoeller
3a15595d0c
Introspect originating bean definition as configuration class candidate
...
Issue: SPR-16756
(cherry picked from commit c8b6233 )
2018-05-02 17:15:36 +02:00
Juergen Hoeller
289a6091f1
SimpleClientHttpResponse catches any Exception on close
...
Issue: SPR-16773
(cherry picked from commit 21fad8e )
2018-05-02 17:15:14 +02:00
Rossen Stoyanchev
3502f6fdc2
Validate contextPath in RedirectView
...
Issue: SPR-16752
2018-04-23 15:27:22 -04:00
Juergen Hoeller
8d67a982ec
Correctly delegate to OrderUtils.getPriority for DecoratingProxy
...
Issue: SPR-16739
2018-04-17 23:45:24 +02:00
Juergen Hoeller
c09e10405b
Workaround for generic parameter types on inner class constructors
...
Issue: SPR-16734
2018-04-17 15:59:08 +02:00
Juergen Hoeller
6a727e1ed7
OperatorMatches flags misguided evaluation attempts as FLAWED_PATTERN
...
Issue: SPR-16731
(cherry picked from commit d4a55a2 )
2018-04-17 13:46:37 +02:00
Rossen Stoyanchev
246a6db1ca
Selector header name is exposed for configuration
...
Issue: SPR-16732
2018-04-17 00:20:12 -04:00
Sam Brannen
8748ba4c4b
Suppress warning in SpringFailOnTimeoutTests
2018-04-14 16:46:57 +02:00
Juergen Hoeller
2989f01013
Cache-safety check for sibling loaders resolving the same classes
...
Issue: SPR-16714
2018-04-12 21:38:57 +02:00
Juergen Hoeller
c6a7732a30
Consistent getTypeForFactoryMethod result for parameterized method
...
Issue: SPR-16720
(cherry picked from commit 6184c4e )
2018-04-12 21:38:12 +02:00
Juergen Hoeller
e54c9d4a93
Fine-tuned JCA MessageEndpoint exception logging and propagation
...
Issue: SPR-16717
(cherry picked from commit 8e1ecec )
2018-04-12 21:37:45 +02:00
Juergen Hoeller
ac19c696fe
Revised reference example for linkable controller method signature
...
Issue: SPR-16710
(cherry picked from commit 7ee6130 )
2018-04-12 21:37:39 +02:00
Sam Brannen
fecbcd4e93
Expand scope of SpringFailOnTimeoutTests
...
Issue: SPR-16716
2018-04-12 10:58:21 +02:00
Igor Suhorukov
59396e1a6f
Throw exception from user code in SpringFailOnTimeout even if a timeout occurs
...
Issue: SPR-16717
2018-04-12 10:58:21 +02:00
Juergen Hoeller
c4ef47b29f
Upgrade to Tomcat 8.5.30 and Netty 4.1.23
2018-04-11 16:51:10 +02:00
Juergen Hoeller
c2fdd56107
Polishing
2018-04-11 16:50:48 +02:00
Juergen Hoeller
98536e1387
Proper exception for controller method return types that do not work with MvcUriComponentsBuilder (e.g. final classes)
...
Issue: SPR-16710
2018-04-11 16:50:38 +02:00
Spring Buildmaster
ba13950d3a
Next Development Version
2018-04-09 14:57:59 +00:00
Rossen Stoyanchev
0009806deb
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-04-09 10:05:50 -04:00
Rossen Stoyanchev
6deee3e818
TestDispatcherServlet unwraps to find mock request
...
Issue: SPR-16695
2018-04-06 11:21:25 -04:00
Andy Clement
d3acf45ea4
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-04-05 14:36:36 -07:00
Spring Buildmaster
573f1d77f2
Next Development Version
2018-04-03 20:10:45 +00:00
Juergen Hoeller
1ca06537c1
Polishing
2018-04-03 13:20:09 +02:00
Juergen Hoeller
1ab0850303
Revised mime.types file with cpp extension and updated modification docs
...
Issue: SPR-16678
(cherry picked from commit 9601d4b )
2018-04-03 13:19:34 +02:00
Juergen Hoeller
2a9eaab674
Remove outdated declarations from spring-aspects build
2018-03-31 23:32:20 +02:00
Juergen Hoeller
1fbd38c2d8
Upgrade to Groovy 2.4.15
2018-03-31 19:54:41 +02:00
Juergen Hoeller
49eafe4261
Polishing
2018-03-31 19:54:12 +02:00
Juergen Hoeller
b0ed385f84
Polishing
2018-03-31 17:06:33 +02:00
Juergen Hoeller
5d54adfb9a
Selective backport of annotation retrieval refinements (from 5.0.5)
...
In particular AnnotationTypeFilter's ignoring of standard Java interfaces, AnnotationUtils.clearCache() and a few extra common classes in ClassUtils.
Issue: SPR-16667
Issue: SPR-16675
2018-03-31 17:03:59 +02:00
Juergen Hoeller
1cbc353dd1
Consistent Ordered.LOWEST_PRECEDENCE declarations for default order
...
(cherry picked from commit 6393e5c )
2018-03-31 17:02:41 +02:00
Juergen Hoeller
4cf1795359
Consistent to/cc/bcc array handling and revised hashCode without text
...
Issue: SPR-16671
(cherry picked from commit 1cc513d )
2018-03-31 17:02:12 +02:00
Juergen Hoeller
5629fa2c9f
Pass type name into PreparedStatement.setNull in case of Types.OTHER
...
Issue: SPR-16669
(cherry picked from commit 9a722b4 )
2018-03-31 17:01:47 +02:00
Sam Brannen
2903cb7f50
Polishing
2018-03-30 11:35:07 +02:00
Rossen Stoyanchev
986d219391
Replaces rather than prepend contextPath
...
Issue: SPR-16650
2018-03-29 18:26:31 -04:00
Rossen Stoyanchev
de4da5ea4e
Improve docs on forwarded headers
...
Issue: SPR-16660
2018-03-29 16:26:58 -04:00
Rossen Stoyanchev
e8c656d2bc
Reject invalid forwarded headers
...
Issue: SPR-16660
2018-03-29 16:16:20 -04:00
Juergen Hoeller
bcda243f63
Polishing
2018-03-29 17:34:28 +02:00
Juergen Hoeller
64f304c333
Consistent references to primitive types (in alphabetical order)
...
(cherry picked from commit 08dad4e )
2018-03-29 17:33:13 +02:00
Juergen Hoeller
5f6b04251e
Workaround for inner class constructor parameter annotation bug in javac
...
Issue: SPR-16652
(cherry picked from commit 53d0139 )
2018-03-29 17:30:07 +02:00
Juergen Hoeller
618cb6155c
Correct description for doWithLocalFields
...
Issue: SPR-16658
(cherry picked from commit 3ac46da )
2018-03-29 17:29:58 +02:00
nkjackzhang
f3dd22da5b
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.
(cherry picked from commit 82cb5db )
2018-03-29 17:21:00 +02:00
Rossen Stoyanchev
6e4bbac6f7
MvcResult returns asyncResult after asyncDispatch
...
Issue: SPR-16648
2018-03-28 22:27:30 -04:00
Rossen Stoyanchev
2e4963fca3
Revert "Always specify charset for form data requests"
...
This reverts commit 1897d8e858 .
Issue: SPR-16613
2018-03-28 11:58:24 -04:00
Juergen Hoeller
4d0adc7d95
Upgrade to Tomcat 8.5.29
2018-03-28 11:48:58 +02:00
Juergen Hoeller
3b3f27d5ff
DefaultResponseErrorHandler.hasError avoids exception for unknown status
...
Issue: SPR-16604
2018-03-28 11:42:43 +02:00
Juergen Hoeller
f32b13c5b3
Restored original 4.3.x expectation for property access on null target
2018-03-28 11:40:24 +02:00
Rossen Stoyanchev
1897d8e858
Always specify charset for form data requests
...
Issue: SPR-16613
2018-03-27 20:04:53 -04:00
Rossen Stoyanchev
71126faae0
MimeTypeUtils trims parameter names / values
...
Issue: SPR-16630
2018-03-27 20:04:53 -04:00
Juergen Hoeller
9cc03fa8b0
Polishing
2018-03-28 02:03:31 +02:00
Juergen Hoeller
59189e5957
Backported core container concurrency refinements
...
Issue: SPR-16620
Issue: SPR-16625
Issue: SPR-16627
2018-03-28 01:23:50 +02:00
Juergen Hoeller
65a8aa1c09
Backported DataBindingPropertyAccessor and DataBindingMethodResolver
...
Issue: SPR-16588
2018-03-28 01:22:59 +02:00
Juergen Hoeller
f046a066ec
Simplified separator check within isInvalidEncodedPath
...
Issue: SPR-16616
2018-03-28 01:22:01 +02:00
Juergen Hoeller
6e1cac9145
AcceptHeaderLocaleResolver keeps language match among supported locales
...
Issue: SPR-16599
2018-03-28 01:21:36 +02:00
Juergen Hoeller
7cafa6764c
Validate declared annotations before deciding between reflection and ASM
...
Issue: SPR-16564
2018-03-28 01:20:59 +02:00
Juergen Hoeller
c1cb0311aa
Avoid triggering lazy resolution in MultipartResolver.cleanupMultipart
...
Issue: SPR-16640
(cherry picked from commit 10cb2cc )
2018-03-28 01:19:22 +02:00
Juergen Hoeller
f2478cf8cf
Contextual BeanCreationException in case of depending on a missing bean
...
Issue: SPR-16628
(cherry picked from commit 937cd48 )
2018-03-28 01:19:12 +02:00
Juergen Hoeller
977084a6b8
Correct documentation of default HttpMessageConverters in RestTemplate
...
Issue: SPR-7885
(cherry picked from commit 442ddb0 )
2018-03-28 01:18:42 +02:00
Juergen Hoeller
0e7e49bab0
Deprecate TableMetaDataContext.getSimulationQueryForGetGeneratedKey
...
(cherry picked from commit 2c7efbb )
2018-03-28 01:18:28 +02:00
Juergen Hoeller
301ba01427
CallMetaDataContext handles 'procedureColumnResult' as return parameter
...
Issue: SPR-16611
(cherry picked from commit b7c4238 )
2018-03-28 01:18:20 +02:00
Juergen Hoeller
881817678f
Scope annotation in class hierarchies vs XML bean definition inheritance
...
Issue: SPR-16602
(cherry picked from commit 914b247 )
2018-03-28 01:18:05 +02:00
Juergen Hoeller
b8c92ce931
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16596
Issue: SPR-16488
(cherry picked from commit d4a8f76 )
2018-03-28 01:17:53 +02:00
Juergen Hoeller
6158634d67
Clarified repeatable PropertySource annotation vs use as meta-annotation
...
Issue: SPR-16592
(cherry picked from commit c4e9ce8 )
2018-03-28 01:17:18 +02:00
Juergen Hoeller
8d8bb04783
ConcurrentReferenceHashMap properly handles getOrDefault for null values
...
Issue: SPR-16584
(cherry picked from commit 356ef45 )
2018-03-28 01:17:09 +02:00
Juergen Hoeller
2cac3a8255
InterceptingClientHttpRequest adapts to StreamingHttpOutputMessage
...
Issue: SPR-16582
(cherry picked from commit 4173022 )
2018-03-28 01:16:59 +02:00
Juergen Hoeller
25a3019234
URIEditor uses straight ClassPathResource.getURI() access
...
Issue: SPR-16581
(cherry picked from commit 499128d )
2018-03-28 01:16:50 +02:00
Juergen Hoeller
3dff1b3f6e
SimpleAliasRegistry fully synchronizes registerAlias and removeAlias
...
Issue: SPR-16577
(cherry picked from commit 1b1a69a )
2018-03-28 01:16:35 +02:00
Juergen Hoeller
b1295d0499
TransactionTemplate equality for same transaction manager only
...
Issue: SPR-16572
(cherry picked from commit df80614 )
2018-03-28 01:16:24 +02:00
Juergen Hoeller
eeeb0a6546
Consistent result synchronization in WebAsyncManager
...
Issue: SPR-16571
(cherry picked from commit cf74b1b )
2018-03-28 01:16:13 +02:00
Juergen Hoeller
1bde920cce
Quick access to volatile field (full synchronization only for lazy init)
...
Issue: SPR-16570
(cherry picked from commit 50253f6 )
2018-03-28 01:16:06 +02:00
Rossen Stoyanchev
e02ff3a0da
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:52:30 -04:00
Rossen Stoyanchev
ff377a3836
Minor typo in docs
2018-03-23 11:11:40 -04:00
Rossen Stoyanchev
ddb2bdf8c6
Improve docs on @Controller methods in STOMP section
...
Issue: SPR-16631
2018-03-23 11:07:42 -04:00
Rossen Stoyanchev
b9ebdaaf37
Backport clean duplicate separators in resource URLs
...
Issue: SPR-16616
2018-03-21 23:18:36 -04:00
Rossen Stoyanchev
4187e04b69
Backport doc change
2018-03-21 22:47:13 -04:00
Rossen Stoyanchev
d512cca3fd
Reactor2TcpClient constructor with address supplier
...
Issue: SPR-12452
2018-03-20 11:41:54 -04:00
Rossen Stoyanchev
4bc3e0c2b4
Add SimpleEvaluationContext
...
Issue: SPR-16588
2018-03-14 16:10:28 -04:00
Sam Brannen
d57d914b26
Make method params final for use in anonymous inner class
...
Issue: SPR-16587
2018-03-13 17:10:54 +01:00
Sam Brannen
68463e2018
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 16:06:39 +01:00
Brian Clozel
6fa9539ae2
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
(cherry picked from ed7684d2b2 )
2018-03-08 20:10:25 +01:00
Yannik Hampe
ff53a26333
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-08 13:37:26 +01:00
Juergen Hoeller
b70d400c71
Strong recommendation for OpenPDF 1.0.5 instead of iText 2.1.7
...
Issue: SPR-16107
2018-03-07 16:54:04 +01:00
Juergen Hoeller
346d0e271d
Polishing
2018-03-07 16:24:40 +01:00
Juergen Hoeller
c15f23bf0c
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
(cherry picked from commit eb9c43d )
2018-03-07 16:23:12 +01:00
Juergen Hoeller
0962c66592
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
(cherry picked from commit 82515a3 )
2018-03-07 16:22:52 +01:00
Juergen Hoeller
b643f7836c
Drop version check in isGetGeneratedKeysSimulated (for PostgreSQL 10)
...
Issue: SPR-16556
(cherry picked from commit 4a4f2c2 )
2018-03-07 16:22:39 +01:00
Brian Clozel
56fdda167e
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
(cherry picked from commit 6d26e61ac7 )
2018-03-05 15:28:36 +01:00
Juergen Hoeller
017f2a8ccc
Upgrade to Animal Sniffer 1.16
2018-03-05 13:54:55 +01:00
Juergen Hoeller
f7898951bd
Correct description for class-level @Transactional with AspectJ
...
Includes isolation level clarifications.
Issue: SPR-16552
Issue: SPR-16463
2018-03-05 13:40:24 +01:00
Juergen Hoeller
bd6b7b08f3
Concurrency and exception message refinements for test transactions
...
(cherry picked from commit a0cc800 )
2018-03-05 13:40:13 +01:00
Juergen Hoeller
bc043245cc
Polishing
2018-03-03 17:18:44 +01:00
Juergen Hoeller
6e8a3fb4db
Upgrade to Groovy 2.4.14
2018-03-03 17:18:32 +01:00
Juergen Hoeller
1f12214b45
Polishing
2018-03-02 13:11:31 +01:00
Juergen Hoeller
c6bd0c9f3d
Revert MessageConsumer interrupt calls (just log wait count on shutdown)
...
Issue: SPR-16536
2018-03-02 13:09:59 +01:00
Rossen Stoyanchev
fb22915563
Correct log level
...
Issue: SPR-16528
2018-03-01 15:58:20 -05:00
Juergen Hoeller
c5c27f2963
Polishing
2018-03-01 01:48:26 +01:00
Juergen Hoeller
3e6cfb7c6d
WebApplicationContextFacesELResolver.isReadOnly returns true for WAC
...
Issue: SPR-16543
(cherry picked from commit 4781627 )
2018-03-01 01:43:19 +01:00
Juergen Hoeller
8e68ac44d2
Polishing
2018-03-01 01:12:30 +01:00
Juergen Hoeller
81c50dc674
Polishing
2018-02-28 16:29:46 +01:00
Juergen Hoeller
57aa3d1e3b
Consistent but local aspect instantiation in AspectJProxyFactory (4.3.x)
2018-02-28 15:49:48 +01:00
Juergen Hoeller
2c45b09263
Polishing
2018-02-28 15:08:09 +01:00
Juergen Hoeller
59f12635f9
Interrupt listener invoker threads on shutdown (after initial wait step)
...
Issue: SPR-16536
(cherry picked from commit 95aad9c )
2018-02-28 15:07:53 +01:00
Juergen Hoeller
901d48c803
Support for ResolvableType.getType().getTypeName() on Java 8
...
Issue: SPR-16535
(cherry picked from commit 6663d0f )
2018-02-26 17:31:12 +01:00
Juergen Hoeller
0bc7c47bea
Polishing
2018-02-26 13:24:50 +01:00
Juergen Hoeller
06e2bada0a
ConcurrentMapCache.get(key, valueLoader) avoids race condition
...
Issue: SPR-16533
2018-02-26 13:24:25 +01:00
Juergen Hoeller
8181c0237f
Enforce GMT timezone for testBindInstantFromJavaUtilDate
...
Issue: SPR-16534
(cherry picked from commit 7d89de0 )
2018-02-26 13:23:02 +01:00
Juergen Hoeller
d4af8c86b2
Polishing
2018-02-25 21:44:34 +01:00
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
2018-02-25 21:44:00 +01:00
Juergen Hoeller
073e78b68d
Polishing
2018-02-25 15:04:19 +01:00
Juergen Hoeller
f9754f92f4
Mark Castor tests as deprecated
...
Issue: SPR-16219
(cherry picked from commit 85984f3 )
2018-02-25 15:04:11 +01:00
igor-suhorukov
d5f358c33c
Polish: Array designators "[]" should be on the type, not the variable
...
(cherry picked from commit c782075 )
2018-02-25 15:03:54 +01:00
Juergen Hoeller
295df21f06
Polishing
2018-02-25 00:48:00 +01:00
Juergen Hoeller
57a9e8e6dd
Efficiently merge bean name result with parent result (possibly empty)
...
(cherry picked from commit 7f58d9ede0 )
2018-02-25 00:41:51 +01:00
Juergen Hoeller
e83491fbe9
GsonHttpMessageConverter keeps output stream open (for SseEmitter)
...
Issue: SPR-16529
2018-02-23 11:02:34 +01:00
Juergen Hoeller
37ee264fbf
Local mergeStringArrays variant for Portlets (superseding StringUtils)
2018-02-22 15:48:35 +01:00
Juergen Hoeller
8b5563ecab
Deprecated StringUtils.mergeStringArrays
...
(cherry picked from commit 0f74052 )
2018-02-22 15:26:06 +01:00
Juergen Hoeller
0a3a82fd83
Upgrade to Netty 4.1.22
2018-02-22 14:30:01 +01:00
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
2018-02-22 14:27:57 +01:00
Juergen Hoeller
caed04473e
Consistent HttpMethod identity comparisons
...
(cherry picked from commit 0de36d2 )
2018-02-18 22:28:37 +01:00
Juergen Hoeller
87abdb92da
Polishing
2018-02-16 21:02:00 +01:00
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
2018-02-16 19:48:43 +01:00
Juergen Hoeller
350f318d2e
FormTag skips rendering of hidden fields in case of empty Map
...
Issue: SPR-16498
(cherry picked from commit 6d75732 )
2018-02-16 19:47:44 +01:00
Rossen Stoyanchev
608ef46516
ForwardedHeaderFilter handles query+fragment correctly
...
Issue: SPR-16506
2018-02-16 12:41:23 -05:00
Juergen Hoeller
d60446a4fe
Explicit documentation notes on transacted sessions vs AUTO_ACKNOWLEDGE
...
Issue: SPR-16487
(cherry picked from commit 95f7180 )
2018-02-14 16:38:46 +01:00
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
2018-02-14 16:38:28 +01:00
Juergen Hoeller
5ba37762fe
Consistent ControllerAdvice applicability against user-declared class
...
Issue: SPR-16496
(cherry picked from commit 46cbdff )
2018-02-14 16:38:21 +01:00
Juergen Hoeller
f2dc075335
Defensively handle DatabaseMetaData.getConnection() returning null
...
Issue: SPR-16495
(cherry picked from commit 766e602 )
2018-02-14 16:37:55 +01:00
Juergen Hoeller
3b0eca921c
Refined exception messages
2018-02-13 14:58:34 +01:00
Juergen Hoeller
efe2539cf3
Upgrade to Tomcat 8.5.28 and Jackson 2.8.11.1
2018-02-13 14:21:11 +01:00
Juergen Hoeller
0030ff8711
Polishing
2018-02-13 14:20:07 +01:00
Juergen Hoeller
f93ca28884
Avoid unused arguments for internal delegates
...
(cherry picked from commit b449928 )
2018-02-13 14:17:59 +01:00
Juergen Hoeller
4be416e2ca
SubProtocolWebSocketHandler closes sessions outside of lifecycle monitor
...
Issue: SPR-16488
(cherry picked from commit 3c631f8 )
2018-02-13 14:17:52 +01:00
Rossen Stoyanchev
2033f50f22
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 22:03:37 -05:00
Juergen Hoeller
e33fb892f1
Upgrade to Netty 4.1.21
2018-02-12 13:50:06 +01:00
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
2018-02-12 13:45:53 +01:00
Juergen Hoeller
33d655a634
Consistent handling of InterruptedException (plus setSchedulerFactory)
...
Issue: SPR-16479
Issue: SPR-16439
(cherry picked from commit 39201ad )
2018-02-12 13:44:54 +01:00
Juergen Hoeller
2654dbfcf1
Relaxed procedure existence check on Oracle (for non-exposed synonyms)
...
Issue: SPR-16478
(cherry picked from commit fc93f99 )
2018-02-12 13:44:45 +01:00
Juergen Hoeller
14440949b3
Test with all-negated profile condition
...
Issue: SPR-16465
(cherry picked from commit 285b01f )
2018-02-12 13:44:24 +01:00
Juergen Hoeller
05dec6d23e
Consistent use of @throws instead of @exception
...
(cherry picked from commit 5c813a3 )
2018-02-12 13:44:17 +01:00
Juergen Hoeller
cc77b4b995
Explicit notes on isolation level handling in participating transactions
...
Issue: SPR-16463
(cherry picked from commit 0ac117f )
2018-02-12 13:43:46 +01:00
Juergen Hoeller
fd964ca4b1
Consistent object type exposure for JSON rendering (workaround for Gson)
...
Issue: SPR-16461
(cherry picked from commit 817a836 )
2018-02-12 13:43:28 +01:00
Juergen Hoeller
5fd761ee39
MimeType.compareTo uses case-insensitive Charset (analogous to equals)
...
Issue: SPR-16458
(cherry picked from commit cfe7ff1 )
2018-02-12 13:43:14 +01:00
Juergen Hoeller
8fda96cadb
AcceptHeaderLocaleResolver falls back to language-only match among its supported locales
...
Issue: SPR-16457
(cherry picked from commit 4dc9645 )
2018-02-12 13:42:33 +01:00
Juergen Hoeller
9926b68473
Avoid String concatenation for not-null assertion in BeanProperty/DirectFieldBindingResult
...
Issue: SPR-16455
(cherry picked from commit 9c069f6 )
2018-02-12 13:41:50 +01:00
Juergen Hoeller
d8a2672505
CachingConnectionFactory makes its Session caching inactive during reset
...
Issue: SPR-16450
(cherry picked from commit b6ecfcf )
2018-02-12 13:41:28 +01:00
Juergen Hoeller
b125b5e398
Properly analyze Java 9 class cast messages for lambda event listeners
...
Issue: SPR-16435
(cherry picked from commit 89d2bd9 )
2018-02-12 13:41:05 +01:00
Juergen Hoeller
65743a68e6
Deep BeanCurrentlyInCreationException check in getTypeForFactoryBean
...
Issue: SPR-16427
(cherry picked from commit 7772b91 )
2018-02-12 13:40:38 +01:00
Juergen Hoeller
f187ca6413
Notes about HibernateJpaVendorAdapter settings vs native Hibernate rules
...
Issue: SPR-16428
(cherry picked from commit e1fa65a )
2018-02-12 13:40:32 +01:00
Juergen Hoeller
13c213481a
@EnableAspectJAutoProxy: per application context, requires aspectjweaver
...
Issue: SPR-14753
Issue: SPR-15801
(cherry picked from commit 0e734d8 )
2018-02-12 13:40:19 +01:00
Juergen Hoeller
ce9402618c
Doc: no "useCodeAsDefaultMessage" for setValidationMessageSource
...
Issue: SPR-15986
(cherry picked from commit 37ab8a7 )
2018-02-12 13:40:08 +01:00
Juergen Hoeller
a041769799
AbstractClientSockJsSession.close propagates IOException from disconnect
...
Issue: SPR-16415
(cherry picked from commit cf100d4 )
2018-02-12 13:39:30 +01:00
Juergen Hoeller
09cb7f4c31
Fine-tuned logging of WebSocket close exceptions
...
Issue: SPR-16409
(cherry picked from commit 8e2be91 )
2018-02-12 13:39:23 +01:00
Juergen Hoeller
04f954956c
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
(cherry picked from commit 0e6f8df )
2018-02-12 13:39:11 +01:00
Rossen Stoyanchev
fe4472dbeb
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.
Backport of #0cd427bdd35e668dda6332ae2885d94c222d9c49.
Fixes: SPR-16453
2018-02-02 15:17:58 -05:00
Spring Buildmaster
b708027e94
Next Development Version
2018-01-23 09:03:47 +00:00
Juergen Hoeller
333449598f
Upgrade to Apache HttpClient 4.5.5 and Tomcat 8.5.27
2018-01-22 21:46:42 +01:00
Juergen Hoeller
03b2d9399e
Polishing
2018-01-22 21:39:16 +01:00
Juergen Hoeller
4ccf33e36b
Javadoc format and related polishing
...
(cherry picked from commit 9d0e62e )
2018-01-22 13:08:03 +01:00
Juergen Hoeller
5eebe946bd
Upgrade to Netty 4.1.20 and Tomcat 8.5.24
2018-01-22 13:06:41 +01:00
Juergen Hoeller
13fa69bdaf
Upgrade to ASM 6.0 level (for CGLIB 3.2.6)
...
Issue: SPR-16405
(cherry picked from commit 185c2bf )
2018-01-20 16:19:56 +01:00
Juergen Hoeller
4aeca67c4d
Upgrade to CGLIB 3.2.6
...
Issue: SPR-16267
2018-01-20 14:46:46 +01:00
Rossen Stoyanchev
b695b15243
Update STOMP docs on using dot as separator
...
Issue: SPR-16275
2018-01-19 22:35:56 -05:00
Rossen Stoyanchev
ef4b62caa0
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 22:35:49 -05:00
Rossen Stoyanchev
238e9ae59f
Polish MessageBrokerConfigurationTests
2018-01-19 22:24:21 -05:00
Juergen Hoeller
347f2890df
Upgrade to Jackson 2.8.11
2018-01-19 19:35:27 +01:00
Juergen Hoeller
8b5a013423
Polishing
2018-01-19 19:35:02 +01:00
Juergen Hoeller
a73d9bbed5
Scheduled/JmsAnnotationBeanPostProcessor properly deals with nested proxies
...
Issue: SPR-16196
2018-01-19 19:13:38 +01:00
Juergen Hoeller
c1bc74c83f
ResponseEntityResponseExtractor tolerates unknown HTTP status codes
...
Issue: SPR-16371
2018-01-19 19:13:16 +01:00
Juergen Hoeller
f68fdd4454
Proper null path checks in HierarchicalUriComponents
...
Issue: SPR-16364
2018-01-19 19:13:06 +01:00
Juergen Hoeller
19640ec3f9
Log non-loadable TestExecutionListener classes at debug level only
...
Issue: SPR-16369
2018-01-19 19:10:31 +01:00
Juergen Hoeller
69c882cfbc
BridgeMethodResolver properly resolves all declared interfaces
...
Issue: SPR-16288
2018-01-19 19:08:17 +01:00
Juergen Hoeller
64af3a0f64
Use ArrayList instead of LinkedList for known size
...
Issue: SPR-16378
2018-01-19 19:07:10 +01:00
Juergen Hoeller
d7959edb3e
Improve performance of some string operations
...
Issue: SPR-16293
2018-01-19 19:05:07 +01:00
Juergen Hoeller
0b77c8835c
Reduce access on user in SimpleBrokerMessageHandler.handleMessageInternal
...
Issue: SPR-16264
2018-01-19 19:04:57 +01:00
Timo Meinen
28f15057ac
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
(cherry picked from commit 823a16c )
2018-01-19 18:43:18 +01:00
Skelotron
e5025419c2
Fix transaction timeout value overflow
...
Issue: SPR-16316
(cherry picked from commit b9e03cb )
2018-01-19 18:42:43 +01:00
Juergen Hoeller
d53ede9bd3
CacheProxyFactoryBean exposes all relevant CacheInterceptor callbacks
...
Issue: SPR-16295
(cherry picked from commit b160f93 )
2018-01-19 18:41:45 +01:00
Juergen Hoeller
092b3d4a52
Warning instead of error for non-present type filter class
...
Issue: SPR-16356
(cherry picked from commit 4adc820 )
2018-01-19 18:41:18 +01:00
Juergen Hoeller
bf4cadadda
CachingConnectionFactory does not cache producer for temporary queue/topic
...
Issue: SPR-16353
(cherry picked from commit 72590db )
2018-01-19 18:41:06 +01:00
Juergen Hoeller
a9bad580d9
FunctionReference's method field is volatile
...
Issue: SPR-16255
(cherry picked from commit 6a1fe0b )
2018-01-19 18:38:13 +01:00
Juergen Hoeller
6f6ff33202
Consider enum subclasses as simple value types as well
...
Issue: SPR-16278
(cherry picked from commit d3e0f4d )
2018-01-19 18:37:30 +01:00
Juergen Hoeller
4bb837582e
Support for static field access on non-public enums
...
Issue: SPR-16284
(cherry picked from commit 9beb978 )
2018-01-19 18:37:11 +01:00
Juergen Hoeller
3368dcae22
Avoid extra existence check in SimpleMetadataReaderFactory
...
Issue: SPR-16281
(cherry picked from commit 7ad69bf )
2018-01-19 18:37:00 +01:00
Rossen Stoyanchev
86704112b0
Update docs on stomp.js library
...
This is a backport of #357fb4.
Issue: SPR-15624
2018-01-18 14:51:40 -05:00
Rossen Stoyanchev
d62dd2dd8d
Polish MockRestServiceServer code
...
Cherry picked from #7ab4d0ca08
2018-01-17 13:04:32 -05:00
sdeleuze
e935018b0c
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:17:08 +01:00
Stephane Nicoll
0747cd6a70
Make sure endpoint settings override default factory settings
...
Issue: SPR-16338
2018-01-15 15:45:55 +01:00
Rossen Stoyanchev
0a30b71dc3
Fix failing tests caused by previous commit
2018-01-12 12:36:24 -05:00
Rossen Stoyanchev
03118542f4
MockHttpInputMessage respects getBody contract
...
Issue: SPR-16367
2018-01-12 11:44:42 -05:00
sdeleuze
1b3b058ebd
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:56:23 +01:00
Stephane Nicoll
8aa94aee27
Fix SpEL syntax
...
Issue: SPR-16315
2018-01-08 08:47:57 +01:00
Rossen Stoyanchev
6dbc828aa1
MappingJackson2MessageConverter uses generic type
...
This is a backport of the #583201 minus use of GenericTypeResolver
which in 5.0 has been refactored to provide a getJavaType method.
Issue: SPR-16252
2018-01-04 13:17:34 -05:00
nkjackzhang
3c31e0378f
Polish Javadoc
...
Closes gh-1627
2017-12-23 14:20:49 +01:00
sdeleuze
e6e6b8f4ad
Allow interceptors to add existing header values
...
Additional commit to provide support of requests
that have a body.
Issue: SPR-15066
2017-12-13 09:47:55 +01:00
Rossen Stoyanchev
4fe94dffc0
Fix regression in StompHeaderAccessor
...
Issue: SPR-16265
2017-12-11 16:42:27 -05:00
sdeleuze
4b8a937bee
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 17:56:48 +01:00
Spring Buildmaster
55fc731c59
Next Development Version
2017-11-27 10:39:19 +00:00
Juergen Hoeller
40a61277e1
Upgrade to Groovy 2.4.13
2017-11-26 17:57:04 +01:00
Juergen Hoeller
8c499cb10b
Polishing
2017-11-26 17:56:35 +01:00
Juergen Hoeller
723b2b19a6
Consistent checks in DataAccessUtils (plus nullability hints in javadoc)
...
Issue: SPR-16225
2017-11-26 17:55:03 +01:00
Juergen Hoeller
f09e252417
Polishing
2017-11-21 15:25:33 +01:00
Juergen Hoeller
f3b8d7138c
Consistent use of tabs for sample code in the reference documentation
2017-11-21 15:25:26 +01:00
Juergen Hoeller
47383fce97
Unit tests for configuration superclass inclusion
...
Issue: SPR-16217
(cherry picked from commit 08c95fb )
2017-11-21 15:25:17 +01:00
Juergen Hoeller
8206f0652b
Deprecate Castor support
...
Issue: SPR-16219
(cherry picked from commit 08c7855 )
2017-11-21 15:25:09 +01:00
jianglei
1b58fad228
Fix copy/paste in Javadoc
...
Closes gh-1601
2017-11-21 06:59:12 +01:00
Juergen Hoeller
a58ef88f1d
SqlParameterSourceUtils.createBatch polishing (partial backport)
...
Issue: SPR-16215
2017-11-20 13:33:50 +01:00
Juergen Hoeller
1d060ecff0
Document common use cases for @Order vs @Priority vs @DependsOn
...
Issue: SPR-16213
(cherry picked from commit 84699c8 )
2017-11-20 13:33:23 +01:00
Juergen Hoeller
122a3fe9fd
ResourceHttpRequestHandler uses EmbeddedValueResolverAware
...
(cherry picked from commit 20fcefc )
2017-11-20 13:32:50 +01:00
Rossen Stoyanchev
2a309a031a
Revise charset by location support for static resources
2017-11-17 12:55:11 -05:00
Juergen Hoeller
03fef655ff
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.
(cherry picked from commit 7af9910 )
2017-11-16 10:03:14 +01:00
Juergen Hoeller
a9e2040831
HibernateJpaVendorAdapter properly checks connectionReleaseOnClose
...
Issue: SPR-16162
2017-11-14 17:17:24 +01:00
Juergen Hoeller
ffbaa26b4f
End of first-class JDK 6 support
...
Issue: SPR-16185
2017-11-14 12:32:06 +01:00
Juergen Hoeller
586912792a
Upgrade to Netty 4.1.17 and Undertow 1.3.33
2017-11-14 12:31:19 +01:00
Juergen Hoeller
640c8ff693
Polishing
2017-11-14 12:31:01 +01:00
Juergen Hoeller
d52d9fd268
HibernateJpaVendorAdapter preserves connection release mode for JTA
...
Issue: SPR-16162
2017-11-14 12:30:49 +01:00
Juergen Hoeller
f861f182fa
Reduce access on headers for STOMP messaging
...
Issue: SPR-16165
2017-11-14 12:30:24 +01:00
Juergen Hoeller
d5f34ed641
Correctly handle NVARCHAR, LONGNVARCHAR and NCLOBs
...
Issue: SPR-16154
2017-11-14 12:30:13 +01:00
Juergen Hoeller
a88c47a120
Properly handle follow-up request after failure
...
Issue: SPR-16132
2017-11-14 12:30:04 +01:00
Juergen Hoeller
6dc73469f9
MethodReference treats proxy-targeting expressions as non-compilable
...
Issue: SPR-16191
(cherry picked from commit c30145d )
2017-11-14 12:28:15 +01:00
Juergen Hoeller
59d654b0cf
Unit tests for unresolvable generics with partial mismatch
...
Issue: SPR-16179
(cherry picked from commit e2bb06e )
2017-11-14 12:27:51 +01:00
Juergen Hoeller
9779b8b2ab
SpringValidatorAdapter skips value retrieval for Set field without index
...
Issue: SPR-16177
(cherry picked from commit 3091fee )
2017-11-14 12:27:42 +01:00
Juergen Hoeller
2c8a6bb6f5
Explicitly document UriTemplate as thread-safe
...
Issue: SPR-16173
(cherry picked from commit de78202 )
2017-11-14 12:27:31 +01:00
Juergen Hoeller
5800c7a18a
Comprehensive documentation on injection point matching
...
Issue: SPR-16142
(cherry picked from commit a5da05c )
2017-11-14 12:27:21 +01:00
Juergen Hoeller
dc0a934c99
MockHttpServletResponse.getDateHeader returns -1 for non-existent header
...
Includes consistent getDateHeader results in both MockHttpServletResponse variants (spring-test and spring-web)
Issue: SPR-16160
(cherry picked from commit 80a0cf7 )
2017-11-14 12:26:32 +01:00
Juergen Hoeller
9ca4de1ccf
MockHttpServletRequest.getRequestURL aligns with getServerName/Port
...
Issue: SPR-16138
(cherry picked from commit 0edf4d6 )
2017-11-14 12:25:55 +01:00
Juergen Hoeller
519195cf66
AbstractApplicationContext silently ignores non-initialized ApplicationEventMulticaster/LifecycleProcessor on destruction
...
Issue: SPR-16149
(cherry picked from commit 1611ce7 )
2017-11-14 12:25:30 +01:00
Juergen Hoeller
573ff2c58d
ClassPathResource uses specific constructors in createRelative
...
Issue: SPR-16146
(cherry picked from commit d00e4f1 )
2017-11-14 12:25:18 +01:00
Rossen Stoyanchev
9470719cdb
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 14:51:49 -05:00
Rossen Stoyanchev
97bc2762e1
Handle errors via AsyncListener
...
This is a limited backport of commit #e0678b mainly providing the fix without
exposing the onError callbacks.
Issue: SPR-16058
2017-11-08 23:10:16 -05:00
Juergen Hoeller
5867ea0c3c
Correct SpEL example (matching its comment)
...
Issue: SPR-16111
2017-10-27 11:31:03 +02:00
Juergen Hoeller
9cc3349e2d
Introspect interface-declared methods in case of proxy (for varargs)
...
Issue: SPR-16122
(cherry picked from commit 419b444 )
2017-10-27 11:30:52 +02:00
Juergen Hoeller
8904de2149
Drive letter case alignment in addClassPathManifestEntries
...
Issue: SPR-16117
(cherry picked from commit a2f5e12 )
2017-10-27 11:30:43 +02:00
Juergen Hoeller
4208ec0ba8
Polishing
...
(cherry picked from commit 7e8c8f0 )
2017-10-27 11:30:34 +02:00
Juergen Hoeller
ab19c227d3
DefaultResponseErrorHandler.hasError tolerates unknown status codes
...
Issue: SPR-16108
2017-10-24 15:44:37 +02:00
Juergen Hoeller
be5b9354a9
Polishing
2017-10-24 14:34:56 +02:00
Juergen Hoeller
c92393b168
Compatibility with OpenPDF as alternative to iText 2.1.7
...
Issue: SPR-16107
(cherry picked from commit 9efdadc )
2017-10-24 14:34:37 +02:00
Juergen Hoeller
75a813aff6
WebSphereUowTransactionManager logs overridden application exceptions
...
Issue: SPR-16102
(cherry picked from commit efe943d )
2017-10-24 14:34:00 +02:00
Juergen Hoeller
6446ffd063
BridgeMethodResolver properly resolves interface hierarchies
...
Issue: SPR-16103
(cherry picked from commit 182da15 )
2017-10-24 14:33:19 +02:00
Juergen Hoeller
db7d71503d
Polishing
2017-10-23 19:03:56 +02:00
Juergen Hoeller
99d39eb2ee
Avoid temporary String creation in StringUtils.starts/endsWithIgnoreCase
...
Issue: SPR-16095
2017-10-23 19:03:42 +02:00
Juergen Hoeller
c32c9ecb61
Explicit notes on advice mode proxy vs aspectj
...
Issue: SPR-16092
2017-10-23 19:03:36 +02:00
Juergen Hoeller
40f3fb20c2
SchedulingConfigurer and JmsListenerConfigurer respect @Order
...
Issue: SPR-16090
2017-10-23 19:03:30 +02:00
Juergen Hoeller
268ccb6b6b
SubProtocolWebSocketHandler provides protected decorateSession method
...
Issue: SPR-16089
2017-10-23 19:03:24 +02:00
Haruki Okada
9c7141a24a
Fix wrong javadoc example
...
Closes gh-1575
2017-10-23 09:21:10 +02:00
Juergen Hoeller
b0ae8f6058
ModelAttributeMethodProcessor detects re-enabled binding declaration
...
Issue: SPR-16083
(cherry picked from commit bec1fc1 )
2017-10-18 13:29:41 +02:00
Juergen Hoeller
d473506d32
Explicit notes on ExceptionHandler root vs cause resolution
...
Issue: SPR-16074
(cherry picked from commit ea00c7c )
2017-10-18 13:28:59 +02:00
Juergen Hoeller
6f65b638de
Defensive resolution of getParameterType (actually never returning null)
...
Covers use of ResolvableType in overridden getParameterType variants.
Issue: SPR-16072
2017-10-17 12:15:51 +02:00
Juergen Hoeller
97c63857c4
Allow PropertyEditor conversion as fallback for enums
...
Issue: SPR-16082
(cherry picked from commit ef6aef9 )
2017-10-17 12:15:37 +02:00
Drummond Dawson
4cc8f4c4d8
Missing some double backticks with apostrophes
...
Closes gh-1566
2017-10-17 08:35:24 +02:00
Juergen Hoeller
dff2c84ed1
Clarify destroy method suppression for DisposableBean vs (Auto)Closeable
...
Issue: SPR-16078
2017-10-16 23:11:19 +02:00
Juergen Hoeller
17fb4fed09
Extended coverage of full vs lite mode for configuration classes
...
Issue: SPR-16076
2017-10-16 23:02:35 +02:00
Juergen Hoeller
77bab959a3
Polishing
2017-10-16 19:59:34 +02:00
Juergen Hoeller
c2438cb932
Defensive resolution of getParameterType (actually never returning null)
...
Includes defensive access to volatile field for resolved parameter type.
Issue: SPR-16072
2017-10-16 19:59:07 +02:00
Juergen Hoeller
03be8095ca
Consistent handling of null array for arguments
...
Issue: SPR-16075
(cherry picked from commit c29b6f5 )
2017-10-16 19:58:49 +02:00
Spring Buildmaster
4daf685eee
Next Development Version
2017-10-10 13:54:37 +00:00
Rossen Stoyanchev
b6ca8a9018
HandlerMappingIntrospector is a bean
2017-10-09 10:44:38 -04:00
Juergen Hoeller
8071f13481
Upgrade to OpenJPA 2.4.2
2017-10-09 15:41:28 +02:00
Juergen Hoeller
565b20d638
Polishing
2017-10-09 15:41:10 +02:00
Juergen Hoeller
7610210a0e
Consistently sort BeanDefinitionRegistryPostProcessors
...
Issue: SPR-16043
(cherry picked from commit ad4c8e7 )
2017-10-09 15:40:04 +02:00
Juergen Hoeller
a4803d8b0f
Convenient forType methods for ParameterizedTypeReference
...
Issue: SPR-16054
(cherry picked from commit 53091c7 )
2017-10-09 15:39:07 +02:00
Juergen Hoeller
ab081c4fab
Latest applicable dependency updates (Gson 2.8.2, Rome 1.7.4, Netty 4.1.16, Tomcat 8.5.23)
2017-10-04 13:20:05 +02:00
Juergen Hoeller
dbc04282e2
Polishing
2017-10-04 13:18:39 +02:00
Juergen Hoeller
bb41ccefc0
Deprecate HibernateJpaSessionFactoryBean (against Hibernate 5.2)
...
Issue: SPR-16016
(cherry picked from commit 66a6fda )
2017-10-04 13:18:17 +02:00
Juergen Hoeller
d0d4421aea
Tokenizer uses single process step and length-based exhaustion check
...
Issue: SPR-16032
(cherry picked from commit 03b6828 )
2017-10-04 13:18:04 +02:00
Tom Fitzhenry
1a1d767d59
Fix typo in exception message: quite -> quiet
...
Closes gh-1547
2017-10-03 08:25:27 +02:00
Robin Wang
1bf3e7c021
Fix typo
...
Closes gh-1545
2017-10-01 09:23:47 +02:00
Juergen Hoeller
40ba95f82e
Consistent configurer access in WebMvcConfigurationSupport
...
Issue: SPR-16017
2017-09-27 19:00:51 +02:00
Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 15:20:17 +02:00
Juergen Hoeller
5f167fd7f8
Polishing
2017-09-27 01:46:16 +02:00
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 00:10:04 +02:00
Juergen Hoeller
18a3322d2f
Lenient tolerance of unknown HTTP status codes behind RestTemplate
...
Issue: SPR-15978
2017-09-27 00:09:42 +02:00
Juergen Hoeller
87df393f91
MockPart backport
...
Issue: SPR-15854
2017-09-27 00:09:09 +02:00
Juergen Hoeller
963dd3f804
Clarify @Bean return type recommendation in case of multiple interfaces
...
Issue: SPR-15973
2017-09-27 00:09:00 +02:00
Juergen Hoeller
8e3a55ba89
Latest applicable dependency updates (Tomcat 8.5.21, JRuby 1.7.27, Rhino 1.7.7.2, WebJars Locator 0.32-1)
2017-09-27 00:08:54 +02:00
Juergen Hoeller
a839477d4a
Explicit check for duplicates in addClassPathManifestEntries
...
Issue: SPR-15989
(cherry picked from commit 9d8e3d4 )
2017-09-27 00:08:12 +02:00
Juergen Hoeller
53a9697ff1
Consistent conversion of Optional array/list arrangements
...
Issue: SPR-15918
Issue: SPR-15919
Issue: SPR-15676
(cherry picked from commit 15c82af )
2017-09-27 00:07:55 +02:00
Juergen Hoeller
d11bd64e0d
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
(cherry picked from commit ac9cfef )
2017-09-26 23:58:57 +02:00
Juergen Hoeller
dedecb9daa
HttpEntityMethodProcessor lets entity headers override existing headers (again)
...
Issue: SPR-15952
(cherry picked from commit 5bdcb89 )
2017-09-26 23:58:49 +02:00
Stephane Nicoll
35af7ff854
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
(cherry picked from commit b275a06 )
2017-09-26 23:58:03 +02:00
Xavier Downs
5e904ddcaa
Fix Javadoc typo
...
Closes gh-1531
2017-09-20 09:33:42 +02:00
Spring Buildmaster
74532a24a4
Next Development Version
2017-09-11 08:17:11 +00:00
Juergen Hoeller
c0ee1ff896
Javadoc syntax fixes
2017-09-10 21:08:03 +02:00
Juergen Hoeller
f944815d92
Ignore Hibernate Validator style ".<collection element>" suffix for field path
...
Issue: SPR-15916
2017-09-10 20:48:49 +02:00
Juergen Hoeller
0d0399ac02
Defensively ignore AbstractMethodError from parameterNameProvider
...
Issue: SPR-15856
2017-09-10 20:48:25 +02:00
Juergen Hoeller
d1f42ac729
Unwrap Validator proxy for access to forExecutables (if necessary)
...
Issue: SPR-15807
2017-09-10 20:47:57 +02:00
Juergen Hoeller
17f42fc97a
Polishing
2017-09-08 19:42:32 +02:00
Juergen Hoeller
fa2c377405
Downgrade to AspectJ 1.8.9 and merge EhCache 3 tests into spring-context-support
...
Includes latest applicable updates (Jackson 2.8.10, OkHttp 3.8.1, Undertow 1.3.31, Netty 4.1.15)
Issue: SPR-15836
Issue: SPR-15880
2017-09-08 19:41:27 +02:00
Juergen Hoeller
9dcdfec2e2
Properly retrieve and expose HttpServletResponse for async requests
...
Issue: SPR-15867
2017-09-08 19:40:46 +02:00
Juergen Hoeller
07a0a31565
Heart-beat log message potentially without session id
...
Issue: SPR-15937
(cherry picked from commit aa4ae7a )
2017-09-08 19:39:05 +02:00
Juergen Hoeller
f3a2f57696
SimpleAsyncTaskExecutor properly respects NO_CONCURRENCY
...
Issue: SPR-15895
(cherry picked from commit 204ddeb )
2017-09-08 19:38:59 +02:00
Juergen Hoeller
80bf394fdc
@Lazy falls back to empty map/list/set for non-required collection dependency
...
Issue: SPR-15858
(cherry picked from commit ec1eafc )
2017-09-08 19:38:53 +02:00
Juergen Hoeller
f948742781
Leniently handle lambda-defined listeners with ErrorHandler as well
...
Issue: SPR-15838
(cherry picked from commit dd2bbcb )
2017-09-08 19:38:46 +02:00
Juergen Hoeller
0088922dfd
checkConfigurationClassCandidate explicitly skips factory method definitions
...
Issue: SPR-14603
(cherry picked from commit 1fbd047 )
2017-09-08 19:38:19 +02:00
Juergen Hoeller
57fbdc0ad5
Consistent logging in Environment and PropertySource implementations
...
Issue: SPR-15825
(cherry picked from commit fac83b2 )
2017-09-08 19:38:03 +02:00
Brian Bohl
f5d689e764
Fix StringIndexOutOfBoundsException in RestTemplate
...
Backport for commits #81dfad and #3d61f7
Issue: SPR-15900
2017-09-01 17:00:23 -04:00
Rossen Stoyanchev
681ced8fd3
Cancel WebAsyncManager thread on request timeout
...
Issue: SPR-15852
2017-08-16 09:42:39 +02:00
Rossen Stoyanchev
8b64ad3192
Use exact type name in doc sample
...
Issue: SPR-15863
2017-08-15 14:45:57 +02:00
Rossen Stoyanchev
35248498ae
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-08-01 12:41:45 +02:00
Rossen Stoyanchev
5f07434360
Improve check for "Broken pipe" error message
...
Issue: SPR-15802
2017-07-25 10:34:30 +02:00
Rossen Stoyanchev
cd602e5904
Deprecate setContentDispositionFormData method
...
The method was orginally added under SPR-14547 but the example in it
was probably intended for use with Content-Disposition server response
header (file download) and not for a Content-Disposition header
within the body of a multipart request.
In a Spring application a multipart request is typically serialized
by the FormHttpMessageConverter and hence the Content-Disposition is
not explicitly set by the application.
2017-07-20 17:58:52 +02:00
Spring Buildmaster
0e8bd71d53
Next Development Version
2017-07-20 11:57:27 +00:00
Juergen Hoeller
c752ba5b38
Polishing
2017-07-19 23:55:47 +02:00
Juergen Hoeller
12978b8185
Ignore (Auto)Closeable for interface-based proxy decisions
...
Issue: SPR-15779
(cherry picked from commit 118d147 )
2017-07-19 23:55:18 +02:00
Juergen Hoeller
40b4276475
UriUtils.extractFileExtension properly handles all fragments
...
Issue: SPR-15786
(cherry picked from commit 13080f0 )
2017-07-19 23:54:57 +02:00
Rossen Stoyanchev
4160ced64c
Backport of relative redirect filter support
...
Issue: SPR-15717
2017-07-19 23:54:32 +02:00
Juergen Hoeller
a032e86355
Explicit error message for bean name clash with containing configuration class
...
Issue: SPR-15775
(cherry picked from commit bca5a36 )
2017-07-19 23:54:04 +02:00
Juergen Hoeller
4b2bad96ce
Polishing
...
(cherry picked from commit efc5b47 )
2017-07-14 17:41:26 +02:00
Juergen Hoeller
1513c4a952
Expression javadoc alignment
...
(cherry picked from commit 1ad6180 )
2017-07-14 17:12:50 +02:00
Juergen Hoeller
bb6d9fabee
Expression alignment and related polishing (backported from master)
2017-07-14 15:41:38 +02:00
Juergen Hoeller
bffcd33ea3
PropertyOrFieldReference checks cached PropertyAccessor against current EvaluationContext
...
Issue: SPR-15769
(cherry picked from commit bcf9f21 )
2017-07-14 15:40:52 +02:00
Juergen Hoeller
c9ffa64140
DefaultListableBeanFactory falls back to empty DLBF instance on deserialization
...
Issue: SPR-15766
2017-07-13 13:02:29 +02:00
Juergen Hoeller
aa0d7a61b6
AbstractTraceInterceptor provides logExceptionStackTrace flag and writeToLog delegates
...
Issue: SPR-15763
2017-07-13 13:01:35 +02:00
Juergen Hoeller
e138d7d29f
Page-level JSTL time zone support for JSP tags
...
Issue: SPR-15746
2017-07-12 22:59:42 +02:00
Juergen Hoeller
50f8b6b3ab
Revised assertions and $[invocationTime] support for exceptionMessage
...
Issue: SPR-15763
(cherry picked from commit 19a8efc )
2017-07-12 22:59:34 +02:00
Juergen Hoeller
121a3bf670
Always invoke Jackson serialization with AtomicReference cause
...
Issue: SPR-15760
(cherry picked from commit 5f767a8 )
2017-07-12 22:59:29 +02:00
Juergen Hoeller
e4031f290e
Efficient log checks in STOMP encoder/decoder
...
(cherry picked from commit 122ee30)
2017-07-12 22:59:18 +02:00
Juergen Hoeller
55fa5f2b65
ReflectionTestUtils does not require spring-aop on the classpath
...
Issue: SPR-15757
(cherry picked from commit dd43b6a )
2017-07-12 22:59:12 +02:00
Juergen Hoeller
3802aca474
LinkedCaseInsensitiveMap exposes its locale for key conversion
...
Issue: SPR-15752
(cherry picked from commit 9b5132c )
2017-07-12 22:59:03 +02:00
Juergen Hoeller
a9a4d7cf78
Perform onException delegation outside of connection monitor
...
Issue: SPR-15738
(cherry picked from commit 6d55b3a )
2017-07-12 22:58:53 +02:00
Juergen Hoeller
17382aec6d
AbstractValueAdaptingCache subclasses may reuse NullValue.INSTANCE
...
Issue: SPR-15693
(cherry picked from commit 59c26f6 )
2017-07-12 22:58:40 +02:00
Juergen Hoeller
8ad3c958e1
Reliably detect event listener conditions on proxied beans
...
Issue: SPR-15678
(cherry picked from commit eb928ce )
2017-07-12 22:58:34 +02:00
Rossen Stoyanchev
8d743181da
Fix MockMvc + HttpPutFormContentFilter issue
...
Issue: SPR-15753
2017-07-11 12:03:07 +02:00
Juergen Hoeller
f92ab75bc9
Latest dependency updates (AspectJ 1.8.10, Gson 2.8.1, Commons FileUpload 1.3.3, JsonPath 2.3)
2017-07-05 11:25:39 +02:00
Juergen Hoeller
092b5f7556
Clarified role of postProcessAfterInstantiation
...
Issue: SPR-15732
2017-07-05 11:23:34 +02:00
Brian Clozel
d4d609318d
Include port info in HTTP headers for Netty client
...
This commit adds the port information in the "Host" HTTP request header
for the Netty-based HTTP client.
Issue: SPR-15706
(cherry-picked from commit baaa84e90 )
2017-07-04 12:19:54 +02:00
Juergen Hoeller
501891c749
FactoryBean object cache cleared on shutdown
...
Issue: SPR-15722
(cherry picked from commit 6534359 )
2017-06-30 21:01:09 +02:00
Juergen Hoeller
2b0dc8d7ff
Upgrade to Objenesis 2.6
...
Includes latest dependency updates (Groovy 2.4.12, Jackson 2.8.9, Jetty 9.4.6, Netty 4.1.12, Tomcat 8.5.16)
Issue: SPR-15600
2017-06-30 16:07:52 +02:00
Juergen Hoeller
674e2320a8
CronSequenceGenerator.isValidExpression actually validates cron fields
...
Issue: SPR-15604
(cherry picked from commit 5f4d1a4 )
2017-06-30 16:07:30 +02:00
Juergen Hoeller
fee259a3c5
WebAsyncManager defensively ignores attribute type mismatch
...
Issue: SPR-15709
(cherry picked from commit c4694c3 )
2017-06-30 16:07:14 +02:00
Juergen Hoeller
016b7d753c
Fine-tune HTTP/RMI Invoker exception handling
...
Issue: SPR-15684
(cherry picked from commit 535103c )
2017-06-30 16:06:53 +02:00
Juergen Hoeller
a17255a2e3
SimpleRequestExpectationManager properly handles sequential requests with different count
...
Issue: SPR-15672
(cherry picked from commit efb735a )
2017-06-30 16:06:39 +02:00
Juergen Hoeller
35efdf6b51
HttpComponentsAsyncClientHttpRequestFactory supports plain HttpAsyncClient as well
...
Issue: SPR-15664
(cherry picked from commit 7b5f96c )
2017-06-30 16:06:26 +02:00
Juergen Hoeller
b35c238d27
Cleanup of duplicate semicolons
...
Issue: SPR-15654
(cherry picked from commit 779deb0 )
2017-06-30 16:06:05 +02:00
Spring Buildmaster
db1fd516ea
Next Development Version
2017-06-07 19:29:40 +00:00
Juergen Hoeller
b7337b304e
Correct native Validator reference for fallback in SpringValidatorAdapter
...
Issue: SPR-15629
2017-06-07 18:40:52 +02:00
Juergen Hoeller
7cac1f1e6e
Latest applicable dependency updates (Netty 4.1.11, Tomcat 8.5.15, Undertow 1.3.30)
2017-06-07 17:56:58 +02:00
Juergen Hoeller
fa09cd3737
Avoid inefficient keySet iteration in messaging classes
...
Issue: SPR-15553
2017-06-07 17:56:51 +02:00
Juergen Hoeller
be93ee77e4
Debug-level log entry for any Jackson exception during canConvert
...
Issue: SPR-15582
2017-06-07 17:56:47 +02:00
Juergen Hoeller
8330134757
Unwrap SpringValidatorAdapter (e.g. CustomValidatorBean) to native Validator
...
Issue: SPR-15629
2017-06-07 17:56:42 +02:00
Juergen Hoeller
9cb9884533
Consistently accept "taskExecutor" bean of type Executor (as stated in @EnableAsync's javadoc)
...
Issue: SPR-15566
(cherry picked from commit 3cc94ae )
2017-06-07 17:56:36 +02:00
Juergen Hoeller
ac25db6d2b
LocalValidatorFactoryBean properly supports unwrap at ValidatorFactory level
...
Issue: SPR-15561
(cherry picked from commit cb3d1be )
2017-06-07 17:56:31 +02:00
Juergen Hoeller
22bf9febcc
Close InputStreams in writeResourceRegionCollection (analogous to writeResourceRegion)
...
Issue: SPR-15559
(cherry picked from commit eaac348 )
2017-06-07 17:56:21 +02:00
Juergen Hoeller
c6deeb31ec
ResourceUtils.extractArchiveURL properly deals with top-level war URLs
...
Issue: SPR-15556
(cherry picked from commit 7b3f5fd )
2017-06-07 17:56:16 +02:00
Juergen Hoeller
f80b2d9a94
Revised png and jpeg mappings
...
Issue: SPR-15546
Issue: SPR-15557
(cherry picked from commit e835f4d )
2017-06-07 17:56:09 +02:00
Rossen Stoyanchev
8c206bf477
Improve docs on forwarded headers
...
Issue: SPR-15612
2017-06-01 22:37:34 -04:00
Christoph Dreis
6aeb8ef56d
Optimize DefaultUserDestinationResolver.resolveDestination()
...
Issue: SPR-15602
2017-06-01 16:08:49 -04:00
Rossen Stoyanchev
04a96ffa27
Add removeOnly mode to ForwardedHeaderFilter
...
Issue: SPR-15610
2017-06-01 15:48:39 -04:00
Jay Bryant
2677584658
Add introductory paragraphs where missing
...
Issue: SPR-15585
2017-05-25 12:06:45 -04:00
Rossen Stoyanchev
99236759ec
ExceptoinWebSocketHandlerDecorator uses ERROR level
...
Issue: SPR-15537
2017-05-24 15:01:36 -04:00
skarafaz
e2aa117ff9
Find exact matches in WebJarsResourceResolver
...
Prior to this commit, resolving resources from webjars using the
`WebJarAssetLocator.getFullPath` could lead to multiple candidates,
since this method is trying to find *any* resource matching that path
under the given webjar location.
This commit replaces that call with
`WebJarAssetLocator.getFullPathExact`, which avoids those multiple
matches and only resolves resources if the given path is exact.
Issue: SPR-15526
2017-05-24 10:45:38 +02:00
Rossen Stoyanchev
8deec9569c
Protect against NPE in DefaultSubscriptionRegistry
...
Follow-up fix on the recent commit:
https://github.com/spring-projects/spring-framework/commit/4fc41e
Issue: SPR-15543
2017-05-22 16:12:49 -04:00
Andrey Kaipov
0f8bf10aa8
Minor typo fix: form -> from
...
Closes gh-1411
2017-05-20 14:50:47 +02:00
Martin Švorc
e0a7b074ed
Use original query string of forwarded request
...
Prior to this commit, the AbstractFlashMapManager has used the
originating URI but the query string of the forwarded request. That
resulted to FlashMap not being matched even when both originating
URI and query string matched the FlashMap attributes. The originating
query string is now used to match the forwarded request.
Issue: SPR-15505
2017-05-19 17:07:17 -04:00
Bao Tran
4fc41eeeb9
Fix duplicate STOMP subscription id issue
...
Issue: SPR-15543
2017-05-19 15:15:01 -04:00
Juergen Hoeller
81143a80c4
Wrap IOException as HttpMessageNotReadableException for RestTemplate usage
...
In the 4.3.x line, conversion exceptions do not get wrapped as RestClientException yet, so the expectation remains to receive a HttpMessageNotReadableException for conversion-level IOExceptions.
Issue: SPR-13592
2017-05-08 08:42:06 +02:00
Juergen Hoeller
9572859a35
Expect IOException instead of HttpMessageNotReadableException
2017-05-07 22:10:55 +02:00
Juergen Hoeller
78931ee3ea
Polishing
2017-05-07 21:41:26 +02:00
Juergen Hoeller
e522fec611
HandlerExecutionChain.toString() includes reliable interceptor number
...
Issue: SPR-15525
(cherry picked from commit 92f18a4 )
2017-05-07 21:26:01 +02:00
Juergen Hoeller
a12bbde87e
Latest dependency updates (EhCache 2.10.4 & 3.1.4, Groovy 2.4.11, Jetty 9.4.5, Netty 4.1.10, OkHttp 3.7, Rome 1.7.2, Tomcat 8.5.14)
2017-05-04 14:16:24 +02:00
Juergen Hoeller
50235be746
Avoid JDK 7+ AssertionError constructor in 4.3.x line
2017-05-04 14:14:56 +02:00
Juergen Hoeller
1332482c40
Polishing
2017-05-04 14:09:15 +02:00
Juergen Hoeller
799589ec1c
Revised javadoc
...
Issue: SPR-15466
2017-05-04 14:08:14 +02:00
Juergen Hoeller
16fdda00c1
Debug log messages for value retrieval exceptions
...
Issue: SPR-15481
2017-05-04 14:08:00 +02:00
Juergen Hoeller
d2985613d1
Proper resolution of Tomcat war URL
...
Issue: SPR-15485
(cherry picked from commit d43dfc7 )
2017-05-04 14:07:14 +02:00
Juergen Hoeller
beac891ff0
Honor @Autowired(required=false) at parameter level
...
Issue: SPR-15268
(cherry picked from commit d74542e )
2017-05-04 14:07:07 +02:00
Juergen Hoeller
2d1b551248
Common root cause introspection algorithm in NestedExceptionUtils
...
Issue: SPR-15510
(cherry picked from commit 9d8e9cf )
2017-05-04 14:05:03 +02:00
Juergen Hoeller
aa8cf190d3
Property actually throws exception for no write method found
...
Issue: SPR-15507
(cherry picked from commit 817e80c )
2017-05-04 14:03:30 +02:00
Juergen Hoeller
d643e57318
ResolvableType.clearCache() clears SerializableTypeWrapper cache as well
...
Issue: SPR-15503
(cherry picked from commit 7ca0094 )
2017-05-04 14:03:22 +02:00
Juergen Hoeller
84d2e5a3c8
Optimize AntPathMatcher when checking for potential matches
...
Issue: SPR-15477
(cherry picked from commit baa7b1c )
2017-05-04 14:02:43 +02:00
Juergen Hoeller
dab56dbb05
GenericFilterBean lazily initializes its default environment
...
Alignment with HttpServletBean; consistent use of EnvironmentCapable.
Issue: SPR-15469
(cherry picked from commit 1ea54eb )
2017-05-04 14:01:09 +02:00
Juergen Hoeller
9b647021f7
Allow for HttpOnly cookie result matcher
...
Issue: SPR-15488
(cherry picked from commit 04f0f13 )
2017-05-04 14:00:37 +02:00
Juergen Hoeller
38089d8e66
Correct attributeHasNoErrors message in ModelResultMatchers
...
Includes consistent name quoting.
Issue: SPR-15487
(cherry picked from commit 0479dc9)
2017-05-04 14:00:15 +02:00
Gregory Vandenbroucke
554c3f3d7e
Full "Forwarded" header support including port number
...
Issue: SPR-15504
2017-05-02 17:00:48 -04:00
Phillip Webb
ee40310c92
Defer Charset.availableCharsets() call
...
Change the `StringHttpMessageConverter` to defer calling
Charset.availableCharsets() until absolutely necessary to help improve
startup times.
Issue: SPR-15502
2017-05-02 17:19:19 +02:00
Stephane Nicoll
226cddadef
Add getTargetDataSource to TransactionAwareCacheDecorator
...
Issue: SPR-15479
2017-04-27 11:36:43 +02:00
Stephane Nicoll
5a80f4f16e
Polish
2017-04-27 11:36:35 +02:00
John Ryan
bb63ce9935
Remove extraneous asterisk
...
Closes gh-1397
2017-04-21 09:48:56 +02:00
Fredrik Sundberg
1b4289803b
Fix Selenium links in testing.adoc
...
Selenium wiki & javadoc moved from google code to github.
Also a fix to a link for Geb.
Closes gh-1392
2017-04-19 09:23:14 +02:00
Spring Buildmaster
3d7576df7f
Next Development Version
2017-04-18 14:46:26 +00:00
Juergen Hoeller
8b9e9202f1
Upgrade to Hibernate ORM 5.2.10
2017-04-17 19:42:10 +02:00
Juergen Hoeller
afe11e7919
Revised logging documentation for the 4.3.x line
2017-04-17 19:41:59 +02:00
Juergen Hoeller
665e6cf6ca
Refined log message for interface-implementing method
...
Issue: SPR-15436
2017-04-17 19:29:01 +02:00
Juergen Hoeller
fd1d8aeeb4
Polishing
...
(cherry picked from commit 91df065 )
2017-04-17 15:39:06 +02:00
Juergen Hoeller
9b2f9e655e
CglibAopProxy logs explicit warning for interface-implementing method marked as final
...
Issue: SPR-15436
(cherry picked from commit 0d0b879 )
2017-04-17 15:38:59 +02:00
Juergen Hoeller
6c370ed28d
Recommendation for consistent @Profile declarations on overloaded @Bean methods
...
Issue: SPR-15266
(cherry picked from commit 5d3249f )
2017-04-17 15:38:53 +02:00
Juergen Hoeller
a2b356162e
Explicitly replace target ApplicationListener with singleton proxy, if any (avoiding double registration/invocation)
...
Issue: SPR-15452
(cherry picked from commit 9abf249 )
2017-04-17 15:38:46 +02:00
Stephane Nicoll
71f7fdd632
Polish "Improve unless condition in caching doc"
...
Closes gh-1387
2017-04-13 17:51:20 +02:00
Michael J. Simons
c35ddf905a
Improve unless condition in caching doc
...
See gh-1387
2017-04-13 17:51:12 +02:00
Michael J. Simons
d866715556
Polish condition in caching examples
...
Closes gh-1386
2017-04-13 17:51:02 +02:00
Juergen Hoeller
a9a1f783c5
Polishing
2017-04-13 15:59:15 +02:00
Juergen Hoeller
65d52a4b97
Correctly process Postgresql ?| and ?& operator
...
Issue: SPR-15382
2017-04-13 15:59:07 +02:00
Juergen Hoeller
3c8fc46568
Backported JSON converter alignment (supports method, exception messages)
...
Includes deprecation of getTypeToken method in GsonHttpMessageConverter.
Issue: SPR-15381
2017-04-13 15:58:53 +02:00
Juergen Hoeller
421fabb2c4
Configurable locale/timezone attribute name for SessionLocaleResolver
...
Issue: SPR-15450
(cherry picked from commit cec36fe )
2017-04-13 15:56:07 +02:00
Juergen Hoeller
811d523211
FreeMarkerConfigurationFactory falls back to SpringTemplateLoader on any exception
...
Issue: SPR-15445
(cherry picked from commit a55a0f2 )
2017-04-13 15:56:01 +02:00
Juergen Hoeller
40232f4e22
ASM annotation visitor defensively accesses enum constants
...
Issue: SPR-15442
(cherry picked from commit 4838f06 )
2017-04-13 15:55:53 +02:00
Juergen Hoeller
80fa3ac907
ShadowingClassLoader can be constructed without default excludes
...
Issue: SPR-15439
(cherry picked from commit 1735ba2 )
2017-04-13 15:55:44 +02:00
Juergen Hoeller
54180f90e2
UnknownHostException as resource-not-found for properties files
...
Plus first-class declaration of FileNotFoundException in Resource javadoc.
Issue: SPR-15433
(cherry picked from commit c4e0d6c )
2017-04-13 15:55:29 +02:00
Juergen Hoeller
865953f145
Optimize StringUtils.replace/deleteAny for common no-op case
...
Issue: SPR-15430
(cherry picked from commit ce4eff3 )
2017-04-13 15:55:11 +02:00
Juergen Hoeller
93fac8882f
Undeprecate TypeVariableMap methods on GenericTypeResolver
...
Issue: SPR-15429
(cherry picked from commit 7fbc20e )
2017-04-13 15:55:02 +02:00
Juergen Hoeller
a3d199f4dd
AcceptHeaderLocaleResolver returns default locale in case of no supported locale found
...
Issue: SPR-15426
(cherry picked from commit ea98ee8)
2017-04-13 15:54:46 +02:00
Juergen Hoeller
597fe0720f
HandlerMethod evaluates ResponseStatus annotation for early caching
...
Issue: SPR-15227
(cherry picked from commit 5986f88 )
2017-04-13 15:54:35 +02:00
Juergen Hoeller
8321f01bf8
SettableTask.checkCompletingThread() only resets marker after match
...
Issue: SPR-15409
(cherry picked from commit 8cb24e0 )
2017-04-13 15:54:22 +02:00
Juergen Hoeller
7e736b69b7
UrlResource applies StringUtils.getFilename against cleaned URL path
...
Issue: SPR-15411
(cherry picked from commit 702e01a )
2017-04-13 15:54:03 +02:00
Juergen Hoeller
8b054840fc
Minimize reflective interaction with annotation instances during retrieval
...
Issue: SPR-15387
(cherry picked from commit 3037277 )
2017-04-13 15:53:46 +02:00
Juergen Hoeller
7f3d0b3e6e
Test for BeanPropertySqlParameterSource with collection
...
Issue: SPR-15390
(cherry picked from commit af6f688 )
2017-04-13 15:53:39 +02:00
Rossen Stoyanchev
546d7ddd07
Update @ControllerAdvice Javadoc
...
Issue: SPR-15432
2017-04-12 17:53:42 -04:00
Rob Winch
95099fd709
Fix ForwardedHeaderFilter preserves semicolon content
...
Previously a requestURI that contained ';' would have the value incorrectly stripped out when using
ForwardedHeaderFilter.
This commit ensures that the ';' is preserved when using ForwardedHeaderFilter.
Issue: SPR-15428
2017-04-10 09:15:15 -05:00
Rob Winch
f65e1edd58
Polish
...
Group all contextPath tests together
2017-04-10 09:15:07 -05:00
Rob Winch
0a9f98f0df
Add test to ensure ForwardedHeaderFilter contextPath preserves encoding
...
Add a test to verify that the ForwardedHeaderFilter contextPath override preserves URL encoding
as it should.
Issue SPR-15422
2017-04-10 09:13:41 -05:00
Rob Winch
46cf4f9ba1
ForwardedHeaderFilter requestURI preserve encoding
...
Previously ForwardedHeaderFilter would override the requestURI with a URL decoded value. This would cause
problems when using a URL encoded requestURI since downstream Filters would not see the URL encoded
value as they should.
This commit resolves this issue by ensuring that the requestURI is properly encoded.
Issues SPR-15422
2017-04-10 09:11:08 -05:00
Kirill Gavrilov
2b930e3858
Fix typo
...
Closes gh-1383
2017-04-10 09:54:44 +02:00
Stephane Nicoll
bde2ddbeb1
Update copyright header
...
Closes gh-1382
2017-04-09 09:48:47 +02:00
John S. Ryan
4eb929c105
Fix typo in AfterReturningAdviceInterceptor JavaDoc
...
See gh-1382
2017-04-09 09:48:38 +02:00
Bryan Kelly
d0d7a88233
Fix ForwardedHeaderFilter getRequestURL()
...
Previously ForwardedHeaderFilter would return the same StringBuffer for every invocation. This
meant that users that modified the StringBuffer changed the state of the HttpServletRequest.
This commit ensures that a new StringBuffer is always returned for ForwardedHeaderFilter.
Issue: SPR-15423
2017-04-07 15:45:23 -05:00
Rossen Stoyanchev
f7548a87ed
Deprecations related to reactive type support in 5.0
...
Issue: SPR-15365
2017-04-03 09:26:46 -04:00
QBNemo
e0fe7cdc44
Fix typo
...
Closes gh-1354
2017-03-27 10:12:53 +02:00
Connor Lin
8289bf0aff
Remove a redundant word
...
Closes gh-1361
2017-03-27 10:10:14 +02:00
Grant Hutchins
79d747410d
Fix typo
...
Closes gh-1364
2017-03-27 10:05:49 +02:00
Brian Clozel
70bca99da8
VersionResourceResolver should delegate to the chain
...
Prior to this commit, the `VersionResourceResolver` implementation of
`resolveUrlPathInternal` would delegate to the resolver chain but would
never use the give result if the current request didn't match a
configured version strategy pattern.
This is a problem if the resolver supposed to resolve the resource path
is configured after a `VersionResourceResolver` in the resolver chain;
this means that other resolver never gets to participate in the result
of the chain.
Issue: SPR-15372
(cherry picked from commit fdd5031 )
2017-03-24 14:27:29 +01:00
Juergen Hoeller
83617f382c
Latest dependency updates (Hibernate ORM 5.2.9, Hibernate Validator 5.2.5, Undertow 1.3.28, Jetty 9.4.3, Joda-Time 2.9.9)
2017-03-24 13:41:57 +01:00
Juergen Hoeller
21ac764e5c
Polishing
2017-03-24 13:41:34 +01:00
Juergen Hoeller
c4fda0e811
Up-to-date guidelines for serialization-based endpoints
...
Issue: SPR-15317
(cherry picked from commit 2236262 )
2017-03-24 13:41:19 +01:00
Juergen Hoeller
66670cfd56
Clarification: Spring AOP pointcuts may match non-public methods
...
Issue: SPR-15354
(cherry picked from commit b90d3d0 )
2017-03-24 13:41:08 +01:00
Juergen Hoeller
c31bfe65aa
Drop outdated DeferredQueryInvocationHandler.finalize() implementation
...
Issue: SPR-15363
(cherry picked from commit b2a6a57 )
2017-03-24 13:40:58 +01:00
Juergen Hoeller
22ddb35258
HeaderValueHolder.toString() exposes underlying list of header values
...
Issue: SPR-15375
(cherry picked from commit 15bff8f )
2017-03-24 13:40:43 +01:00
Juergen Hoeller
d0177b0f55
Revised supportedMethods null handling in HttpRequestMethodNotSupportedException
...
Issue: SPR-15377
(cherry picked from commit 5ea4abd )
2017-03-24 13:40:35 +01:00
Juergen Hoeller
2233ec04ff
StandardMultipartFile.transferTo falls back to manual copy
...
Issue: SPR-15257
(cherry picked from commit b73153c )
2017-03-24 13:40:29 +01:00
Juergen Hoeller
e9ff3bb4e3
DefaultResponseErrorHandler delegate methods declared as protected
...
Also revises copyToByteArray/String in FileCopyUtils/StreamUtils for lenient null handling.
Issue: SPR-15329
(cherry picked from commit ab7db41 )
2017-03-24 13:40:19 +01:00
Juergen Hoeller
57c8c759ae
Avoid pattern misdetection in Tomcat "war:" URL separator
...
Issue: SPR-15332
(cherry picked from commit 012c56a )
2017-03-24 13:39:42 +01:00
Juergen Hoeller
cfd9b3461f
Process NULLABLE column as integer instead of boolean
...
Issue: SPR-15333
(cherry picked from commit 79ea779 )
2017-03-24 13:39:10 +01:00
Rossen Stoyanchev
d3324c8d4f
Trap exception from SockJS HeartbeatTask
...
Issue: SPR-15307
2017-03-16 18:02:44 -04:00
Rossen Stoyanchev
ffe9bae138
Update Javadoc on exception resolvers in MVC config
...
Issue: SPR-15324
2017-03-07 20:51:22 -05:00
Juergen Hoeller
020e51cb96
Polishing
...
(cherry picked from commit 94a7624 )
2017-03-07 16:04:46 +01:00
Juergen Hoeller
a78066830b
Retrieve newly created attribute from underlying request (marking it for update)
...
Issue: SPR-15300
(cherry picked from commit f30c498 )
2017-03-07 16:04:39 +01:00
Juergen Hoeller
77c771e874
Lookup methods work on configuration classes as well
...
Issue: SPR-15316
(cherry picked from commit fc2e635 )
2017-03-07 16:04:16 +01:00
Juergen Hoeller
227ac3faa4
Explicit notes on transaction phase processing
...
Issue: SPR-15323
(cherry picked from commit 8b74150 )
2017-03-07 16:04:09 +01:00
Juergen Hoeller
98dbc17591
Polishing
2017-03-07 10:33:48 +01:00
Juergen Hoeller
e58b17a3a1
Adapt to JRuby 9.1.7+ RubyException.getMessage() method at runtime
...
Issue: SPR-15322
2017-03-07 10:33:34 +01:00
Juergen Hoeller
9de97614a0
Adapt to HtmlUnit 2.25 getCharset() return type at runtime
...
Issue: SPR-15319
2017-03-07 10:33:26 +01:00
Juergen Hoeller
015e00b5dd
Upgrade to CGLIB 3.2.5
...
Includes Jetty 9.4.2, Netty 4.1.8, Commons I/O 1.4 as well.
Issue: SPR-15147
(cherry picked from commit 0d7b25f )
2017-03-07 10:23:57 +01:00
Stephane Nicoll
0bc59225d8
Polish contribution
...
Closes gh-1349
2017-03-05 09:35:09 +01:00
Aviskar Basnet
d8acc27afb
Polish doc
...
See gh-1349
2017-03-05 09:34:58 +01:00
Stephane Nicoll
a1e4afe338
Update copyright header
...
Closes gh-1343
2017-03-03 09:35:29 +01:00
nkjackzhang
3b9faee335
Remove unecessary "<<"
...
See gh-1343
2017-03-03 09:35:16 +01:00
Spring Buildmaster
0048ff84ea
Next Development Version
2017-03-01 08:53:20 +00:00
Juergen Hoeller
c3f131325d
Upgrade to Groovy 2.4.9
2017-02-28 14:01:09 +01:00
Juergen Hoeller
b945e0f202
Polishing
...
(cherry picked from commit 6d6cf01 )
2017-02-28 14:00:59 +01:00
Juergen Hoeller
ce3cf3251d
Tests for annotation lookups in interfaces (currently ignored for CGLIB proxies)
...
Issue: SPR-15271
Issue: SPR-14949
Issue: SPR-14322
(cherry picked from commit d003f66 )
2017-02-28 14:00:39 +01:00
Juergen Hoeller
d69fb06852
Skip transaction/caching metadata retrieval for java.lang.Object methods
...
Also retrieves CacheConfig as merged annotation now, aligned with other caching annotations.
Issue: SPR-15296
(cherry picked from commit d4a1b59 )
2017-02-28 14:00:33 +01:00
Rossen Stoyanchev
e9de3bb85b
Fix wrong access modifier in MockMvc standalone setup
...
Issue: SPR-15248
2017-02-23 16:12:14 -05:00
Juergen Hoeller
e6a51e3d29
Upgrade to Jackson 2.8.7
2017-02-22 16:32:51 +01:00
Juergen Hoeller
c734c3a3fe
Polishing
2017-02-22 16:32:21 +01:00
Juergen Hoeller
a48a956c0c
ConfigurationClassEnhancer explicitly handles non-interceptable FactoryBeans
...
Issue: SPR-15275
(cherry picked from commit 7fb0ad3 )
2017-02-22 16:31:48 +01:00
Juergen Hoeller
e5010a823b
Test for expected behavior of getAllMergedAnnotations vs findAllMergedAnnotations
...
Issue: SPR-15271
(cherry picked from commit 6108ab1 )
2017-02-22 16:31:40 +01:00
stonio
1db42081e5
Use String#isEmpty()
...
Closes gh-1335
(cherry picked from commit 7d062df )
2017-02-22 16:31:35 +01:00
Juergen Hoeller
34a0857628
Polishing
...
(cherry picked from commit d2cc97a )
2017-02-21 23:03:16 +01:00
Rossen Stoyanchev
ba0484fcac
Add equals/hashcode for STOMP Subscription
...
Issue: SPR-15229
2017-02-21 15:10:27 -05:00
Juergen Hoeller
f1133a8e56
Upgrade to Hibernate ORM 5.2.8
2017-02-20 23:15:41 +01:00
Juergen Hoeller
35e37f6b60
Polishing
2017-02-20 23:15:05 +01:00
Juergen Hoeller
f117b804a8
ServletRequestMethodArgumentResolver passes null references through (again)
...
Issue: SPR-15214
(cherry picked from commit fc11321 )
2017-02-20 23:14:54 +01:00
Stephane Nicoll
278199d467
Revert "Improve allowNullValue handling when a null value is provided"
...
This reverts commit fd568f3e96 .
2017-02-20 16:36:23 +01:00
Stephane Nicoll
fd568f3e96
Improve allowNullValue handling when a null value is provided
...
This commit improves `AbstractValueAdaptingCache` to throw a dedicated
exception if `allowNullValues` is `false` and a `null` value is provided
anyway. This avoid a lower-level exception from the cache library that
will miss some context.
Issue: SPR-15173
2017-02-20 16:24:34 +01:00
Brian Clozel
45b27a85f4
Ignore HEAD requests in ShallowEtagHeaderFilter
...
Prior to this commit, the `ShallowEtagHeaderFilter` could participate in
the response and set its ETag/Content-Length headers, even for HEAD
requests. Since the response body is empty, the filter implementation
would set a `"Content-Length: 0"`.
The RFC states that responses to HEAD requests should exhibit identical
response headers to GET (with the possible exception of payload related
headers such as Content-Length.
With this commit, `ShallowEtagHeaderFilter` now ignores HEAD requests
since the proper values may be set already for payload related headers
by the handler. The filter has no way to generate a proper ETag value
nor calculate the content length without the actual body.
Issue: SPR-15261
(cherry picked from commit b732251 )
2017-02-20 12:23:06 +01:00
Juergen Hoeller
0f71f58616
Polishing
2017-02-18 00:52:12 +01:00
Juergen Hoeller
9834c42b5c
MutableMessageHeaders serializes itself as regular MessageHeaders
...
Issue: SPR-15262
(cherry picked from commit 74bdcd8 )
2017-02-18 00:51:02 +01:00
Andy Clement
7879bdfc1d
Fix compilation of SpEL elvis/ternary expressions
...
Without this fix the compiled version of elvis
actual behaved differently to the interpreted version
if the value being queried was an empty string. This
is now fixed. It also now correctly handles the
query value being a primitive and addresses the
findings of SPR-15192 where some type inferencing
logic was trying to be too clever, that code has
been deleted.
Issue: SPR-15192
(cherry picked from commit d41d28f )
2017-02-18 00:50:30 +01:00
Juergen Hoeller
dfa8a7c358
Polishing
2017-02-16 15:57:52 +01:00
Juergen Hoeller
427fd9b19a
OracleTableMetaDataProvider tries Connection.unwrap as well
...
Issue: SPR-14670
2017-02-16 15:57:39 +01:00
Juergen Hoeller
6417ed47ab
Latest dependency updates (Apache HttpAsyncClient 4.1.3, BeanShell 2.0b5)
2017-02-16 14:20:54 +01:00
Juergen Hoeller
b0ef80c3ff
Polishing
2017-02-16 14:20:40 +01:00
Juergen Hoeller
7ed4884eaa
Recent dialects for MySQL and SQL Server (as far as possible in 4.3.x)
...
Issue: SPR-15255
2017-02-16 14:20:33 +01:00
Juergen Hoeller
c3cc42d4d3
Avoid double encoding of URIs
...
Issue: SPR-15254
2017-02-16 14:20:15 +01:00
Juergen Hoeller
860e2bcc2d
Revised isInstanceOf/isAssignable message concatenation
...
Issue: SPR-15196
(cherry picked from commit 22322fd )
2017-02-16 14:20:07 +01:00
Juergen Hoeller
06231721c3
Consistently support CompletionStage next to CompletableFuture
...
Issue: SPR-15258
(cherry picked from commit 50d93d3 )
2017-02-16 14:20:02 +01:00
Juergen Hoeller
4d2360e5b5
Defensively ignore multipart parsing failure in case of error dispatch
...
Issue: SPR-15231
(cherry picked from commit d44325e )
2017-02-16 14:19:57 +01:00
Stephane Nicoll
4f52174674
Update copyright header
...
Closes gh-1327
2017-02-14 10:41:03 +01:00
hengyunabc
7d7c5c9d9c
Fix typo
...
See gh-1327
2017-02-14 10:40:51 +01:00
Brian Clozel
08b9e7b83e
Avoid duplicate Content-Length headers in Netty client
...
This commit checks that a "Content-Length" request header isn't already
present before adding one in `Netty4ClientHttpRequestFactory`.
`HttpMessageConverter` implementations can write that request header so
the Netty request factory should only write that value when the header
is missing.
If that header is not written (and since we're not dealing with
the HTTP exchange in a chunked-based fashion), the HTTP client might not
send the request body at all.
Issue: SPR-15241
2017-02-13 21:19:51 +01:00
Juergen Hoeller
e24c530705
Upgrade to Undertow 1.3.27
2017-02-10 11:48:18 +01:00
Juergen Hoeller
5017c05c23
Polishing
...
(cherry picked from commit e9019cd )
2017-02-10 11:47:28 +01:00
Juergen Hoeller
6e93834e27
Correct explanation of example patterns
...
Issue: SPR-15240
(cherry picked from commit e1bb697 )
2017-02-10 11:47:10 +01:00
Juergen Hoeller
5f90a7eee9
Delegate to common ClassUtils.getQualifiedName
...
Issue: SPR-15237
(cherry picked from commit 81aca78 )
2017-02-10 11:47:00 +01:00
Juergen Hoeller
eff285eb3b
MockHttpServletRequest exposes "HTTP/1.1" as default protocol
...
Issue: SPR-15232
(cherry picked from commit ed85337 )
2017-02-10 11:46:42 +01:00
Juergen Hoeller
da7d79b3a1
Test for ObjectFactory injection at constructor level
...
Issue: SPR-15222
(cherry picked from commit 65d8d69 )
2017-02-10 11:46:32 +01:00
Juergen Hoeller
d6216fb74a
Consistent logging in ignoreResourceNotFound scenarios
...
Issue: SPR-15218
(cherry picked from commit 448ea4c )
2017-02-10 11:46:24 +01:00
Juergen Hoeller
941f3e7166
Clear synchronization before triggering afterCompletion callbacks
...
Issue: SPR-15194
Issue: SPR-11590
(cherry picked from commit b630c9b )
2017-02-10 11:46:13 +01:00
Stephane Nicoll
e80c251c7a
Update copyright header
2017-02-09 16:07:14 +01:00
Masayasu Yamamoto
56abc4a429
Fix Javadoc in ContentResultMatchers
...
Closes gh-1322
2017-02-09 16:07:05 +01:00
Stephane Nicoll
dde9e27630
Polish
2017-02-06 15:31:39 +01:00
Stephane Nicoll
15b174a522
Polish contribution
...
Closes gh-1292
Issue: SPR-15188
2017-02-06 15:31:31 +01:00
David Brimley
1fcb2608fb
Honour ErrorHandler if Cache.put fails
...
This commit makes sure that the `ErrorHandler` is invoked if the cache
fails to put an element (be it in the main cache or the exception cache).
See gh-1292
Issue: SPR-15188
2017-02-06 15:31:18 +01:00
Juergen Hoeller
c15d687bf0
Polishing
...
(cherry picked from commit acf511a )
2017-02-02 21:20:27 +01:00
Juergen Hoeller
e038631a6d
Support for read-only transactions through explicit SET TRANSACTION statement
...
Issue: SPR-15210
(cherry picked from commit 02195f5 )
2017-02-02 21:20:17 +01:00
Juergen Hoeller
d5daa8e3a7
Skip default Content-Length if Transfer-Encoding header has been set
...
Issue: SPR-15212
(cherry picked from commit 9b3131f )
2017-02-02 21:19:53 +01:00
Juergen Hoeller
6014ca9140
ServletRequestMethodArgumentResolver validates argument type match
...
Issue: SPR-15214
(cherry picked from commit e44533f )
2017-02-02 21:19:45 +01:00
Juergen Hoeller
d4010573af
MockHttpServletRequest returns empty BufferedReader in case of no content
...
Issue: SPR-15215
(cherry picked from commit 0da964f )
2017-02-02 21:16:44 +01:00
Juergen Hoeller
e3cd5c8ef0
SettableListenableFuture centralizes state in ListenableFutureTask subclass
...
Issue: SPR-15216
(cherry picked from commit c9b99da )
2017-02-02 21:16:36 +01:00
Juergen Hoeller
dec1c93b24
SettableListenableFuture consistently tracks cancellation state
...
Issue: SPR-15202
(cherry picked from commit 9666fcc )
2017-01-31 16:11:23 +01:00
Juergen Hoeller
3ef6697536
Refined assertion messages
...
Issue: SPR-15196
(cherry picked from commit 9b26fcd )
2017-01-31 16:07:09 +01:00
Juergen Hoeller
8207c53b9a
Polishing
2017-01-31 11:36:52 +01:00
Juergen Hoeller
e3be94c961
Add headers in InterceptingClientHttpRequest
...
This commit *adds* the "intercepted" headers to the ClientHttpRequest,
as opposed to replacing them, which is what happened before this commit.
Issue: SPR-15166
2017-01-31 11:32:21 +01:00
Juergen Hoeller
b40f016de2
Latest dependency updates (OkHttp 3.6, Apache HttpClient 4.5.3)
2017-01-31 10:29:21 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
2017-01-31 10:28:46 +01:00
Spring Buildmaster
b386be1529
Next Development Version
2017-01-25 13:34:40 +00:00
Juergen Hoeller
a98a61852f
HandlerMethod pre-resolves parameter types at construction time
...
Issue: SPR-15186
(cherry picked from commit 8038fb9 )
2017-01-25 11:12:27 +01:00
Juergen Hoeller
3304efd64d
Consistent type variable resolution for arrays/collections (in particular at field level)
...
Deprecating GenericCollectionTypeResolver in favor of direct ResolvableType usage.
Issue: SPR-15160
(cherry picked from commit 5e946c2 )
2017-01-24 19:31:41 +01:00
Juergen Hoeller
b97e7d53bc
Revised CookieLocaleResolver parse exception handling
...
Issue: SPR-15182
(cherry picked from commit e8776f8 )
2017-01-24 19:28:47 +01:00
Juergen Hoeller
4af6d58d8d
Upgrade to Objenesis 2.5.1
...
Includes Hibernate ORM 5.2.7, Rome 1.7.1, Jetty 9.4.1, Undertow 1.3.26
Issue: SPR-15146
2017-01-23 23:47:22 +01:00
Juergen Hoeller
e2d06eaae5
Deprecate outdated abstractions/delegates in core/util
...
Issue: SPR-15159
2017-01-23 23:47:14 +01:00
Juergen Hoeller
fcfacd9f83
Polishing
...
(cherry picked from commit f095aa2 )
2017-01-23 23:47:01 +01:00
Juergen Hoeller
bddcc669b3
WebSocketSession.getExtensions consistently exposes unmodifiable/empty list
...
Issue: SPR-15180
(cherry picked from commit e94fa3f )
2017-01-23 23:33:04 +01:00
Juergen Hoeller
2024b37e65
HiddenHttpMethodFilter defensively proceeds with original request in case of error dispatch
...
Issue: SPR-15179
(cherry picked from commit a0df36d )
2017-01-23 23:32:20 +01:00
Juergen Hoeller
fb3191904a
DispatcherServet.checkMultipart considers MultipartException cause as well
...
Issue: SPR-15178
(cherry picked from commit ecc22f7 )
2017-01-23 23:31:55 +01:00
Juergen Hoeller
9e4d74c502
Consider abstract classes with @Lookup methods as candidate components
...
Issue: SPR-14550
(cherry picked from commit 7d3fcaa )
2017-01-23 23:31:31 +01:00
Juergen Hoeller
9b221f58b9
Document further configuration class restrictions
...
Issue: SPR-14602
(cherry picked from commit 6fe7e56 )
2017-01-23 23:31:03 +01:00
Juergen Hoeller
f7c3b814e3
Only expose ASM-driven method order if the methods match
...
Issue: SPR-14505
(cherry picked from commit 253060c )
2017-01-23 23:30:36 +01:00
Juergen Hoeller
155bbb8466
Clear nonAnnotatedClasses cache in afterSingletonsInstantiated
...
Issue: SPR-15175
(cherry picked from commit e566e25 )
2017-01-23 23:30:13 +01:00
Juergen Hoeller
4f690eea2a
Drop classes folder (accidentally added in 35b67a5)
2017-01-23 22:37:39 +01:00
Rossen Stoyanchev
70a1ecba7f
Documentation update related to Reactor version
...
Issue: SPR-15129
2017-01-23 15:02:01 -05:00
Rossen Stoyanchev
c8b0ff2fca
Add ExpectedCount#never()
...
Issue: SPR-15168
2017-01-20 17:11:09 -05:00
Stephane Nicoll
f9a4856c3b
Backport log4j doc improvements
...
Issue: SPR-15170
2017-01-20 17:38:20 +01:00
Brian Clozel
35b67a54d2
Upgrade to Tomcat 8.5.11
2017-01-20 09:55:33 +01:00
Rossen Stoyanchev
78a23be9bc
Polish Reactor2TcpStompClient
2017-01-18 11:46:36 -05:00
Juergen Hoeller
09c5958608
Polishing
2017-01-18 00:53:59 +01:00
Juergen Hoeller
ffb295971a
Polishing
2017-01-18 00:27:04 +01:00
Rossen Stoyanchev
77bb7e6030
Add accessor methods to HttpPutFormContentFilter
...
Issue: SPR-14503
2017-01-17 17:18:03 -05:00
Rossen Stoyanchev
75daf781c2
Well-known names for beans in message broker XML config
...
Issue: SPR-15068
2017-01-17 17:08:45 -05:00
Rossen Stoyanchev
fcead670f0
Add locking to AbstractRequestExpectationManager
...
This commit ensures that verifying a request, which includes finding
and updating expectations, is done synchronously to avoid concurrent
modification exceptions.
Technically SimpleRequestExpectationManager is not even expected to see
concurrent requests by definition but with
UnorderedRequestExpectationManager it can happen.
Issue: SPR-15029
2017-01-17 16:48:26 -05:00
Juergen Hoeller
801b93a078
Clarify WebContentInterceptor path mappings and efficiently match them
...
Issue: SPR-15096
2017-01-17 21:12:54 +01:00
Juergen Hoeller
4beeeb8118
ContentCachingRequestWrapper supports content cache limit
...
Issue: SPR-14829
(cherry picked from commit ad53867 )
2017-01-17 20:57:28 +01:00
Juergen Hoeller
64d4afad9f
SimpleApplicationEventMulticaster defensively swallows ClassCastException without message
...
Issue: SPR-15145
(cherry picked from commit 976d32f )
2017-01-17 20:43:59 +01:00
Rossen Stoyanchev
48f57e3bb2
Explicitly manage event loop in Reactor2TcpStompClient
...
Reactor2TcpStompClient now explicitly manages a Netty EventLoopGroup
which prevents resource leaks on attempts to reconnect.
Issue: SPR-15035
2017-01-17 14:19:36 -05:00
Juergen Hoeller
d92f69747b
Remove outdated groovy-bean-definition-dsl id in whats-new
...
Issue: SPR-15153
2017-01-17 16:23:55 +01:00
Juergen Hoeller
315698b50e
Clarified cookieMaxAge default
...
Issue: SPR-15155
(cherry picked from commit 874b653 )
2017-01-17 15:36:33 +01:00
Juergen Hoeller
6deccf123d
Reference documentation for Groovy bean definition DSL
...
Issue: SPR-15153
(cherry picked from commit 2047f8d )
2017-01-17 15:35:24 +01:00
Juergen Hoeller
391ebc8eda
Correct reference to XJC classpath
...
(cherry picked from commit 54da4a8 )
2017-01-17 15:35:03 +01:00
Brian Clozel
28c7f65a25
Add SNI support in Netty4ClientHttpRequestFactory
...
This commit changes the `Bootstrap` to create a SSL Handler with
advisory peer information; this enables support for SNI.
Issue: SPR-15101
(cherry picked from commit 0c99346 )
2017-01-17 11:32:10 +01:00
Juergen Hoeller
caebe72083
Proper resolution of Optional.empty() for header arguments
...
Issue: SPR-15151
(cherry picked from commit e9db4d6 )
2017-01-17 11:04:43 +01:00
Juergen Hoeller
f79baec5ff
Polishing
...
(cherry picked from commit 46fc7fb )
2017-01-16 23:14:12 +01:00
Vedran Pavić
d1c0ea7d74
Set MockSessionCookieConfig#maxAge default to -1
...
Issue: SPR-15142
(cherry picked from 83beb9d57d )
2017-01-16 23:07:26 +01:00
Juergen Hoeller
53e2d7d160
Upgrade to Objenesis 2.5
...
(plus Groovy 2.4.8, Jackson 2.8.6, Netty 4.1.7)
Issue: SPR-15146
2017-01-16 22:44:07 +01:00
Juergen Hoeller
8c62a2f11a
Polishing
...
(cherry picked from commit 95330d0 )
2017-01-16 22:43:54 +01:00
Juergen Hoeller
8656e30550
Revised InvocableHandlerMethod exception messages (controller vs endpoint vs handler)
...
Introduces dedicated MethodArgumentResolutionException for spring-messaging invocations.
Issue: SPR-15139
(cherry picked from commit 047786a )
2017-01-16 22:43:48 +01:00
Juergen Hoeller
0655d73f8e
SimpleApplicationEventMulticaster defensively handles ClassCastException without message
...
Issue: SPR-15145
(cherry picked from commit 153fd82 )
2017-01-16 22:43:35 +01:00
Juergen Hoeller
24ebd15f9c
Introspect FactoryBean class declaration if no early instantiation possible
...
Issue: SPR-15125
(cherry picked from commit 32fc855 )
2017-01-16 22:43:18 +01:00
Juergen Hoeller
cce84711c6
MockHttpServletRequestBuilder reliably detects form body content type again
...
Issue: SPR-15116
(cherry picked from commit e88e8f1 )
2017-01-16 22:43:01 +01:00
Juergen Hoeller
7f127300f9
Polishing
2017-01-12 23:43:27 +01:00
Juergen Hoeller
1521094c5b
MimeTypeUtils constants cleanup: deprecated web media types
...
Issue: SPR-15137
2017-01-12 23:43:00 +01:00
Juergen Hoeller
0b8134049c
Upgrade to Joda-Time 2.9.7
2017-01-12 22:55:23 +01:00
Juergen Hoeller
70a980db58
Polishing
2017-01-12 22:54:23 +01:00
Juergen Hoeller
8b960099f1
Introduce media types for application/rss+xml
...
Issue: SPR-15109
2017-01-12 22:53:38 +01:00
Juergen Hoeller
cc53d597c0
MySQLMaxValueIncrementer supports "useNewConnection" mode for INNODB tables
...
Issue: SPR-15107
2017-01-12 22:53:10 +01:00
Juergen Hoeller
5982f732b4
Improve performance of StringUtils.capitalize()
...
Issue: SPR-15094
2017-01-12 22:51:56 +01:00
Juergen Hoeller
c5500b2332
MockHttpServletRequestBuilder supports multiple locales
...
Includes revised content type handling.
Issue: SPR-15116
(cherry picked from commit 02d727f )
2017-01-12 22:50:50 +01:00
Juergen Hoeller
de611cb3a9
SpringValidatorAdapter properly handles HV-5-style list constraint violations
...
Issue: SPR-15082
(cherry picked from commit d0e9328 )
2017-01-12 22:50:33 +01:00
Juergen Hoeller
72a76367f2
AbstractMessageSource does not attempt to format code-as-default-message
...
Issue: SPR-15123
(cherry picked from commit b06423a )
2017-01-12 22:50:22 +01:00
Juergen Hoeller
5afc3a3a50
Map resolution for multiple beans applies to plain Map interface declaration only
...
Issue: SPR-15117
(cherry picked from commit 8084da5 )
2017-01-12 22:50:04 +01:00
Juergen Hoeller
2f2ef00d1f
BeanDefinitionBuilder supports factory method on factory bean
...
Issue: SPR-15098
(cherry picked from commit 9e6aa0f )
2017-01-12 22:49:44 +01:00
Juergen Hoeller
de7eea4498
GenericTableMetaDataProvider falls back to single schema as default
...
Issue: SPR-15090
(cherry picked from commit de43497 )
2017-01-12 22:49:32 +01:00
Juergen Hoeller
e9a87de965
LinkedCaseInsensitiveMap provides case-insensitive keySet again
...
Issue: SPR-15026
(cherry picked from commit 50e5a65 )
2017-01-12 22:49:25 +01:00
Gary Russell
db7b74feac
Implement MessagingException.toString()
...
Issue: SPR-15091
Closes gh-1284
2017-01-05 10:25:55 +01:00
Philippe Marschall
f7d126043b
Remove use of Boolean constructors
...
Codacy warns us that there are several references to Boolean
constructors in the tests. Direct usage of the Boolean constructor is
discouraged and even deprecated in Java 9 [1]. Boolean constructor use
can easily be replaced with the constant instances.
This commit contains the following changes:
- replace references to Boolean constructors with boolean constants in
JSP tag tests
- update the copyright year where necessary
- BooleanComparatorTests is intentionally left unchanged as it should
also work with the non-constant instances correctly
[1] http://download.java.net/java/jdk9/docs/api/java/lang/Boolean.html#Boolean-boolean-
Issue: SPR-15076
2017-01-04 09:32:32 +01:00
Philippe Marschall
55b44b4f86
Avoid use of double constructor of BigDecimal
...
Codacy warns about an Error Prone [1] use of the double constructor of
BigDecimal in tests. The reason given is that it is a source of
precision loss if the number does not have an exact double
representation. The recommendation is to use the String constructor of
BigDecimal instead as it does not require using a lossy argument.
This commit contains the following changes:
- replace usage of the double constructor of BigDecimal with the
String constructor of BigDecimal in JdbcTemplateQueryTests
- update the copyright year
[1] http://errorprone.info/bugpattern/BigDecimalLiteralDouble
Issue: SPR-15077
2017-01-04 09:32:23 +01:00
Rob Winch
523370b6f2
Fix ForwardedHeaderFilter with non-empty contextPath
...
Issue: SPR-15088
2017-01-03 14:52:50 -06:00
Philippe Marschall
131d2c2051
Remove String#toCharArray from ScriptUtils
...
ScriptUtils contains two calls to String#toCharArray for the sole
purpose to iterating over all chars in a String. Not only is this
unnecessary and can be replaced with String#charAt it also causes
additional allocator and heap pressure because String#toCharArray
rather than returning the backing array (which is gone in Java 9)
creates a copy.
This commit contains the following changes:
- remove String#toCharArray from ScriptUtils and replace with
String#charAt
Issue: SPR-15075
2017-01-03 18:02:45 +01:00
Brian Clozel
7f05c2a18c
Fix default content-type for ResourceRegion HTTP responses
...
Prior to this commit, the `ResourceRegionHttpMessageConverter` would
rely on the default implementation of `getDefaultContentType` to guess
the default Content-Type of the resource region to be written to the
HTTP response. That implementation fetches the first media type
provided in the HTTP request "Accept" header.
This behavior is not correct when converting resources and this commits
aligns this converter with the `ResourceHttpMessageConverter` which uses
JAF to guess the correct Content-Type of the given resource, or just
returns "application/octet-stream" as a default value.
Issue: SPR-15041
2017-01-03 11:18:40 +01:00
Juergen Hoeller
8fc65ab0a5
Clarified setAutowireCandidate semantics (plus attribute reordering in BeanDefinition)
...
Issue: SPR-15072
(cherry picked from commit e8a082f )
2016-12-30 11:55:55 +01:00
Juergen Hoeller
b6108e3b2d
Upgrade to ASM 5.2
...
Issue: SPR-15071
(cherry picked from commit ccabff6 )
2016-12-30 11:55:50 +01:00
Juergen Hoeller
26a4aef417
Polishing
...
(cherry picked from commit fc629bb )
2016-12-29 23:12:11 +01:00
Juergen Hoeller
050f2c746d
Track bean dependencies for calls between @Bean methods within @Configuration classes
...
Issue: SPR-15069
(cherry picked from commit a5c6658 )
2016-12-29 23:12:05 +01:00
Juergen Hoeller
fd21e0e69a
@Scheduled reliably applies after other post-processors and shuts down before TaskScheduler
...
Issue: SPR-14692
Issue: SPR-15067
(cherry picked from commit edc62be )
2016-12-29 23:12:00 +01:00
Juergen Hoeller
794580ffcd
TypeDescriptor efficiently matches equal annotations as well
...
Issue: SPR-15060
(cherry picked from commit e38c020 )
2016-12-28 23:21:14 +01:00
Juergen Hoeller
d44bc27c9a
Avoid FactoryBean initialization on isSingleton check for decorated bean definition
...
Issue: SPR-14892
Issue: SPR-15042
(cherry picked from commit 209e7a7 )
2016-12-28 23:20:15 +01:00
Juergen Hoeller
243e21a3ea
Backport streamlined ClassPathBeanDefinitionScanner setup
...
Issue: SPR-15061
2016-12-27 18:32:03 +01:00
Juergen Hoeller
20aaa8841c
PATCH does not work with the standard JDK HTTP library
...
Issue: SPR-15052
(cherry picked from commit 0480981 )
2016-12-27 18:31:14 +01:00
Juergen Hoeller
d77ab67c56
AbstractNestablePropertyAccessor's setPropertyValue refactored into several delegate methods
...
Issue: SPR-15053
(cherry picked from commit 64d6561 )
2016-12-27 18:31:05 +01:00
Sebastien Deleuze
dd2b6a0fc5
Avoid NPE in AutoProxyRegistrar when no attribute found
...
Issue: SPR-15055
2016-12-27 16:34:29 +01:00
Juergen Hoeller
f949461297
Polishing
...
(cherry picked from commit a8741dd )
2016-12-26 11:40:49 +01:00
Juergen Hoeller
9a39a25bb5
Detect generic type match behind interface-based proxy as well
...
Issue: SPR-14097
(cherry picked from commit f805427 )
2016-12-26 11:40:40 +01:00
Juergen Hoeller
4b018407c1
Expose reflection metadata with ASM-driven method order
...
Issue: SPR-14505
(cherry picked from commit 0208198 )
2016-12-26 11:40:33 +01:00
Juergen Hoeller
28e114b569
Clarify programmatic contract (no annotation-driven injection)
...
Issue: SPR-8704
(cherry picked from commit fd41f63 )
2016-12-26 11:40:25 +01:00
Juergen Hoeller
99226e0fa6
Polishing
2016-12-23 21:16:43 +01:00
Juergen Hoeller
4a84ee07be
ConfigurationClassParser enforces @Bean declaration order through ASM metadata
...
Issue: SPR-14505
(cherry picked from commit 3295a4e )
2016-12-23 20:46:11 +01:00
Juergen Hoeller
505480cf63
LinkedCaseInsensitiveMap delegates to LinkedHashMap instead of extending it
...
Issue: SPR-15026
(cherry picked from commit 8147c11 )
2016-12-23 20:46:07 +01:00
Juergen Hoeller
fa2bfdd326
Remove unused Log object from MessageHeaderAccessor
...
Issue: SPR-15045
(cherry picked from commit 5c48daa )
2016-12-22 23:44:34 +01:00
Juergen Hoeller
afe022853c
Reintroduced initDefaultStrategies callback for compatibility with old MessageListenerAdapter subclasses
...
Issue: SPR-15043
2016-12-22 22:17:01 +01:00
Juergen Hoeller
41b834f76e
Consistent ClassLoader propagation and ConcurrentHashMap setup for AspectJ pointcuts
...
Issue: SPR-15040
(cherry picked from commit d64d9ab )
2016-12-22 22:16:54 +01:00
Spring Buildmaster
a88436c806
Next Development Version
2016-12-21 11:11:53 +00:00
Brian Clozel
e2d6e709c3
Normalize resource URL in ResourceServlet
...
Issue: SPR-14946
2016-12-21 10:21:28 +01:00
Juergen Hoeller
bd7fee5a77
Upgrade to Hibernate ORM 5.2.6
2016-12-21 10:10:49 +01:00
Juergen Hoeller
709d4ba6e7
Avoid explicit DecoratedObjectFactory setup in JettyRequestUpgradeStrategy
...
Issue: SPR-14940
2016-12-21 09:47:29 +01:00
Juergen Hoeller
8d55c7d60a
Backported DataBinder configuration tests
...
Issue: SPR-15009
2016-12-21 09:31:55 +01:00
Juergen Hoeller
9cb4de8b5e
Polishing
2016-12-20 21:11:07 +01:00
Juergen Hoeller
8662c61a17
Polishing
...
(cherry picked from commit 154ef8b )
2016-12-20 20:14:25 +01:00
Juergen Hoeller
935671ae32
Defensively catch any exception from match attempts (for compatibility with AspectJ 1.8.10)
...
Issue: SPR-15019
(cherry picked from commit 97ea22c )
2016-12-20 12:25:30 +01:00
Juergen Hoeller
a5ce965d22
ConfigurationClassPostProcessor programmatically registers unified ImportAwareBeanPostProcessor
...
Issue: SPR-14931
(cherry picked from commit f6b2a21 )
2016-12-20 12:25:22 +01:00
Juergen Hoeller
1e58c80fe7
MBeanExporter silently ignores null beans
...
Issue: SPR-15031
(cherry picked from commit 9c55d22 )
2016-12-19 16:57:48 +01:00
Juergen Hoeller
a92ae4ba30
Fixed backport gaps
2016-12-19 02:09:05 +01:00
Juergen Hoeller
b5f2e56e38
Polishing
2016-12-19 01:51:57 +01:00
Juergen Hoeller
594f4d56b8
RestTemplate provides patchForObject operations
...
Issue: SPR-14857
2016-12-19 01:51:47 +01:00
Juergen Hoeller
2d83ca61e7
JdbcTemplate consistently delegates to getColumnMapRowMapper
...
Issue: SPR-15018
2016-12-19 01:49:58 +01:00
Juergen Hoeller
307e37a69f
Flexible setMessageCodesResolver and deprecated setExtractOldValueForEditor at DataBinder level
...
Issue: SPR-15009
2016-12-19 01:49:38 +01:00
Juergen Hoeller
8310eb3b1f
Latest dependency updates (OkHttp 3.5, Jackson 2.8.5, Jetty 9.3.14, Tomcat 8.5.9)
2016-12-19 01:49:12 +01:00
Juergen Hoeller
b9c4f1fa95
ResolvableType-based matching respects generic factory method return type
...
Includes consistent use of ResolvableType.resolve() wherever applicable.
Issue: SPR-15011
(cherry picked from commit 4c005e6 )
2016-12-19 01:12:14 +01:00
Juergen Hoeller
faab4f9e28
Consistent DeferredResultHandler invocation outside of result lock
...
Issue: SPR-14978
(cherry picked from commit 37c734e )
2016-12-19 01:10:38 +01:00
Juergen Hoeller
271b0abc45
LocaleContextHolder provides support for framework-level default settings
...
Issue: SPR-15017
(cherry picked from commit 23f0418 )
2016-12-19 01:10:09 +01:00
Juergen Hoeller
f0c3d50408
Defensively catch IllegalStateException from match attempts (for compatibility with AspectJ 1.8.10)
...
Issue: SPR-15019
(cherry picked from commit 3370f41 )
2016-12-19 01:09:36 +01:00
Juergen Hoeller
f0fdff1f07
OkHttpClientHttpRequestFactory allows POST request without body
...
Issue: SPR-15015
(cherry picked from commit 2954385 )
2016-12-19 01:09:06 +01:00
Juergen Hoeller
d15df3489e
Avoid proxy replacement for generic return type signatures
...
Issue: SPR-15010
(cherry picked from commit 6d1cae2 )
2016-12-19 01:04:00 +01:00
Juergen Hoeller
f3cc4ab09d
@RequestBody supports java.util.Optional
...
Issue: SPR-15007
(cherry picked from commit eeb7ae5 )
2016-12-19 01:03:18 +01:00
Juergen Hoeller
442d8a68a6
TypeDescriptor properly narrows ResolvableType for non-typed collection elements
...
Issue: SPR-14971
(cherry picked from commit aef1460 )
2016-12-19 01:02:18 +01:00
Juergen Hoeller
934fffec68
AutowiredAnnotationBeanPostProcessor tolerates annotated no-arg constructors
...
Issue: SPR-15005
(cherry picked from commit 8b5ee4e )
2016-12-19 01:01:59 +01:00
Juergen Hoeller
8190e7838f
SQLErrorCodesFactory provides unregisterDatabase method
...
This commit also migrates from a WeakHashMap to a ConcurrentReferenceHashMap, allowing for concurrent access to existing cache entries.
Issue: SPR-15006
(cherry picked from commit b825528 )
2016-12-19 01:01:41 +01:00
Juergen Hoeller
4571975414
Collection injection may refer back to factory methods on same bean again
...
Issue: SPR-14996
(cherry picked from commit 547b963 )
2016-12-19 01:01:16 +01:00
Juergen Hoeller
5115c61b03
CommonsMultipartFile.getOriginalFilename() can be configured to preserve header-specified filename as-is
...
Issue: SPR-14613
(cherry picked from commit aa29495 )
2016-12-19 00:59:28 +01:00
Juergen Hoeller
54c7a9ee95
Revised Jetty 9.3 vs 9.4 differentiation
...
Issue: SPR-14940
(cherry picked from commit 52799c0 )
2016-12-19 00:58:53 +01:00
Juergen Hoeller
0296c7c5b6
Stronger explanation of default rollback rules
...
Issue: SPR-14994
(cherry picked from commit 953bc18 )
2016-12-19 00:58:44 +01:00
Juergen Hoeller
84d8135cbb
MimeType parsing properly handles quoted semicolons
...
Issue: SPR-14986
(cherry picked from commit 7714eec )
2016-12-19 00:58:23 +01:00
Juergen Hoeller
dd3c370bca
ImportRegistry properly tracks excluded superclasses
...
Issue: SPR-14972
(cherry picked from commit a7ec6dc )
2016-12-19 00:57:45 +01:00
Juergen Hoeller
4e41f74925
Explicit support for retrieving enum values
...
Issue: SPR-14990
(cherry picked from commit 278a625 )
2016-12-19 00:56:44 +01:00
Juergen Hoeller
c6663f59b8
HttpInvokerClientInterceptor propagates client-side Error as-is
...
Issue: SPR-14985
(cherry picked from commit ee30ce9 )
2016-12-19 00:56:06 +01:00
Juergen Hoeller
ced7503d95
Revised forClass argument names
...
Issue: SPR-14976
(cherry picked from commit 8ab977e )
2016-12-19 00:55:39 +01:00
Juergen Hoeller
04af30daed
JPA/Hibernate docs: transaction management, JTA setup
...
Issue: SPR-14957
(cherry picked from commit 2f80b84 )
2016-12-19 00:55:19 +01:00
Juergen Hoeller
5ccc8e341c
SpEL docs: supported literals, null comparisons
...
Issue: SPR-14361
Issue: SPR-14987
(cherry picked from commit 05579fd )
2016-12-19 00:55:03 +01:00
Juergen Hoeller
71977e8f9d
Consistent use of "URI variables" terminology
...
Issue: SPR-14969
(cherry picked from commit 6517c53 )
2016-12-19 00:54:49 +01:00
Rob Winch
5e774e0b44
Add Support for ForwardedHeaderFilter sendRedirect
...
Previously ForwrdedHeaderFilter did not ensure that
HttpServletResponse.sendRedirect worked properly based on
X-Forwarded-* headers.
This commit updates ForwardedHeaderFilter to overrided the
HttpServletResponse.sendRedirect method to ensure
X-Forwarded-* headers are honored.
Issue SPR-15020
2016-12-15 19:38:40 -05:00
Rossen Stoyanchev
e16d753439
Allow athentication at the STOMP level
...
This commit makes it possible for a ChannelInterceptor to override the
user header in a Spring Message that contains a STOMP CONNECT frame.
After the message is sent, the updated user header is observed and
saved to be associated with session thereafter.
Issue: SPR-14690
2016-12-13 16:17:05 -05:00
Rossen Stoyanchev
b14d189db9
MockRestRequestMatchers can match query params
...
Issue: SPR-14995
2016-12-13 16:07:19 -05:00
Brian Clozel
14de29c031
Improve VersionResourceResolve javadoc
...
The `pathPatterns` args are relative to the patterns configured for the
resource handler.
Issue: SPR-14817
Cherry-picked from: 52f664139
2016-12-13 11:01:14 +01:00
Brian Clozel
b59455b63c
Do not include URL hash in resource paths
...
When getting the lookup path of a resource, both query params and hashes
should be removed from the request path.
This commit fixes the public path resolution for paths like
`/resources/main.svg#icon-hamburgermenu`.
Issue: SPR-14928
2016-12-12 15:23:23 +01:00
Brian Clozel
1a6dc86fed
Allow RedirectAttributes on ExceptionHandlers
...
Prior to this commit, `@ExceptionHandler` methods could not be injected
with `RedirectAttributes` arguments. This would make it impossible to
handle an error by redirecting to another view and add flashmap
attributes, to be included in the model when the next view is called.
Here is an example:
```
@ExceptionHandler(MyException.class)
public String handleException(MyException ex, RedirectAttributes
redirectAttributes) {
redirectAttributes.addFlashAttribute("errorMessage",
"This is an error message");
return "redirect:/";
}
```
This commit adds a new `RedirectAttributesMethodArgumentResolver`
instance in the list of pre-configured `HandlerMethodArgumentResolver`
in `ExceptionHandlerExceptionResolver`.
Issue: SPR-14651
Cherry-picked from: 17089d6
2016-12-12 09:09:35 +01:00
Brian Clozel
35b0c8b577
Update websocket support for Jetty 9.3+
...
Due to a few changes in `WebSocketServerFactory` and `Session` API, our
`JettyRequestUpgradeStrategy` and `JettyWebSocketSession` needed to
adapt. As of 9.3.15+ and 9.4.0+, some reflection is required to support
previous versions.
Spring 4.3 websocket officially supports Jetty 9.1 to 9.3.
Issue: SPR-14940
2016-12-09 14:58:18 +01:00
Brian Clozel
75034c3710
Revert "Update websocket support for Jetty 9.3+"
...
This reverts commit 305cea28c5 .
2016-12-08 22:48:06 +01:00
Brian Clozel
305cea28c5
Update websocket support for Jetty 9.3+
...
Due to a few changes in `WebSocketServerFactory` and `Session` API, our
`JettyRequestUpgradeStrategy` and `JettyWebSocketSession` needed to
adapt. As of 9.3.15+ and 9.4.0+, some reflection is required to support
previous versions.
Spring 4.3 officially supports Jetty 9.1 to 9.3.
Issue: SPR-14940
2016-12-08 21:44:31 +01:00
Rossen Stoyanchev
69ba85b051
Backport of STOMP message header encoding improvements
...
Issue: SPR-14901
2016-12-08 11:33:16 -05:00
Sebastien Deleuze
5700d65a53
Append "data:" after line breaks for SSE JSON data fields
...
Issue: SPR-14899
2016-12-08 14:16:41 +01:00
bedrin
e707c40e0b
Add consumes attribute to @GetMapping
...
Issue: SPR-14988
2016-12-07 17:51:05 -05:00
Brian Clozel
9d37472f23
Fix Netty4ClientHttpRequestFactory POST/PUT requests
...
This commit ensures that POST/PUT requests sent by the Netty client have
a Content-Length header set.
Integration tests have been refactored to use mockwebserver instead of
Jetty and have been parameterized to run on all available supported
clients.
Issue: SPR-14860
Cherry-picked from: ec8391a7fb
2016-12-07 09:24:13 +01:00
Juergen Hoeller
eb97335c6f
Polishing
2016-12-01 20:19:49 +01:00
Juergen Hoeller
0028b29760
Polishing
2016-12-01 19:09:26 +01:00
Juergen Hoeller
1ded1e38e8
Latest dependency updates (Caffeine 2.3.5, Hibernate ORM 5.2.5, Joda-Time 2.9.6, Tomcat 8.5.8, JOpt Simple 5.0.3)
2016-12-01 19:08:57 +01:00
Juergen Hoeller
149acdae7d
@UsesJava8
...
Issue: SPR-14958
2016-12-01 14:23:59 +01:00
Juergen Hoeller
5fee5f39ea
Polishing
2016-12-01 14:13:23 +01:00
Juergen Hoeller
f16d453805
PathMatchingResourcePatternResolver converts manifest entries to absolute paths and tries all root URLs (any file extension) as jar file
...
Issue: SPR-14934
Issue: SPR-14936
2016-12-01 14:12:56 +01:00
Juergen Hoeller
2b0293578f
Consistent use of "URI variables" terminology
...
Issue: SPR-14969
(cherry picked from commit 7a8ec4f )
2016-12-01 14:12:07 +01:00
Juergen Hoeller
66aeeedaef
Test injection point match for narrow target return type
...
Issue: SPR-14960
(cherry picked from commit 845dbf0 )
2016-12-01 14:12:00 +01:00
Juergen Hoeller
af41dd1ed6
Efficient ISO_LOCAL_* variants for printing LocalDate/LocalTime/LocalDateTime
...
Issue: SPR-14958
(cherry picked from commit 1ae17c2 )
2016-12-01 14:11:49 +01:00
Juergen Hoeller
17f7f1fc15
Consistent catching of Throwable for introspection failures
...
Issue: SPR-12889
(cherry picked from commit 0186809 )
2016-12-01 14:11:43 +01:00
Juergen Hoeller
cbc512f3be
Efficient type plus annotation comparisons during converter retrieval
...
Issue: SPR-14926
Issue: SPR-12926
(cherry picked from commit f6b8b84 )
2016-12-01 14:11:34 +01:00
Juergen Hoeller
7ac9f92bc2
Various DefaultListableBeanFactory clarifications
...
* getBeanDefinitionNames defensively returns a copy of the bean definition names array.
* copyConfigurationFrom provides an independent AutowireCandidateResolver instance and copies a ConversionService and dependency comparator configuration as well.
* findAutowireCandidates only considers a self reference fallback for direct dependency declarations, not as a collection element.
Issue: SPR-14897
Issue: SPR-14921
Issue: SPR-14965
(cherry picked from commit ac5933a )
2016-12-01 14:11:08 +01:00
Juergen Hoeller
a7ba63d425
Shared DefaultConversionService instance for simple fallback purposes
...
Issue: SPR-14948
(cherry picked from commit 80931b2 )
2016-12-01 14:10:39 +01:00
Juergen Hoeller
5ca10b1d67
Consistent ExpressionException-style quoting of expression string and position
...
Issue: SPR-14942
(cherry picked from commit 14eba50 )
2016-12-01 14:10:23 +01:00
Juergen Hoeller
f22a4a4e80
No warn logging for propagated original exception
...
Issue: SPR-14907
(cherry picked from commit 96bfc14 )
2016-12-01 14:10:01 +01:00
Juergen Hoeller
b53ee13662
JdbcUtils explicitly extracts SQL date/time for JSR-310 LocalDate/Time
...
Issue: SPR-14898
(cherry picked from commit a0fee46 )
2016-12-01 14:09:53 +01:00
Christoph Dreis
8de100b116
Implement allocation-friendly method to get user count in SimpUserRegistry
...
SPR-14930
(cherry picked from commit a929e9c )
2016-12-01 14:09:43 +01:00
Juergen Hoeller
ac30bcb0eb
WebSocketServerSockJsSession uses dedicated disconnect lock
...
Issue: SPR-14917
(cherry picked from commit a49809b )
2016-12-01 14:09:34 +01:00
Rossen Stoyanchev
872d6ef55a
HtmlUnitRequestBuilder detects form encoding type
...
Issue: SPR-14916
2016-11-28 18:08:44 -05:00
Rossen Stoyanchev
dd3b9c7c35
ResponseEntity headers builder casts body to any type
...
Issue: SPR-14939
2016-11-28 17:25:20 -05:00
Rossen Stoyanchev
9755ae3cbe
PayloadArgumentResolver has useDefaultResolution flag
...
Issue: SPR-14937
2016-11-28 17:02:03 -05:00
Brian Clozel
bc29fb5a09
Do not execute ResourceUrlEncodingFilter only once per request
...
In case the filter is also registered to the ERROR dispatcher, the
following happens:
* the filter is executed once for the regular execution
* the filter should be executed a second time when dispatched to error
Since the filter is a `OncePerRequestFilter`, the filter is only
executed once and won't be executed when handling the error.
This can lead to situations like spring-projects/spring-boot#7348
This commit makes this filter a simple `GenericFilterBean`.
Issue: SPR-14891
2016-11-24 10:03:08 +01:00
Rossen Stoyanchev
646a574b9c
Deprecate ResourceServlet
2016-11-23 21:22:58 -05:00
Rossen Stoyanchev
8f19650fd7
Avoid locking in WebSocket session "close" callback
...
When processing a "close" notification from the server make an effort
to cancel any outstanding heartbeat but avoid going as far as acquiring
the responseLock since the server itself may already hold a lock of its
own leading to a potential deadlock.
The heartbeat task is now also further protected with an isClosed()
check in case the heartbeat does not get cancelled in a concurrent
scenario.
Issue: SPR-14917
2016-11-23 20:58:22 -05:00
Stephane Nicoll
f08980967b
Polish doc
2016-11-17 07:25:42 +09:00
Mark Paluch
5285f5300a
Fix TLS detection in URLs for Netty Client RequestFactory
...
Do not check on non-specified port when scheme is https.
Enables SSL for https URIs with a specified port.
Issue: SPR-14889
2016-11-11 16:49:18 +01:00
Juergen Hoeller
1608d0596d
Polishing
2016-11-11 16:48:43 +01:00
Juergen Hoeller
62631bfe33
Detect invalid configuration for autoGrowCollectionLimit on DataBinder
...
Issue: SPR-14888
2016-11-08 17:47:29 +01:00
Juergen Hoeller
7ffed858f0
ASM-generated class names get interned for better memory allocation
...
Issue: SPR-14886
(cherry picked from commit 3a29daa )
2016-11-08 17:47:14 +01:00
Spring Buildmaster
3a1334e0d4
Next Development Version
2016-11-07 21:35:52 +00:00
Juergen Hoeller
37f4f43726
Consistent 4.x style NoClassDefFoundError handling
...
Issue: SPR-14883
2016-11-07 19:13:00 +01:00
Juergen Hoeller
db1a84ede1
Polishing
2016-11-07 18:48:35 +01:00
Juergen Hoeller
3d2e4c338c
Refined throwing of BeanCreationExceptions (and reflection exceptions)
...
Issue: SPR-14883
2016-11-07 18:47:54 +01:00
Juergen Hoeller
b42d731fc8
Consistent throwing of BeanCreationExceptions (and reflection exceptions)
...
Issue: SPR-14883
2016-11-07 16:56:35 +01:00
Juergen Hoeller
fd7045adac
Polishing
...
(cherry picked from commit 9b57437 )
2016-11-07 13:02:50 +01:00
Juergen Hoeller
e26d3505f7
Upgrade to OkHttp 3.4.2 and Tiles 3.0.7
2016-11-04 14:55:37 +01:00
Juergen Hoeller
fe0249bf8f
Polishing
2016-11-04 13:37:06 +01:00
Juergen Hoeller
2ac682e125
Upgrade to Joda-Time 2.9.5
2016-11-04 13:30:25 +01:00
Juergen Hoeller
9be1710dca
@Async docs explicitly mention ListenableFuture and CompletableFuture
...
Issue: SPR-14881
(cherry picked from commit 8df45dd )
2016-11-04 13:30:11 +01:00
Juergen Hoeller
7e7504f5ea
Polishing
2016-11-03 23:20:33 +01:00
Juergen Hoeller
e83c11667f
ApplicationListenerDetector ignores non-managed bean instances
...
Issue: SPR-14879
(cherry picked from commit 8ae0bd6 )
2016-11-03 23:20:06 +01:00
Juergen Hoeller
05547979de
Polishing
...
Issue: SPR-14867
(cherry picked from commit a90e4b2 )
2016-11-03 14:54:15 +01:00
Juergen Hoeller
9e67ba83a5
Consistent support for early placeholder resolution in properties locations
...
Issue: SPR-10502
(cherry picked from commit 8053fef )
2016-11-03 14:53:46 +01:00
Juergen Hoeller
2bb3522bbb
ReloadableResourceBundleMessageSource sets file timestamp on merged holder
...
Issue: SPR-14583
(cherry picked from commit 03468fd )
2016-11-03 14:53:24 +01:00
Rossen Stoyanchev
8f4ec35697
Check SockJS session type
...
This commits adds a validation check whether the SockJS session type
matches the transport type and rejects requests for which they
don't match.
Issue: SPR-14867
2016-11-03 09:38:24 +02:00
Juergen Hoeller
17863dfbda
AnnotatedElementAdapter explicitly declares isAnnotationPresent method
...
Issue: SPR-14872
2016-11-02 14:41:11 +01:00
Juergen Hoeller
56bb20d489
Upgrade to HtmlUnit 2.23 and JSONAssert 1.4
2016-11-02 14:40:10 +01:00
Juergen Hoeller
5baf32cd81
Upgrade to Caffeine 2.3.4
2016-11-02 14:02:49 +01:00
Andy Clement
38cd1ecff4
Rework compilation of OpNE/OpEQ SpEL operators
...
For SPR-14863 we need to adjust the code generation for OpNE
to use !x.equals(y) rather than x!=y. There are also further
cases in the equalityCheck() code in Operator that were not
being handled in the compilation case (when comparators are
used for example). This latter issue also affects OpEQ.
Rather than add yet more bytecode generation, both OpNE and
OpEQ generateCode() methods have been simplified. The
generated code now delegates to equalityCheck() in Operator
which is exactly what the interpreted case does.
This ensures that the compiled code continues to behave just
like the interpreted case. It ensures changes to the interpreted
case are automatically picked up for the compiled case. It
makes the bytecode generation simpler.
The benefit of compilation of SpEL expressions is to avoid
slow reflective calls - that doesn't apply for a basic
(in)equality test so there is no need to go crazy in bytecode
gen.
Issue: SPR-14863
(cherry picked from commit 9000acd )
2016-11-02 12:40:24 +01:00
Juergen Hoeller
77e00f1926
Polishing
2016-10-31 20:40:46 +01:00
Juergen Hoeller
ade139f2d0
Polishing
...
(cherry picked from commit 45fc449 )
2016-10-31 19:29:04 +01:00
Juergen Hoeller
653f35a3d8
Upgrade to H2 1.4.193 and Derby 10.13.1.1
...
(cherry picked from commit eaf8078 )
2016-10-31 19:28:58 +01:00
Juergen Hoeller
baa7aecf60
Polishing
...
(cherry picked from commit 7f280a3 )
2016-10-31 12:40:44 +01:00
Juergen Hoeller
d859826be6
ASM-generated class names get interned for better memory allocation
...
Issue: SPR-14862
2016-10-31 11:56:34 +01:00
Juergen Hoeller
d759c96a98
Latest applicable dependency updates (Hibernate ORM 5.2.4, Gson 2.8, Guava 20)
2016-10-31 11:54:29 +01:00
Juergen Hoeller
7cbab0efe3
LocalSessionFactoryBean clears default MetadataSources on reinitialization
...
Issue: SPR-14815
2016-10-31 11:53:10 +01:00
Arjen Poutsma
b6b536682e
Make HttpComponentsAsyncClientHttpRequest abortable
...
This commit aborts the HttpComponentsAsyncClientHttpRequest whenever the
returned Future is canceled.
Issue: SPR-14845
(cherry picked from commit 8f84446 )
2016-10-31 11:51:26 +01:00
Juergen Hoeller
edf1df33cc
ObjectToObjectConverter properly handles constructors on non-public classes
...
Issue: SPR-14304
(cherry picked from commit 9659bc5 )
2016-10-31 11:51:05 +01:00
Juergen Hoeller
bf0df54136
Consistent instanceof/casting of Class references
...
(cherry picked from commit ac80ac6 )
2016-10-31 11:50:59 +01:00
Juergen Hoeller
7e80d2de79
Exceptions thrown from @ExceptionHandler methods logged at warn level (instead of debug)
...
Issue: SPR-14861
(cherry picked from commit 7627c38 )
2016-10-31 11:50:45 +01:00
Juergen Hoeller
144f687ee9
Polishing
...
(cherry picked from commit 2f9ed59 )
2016-10-31 11:50:36 +01:00
Juergen Hoeller
0ee8322947
Revised NoSuchBeanDefinitionException message and ResolvableType handling
...
Includes consistent quoting of qualified type names in related classes.
Issue: SPR-14831
(cherry picked from commit dc080cb )
2016-10-31 11:50:15 +01:00
Juergen Hoeller
997fb5fb48
DefaultListableBeanFactory allows early type matching against ScopedProxyFactoryBean
...
Issue: SPR-14816
(cherry picked from commit 3633244 )
2016-10-31 11:50:02 +01:00
Juergen Hoeller
2b459881bd
ApplicationListener detection for inner beans behind post-processors
...
Issue: SPR-14783
(cherry picked from commit c946924 )
2016-10-31 11:49:06 +01:00
Juergen Hoeller
e18e7eca47
No external locking for singleton advice/aspect beans
...
Issue: SPR-14324
(cherry picked from commit 5ac5ec1 )
2016-10-31 11:48:12 +01:00
Juergen Hoeller
1c80d2ac2f
Avoid deadlock between SockJS heartbeat and XHR polling
...
Issue: SPR-14833
(cherry picked from commit 72e1f7e )
2016-10-31 11:47:23 +01:00
Juergen Hoeller
62918ca779
TypeDescriptor supports merged annotation lookups (for composable formatting annotations)
...
Issue: SPR-14844
(cherry picked from commit bf9083d )
2016-10-31 11:46:30 +01:00
Juergen Hoeller
3cca57a801
Local merged annotation lookup in SpringCacheAnnotationParser
...
Issue: SPR-14781
Issue: SPR-14801
(cherry picked from commit 08972ef )
2016-10-31 11:45:35 +01:00
Juergen Hoeller
5578a2e46d
Test for multi-character delimiter
...
Issue: SPR-14808
(cherry picked from commit 71d8338 )
2016-10-31 11:45:01 +01:00
Juergen Hoeller
fe19cfde28
Tightened StringValueResolver contract
...
Issue: SPR-14842
(cherry picked from commit 20419d7 )
2016-10-31 11:44:46 +01:00
Juergen Hoeller
fbad637235
SimpleApplicationEventMulticaster just swallows event downcast exceptions
...
Issue: SPR-14846
(cherry picked from commit 13001b9 )
2016-10-31 11:44:26 +01:00
Juergen Hoeller
01e9307fb7
DataSourceTransactionManager triggers flush callbacks on registered transaction synchronizations
...
Issue: SPR-14847
(cherry picked from commit 2874066 )
2016-10-31 11:44:17 +01:00
Juergen Hoeller
5697cb6c95
AccessorLValue reliably downcasts to CompilablePropertyAccessor in concurrent scenarios
...
Issue: SPR-14850
(cherry picked from commit e2b1dcb )
2016-10-31 11:44:08 +01:00
Juergen Hoeller
05ff83f95a
ResourceHttpRequestHandler initializes PathExtensionContentNegotiationStrategy in afterPropertiesSet
...
Issue: SPR-14851
(cherry picked from commit b7d3a96 )
2016-10-31 11:43:57 +01:00
Stephane Nicoll
1e3012cb49
Allow to customize TestDispatcherServlet
...
This commit introduces the `DispatcherServletCustomizer` callback
interface that can be used to customize the `DispatcherServlet` that a
`MockMvc` is using.
Previously, only the `dispatchOptions` flag can be customized. This
commit allows to customize any property of `DispatcherServlet` before it
is initialized.
Issue: SPR-14277
2016-10-29 11:09:48 +02:00
Rossen Stoyanchev
45b8cf350e
Better handling for AsyncRequestTimeoutException
...
Avoid call to sendError when response is committed and log a short
error message instead.
Issue: SPR-14739
2016-10-28 17:41:48 +03:00
Stephane Nicoll
2c2c6f8e02
Fix broken build
...
This commit fixes the direct use of Java8 API
Issue: SPR-14853
2016-10-27 10:30:54 +02:00
Stephane Nicoll
4e3a6b9404
Polish
2016-10-27 10:01:51 +02:00
Stephane Nicoll
76bbccb4dc
Allow @Cacheable method to return Optional
...
This commit further refines 240f254 to also support java.util.Optional
for synchronized cache access (i.e. when the `sync` attribute on
`@Cacheable` is set to `true`).
Issue: SPR-14853
2016-10-27 10:00:34 +02:00
Stephane Nicoll
1c4433555a
Move NoOpCache to a top-level public class
...
This commit moves `NoOpCache` to a top-level public class to allow reuse
in custom CacheManager arrangement.
Issue: SPR-14856
2016-10-27 09:09:51 +02:00
Eric Jain
faaced1d86
Escape (( and )) to prevent asciidoc processing
...
See http://asciidoctor.org/docs/user-manual/#user-index
Closes gh-1225
2016-10-27 08:50:27 +02:00
Stephane Nicoll
1a1d17e13a
LiveBeansView does not rely on application contexts order anymore
...
This commit makes sure that the `unregister` order of registered
application contexts has no incidence on the removal of the LiveBeansView
MBean.
Rather than using the last application context's name to compute the
identity of the MBean to remove, the identity is stored when the MBean is
created.
This commit also adds missing tests.
Issue: SPR-14848
2016-10-26 15:03:44 +02:00
Stephane Nicoll
4254b6d0e2
Polish contribution
...
Closes gh-1203
2016-10-26 09:50:48 +02:00
Vitalii
a211c2a955
Fix javadoc syntax
...
See gh-1203
2016-10-26 09:50:36 +02:00
Stephane Nicoll
196200bcc0
Clarify SpEL usage on @EventListener
...
Issue: SPR-14812
2016-10-25 17:45:36 +02:00
Rossen Stoyanchev
c062835702
Respect ModelAndView.status in @ExceptionHandler
...
Issue: SPR-14006
2016-10-24 16:36:44 +01:00
Juergen Hoeller
664ef756c2
Latest dependency updates (EhCache 2.10.3, Jackson 2.8.4, Jetty 9.3.13, Netty 4.1.6)
2016-10-21 13:00:11 +02:00
Juergen Hoeller
9de28d640e
Polishing
...
(cherry picked from commit 3726c6f )
2016-10-21 12:59:59 +02:00
Juergen Hoeller
adb9dc7ede
ResolvableType equals/hashCode does not consider TypeProvider source
...
Issue: SPR-14826
(cherry picked from commit be187ba )
2016-10-21 12:59:54 +02:00
Juergen Hoeller
f9fcd24315
ConversionService detects generic type declaration on target class behind proxy as well
...
Issue: SPR-14822
(cherry picked from commit f7d740f )
2016-10-21 12:59:48 +02:00
Juergen Hoeller
6d95b999ad
DefaultTransactionAttribute stores descriptor (method identification)
...
Issue: SPR-14760
(cherry picked from commit 52b029d )
2016-10-21 12:59:43 +02:00
Sebastien Deleuze
6731e52280
Better encapsulation for CORS default permit configuration
...
This commit also improves CorsRegistration Javadoc.
Issue: SPR-14798
2016-10-20 17:06:12 +02:00
Rossen Stoyanchev
970358b2af
Relax generic type detection for ResponseEntity
...
Before this change the getHttpEntityType method in
HttpEntityMethodProcessor raised an ISE if the generic type cannot be
detected. That made sense for resolving a controller method argument
where the target body type is crucial. However for a return value
the generic type should not be required since we either have an
actual body or no body at all in which case it doesn't even matter.
This change relaxes the checks and defaults to Object.class for the
ResponseEntity generic type on the return value side.
Issue: SPR-14799
2016-10-13 13:59:13 -04:00
Juergen Hoeller
3d68950037
Upgrade to Tomcat 8.5.6 and JRuby 1.7.26
2016-10-12 17:52:36 +02:00
Juergen Hoeller
d50b2a4804
Documentation for InjectionPoint argument on @Bean method
...
Issue: SPR-14797
(cherry picked from commit 69116c2 )
2016-10-12 17:48:50 +02:00
Juergen Hoeller
29a946163b
Polishing
...
(cherry picked from commit eafaaa5 )
2016-10-12 17:48:33 +02:00
Juergen Hoeller
9472025da7
BindingResult does not hold on to ConversionService when serialized in session
...
Issue: SPR-8282
(cherry picked from commit 74b6a5b )
2016-10-12 17:48:08 +02:00
Juergen Hoeller
f5cd5387da
StompSubProtocolHandler does not insist on SimpMessageHeaderAccessor
...
Issue: SPR-14791
(cherry picked from commit 66722af )
2016-10-12 17:47:58 +02:00
Stephane Nicoll
7a8bf8e9a5
Polish EnableAsync javadoc
...
Issue: SPR-14793
(cherry picked from commit ab232a5 )
2016-10-12 17:47:28 +02:00
Sebastien Deleuze
f5ecdda400
Remove duplicated elements in CorsConfiguration#combine()
...
Issue: SPR-14792
2016-10-11 10:53:33 +02:00
Sebastien Deleuze
c2031aa651
Polish CorsConfigurationTests
2016-10-11 10:41:14 +02:00
Brian Clozel
8751c9931e
Fix NumberFormatException with X-Forwarded-Host
...
This commit fixes `NumberFormatException`s that were thrown when parsing
IPv6 host values in `X-Forwarded-Host` request headers.
Issue: SPR-14761
(cherry picked from ea5ff87f8e )
2016-10-07 23:19:01 +02:00
Brian Clozel
adbf9922f4
Configure default SSL context in Netty RequestFactory
...
This commit configures a default SslContext if none has been provided.
This also enforces separate Netty bootstrap instances for cleartext and
TLS exchanges.
Issue: SPR-14744
(cherry picked from 53441f8 )
2016-10-06 16:50:27 +02:00
Stephane Nicoll
b3a1e5f9e9
Fix table layout
2016-10-06 15:27:25 +02:00
Juergen Hoeller
22f70f9ac9
Upgrade to EhCache 3.1.3 and Hibernate ORM 5.2.3
2016-10-06 00:16:29 +02:00
Juergen Hoeller
d2079f32d8
SpringValidatorAdapter declares ResolvableAttribute as serializable
...
Issue: SPR-14778
(cherry picked from commit ebed7b7 )
2016-10-06 00:16:00 +02:00
Juergen Hoeller
f2ac416f66
Consistent final logger fields
...
(cherry picked from commit cfa0f6c )
2016-10-06 00:15:45 +02:00
Juergen Hoeller
642fbfba9f
@Lookup reference documentation
...
Issue: SPR-14765
(cherry picked from commit 684d6ab )
2016-10-06 00:15:38 +02:00
Brian Clozel
c98cdd4f4c
Fix missing ETag/LastModified headers in responses
...
Prior to this commit, the `HttpEntityMethodProcessor` would avoid
writing ETag/Last-Modified response headers before calling
`ServletWebRequest` to process conditional requests. This was done to
avoid duplicate response header values due to headers being already
written to the underlying servlet response.
This is still necessary for GET/HEAD requests, since this is properly
handled by `ServletWebRequest` for those cases. But
`HttpEntityMethodProcessor` should not make that decision for
PUT/PATCH/POST responses since developers are adding response headers on
purpose and should be in control of the situation — whereas
`ServletWebRequest` does not write those headers in those cases.
Issue: SPR-14767
Cherry-picked from: ee17f5662
2016-10-04 13:54:02 +02:00
Juergen Hoeller
d04567b99c
Polishing
2016-09-26 18:19:04 +02:00
Juergen Hoeller
f2e1e1b890
Efficient STOMP content-length header check
...
Issue: SPR-14747
(cherry picked from commit a6b0b6e )
2016-09-26 17:30:45 +02:00
Juergen Hoeller
6c764f6b8a
StompEncoder performance improvement plus related polishing
...
Issue: SPR-14747
2016-09-26 16:33:29 +02:00
Juergen Hoeller
49929f1e56
Clarified that getResource never returns null
...
(cherry picked from commit 36f7c7a )
2016-09-26 16:21:44 +02:00
Juergen Hoeller
acdf139137
DefaultPersistenceUnitManager extracts jar file from default persistence unit root URL
...
Issue: SPR-14749
(cherry picked from commit bb7d207 )
2016-09-26 16:21:33 +02:00
Juergen Hoeller
3346c594e4
YamlPropertiesFactoryBean consistently exposes String values
...
Issue: SPR-14737
(cherry picked from commit 74c6188 )
2016-09-26 16:21:03 +02:00
Juergen Hoeller
0bb2cfe440
Latest dependency updates (Jackson 2.8.3, JavaMail 1.5.6, Jetty 9.3.12, Undertow 1.3.25)
2016-09-22 14:25:44 +02:00
Josh Long
11573b4ea4
fix spelling of word 'recommendation'
...
this PR fixes the spelling error for the word 'recommendation'
(cherry picked from commit 9b87ea0 )
2016-09-22 14:25:25 +02:00
Spring Buildmaster
5934959b62
Next Development Version
2016-09-19 15:11:46 +00:00
Rossen Stoyanchev
81f6c22e51
Reset connection before delegating to handler
...
Resetting the connection first before invoking a failure callback on
the application handler ensures that any checks to isConnected will
return false.
Issue: SPR-14721
2016-09-19 09:06:11 -04:00
Stephane Nicoll
78a8245f4a
Polish
2016-09-19 15:04:52 +02:00
Krzysztof Kosmatka
049861afb4
Documentation formatting fix
...
Removed unnecessary quotation marks that caused improper rendering
of in-line code.
Closes gh-1180
2016-09-19 15:04:39 +02:00
Krzysztof Kosmatka
3df7083f69
Add missing quotation mark
...
Closes gh-1181
2016-09-19 15:04:31 +02:00
Juergen Hoeller
ca17edd5ac
Revised checkResource implementation
...
Issue: SPR-14729
2016-09-18 21:04:37 +02:00
Sam Brannen
c26bf871b7
Clean up warnings related to forthcoming removals in Tomcat 9
...
(cherry picked from commit b521aa8 )
2016-09-18 21:04:29 +02:00
Sam Brannen
15d3e8c3e1
Introduce 'value' alias for @Bean's 'name' attribute
...
In order to simplify configuration for use cases involving @Bean where
only a bean name or aliases are supplied as an attribute, this commit
introduces a new 'value' attribute that is an @AliasFor 'name' in @Bean.
Issue: SPR-14728
(cherry picked from commit 8f62b63 )
2016-09-18 21:04:25 +02:00
Brian Clozel
66b370e103
Check template availability in ScriptTemplateView
...
This commit overrides the `checkResource` implementation in
`ScriptTemplateView` in order to check if the template file resource is
available and if the resolver can then proceed with rendering the
template.
Issue: SPR-14729
Cherry-picked from: 97c9b05c15
2016-09-17 22:30:29 +02:00
Juergen Hoeller
2bbfbb1d50
What's New updated for significant refinements in 4.3.3
2016-09-16 14:31:53 +02:00
Juergen Hoeller
ace25d4987
Polishing
...
(cherry picked from commit ed19dc7 )
2016-09-16 14:30:41 +02:00
Juergen Hoeller
59cb9a4e60
Latest dependency updates (EhCache 3.1.2, Caffeine 2.3.3, Rome 1.7, Woodstox 5.0.3, Jettison 1.3.8)
2016-09-16 11:02:22 +02:00
Stephane Nicoll
0dce570157
Add Qualified element on RootBeanDefinition
...
Improve RootBeanDefinition to specify an AnnotatedElement that holds
qualifier information. When such element is present, any qualifier that
it defines will be used to find a matching candidate.
Issue: SPR-14725
(cherry picked from commit 2b0bf9f )
2016-09-16 11:02:03 +02:00
Juergen Hoeller
7ddaf49eb2
StringUtils.parseLocaleString accepts Java 7 variants
...
Issue: SPR-14718
(cherry picked from commit f24ce76 )
2016-09-16 10:58:51 +02:00
Juergen Hoeller
e947363a11
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
(cherry picked from commit 6dc1898 )
2016-09-15 09:05:14 +02:00
Rossen Stoyanchev
5dbfe48d24
Improve async request timeout handling
...
Rather than setting the status to 503 directly from the timeout
interceptor which no longer seems to work reliably with Servlet
containers like Jetty even performing an additional ERROR dispatch back
to the original URL, we know rather set the DeferredResult to an
AsyncTimeoutException, which results in a dispatch and standard
handling within Spring MVC. This should be a more reliable way of
dealing with timeouts.
Issue: SPR-14669
2016-09-14 21:31:30 -04:00
Rossen Stoyanchev
07d5f8b123
Check both connection and connected flag
...
Issue: SPR-14703
2016-09-14 17:23:36 -04:00
kosmaty
be99603f1b
Fix doc style
...
Closes gh-1172
2016-09-14 11:08:29 +02:00
Juergen Hoeller
54db496815
Polishing
...
(cherry picked from commit 404e7cd )
2016-09-13 23:43:58 +02:00
Juergen Hoeller
fbe7ddb640
PropertySourcesPropertyResolver does not log retrieved value by default
...
Issue: SPR-14709
2016-09-13 23:43:52 +02:00
Juergen Hoeller
55c37d2a57
Upgrade to Tomcat 8.5.5
2016-09-13 22:34:19 +02:00
Juergen Hoeller
4b445531f5
HibernateExceptionTranslator avoids JPA IllegalState/ArgumentException translation
...
Issue: SPR-14681
2016-09-13 22:32:57 +02:00
Juergen Hoeller
12afc263a4
HibernateTemplate reflectively calls getNamedQuery (for runtime compatibility with Hibernate 5.0/5.1 vs 5.2)
...
Issue: SPR-14676
2016-09-13 22:32:36 +02:00
Juergen Hoeller
040d131284
Polishing
...
(cherry picked from commit ce42ed4 )
2016-09-13 22:31:47 +02:00
Juergen Hoeller
73bbe0849a
Revised IllegalArgumentException handling for Formatter parse calls
...
Issue: SPR-14661
(cherry picked from commit c69e6a3 )
2016-09-13 22:31:01 +02:00
Juergen Hoeller
09a0615df0
Consistent callbacks for TypeFilters, ImportSelectors and ImportBeanDefinitionRegistrars
...
Issue: SPR-14686
(cherry picked from commit 0c2e8a6 )
2016-09-13 22:30:29 +02:00
Juergen Hoeller
669d5815c9
Configuration class processing uses MetadataReaderFactory for current ResourceLoader
...
Issue: SPR-14684
(cherry picked from commit 5405c07 )
2016-09-13 22:30:12 +02:00
Juergen Hoeller
bd24b97bd3
IdentityHashMap for scheduled tasks (avoiding hashCode calls on bean instances)
...
Issue: SPR-14666
(cherry picked from commit 480cd2c )
2016-09-13 22:29:59 +02:00
Juergen Hoeller
db196ce5d8
Correct ISO DateTime example
...
Issue: SPR-14675
(cherry picked from commit d5c9cc6 )
2016-09-13 22:28:28 +02:00
Juergen Hoeller
4396b211ce
Avoid outdated Tibco workaround in shouldCommitAfterNoMessageReceived
...
Issue: SPR-14697
(cherry picked from commit edbc1e9 )
2016-09-13 22:28:07 +02:00
Juergen Hoeller
367949e914
PropertyValue stores source object in common superclass field
...
Issue: SPR-8337
(cherry picked from commit fa820bc )
2016-09-13 22:27:17 +02:00
Juergen Hoeller
ae2bbe7f19
MappingJackson2MessageConverter adds message id and destination to type resolution exception
...
Issue: SPR-14672
(cherry picked from commit 8c56606 )
2016-09-13 22:26:37 +02:00
nkjackzhang
819e14f91b
Fix typo
...
There is no attribute named `path` in `@RequestParam`, so I change it to
`name`.
Closes gh-1165
2016-09-10 07:49:48 +02:00
Brian Clozel
fcf3ccba98
Fix default encoding in CONTRIBUTING documentation
...
Sources should be using UTF-8.
Issue: SPR-14674
Cherry-picked from: d1f60e3de1
2016-09-07 10:48:16 +02:00
nkjackzhang
558a10b54f
Fix typo
...
Closes gh-1158
2016-09-07 09:38:00 +02:00
Brian Clozel
43c60a02f7
Fix response status check in ServletWrbRequest
...
Issue: SPR-14659
2016-09-06 19:13:03 +02:00
Brian Clozel
6501bc5d32
Align MVC checkNotModified with reactive support
...
Since SPR-14522, the web reactive framework supports checkNotModified
features. This commit aligns the existing MVC infrastructure with
web reactive's behavior.
Code duplication has been removed from `HttpEntityMethodProcessor`
but the Servlet 2.5 baseline is still respected.
Issue: SPR-14659
Cherry-picked from: cc5300c4d5
2016-09-06 18:17:47 +02:00
Brian Clozel
f3dae0c9ad
Mention AntPathMatcher regexp support
...
This commit documents the regexp support in `AntPathMatcher` when
matching for URL patterns. This support is also mentioned in places
where developers can register patterns for ViewControllers or resource
handlers.
Issue: SPR-14652
Cherry-picked from: a8ba065a6e
2016-09-02 11:40:11 +02:00
sylvainlaurent
dc2cafc888
Fix class literal in instanceof
...
Closes gh-1151
2016-09-01 16:23:32 +02:00
Juergen Hoeller
49fc4923be
Upgrade to JSR-354 API 1.0.1 and Jackson 2.8 javadocs
2016-09-01 12:56:25 +02:00
Juergen Hoeller
efb5f17a60
Documentation updates around configuration classes
...
(cherry picked from commit aff914c )
2016-09-01 12:52:11 +02:00
Juergen Hoeller
086e764845
ResolvableType.java.forRawClass(Class) supports isAssignableFrom(ResolvableType) as well
...
Issue: SPR-14648
(cherry picked from commit 1a30252 )
2016-08-31 14:57:27 +02:00
Juergen Hoeller
c30290b43c
@PathVariable supports 'required' attribute (for model attribute methods)
...
Issue: SPR-14646
(cherry picked from commit e08b1b7 )
2016-08-31 14:57:21 +02:00
Brian Clozel
d26421fe3b
Fix missing ResourceHttpRequestHandler init in registry
...
Issue: SPR-14577
Cherry-picked from: 7a88776329
2016-08-31 10:47:18 +02:00
Juergen Hoeller
37670924f6
Polishing
2016-08-31 01:53:03 +02:00
Juergen Hoeller
ee5143b54b
Upgrade to Jackson 2.8.2 and Netty 4.1.5
2016-08-31 00:45:34 +02:00
Juergen Hoeller
acbb2544bf
Polishing
...
(cherry picked from commit 4ef428d )
2016-08-31 00:45:25 +02:00
Juergen Hoeller
d8f7347000
Consistent comma splitting without regex overhead
...
Issue: SPR-14635
(cherry picked from commit 03609c1 )
2016-08-31 00:44:52 +02:00
Juergen Hoeller
3b91dec462
ApplicationListenerMethodAdapter resolves order on construction
...
Issue: SPR-14642
(cherry picked from commit 58fa63f )
2016-08-31 00:44:43 +02:00
Juergen Hoeller
05f74b4218
CommonsMultipartResolver explicitly converts FileSizeLimitExceededException
...
Issue: SPR-14638
(cherry picked from commit 58ffca7 )
2016-08-31 00:44:19 +02:00
Juergen Hoeller
8e98177fb3
Avoid collection lookups in StompCommand
...
Issue: SPR-14636
(cherry picked from commit 899ebd8 )
2016-08-31 00:44:14 +02:00
Rossen Stoyanchev
815a3ad0de
Relax ServletContext check for resource handling
...
This is a follow-up on commit fe4046 relaxing the expectation that a
ServletContext is present. Instead we check defensively and fall back
on PathExtensionContentNegotiationStrategy which can use JAF.
Issue: SPR-14577
2016-08-30 12:57:35 -04:00
Rossen Stoyanchev
5075dd4dfa
Harden synchronization around SockJS heartbeats
...
Create an explicit heartbeat task with an experiration flag so that
it can be cancelled reliably vs relying on the ScheduledFutureTask
cancel method which may return true even if the task is already
running.
Issue: SPR-14356
2016-08-30 09:20:07 -04:00
Rossen Stoyanchev
ca09dcbe89
Polish media type change in ResourceHttpRequestHandler
2016-08-29 19:48:06 -04:00
Rossen Stoyanchev
198a74d793
Support receipt on DISCONNECT with simple broker
...
Issue: SPR-14568
2016-08-29 18:30:17 -04:00
Rossen Stoyanchev
fe404628e9
Fix media type regression in resource handling
...
Issue: SPR-14577
2016-08-29 16:39:07 -04:00
Juergen Hoeller
5a004c3b2a
LiveBeansView exposes aliases as well
...
Issue: SPR-14632
(cherry picked from commit 57cb7c7 )
2016-08-26 20:18:39 +02:00
Juergen Hoeller
430180aa96
Polishing
2016-08-26 18:33:13 +02:00
Juergen Hoeller
e828be96f0
Polishing
2016-08-26 17:29:16 +02:00
Juergen Hoeller
52447efb97
Avoid getParameterType use with Oracle 12c driver by default
...
Issue: SPR-14629
Issue: SPR-14574
Issue: SPR-14191
2016-08-26 17:29:00 +02:00
Rossen Stoyanchev
d09b0fe83a
Support target type in JsonPath assertions
...
This change adds support for a target type in JsonPath assertions in
Spring MVC Test.
The existing assertValue(String expression, Object expectedValue)
transparently falls back on using an alternative JsonPath API that
allows specifying the target type to coerce to.
There is also a new overloaded method
assertValue(String expression, Matcher<T> matcher, Class<T> targetType)
for use with Hamcrest matchers where the target type can be specified.
Issue: SPR-14498
(cherry picked from commit 7fdb892 )
2016-08-26 17:28:37 +02:00
Brian Clozel
798d8668a4
Fix server errors for invalid If-None-Match request headers
...
HttpEntityMethodProcessor should not throw IllegalArgumentExceptions for
invalid If-None-Match headers.
For those cases, this commit makes sure that both
`HttpEntityMethodProcessor` and `ServletWebRequest` have a consistent
behavior and stop processing the request as conditional and leave the
handler handle it.
Issue: SPR-14559
2016-08-26 15:33:02 +02:00
Juergen Hoeller
2a82b8fed9
Consistent use of Charset.forName over JDK 7 StandardCharsets in 4.x line
2016-08-26 13:11:39 +02:00
Juergen Hoeller
696f687419
Moved encodeHttpHeaderFieldParam method to HttpHeaders itself (including tests)
...
This commit also sets the test source encoding to UTF-8.
Issue: SPR-14547
(cherry picked from commit a8f7f75 )
2016-08-26 12:55:34 +02:00
Brian Clozel
9b91b9db8c
Add RFC5987 support for HTTP header field params
...
This commit adds support for HTTP header field parameters encoding, as
described in RFC5987.
Note that the default implementation still relies on US-ASCII encoding,
as the latest rfc7230 Section 3.2.4 says that:
> Newly defined header fields SHOULD limit their field values to
US-ASCII octets
Issue: SPR-14547
Cherry-picked from: f2faf84f31
2016-08-25 14:39:07 +02:00
Juergen Hoeller
026473280b
Polishing
2016-08-25 00:10:06 +02:00
Juergen Hoeller
a7849b2861
DefaultListableBeanFactory does not trigger early candidate creation ahead of primary bean selection
...
Issue: SPR-14611
(cherry picked from commit c4fcdb6 )
2016-08-24 23:37:59 +02:00
Juergen Hoeller
74bf659c56
GenericApplicationContext picks up ClassLoader from custom ResourceLoader
...
Issue: SPR-14626
(cherry picked from commit 405e74b )
2016-08-24 23:36:33 +02:00
Juergen Hoeller
c2feedb7a2
Revised assertions in StompHeaderAccessor
...
Issue: SPR-14625
(cherry picked from commit f3f691c )
2016-08-24 23:36:23 +02:00
Juergen Hoeller
0735e9ba98
Avoid unnecessary String concatenation in StompSubProtocolHandler
...
Issue: SPR-14624
(cherry picked from commit 56b197b )
2016-08-24 23:36:13 +02:00
Juergen Hoeller
ab686732d0
Refined exception message
...
Issue: SPR-14609
2016-08-24 15:05:43 +02:00
Juergen Hoeller
6d86437369
TransactionAspectSupport stores given PlatformTransactionManager instance as strong reference
...
Issue: SPR-14609
(cherry picked from commit 951ac5e )
2016-08-24 14:39:19 +02:00
Juergen Hoeller
184285ab27
Polishing
2016-08-24 13:01:54 +02:00
Juergen Hoeller
1e8065d040
Unit test for empty Access-Control-Request-Headers (Chrome 52)
...
Includes optimized method/header resolution in CorsConfiguration.
Issue: SPR-14617
(cherry picked from commit d047174 )
2016-08-24 11:53:44 +02:00
Juergen Hoeller
f735d12247
UnsatisfiedDependencyException avoids duplicate nested exception message
...
Issue: SPR-14607
(cherry picked from commit 93d2287 )
2016-08-24 11:53:36 +02:00
Juergen Hoeller
7135bc2dc2
Reintroduced MessageMethodArgumentResolver default constructor
...
Issue: SPR-14616
(cherry picked from commit c4fff6d )
2016-08-24 11:53:30 +02:00
Stephane Nicoll
9044706796
Remove reference to PayloadApplicationEvent
...
Issue: SPR-14594
2016-08-19 14:22:52 +02:00
Stephane Nicoll
5f68da3153
Document support for @ManagedBean
...
Issue: SPR-14600
2016-08-19 13:53:07 +02:00
Juergen Hoeller
5222489a01
Various @since tags (and varargs on setInterceptors)
...
(cherry picked from commit aac0e63 )
2016-08-18 12:40:22 +02:00
Juergen Hoeller
27f830f345
Polishing
2016-08-18 10:28:31 +02:00
Juergen Hoeller
8d7db8e450
DelegatingWebMvcConfiguration properly delegates extendHandlerExceptionResolvers
...
Also fixes the declared visibility of configurePathMatch and configureAsyncSupport.
Issue: SPR-14599
(cherry picked from commit d2e3a1a )
2016-08-18 09:53:15 +02:00
Juergen Hoeller
da56758054
Updated note on CompilationCustomizer and CompilerConfiguration
...
Issue: SPR-14585
2016-08-17 22:31:13 +02:00
Juergen Hoeller
66dcc4b6db
Upgrade to Caffeine 2.3.2
2016-08-17 22:29:21 +02:00
Juergen Hoeller
6eab5622c7
Renamed setDefaultPersistenceUnitRootLocation to setPersistenceUnitRootLocation
...
(cherry picked from commit f1ab37c )
2016-08-17 22:18:19 +02:00
Juergen Hoeller
af53f3d6cf
Upgrade to Gradle 2.14.1
...
Issue: SPR-14570
2016-08-17 21:35:32 +02:00
Juergen Hoeller
188e5327ee
Removed duplicate NoHandlerFoundException entry
...
Issue: SPR-14598
(cherry picked from commit e9f48a4 )
2016-08-17 21:30:41 +02:00
Juergen Hoeller
1932a9d729
Polishing
...
(cherry picked from commit de91b1a )
2016-08-17 21:30:30 +02:00
Juergen Hoeller
c926ec477a
Polishing
2016-08-17 17:47:14 +02:00
Juergen Hoeller
7b11fa18a1
Revised NoSuchBeanDefinitionException message for proper array class names
...
Issue: SPR-14595
(cherry picked from commit 022b013 )
2016-08-17 17:47:14 +02:00
Juergen Hoeller
e6cefdca25
RootBeanDefinition accepts ResolvableType for target type hint
...
Issue: SPR-14580
(cherry picked from commit 4b06b60 )
2016-08-17 17:47:14 +02:00
Juergen Hoeller
fbeff475b3
Consistent support for CompilationCustomizers as well as custom CompilerConfiguration
...
Issue: SPR-14585
(cherry picked from commit 6a0d9d3 )
2016-08-17 17:47:14 +02:00
Stephane Nicoll
d057099c17
Add setter for defaultPersistenceUnitRootLocation
...
This commit adds a setter for the default persistence unit's
defaultPersistenceUnitRootLocation attribute.
2016-08-17 17:41:47 +02:00
Stephane Nicoll
411700d7e6
Clarify use of Ehcache
...
Since we have a dedicated section regarding Ehcache that is only
applicable to Ehcache 2.x, this commit clarifies that Ehcache 3.x is
JSR-107 compliant and the JCache support should be used with it
rather than attempting to configure the Ehcache 2.x support.
2016-08-16 14:03:26 +02:00
Stephane Nicoll
b4e9d918f2
Better document #result semantic
...
Commit 240f254 has introduced support for `java.util.Optional` in the
cache abstraction. If such type is present, the contained value is cached
if it is present.
This new feature slightly changed the semantic of `#result` that was
documented up till this commit as the "return value of the method
invocation". This is no longer true as `#result` for `Optional<T>`
refers to the `T` instance and not the `Optional` instance.
This commit clarifies both the javadoc and the documentation.
Issue: SPR-14587
2016-08-16 13:45:46 +02:00
Igor Mukhin
2756c364d2
Add aditional example to CronSequenceGenerator
...
CronSequenceGenerator supports comma separated expressions but does not
provide an example for it. This commit adds such an example.
Closes gh-1132
2016-08-16 11:43:15 +02:00
Rob Winch
43faabd4cc
Fix HtmlUnitRequestBuilder merge
...
Previously invoking HtmlUnitRequestBuilder merge caused the pathInfo of
the parent to be corrupted. This could additional invocations with the
same parent.
This fix ensures that the parent is no longer directly used. Instead,
we create a copy of the parent by merging the parent that was passed in
with the copy.
Fixes SPR-14584
2016-08-12 20:49:48 -05:00
Juergen Hoeller
a4a71a8904
Polishing
2016-08-11 23:45:50 +02:00
Juergen Hoeller
e23ac031ff
Avoid stack overflow in case of chained factory-bean references to FactoryBean class
...
Issue: SPR-14551
(cherry picked from commit 8b5d355 )
2016-08-11 23:25:41 +02:00
Juergen Hoeller
79a56967a1
PersistenceAnnotationBeanPostProcessor obtains default EntityManagerFactory via getBean(Class) algorithm
...
Issue: SPR-7549
(cherry picked from commit 6157fad )
2016-08-11 23:25:35 +02:00
Juergen Hoeller
0bc0453700
Polishing
2016-08-10 16:59:22 +02:00
Juergen Hoeller
35e247aa26
Polishing
2016-08-10 16:21:35 +02:00
Juergen Hoeller
67ba187b6f
Polishing
...
(cherry picked from commit 59a24b4 )
2016-08-10 14:57:50 +02:00
Juergen Hoeller
67f0b1986c
Consistent spelling for StandaloneMockMvcBuilder's addPlaceholderValue
...
(cherry picked from commit a4b6682 )
2016-08-10 14:57:43 +02:00
Stephane Nicoll
60e0177d00
Fix typo
...
See gh-1129
2016-08-10 10:46:43 +02:00
Juergen Hoeller
4543a28e51
MethodBasedEvaluationContext reliably exposes varargs
...
Issue: SPR-14554
(cherry picked from commit fae503d )
2016-08-09 21:31:29 +02:00
Juergen Hoeller
aade2d1ec9
Polishing
...
(cherry picked from commit 9475c06 )
2016-08-09 12:37:07 +02:00
Juergen Hoeller
4627545a3b
Polishing
...
(cherry picked from commit eae079a )
2016-08-09 11:03:51 +02:00
Juergen Hoeller
e2ba7c9b8c
MockClientHttpResponse closes body stream on close()
...
Issue: SPR-14563
(cherry picked from commit 47e9360 )
2016-08-09 11:03:46 +02:00
Juergen Hoeller
6f5596ac5c
Upgrade to Hibernate ORM 5.2.2 and Undertow 1.3.24
2016-08-08 16:07:34 +02:00
Juergen Hoeller
7d1c2f191a
Consistent default connection release mode with Hibernate 5.1
...
Issue: SPR-14548
2016-08-08 14:27:24 +02:00
Juergen Hoeller
4ada571384
PathEditor tries file system path in case of non-existing resource
...
Issue: SPR-14549
(cherry picked from commit d69afaa )
2016-08-08 14:22:46 +02:00
Juergen Hoeller
ad8ebbaa05
Test injection for @Lookup-declaring bean
...
Issue: SPR-14550
(cherry picked from commit d128830 )
2016-08-08 14:22:42 +02:00
Stephane Nicoll
4854989db4
Polish Javadoc
...
Issue: SPR-14552
2016-08-06 17:17:25 +02:00
Sebastien Deleuze
7c5050cf80
Prevent StackOverflowError in AbstractJackson2HttpMessageConverter
...
Issue: SPR-14520
2016-08-04 11:28:20 -07:00
Spring Buildmaster
14ae8be547
Next Development Version
2016-07-28 08:26:01 +00:00
Juergen Hoeller
ff878ea9dc
ConfigurationClassParser uses unified ImportStack with chained import analysis
...
Issue: SPR-14517
(cherry picked from commit d96a66a )
2016-07-28 00:13:05 +02:00
Juergen Hoeller
7021a4be44
JndiPropertySource defensively skips invalid JNDI lookup for property name with colon in resource-ref mode
...
Issue: SPR-14518
(cherry picked from commit 328e04f )
2016-07-28 00:12:50 +02:00
Juergen Hoeller
5c4737c3d0
Upgrade to Netty 4.1.4
2016-07-27 16:49:37 +02:00
Juergen Hoeller
fbf3807af1
Polishing
...
(cherry picked from commit 5db4495 )
2016-07-27 16:49:18 +02:00
Juergen Hoeller
703c37ec88
Isolated circular import detection for scanned configuration classes
...
Issue: SPR-14517
(cherry picked from commit 316244d )
2016-07-27 16:49:04 +02:00
Juergen Hoeller
96440878bb
Polishing
2016-07-27 13:00:30 +02:00
Juergen Hoeller
b5c11ffb1c
Expose DefaultSubscriptionRegistry's cache limit through SimpleBrokerMessageHandler and MessageBrokerRegistry
...
Issue: SPR-14516
(cherry picked from commit 6d5af60 )
2016-07-27 12:34:28 +02:00
Juergen Hoeller
7f5b323d50
Upgrade to Jetty 9.3.11 (includes fixed Quartz javadoc URL)
2016-07-26 22:19:56 +02:00
Juergen Hoeller
67176e2b75
TransactionAspectSupport avoids hard references to transaction manager beans
...
Issue: SPR-14511
(cherry picked from commit 02374d7 )
2016-07-26 21:46:49 +02:00
Juergen Hoeller
79f3cf3263
Build against Undertow 1.3.x in 4.3.x branch (retaining runtime compatibility Undertow 1.4)
...
Issue: SPR-14328
2016-07-26 10:08:06 +02:00
Juergen Hoeller
9ee1dc79fd
Deprecate JpaSystemException(PersistenceException) constructor to prepare for removal in Spring 5
...
Issue: SPR-13827
2016-07-26 01:29:51 +02:00
Juergen Hoeller
9e2c34dfa6
Fixed ConcurrentMap declaration
...
(cherry picked from commit 23135b1 )
2016-07-26 00:28:40 +02:00
Juergen Hoeller
cc93c2a559
Polishing
2016-07-26 00:03:21 +02:00
Juergen Hoeller
15c7044c4d
Upgrade to EhCache 3.1.1 and OkHttp 3.4.1
2016-07-25 15:20:08 +02:00
Juergen Hoeller
0ef80d3579
JasperReportsMultiFormatViewTests does not check for CUSTOM_COMPILATION anymore
...
Issue: SPR-10423
2016-07-25 15:19:50 +02:00
Juergen Hoeller
95c2e0a996
Upgrade JiBX (and BCEL) towards support of 1.8 bytecode level
...
This commit also drops the now-unused CUSTOM_COMPILATION test group and the outdated JavaVersion class.
Issue: SPR-10423
(cherry picked from commit 01110f6 )
2016-07-25 14:58:43 +02:00
Juergen Hoeller
da3e8611e1
Upgrade JiBX (and BCEL) towards support of 1.8 bytecode level
...
Issue: SPR-10423
2016-07-25 13:08:46 +02:00
Juergen Hoeller
64595597f3
LinkedCaseInsensitiveMap properly overrides HashMap.clone()
...
Issue: SPR-14509
(cherry picked from commit dd65f7a )
2016-07-25 12:14:51 +02:00
Juergen Hoeller
82f2983cd4
Consistent throwing of BeanNotOfRequiredTypeException even for existing proxy
...
Issue: SPR-14504
(cherry picked from commit 4a85309 )
2016-07-24 15:47:06 +02:00
Juergen Hoeller
9451177c35
Polishing
...
(cherry picked from commit 382a931 )
2016-07-22 22:45:14 +02:00
Juergen Hoeller
9ed087d5da
Consistent support for multiple Accept headers
...
Issue: SPR-14506
(cherry picked from commit e59a599 )
2016-07-22 22:45:04 +02:00
Juergen Hoeller
77f22e9674
DataSource adapters expose setCatalog/setSchema next to setUsername/setPassword
...
Issue: SPR-14501
(cherry picked from commit 610bdf1 )
2016-07-21 14:13:37 +02:00
Juergen Hoeller
8ccfdbbcf9
ResourcePatternUtils.getResourcePatternResolver actually accepts null argument
...
Issue: SPR-14500
(cherry picked from commit e756a5b )
2016-07-21 14:09:32 +02:00
Juergen Hoeller
5a92aa4e06
Polishing
...
(cherry picked from commit a39276a )
2016-07-20 23:23:30 +02:00
Juergen Hoeller
7b1010cf61
Polishing
2016-07-20 22:31:45 +02:00
Juergen Hoeller
45b2f5bac4
Upgrade to Jackson 2.8.1
2016-07-20 22:31:25 +02:00
Juergen Hoeller
36e1c82ef5
Backported refinements and polishing
2016-07-20 21:46:25 +02:00
Juergen Hoeller
503d65d570
Avoid JDK proxy against CGLIB Factory interface and assert required type when resolving dependency
...
Issue: SPR-14478
(cherry picked from commit 0e3f0bd )
2016-07-20 21:45:41 +02:00
Juergen Hoeller
fe17f8da41
BeanWrapperImpl.setBeanInstance correctly exposes root object
...
Issue: SPR-14474
(cherry picked from commit 938b56c )
2016-07-20 21:44:46 +02:00
Juergen Hoeller
b583aa1579
Avoid dependency on WebUtils for extracting file extension
...
Issue: SPR-14479
(cherry picked from commit adc595b )
2016-07-20 21:44:37 +02:00
Juergen Hoeller
e0d81b97bb
SerializableTypeWrapper reobtains type accessors from declaring interface
...
Issue: SPR-14487
(cherry picked from commit 8580483 )
2016-07-20 21:41:42 +02:00
Juergen Hoeller
90752f9d87
Deprecate mock.staticmock package
...
Issue: SPR-14485
2016-07-20 21:41:30 +02:00
Juergen Hoeller
3663aa675a
GenericSqlQuery configured with RowMapper instance
...
Issue: SPR-14489
(cherry picked from commit 7287bae )
2016-07-20 21:40:48 +02:00
Juergen Hoeller
1ca4b81856
Reinstated tests for implicit aliases
...
Issue: SPR-14437
(cherry picked from commit 5ea8c26 )
2016-07-20 21:40:33 +02:00
Juergen Hoeller
4e7e06f549
Reliably pass CurrentTenantIdentifierResolver to SessionFactory
...
Issue: SPR-14476
2016-07-20 21:40:26 +02:00
Sebastien Deleuze
b2f0bdb0f4
Polishing
...
Issue: SPR-14470
2016-07-20 09:16:50 +02:00
Rossen Stoyanchev
d98bd34200
Remove isAsyncStarted assertion
...
Issue: SPR-14444
2016-07-19 16:44:46 -04:00
Sebastien Deleuze
940bdd878e
Fix ParameterizedType + contextClass support in Jackson converter
...
Issue: SPR-14470
2016-07-19 18:10:51 +02:00
Vladimir L
df556333a8
Add StreamingResponseBody MockMvc sample tests
...
Issue: SPR-14456
(cherry picked from 7da63c)
2016-07-19 10:48:29 -04:00
Stephane Nicoll
116f05eda6
Revert "Upgrade to EJB 3.1"
2016-07-18 13:37:43 +02:00
Stephane Nicoll
b187bbeca3
Upgrade to EJB 3.1
2016-07-18 13:22:54 +02:00
Do Nhu Vy
479a83b628
Fix broken hyperlink
...
Closes gh-1114
2016-07-18 08:17:49 +02:00
Fredrik Sundberg
1c18100143
Fix javadoc reference
...
Method is called nextBackOff() and not nextBackOffMillis().
Closes gh-1115
2016-07-18 08:15:41 +02:00
Juergen Hoeller
5d3c0f33f6
Upgrade to Netty 4.1.3 and Tomcat 8.5.4
2016-07-15 22:47:22 +02:00
Juergen Hoeller
afe106e254
Polishing
2016-07-15 22:47:12 +02:00
Juergen Hoeller
69dd40ec89
Javadoc fixes and pruning of deprecated references
2016-07-15 22:47:05 +02:00
Sam Brannen
dee50d5e28
Polish annotation utils
...
(cherry picked from commit 177f4ec )
2016-07-15 22:21:23 +02:00
Juergen Hoeller
9e93403857
ConfigurationClassParser load annotations through source class loader
...
Issue: SPR-10343
2016-07-15 16:02:06 +02:00
Juergen Hoeller
12bff6b3a0
Velocity deprecation note in reference documentation
...
Issue: SPR-14460
2016-07-15 15:44:13 +02:00
Juergen Hoeller
70e666b4a3
MultipartResolutionDelegate's resolveMultipartArgument properly operates on Servlet 2.5
...
Issue: SPR-14461
2016-07-15 15:42:32 +02:00
Juergen Hoeller
29f980ec72
Unwrap JPA PersistenceException on flush failure (for Hibernate 5.2)
...
Issue: SPR-14457
2016-07-15 15:40:38 +02:00
Juergen Hoeller
1d39d762f0
HibernateExceptionTranslator converts JPA exceptions as well (for Hibernate 5.2)
...
Issue: SPR-14455
2016-07-15 15:40:26 +02:00
Juergen Hoeller
4d6d5e0ddd
Consistent alias processing behind AnnotatedTypeMetadata abstraction (also for ASM)
...
Issue: SPR-14427
(cherry picked from commit 3d3407c )
2016-07-15 15:40:01 +02:00
Juergen Hoeller
4ea5f070a4
MessageHeaderAccessor properly removes header even in case of null value
...
Issue: SPR-14468
(cherry picked from commit b166358 )
2016-07-15 15:39:33 +02:00
Juergen Hoeller
da59b4da9b
CronSequenceGenerator prevents stack overflow in case of inverted range
...
Issue: SPR-14462
(cherry picked from commit e431624 )
2016-07-15 15:39:17 +02:00
Juergen Hoeller
0065a160cc
StandardTypeConverter initializes default ConversionService against volatile field
...
Issue: SPR-14465
(cherry picked from commit 6d91d54 )
2016-07-15 15:39:09 +02:00
Juergen Hoeller
52f46c7fea
Aspect actually applies in PersistenceExceptionTranslationPostProcessorTests
...
Issue: SPR-14457
(cherry picked from commit 04e9c2b )
2016-07-15 15:38:44 +02:00
Juergen Hoeller
f0a826ec0c
AbstractHandlerMethodMapping adds type+method info to getMappingForMethod exceptions
...
Issue: SPR-14452
(cherry picked from commit 8ccd727 )
2016-07-15 15:38:23 +02:00
Juergen Hoeller
5c3c0f73c1
Configurable UrlPathHelper in PathExtensionContentNegotiationStrategy
...
This commit also aligns ResourceUrlProvider's and RequestMappingInfo's UrlPathHelper setter/getter signatures.
Issue: SPR-14454
(cherry picked from commit 84afc60 )
2016-07-15 15:37:56 +02:00
Juergen Hoeller
be0b71ce31
Fixed typo: "occured"->"occurred"
...
(cherry picked from commit c43e749 )
2016-07-15 15:37:11 +02:00
Juergen Hoeller
f85d48dd31
Added PathEditor for NIO file system resolution
...
Issue: SPR-14436
(cherry picked from commit 23c2b6a )
2016-07-15 15:37:02 +02:00
Juergen Hoeller
a1b58ee601
DigestUtils processes InputStream with buffered read instead of full copy
...
Issue: SPR-14427
(cherry picked from commit 61db8e9 )
2016-07-15 15:34:36 +02:00
Juergen Hoeller
e30429051d
Polishing
...
(cherry picked from commit 6aa5931 )
2016-07-15 15:34:27 +02:00
fisache
942ead75e2
Polish doc
...
Closes gh-1108
2016-07-14 19:16:20 +02:00
nkjackzhang
453688f6df
Polish doc
...
Closes gh-1110
2016-07-14 11:57:41 +02:00
Stephane Nicoll
7d7a161102
Polish contribution
...
Closes gh-1070
2016-07-14 11:26:31 +02:00
spodgurskiy
aaa223ae66
Fix MethodBasedEvaluationContext.lazyLoadArguments
...
This commit fix a potential `ArrayIndexOutOfBoundsException` if
`lazyLoadArguments` is called with an empty variable argument.
See gh-1070
2016-07-14 11:26:20 +02:00
Brian Clozel
d11c624fb0
Polish AntPathMatcher.setTrimTokens javadoc
...
Issue: SPR-14247
Cherry-picked from 147a35f
2016-07-12 14:50:00 +02:00
nkjackzhang
275e51b19d
Polish doc
...
Closes gh-1107
2016-07-12 08:51:35 +02:00
Stephane Nicoll
ab62edeeaa
Fix NoOpCache handling of get(key,callable)
...
This commit fixes the method that takes a Callable to actually always
invoke it rather than returning null.
Issue: SPR-14445
2016-07-11 10:36:51 +02:00
Sam Brannen
813108a928
Ensure TestContextManager always tracks after-class exception
...
This commit fixes a minor bug introduced in 0adc4921ed .
Issue: SPR-14447
2016-07-10 16:00:30 +02:00
Juergen Hoeller
3c14911401
Polishing
2016-07-06 17:59:49 +02:00
Juergen Hoeller
4337f14627
Upgrade to Jackson 2.8 GA
2016-07-06 17:42:10 +02:00
Juergen Hoeller
92d78c10a2
Polishing (backported from master)
2016-07-06 17:13:18 +02:00
Juergen Hoeller
16d5ba9b3a
Restored binary compatibility with Hibernate 5.0/5.1's Query type
...
Issue: SPR-14425
2016-07-06 16:11:15 +02:00
Juergen Hoeller
52065a736b
Avoid canonicalName call for already-seen bean name
...
Issue: SPR-14433
(cherry picked from commit 5890758 )
2016-07-06 16:09:32 +02:00
Stephane Nicoll
11cb109114
Upgrade copyright
2016-07-04 12:45:34 +02:00
Stephane Nicoll
d7eadd41d6
Switch to 4.3.2.BUILD-SNAPSHOT
2016-07-04 12:28:13 +02:00
Juergen Hoeller
080dcad218
Add missing package-info file for new test.context.web.socket package
...
Issue: SPR-14420
2016-07-02 15:46:21 +02:00
Juergen Hoeller
a6e4b64c23
PropertySourcesPropertyResolver provides logKeyFound template method
...
Issue: SPR-14370
2016-07-02 15:43:40 +02:00
Juergen Hoeller
f6334fc62b
Aligned default Map capacity
2016-07-02 15:17:34 +02:00
Juergen Hoeller
c6752e6023
Explicit note on self references
...
Issue: SPR-14402
2016-07-02 14:58:54 +02:00
Juergen Hoeller
b204437cef
Polishing
2016-07-02 14:48:15 +02:00
Juergen Hoeller
e5122d084a
Avoid wrapping in plain RuntimeException in favor of IllegalStateException
2016-07-02 13:03:33 +02:00
Juergen Hoeller
e7a53e37fb
Avoid stateful MethodParameter nesting level changes in MVC processing
2016-07-02 13:02:22 +02:00
Juergen Hoeller
e5de7d5455
@MessageExceptionHandler matches cause as well (analogous to @ExceptionHandler)
...
Issue: SPR-14424
2016-07-02 12:56:37 +02:00
Juergen Hoeller
cfc560c4c4
Leniently accept custom DeferredResult etc subclasses for null values
...
Issue: SPR-14423
2016-07-02 12:55:30 +02:00
Juergen Hoeller
498d896ef0
Upgrade to WebJars Locator 0.32
2016-07-01 15:16:19 +02:00
Stephane Nicoll
037746da44
Polish
...
Closes gh-1097
2016-07-01 14:26:48 +02:00
Juergen Hoeller
d7184d1ad8
Latest dependency updates (HttpAsyncClient 4.1.2, HtmlUnit 2.22, Selenium 2.53.1, JOpt Simple 5.0.2)
2016-07-01 14:12:46 +02:00
Juergen Hoeller
1c73664c40
Defensively access deprecated AbstractHttpClient class from Apache HttpComponents
...
Issue: SPR-14422
2016-07-01 14:11:26 +02:00
Sam Brannen
8389e3fc35
Suppress warnings in Gradle build
2016-07-01 13:08:39 +02:00
Juergen Hoeller
a530a1c7f2
Upgrade to Hibernate ORM 5.2.1
...
Issue: SPR-14327
2016-07-01 12:57:24 +02:00
Stephane Nicoll
716273df47
Polish
...
Closes gh-967
2016-07-01 11:15:32 +02:00
Stephane Nicoll
49d78b4835
Merge pull request #1089 from nkjackzhang:patch-2
...
* pr/1089:
Polish
Fix typo in asciidoc
2016-07-01 11:00:08 +02:00
Stephane Nicoll
cac58738c9
Polish
...
Closes gh-1089
2016-07-01 10:58:15 +02:00
nkjackzhang
66fd86be33
Fix typo in asciidoc
...
See gh-1089
2016-07-01 10:47:06 +02:00
Stephane Nicoll
d9993243b6
Polish
...
Closes gh-1096
2016-07-01 10:43:54 +02:00
Stephane Nicoll
d35709dfbc
Merge pull request #1095 from nkjackzhang:patch-4
...
* pr/1095:
Polish contribution
Fix typo in javadoc
2016-07-01 10:41:07 +02:00
Stephane Nicoll
2b822d5053
Polish contribution
...
Closes gh-1095
2016-07-01 10:40:54 +02:00
nkjackzhang
60123b6ca3
Fix typo in javadoc
...
See gh-1095
2016-07-01 10:40:15 +02:00
Juergen Hoeller
5c6f57ba78
Upgrade to EhCache 3.1 and Jetty 9.3.10
2016-06-30 22:25:18 +02:00
Juergen Hoeller
dda0942c78
Polishing
2016-06-30 21:39:51 +02:00
Juergen Hoeller
66ec1c1618
Add missing package-info files for common packages
...
Issue: SPR-14420
2016-06-30 21:39:06 +02:00
Rossen Stoyanchev
9c29ed75f8
Suppress OPTIONS handling for an ERROR dispatch
...
Issue: SPR-14410
2016-06-30 12:34:54 -04:00
Juergen Hoeller
16949941f8
MatchableHandlerMapping extends HandlerMapping and lives in web.servlet.handler now
...
Issue: SPR-14321
2016-06-30 14:38:26 +02:00
Juergen Hoeller
232cfe5e98
Polishing
2016-06-30 14:03:28 +02:00
Juergen Hoeller
c4c941c43f
Convert comma-separated string into list of classes analogous to existing support for class array
...
Issue: SPR-14415
2016-06-30 14:02:51 +02:00
Rossen Stoyanchev
89396ff01f
Refactor handleNoMatch for @RequestMapping
...
Originally handleNoMatch looked for partial matches based on URL
pattern, HTTP method, consumes, produces, and params in that order
but without narrowing down the set of partial matches resulting in
potentially inaccruate response status codes
Commit 473de0 added an improvement to narrow the set with partial
matches for URL pattern and HTTP method matches.
This commit overhauls handleNoMatch so that the narrowing down of
matches happens at each stage resulting in more accurate error
reporting for request mappings with fine-grained conditions.
Issue: SPR-14397
2016-06-29 15:59:00 -04:00
Stephane Nicoll
eba873067c
Better hide lazy resolution of JMS payloads
...
This commit fixes MessagingMessageConverter to no longer expose the lazy
message resolution algorithm. This restores proper behaviour for
converters used outside of that context.
Instead, such arrangement is now private to
AbstractAdaptableMessageListener (as it should).
Issue: SPR-14389
2016-06-29 18:10:34 +02:00
Juergen Hoeller
2d5496df2b
Polishing
2016-06-29 15:53:46 +02:00
Juergen Hoeller
f2328e8e3c
Polishing
2016-06-29 10:57:16 +02:00
Juergen Hoeller
1d42009c0a
Deprecated getPropertyAsClass and refined PropertySourcesPropertyResolver's logging
...
Issue: SPR-14370
2016-06-29 10:51:06 +02:00
Juergen Hoeller
37e42e68e8
Refined AspectJ caching tests
...
Issue: SPR-14413
2016-06-29 10:43:54 +02:00
Juergen Hoeller
772bc030ee
BasicAuthorizationInterceptor belongs to http.client.support
...
Issue: SPR-14412
2016-06-29 10:41:18 +02:00
Stephane Nicoll
6cd85ddde7
Align caching AspectJ configuration
...
The `CacheResolver` and `ErrorHandler` features introduced in 4.1 were
not properly enabled in AspectJ mode. This commit adds more tests from
the regular proxy-based mode and align the AspectJ caching configuration.
Issue: SPR-14413
2016-06-29 09:21:59 +02:00
Rossen Stoyanchev
775ffbe10b
Improve static resource path check
2016-06-28 16:46:51 -04:00
Sam Brannen
1a7c6d3b10
Update @since tags in HandlerMappingIntrospector & Co.
2016-06-28 19:04:03 +02:00
Stephane Nicoll
db963bc556
Add BasicAuthorizationInterceptor
...
This commit adds a `ClientHttpRequestInterceptor` that applies a BASIC
authorization header for each request.
It can be used as follows:
```
BasicAuthorizationInterceptor basicAuthorization =
new BasicAuthorizationInterceptor("user", "secret");
restTemplate.getInterceptors().add(basicAuthorization);
```
Issue: SPR-14412
2016-06-28 17:29:04 +02:00
Sebastien Deleuze
64628dc8cb
Add CorsFilter documentation
2016-06-28 14:51:09 +02:00
Stephane Nicoll
52387cac9a
Merge pull request #1092 from nkjackzhang:patch-3
...
* pr/1092:
Fix typo in asciidoc
2016-06-28 11:21:16 +02:00
nkjackzhang
5657283071
Fix typo in asciidoc
...
Closes gh-1092
2016-06-28 11:20:50 +02:00
Rossen Stoyanchev
ebdc770ed3
Use appropriate message id header for STOMP 1.1 vs 1.2
...
Issue: SPR-14391
2016-06-27 16:12:59 -04:00
Rossen Stoyanchev
2cdcf752ba
MvcUriComponentsBuilder respects optional params
...
Issue: SPR-14405
2016-06-27 16:02:54 -04:00
Rossen Stoyanchev
e38623df87
Fix MediaType lookup for ResourceHttpRequestHandler
...
As of 4.3 ResourceHttpRequestHandler delegates to the configured
ContentNegotiationManager, or one created internally, to look up
the media type for are resource.
This commit ensures the internally created ContentNegotiationManager is
correctly injected with the ServletContext through which it can perform
lookups as before.
Also the ServletPathContentNegotiationStrategy now checks the
ServletContext first and then delegates to its parent the
PathContentNegotiationStrategy and not vice versa. This is
consistent with how handleNoMatch (also in the same class) works
and also matches how ResourceHttpRequestHandler worked before 4.3.
Issue: SPR-14368
2016-06-27 14:56:55 -04:00
Rossen Stoyanchev
a30ab30e4e
Introduce HandlerMapping introspection API
...
Issue: SPR-14321
2016-06-27 14:23:02 -04:00
Brian Clozel
a25c43f695
Enforce UTF-8 response encoding in SseEmitter
...
This commit sets the response content type to
"text/event-stream;charset=UTF-8". Even if the SSE spec says that the
encoding should always be UTF-8 and that specifying the charset is
optional, we're setting it in all cases, since some containers might use
the default encoding "ISO-8859-1" and confuse HTTP clients.
Issue: SPR-14407
2016-06-27 17:05:31 +02:00
Juergen Hoeller
15c96b8efd
ServletResponseHttpHeaders consistently overrides HttpHeaders again
...
Issue: SPR-14406
2016-06-27 15:33:53 +02:00
Juergen Hoeller
ea5baeb05a
Upgrade to CGLIB 3.2.4
...
Issue: SPR-14385
2016-06-26 21:03:05 +02:00
Juergen Hoeller
e15f7efff8
InjectionPoint propagated for shortcut bean name resolution as well
...
Issue: SPR-14400
2016-06-26 00:18:54 +02:00
Juergen Hoeller
4102c62734
Fixed ambiguous sentence in conditional cache documentation
...
Issue: SPR-14399
2016-06-26 00:13:53 +02:00
Juergen Hoeller
351a729317
Explicit javadoc reference to Hibernate 5.2
...
Issue: SPR-14393
2016-06-24 12:55:58 +02:00
Juergen Hoeller
711eb99812
HibernateJpaVendorAdapter and LocalSessionFactoryBuilder enforce Hibernate 5.2's connection handling mode DELAYED_ACQUISITION_AND_HOLD
...
Issue: SPR-14393
2016-06-24 12:37:31 +02:00
Juergen Hoeller
5e08598a2a
HibernateJpaDialect accepts equivalent connection for proper reset as well
...
Issue: SPR-14393
2016-06-23 18:24:09 +02:00
Juergen Hoeller
f5282bc1e3
PayloadArgumentResolver's MessageConversionException includes original payload type
...
Issue: SPR-14394
2016-06-23 17:32:30 +02:00
Brian Clozel
0345d734e6
Improve exception logging in HandlerExceptionResolvers
...
This commit updates AbstractHandlerExceptionResolver to only log at the
WARN level exceptions that are actually resolved by the
ExceptionResolver.
In case developers wish to log each time an ExceptionResolver is called,
a DEBUG level log is still available.
Issue: SPR-14392
2016-06-23 14:12:37 +02:00
Sam Brannen
3dbf25e018
Implement equals() & hashCode() in MockServerContainerContextCustomizer
...
Issue: SPR-14367
2016-06-23 13:22:10 +02:00
Sam Brannen
f7dd757593
Support WebSocket ServletServerContainerFB in the TCF
...
Prior to this commit, any attempt to include a bean of type
ServletServerContainerFactoryBean in the WebApplicationContext for an
integration test class annotated with @WebAppConfiguration in
conjunction the Spring TestContext Framework (TCF) would have resulted
in an IllegalStateException stating that "A ServletContext is required
to access the javax.websocket.server.ServerContainer instance."
In such scenarios, the MockServletContext was in fact present in the
WebApplicationContext; however there was no WebSocket ServerContainer
stored in the ServletContext.
This commit addresses this issue by introducing the following.
- MockServerContainer: a private mock implementation of the
javax.websocket.server.ServerContainer interface.
- MockServerContainerContextCustomizer: a ContextCustomizer that
instantiates a new MockServerContainer and stores it in the
ServletContext under the attribute named
"javax.websocket.server.ServerContainer".
- MockServerContainerContextCustomizerFactory: a
ContextCustomizerFactory which creates a
MockServerContainerContextCustomizer if WebSocket support is present
in the classpath and the test class is annotated with
@WebAppConfiguration. This factory is registered by default via the
spring.factories mechanism.
Issue: SPR-14367
2016-06-22 22:10:16 +02:00
Sam Brannen
7f16bdaf74
Polish error messages in ServletServerContainerFactoryBean
...
Issue: SPR-14367
2016-06-22 19:30:23 +02:00
Juergen Hoeller
fd9d518c36
Avoid potential deadlock in AbstractBeanFactoryPointcutAdvisor
...
Issue: SPR-14388
2016-06-22 14:41:20 +02:00
Juergen Hoeller
a2aa82eb31
Polishing
2016-06-22 11:55:33 +02:00
Juergen Hoeller
981d4494c6
AspectJWeavingEnabler registered with well-defined bean name (and therefore once only)
...
Issue: SPR-14373
2016-06-22 11:55:24 +02:00
Juergen Hoeller
0de85e3a73
Upgrade to Undertow 1.4 CR2
...
Issue: SPR-14328
2016-06-22 11:15:24 +02:00
Rossen Stoyanchev
058279bc7e
HEAD mapping has higher priority over other conditions
...
When comparing multiple matching @RequestMapping's, the HTTP method
condition has the lowest precedence. It's mainly about ensuring an
explicit mapping wins over an implicit (i.e. no method) one.
As of 4.3 HTTP HEAD is handled automatically for controller methods
that match to GET. However an explicit mapping HTTP HEAD allows an
application to take control.
This commit ensures that for HTTP HEAD requests the HTTP method
condition is checked first which means that an explicit HEAD mapping
now trumps all other conditions.
Normally we look for the most specific matching @RequestMapping.
For HTTP HEAD we now look for the most specific match among
@RequestMapping methods with a HEAD mapping first.
Issue: SPR-14383
2016-06-21 13:32:40 -04:00
Rossen Stoyanchev
db1092f119
Polish RequestMappingInfoTests
2016-06-21 10:43:08 -04:00
Juergen Hoeller
848562d68a
Upgrade to CGLIB 3.2.3
...
Issue: SPR-14385
2016-06-21 10:13:42 +02:00
Juergen Hoeller
56db1af11d
No tomcat-embed-logging-juli on Tomcat 8.5.3 anymore
2016-06-20 14:24:16 +02:00
Juergen Hoeller
8cb9d5ebae
EnableAspectJAutoProxy features exposeProxy flag (analogous to XML namespace)
...
Issue: SPR-10454
2016-06-20 13:50:04 +02:00
Juergen Hoeller
01f115869b
Bootstrap SessionFactory implements InfrastructureProxy interface for resource key unwrapping
...
Issue: SPR-14379
2016-06-20 13:42:42 +02:00
Juergen Hoeller
f9fec73f1d
Latest dependency updates (Gson 2.7, Jackson 2.8 RC2, Tomcat 8.5.3, Caffeine 2.3.1)
2016-06-20 13:41:04 +02:00
Rossen Stoyanchev
ba885f3d0b
Add heartbeat lock to SockJS server sessions
...
Even before this change SockJS sessions always cancelled the heartbeat
task first prior to sending messages. However when the heartbeat task
is already in progress, cancellation of it is not enough and we must
wait until the heartbeat is sent.
This commit adds a heartbeat write lock which is obtained and held
during the sending of a heartbeat. Now when sessions send a message
they still cancel the heartbeat task but if that fails they also wait
for the heartbeat write lock.
Issue: SPR-14356
2016-06-17 16:54:54 -04:00
Rossen Stoyanchev
919f6c96f9
ForwardedHeaderFilter is case-insensitive
...
Issue: SPR-14372
2016-06-17 14:20:42 -04:00
nkjackzhang
981a748dcc
Fix ambiguous static import in TestPropertySourceUtilsTests
2016-06-17 17:18:36 +02:00
Stephane Nicoll
6f9fb31bf9
Merge pull request #1082 from nkjackzhang:patch-2
...
* pr/1082:
Move <a> out of @code
2016-06-17 08:08:02 +02:00
nkjackzhang
c145ceebf3
Move <a> out of @code
...
Closes gh-1082
2016-06-17 08:06:21 +02:00
Stephane Nicoll
bcfc09a93c
Document sync attribute of Cacheable
...
Closes gh-14366
2016-06-16 13:14:53 +02:00
Stephane Nicoll
b92576d8d9
Merge pull request #1080 from nkjackzhang:patch-2
...
* pr/1080:
Polish contribution
Fix typo in javadoc
2016-06-16 12:13:01 +02:00
Stephane Nicoll
d41178c75a
Polish contribution
...
Closes gh-1080
2016-06-16 12:12:42 +02:00
nkjackzhang
9656015d26
Fix typo in javadoc
...
See gh-1080
2016-06-16 12:11:14 +02:00
Juergen Hoeller
7d39957ec9
SessionFactoryUtils defensively accesses getProperties method via reflection
...
Issue: SPR-14365
2016-06-15 16:48:34 +02:00
Sam Brannen
9001af7efb
Revert build to Gradle 2.13
...
Issue: SPR-14362
2016-06-15 13:00:40 +02:00
Juergen Hoeller
b5364d5f1a
SpringSessionSynchronization uses SessionFactoryUtils.getFlushMode for Hibernate 5.1/5.2 adaptation
...
Issue: SPR-14364
2016-06-14 22:55:31 +02:00
Juergen Hoeller
dcb2c73102
MultipartResolutionDelegate skips Part parameter checks on Servlet 2.5
...
Issue: SPR-14358
2016-06-14 22:48:51 +02:00
Sam Brannen
045ee52232
Invoke target.toString() safely in ReflectionTestUtils
...
ReflectionTestUtils invokes toString() on target objects in order to
build exception and logging messages, and prior to this commit problems
could occur if the invocation of toString() threw an exception.
This commit addresses this issue by ensuring that all invocations of
toString() on target objects within ReflectionTestUtils are performed
safely within try-catch blocks.
Issue: SPR-14363
2016-06-14 20:08:26 +02:00
Sam Brannen
2fd4462268
Upgrade build to Gradle 2.14
...
In the process of upgrading the build to use Gradle 2.14, the
setFieldOnLegacyEntityWithSideEffectsInToString() test method in
ReflectionTestUtilsTests began to fail. The reason is that the log
level for ReflectionTestUtils is now DEBUG by default with Gradle 2.14.
The apparent cause is that log4j was present on the test runtime
classpath for the spring-test module with all previous versions of
Gradle (via a transitive optional dependency from another project that
spring-test depends on). Thus the configuration in log4j.properties in
spring-test was previously honored, but with Gradle 2.14 a different
commons logging implementation is picked up.
Thus, in addition to upgrading the build to Gradle 2.14, this commit
introduces an explicit test runtime dependency on log4j in the
spring-test module.
The discovered bug in ReflectionTestUtils regarding DEBUG log level
will be addressed separately.
Issue: SPR-14362
2016-06-14 18:40:01 +02:00
Sam Brannen
0815560c85
Migrate to Asciidoctor 1.5 syntax
...
Issue: SPR-14355
2016-06-11 12:51:38 +02:00
Spring Buildmaster
d60028caf1
Next Development Version
2016-06-10 08:59:53 +00:00
Juergen Hoeller
ca12e13ef8
ObjectUtils.nullSafeEquals allows for JVM method inlining (through reducing its bytecode size)
...
Issue: SPR-14349
2016-06-09 22:40:08 +02:00
Sam Brannen
57ca8f5347
Document TestContext bootstrapping in the reference manual
...
Issue: SPR-11683
2016-06-09 21:50:57 +02:00
Juergen Hoeller
7c96059ca3
BeanPropertyRowMapper uses ConversionService for date-time support
...
Issue: SPR-13888
2016-06-09 19:19:08 +02:00
Sam Brannen
f0451294de
Improve formatting for test annotations in reference manual
2016-06-09 17:09:15 +02:00
Sam Brannen
53909a5333
Polish key abstractions section for the TCF
2016-06-09 17:09:15 +02:00
Juergen Hoeller
1dfc0ffd43
SpringHandlerInstantiator supports all HandlerInstantiator-provided factory methods
...
Issue: SPR-14347
2016-06-09 17:02:39 +02:00
Juergen Hoeller
d51c22a789
Consistent processing of empty values and catching of RuntimeExceptions for Formatters
...
Issue: SPR-14345
2016-06-09 10:49:15 +02:00
Stephane Nicoll
8432c62b50
Merge pull request #1073 from fisache:master
...
* pr/1073:
Polish contribution
Polish doc
2016-06-09 10:38:38 +02:00
Stephane Nicoll
f7dd8e34b3
Polish contribution
...
Closes gh-1073
2016-06-09 10:38:16 +02:00
fisache
4465e4ff6c
Polish doc
...
See gh-1073
2016-06-09 10:35:06 +02:00
Juergen Hoeller
c6f63bdb30
Assertions for error codes in case of formatting failures
...
Issue: SPR-14345
2016-06-08 15:54:00 +02:00
Juergen Hoeller
d1d29cf699
Documented support for new library and server generations
2016-06-08 15:23:06 +02:00
Juergen Hoeller
a211d1472e
Polishing
2016-06-08 15:22:01 +02:00
Sam Brannen
da051b87e6
Polish documentation for stereotype names
2016-06-08 14:38:58 +02:00
Sam Brannen
c9de6f23ef
Document web scope annotations in the reference manual
...
Issue: SPR-13994
2016-06-08 14:38:58 +02:00
Juergen Hoeller
cc7781ecf3
FormHttpMessageConverter's charset (and its UTF-8 default) applies to part converters as well
...
Issue: SPR-14338
2016-06-08 13:58:44 +02:00
Juergen Hoeller
8fc84e2d6f
Upgrade to Jackson 2.8 RC1, Undertow 1.4 CR1, Netty 4.1.1
...
Issue: SPR-14340
Issue: SPR-14328
Issue: SPR-14143
2016-06-08 09:47:51 +02:00
Juergen Hoeller
981c894acf
@ExceptionHandler matches against cause type as well
...
Issue: SPR-14291
2016-06-07 21:22:01 +02:00
Sam Brannen
99ae7e3bcb
Document web scope annotations in the reference manual
...
Issue: SPR-13994
2016-06-07 20:17:34 +02:00
Sam Brannen
47d77252d3
Document web scope annotations in the reference manual
...
Issue: SPR-13994
2016-06-07 19:07:38 +02:00
Sam Brannen
6804aad06f
Update reference manual regarding supported web scopes
2016-06-07 19:07:38 +02:00
Sam Brannen
e2810904b0
Fix Javadoc formatting
2016-06-07 19:07:38 +02:00
Juergen Hoeller
f5a9d5e076
Upgrade to Groovy 2.4.7
2016-06-07 18:09:02 +02:00
Sam Brannen
01d234f9f3
Use composed @RequestMapping variants in the reference manual
...
Issue: SPR-13995
2016-06-07 18:06:14 +02:00
Sam Brannen
c121f460b1
Document composed @RequestMapping variants in the reference manual
...
Issue: SPR-13995
2016-06-07 17:26:57 +02:00
Juergen Hoeller
31aed61d15
CorsFilter asserts presence of CorsConfigurationSource
2016-06-07 16:49:23 +02:00
Sam Brannen
4432da3659
Update testing improvements in "What's New"
2016-06-07 16:32:42 +02:00
Sam Brannen
de78f05707
Polishing
2016-06-07 16:24:50 +02:00
Sam Brannen
eaa9511921
Avoid ClassCastException in HandlerResultMatchers.methodCall()
2016-06-07 16:13:42 +02:00
Sam Brannen
5a0100111e
Polish HandlerAssertionTests
2016-06-07 16:13:42 +02:00
Juergen Hoeller
8c4bc3656b
Polishing
2016-06-07 15:42:16 +02:00
Juergen Hoeller
6807bcb863
Fixed @since references after SPR-14080 backport
...
Issue: SPR-14305
(cherry picked from commit 9a41774 )
2016-06-07 13:38:17 +02:00
Juergen Hoeller
c412eabb00
Jackson2ObjectMapperBuilder/FactoryBean accepts deserializers by handled type
...
Issue: SPR-14337
2016-06-07 12:50:00 +02:00
Juergen Hoeller
abcfffdde9
Allow JAXB to be registered next to plain Jackson
...
Issue: SPR-14336
2016-06-07 12:36:17 +02:00
Juergen Hoeller
3c987b179d
Upgrade to EhCache 3.0.2 and Castor 1.4.1
2016-06-06 22:22:23 +02:00
Sam Brannen
c19740a020
Clean up warnings in spring-test
2016-06-06 18:54:16 +02:00
Rossen Stoyanchev
c2a50ad1bf
Fine-tune X-Forwarded header in ForwardedHeaderFilter
...
The contextPathOverride property is now gone.
X-Forwarded-Header (if present) is used instead of the contextPath.
Issue: SPR-14270
2016-06-06 12:37:22 -04:00
Juergen Hoeller
9131ebbea6
Synchronized access to method overrides (in particular for @Lookup)
...
Issue: SPR-14333
2016-06-06 17:15:56 +02:00
Juergen Hoeller
e7561b1d7c
Updated @Autowired documentation in terms of collection/map/array matching
...
Issue: SPR-14332
2016-06-06 17:14:10 +02:00
Rossen Stoyanchev
998b83ce8c
Fix hardcoded value MockRestServiceServerBuilder
2016-06-06 08:46:50 -04:00
Juergen Hoeller
d7320f41c0
Upgrade to Undertow 1.4 Beta 1
...
Issue: SPR-14328
2016-06-04 11:27:37 +02:00
Juergen Hoeller
a9fda3e7e2
Defensive catching of any Throwable subclasses instead of just Error
...
Issue: SPR-14329
2016-06-04 00:17:20 +02:00
Juergen Hoeller
f657952cee
EventListenerMethodProcessor defensively handles unresolvable method signatures
...
Issue: SPR-14330
2016-06-04 00:15:52 +02:00
Juergen Hoeller
9394616f8f
Support for Hibernate ORM 5.2
...
Issue: SPR-14327
2016-06-02 23:35:31 +02:00
Juergen Hoeller
521c41d75e
Polishing
2016-06-02 17:02:44 +02:00
Juergen Hoeller
ae11387b4a
Removal of @Ignore'd tests
...
Issue: SPR-6310
Issue: SPR-6327
2016-06-02 11:47:22 +02:00
Juergen Hoeller
7de61f80a7
AbstractRequestLoggingFilter supports logging of request headers
...
Issue: SPR-14245
2016-06-02 11:41:24 +02:00
Juergen Hoeller
ca9ffa2012
Convenience constructors for CompositeDatabasePopulator
...
Issue: SPR-14313
2016-06-01 22:02:31 +02:00
Juergen Hoeller
ea728b15c8
Polishing
2016-06-01 22:01:32 +02:00
Rossen Stoyanchev
c74d979735
Rename contextPath method in ForwardedHeaderFilter
2016-06-01 15:45:44 -04:00
Rossen Stoyanchev
b7f589547d
Merge pull request #1071 from eddumelendez/SPR-14270
2016-06-01 15:34:25 -04:00
Rossen Stoyanchev
1f3ac340fa
Polish X-Forwarded-Prefix handling
...
Issue: SPR-14270
2016-06-01 15:33:19 -04:00
Eddú Meléndez
7ee687c798
Support X-Forwarded-Prefix in ForwardedHeaderFilter
...
See SPR-14270
2016-06-01 14:28:19 -04:00
youmoo
9975f02e4d
Method comment is wrong
2016-06-01 17:00:42 +02:00
Kamil Szymanski
5a81727180
MVC docs polishing
2016-06-01 16:58:20 +02:00
Juergen Hoeller
39f143563d
Latest dependency updates (Commons FileUpload 1.3.2, OkHttp 3.3.1, HSQLDB 2.3.4, H2 1.4.192)
2016-06-01 15:10:57 +02:00
Juergen Hoeller
37de0e45f6
Polishing
2016-06-01 11:39:08 +02:00
Juergen Hoeller
e4976a2c6d
ExecutorSubscribableChannel consistently rethrows Error as MessageDeliveryException
...
Issue: SPR-14323
2016-06-01 11:38:56 +02:00
Rossen Stoyanchev
fc40643033
Optimize Consumes/ProducesRequestCondition
...
Before this change Consumes/ProducesRequestCondition shared a common
match method in the package private AbstractMediaTypeExpression. The
benefit, two lines of code, was negligible but was forcing each
condition into parsing the content type of the request body or
evaluating the content type for the response respectively.
This change removes the shared match method and brings it down into
each sub-class resulting in a performance improvement as well as in
simpler code including exception handling.
Issue: SPR-14299
2016-05-31 14:55:50 -04:00
Rossen Stoyanchev
27215b5061
Negated produces works with no Accept header present
...
Issue: SPR-14299
2016-05-31 14:44:27 -04:00
Rossen Stoyanchev
8343ce9e44
Add defaultLocale to AcceptHeaderLocaleResolver
...
Issue: SPR-14312
2016-05-31 13:55:11 -04:00
Rossen Stoyanchev
e2fa282e14
Merge pull request #1055 from rwinch/SPR-14265
2016-05-31 12:57:17 -04:00
Rossen Stoyanchev
d10134b5a5
Polish
2016-05-31 12:56:17 -04:00
Rob Winch
54f84cbd97
MockMvcWebConnection stores cookies from response
...
Previously MockMvcWebConnection did not update the cookie manager with the
cookies from MockHttpServletResponse. This meant that newly added cookies
are not saved to the cookie manager and thus are not presented in the next
request.
This commit ensures that MockMvcWebConnection stores the response cookies
in the cookie manager.
Issue: SPR-14265
2016-05-31 12:43:58 -04:00
Rossen Stoyanchev
92f1b69e8c
Update MultipartFilter documentations
...
Issue: SPR-11373
2016-05-31 12:42:32 -04:00
Rossen Stoyanchev
22c260f3fe
Merge pull request #1069 from zhoulifu/SPR-14315
2016-05-31 09:35:49 -04:00
Rossen Stoyanchev
f20f6c952a
Flush headers after null ResponseBodyEmitter
...
Issue: SPR-14315
2016-05-31 09:35:02 -04:00
Rossen Stoyanchev
431a50823f
Polish
2016-05-31 09:35:01 -04:00
Lifu Zhou
7e95cd8b4e
Flush headers after null StreamingResponseBody
...
Issue: SPR-14315
2016-05-31 09:34:51 -04:00
Juergen Hoeller
71463fb399
AbstractBeanFactory consistently guards add/remove operations against alreadyCreated Set
...
Issue: SPR-14269
2016-05-31 14:12:06 +02:00
Juergen Hoeller
9064d38e4c
AbstractBeanFactory.markBeanAsCreated() reliably clears merged bean definition only once
...
Issue: SPR-14269
2016-05-31 11:05:29 +02:00
Juergen Hoeller
bff8259fb0
Upgrade to Objenesis 2.4 (and EhCache 3.0.1)
...
Issue: SPR-14292
2016-05-31 10:11:46 +02:00
Juergen Hoeller
3576ff051c
ScheduledAnnotationBeanPostProcessor properly registers multiple tasks per bean
...
Issue: SPR-14286
2016-05-30 22:47:31 +02:00
Juergen Hoeller
24f5f368b0
Consistent meta-annotation attributes lookup through ASM
...
Issue: SPR-14257
2016-05-30 22:39:27 +02:00
Juergen Hoeller
822e40e24f
AssertionErrors.assertEquals exposes readable array representation
...
Issue: SPR-14281
2016-05-30 17:16:03 +02:00
Juergen Hoeller
86557f25af
ConcurrentMapCacheManager recreates caches when initializing ClassLoader
...
Issue: SPR-14314
2016-05-30 17:13:45 +02:00
Juergen Hoeller
cf0a0cd5d8
BeanWrapper avoids StringIndexOutOfBoundsException for incompletely quoted keys
...
Issue: SPR-14293
2016-05-30 15:15:27 +02:00
Juergen Hoeller
a1e9459a43
@SafeVarargs for header(String, Matcher...) method
...
Issue: SPR-14278
2016-05-30 15:06:55 +02:00
Juergen Hoeller
d6284202f1
Reference documentation updates
...
Issue: SPR-14087
Issue: SPR-14272
Issue: SPR-13535
Issue: SPR-13843
Issue: SPR-14164
Issue: SPR-14167
2016-05-30 15:04:57 +02:00
Brian Clozel
250d82768f
Merge pull request #1050 from fj/patch-1
...
Remove potential XSS vulnerability in Freemarker documentation
2016-05-30 09:44:18 +02:00
Juergen Hoeller
6efa058917
AbstractBeanFactory.markBeanAsCreated() reliably clears merged bean definition first
...
Issue: SPR-14269
2016-05-29 13:25:16 +02:00
Juergen Hoeller
f7f2327f60
ServletServerHttpRequest.getHeaders() ignores invalid content type
...
Issue: SPR-14309
2016-05-29 13:22:00 +02:00
Juergen Hoeller
98eaf05c8f
@Bean's "autowire" attribute does not affect annotation-driven autowiring
...
Issue: SPR-14282
2016-05-29 13:19:09 +02:00
Juergen Hoeller
42bf007604
Latest dependency updates (Joda-Time 2.9.4, Jetty 9.3.9, Netty 4.1 GA, Tomcat 8.5.2)
2016-05-27 23:46:15 +02:00
Juergen Hoeller
03affa02db
ConfigurationClassParser detects @Bean methods in interface hierarchies as well
...
Issue: SPR-14288
2016-05-27 22:34:09 +02:00
Juergen Hoeller
2d85accb83
SpringTilesContainerFactory uses Tiles 3's createDecoratedContainer
...
Issue: SPR-14311
2016-05-27 18:24:49 +02:00
Sam Brannen
31a93792b2
Delete unused imports
2016-05-27 16:33:43 +02:00
Sam Brannen
49bc2a9a02
Clean up warnings in PersistenceXmlParsingTests
2016-05-27 16:30:50 +02:00
Stephane Nicoll
917948deac
Polish SpEL documentation
...
Issue: SPR-14243
2016-05-27 10:30:38 +02:00
Juergen Hoeller
abfe3f209d
DefaultPersistenceUnitManager can determine persistence unit root from orm.xml location
...
Issue: SPR-14246
2016-05-26 23:57:49 +02:00
Juergen Hoeller
a979885d17
SettableListenableFuture properly rethrows Error
...
Issue: SPR-14298
2016-05-26 19:39:22 +02:00
Juergen Hoeller
dacc31e3d3
For attribute is not actually required
...
Issue: SPR-14287
2016-05-26 19:18:30 +02:00
Juergen Hoeller
65f6ea320a
Upgrade to Objenesis 2.3 and Moneta 1.1
...
Issue: SPR-14292
Issue: SPR-14296
2016-05-26 19:17:40 +02:00
Rossen Stoyanchev
4e8754ea87
Add reset() to MockRestServiceServer
...
Issue: SPR-14306
2016-05-26 11:44:40 -04:00
Rossen Stoyanchev
f4ab6d8d52
MockRestServiceServerBuilder can be re-used
...
Issue: SPR-14306
2016-05-26 09:48:16 -04:00
Stephane Nicoll
a1851845ad
Merge pull request #1065 from benelog:fix-comment
...
* pr/1065:
Polish javadoc in TableMetaDataContext
2016-05-26 07:51:01 +02:00
Sanghyuk Jung
06e3ee6820
Polish javadoc in TableMetaDataContext
...
Closes gh-1065
2016-05-26 07:50:17 +02:00
Stephane Nicoll
aa3b04c937
Merge pull request #1064 from izeye:patch-6
...
* pr/1064:
Polish Javadoc in MediaType
2016-05-25 09:23:52 +02:00
Johnny Lim
ace624a01a
Polish Javadoc in MediaType
...
Closes gh-1064
2016-05-25 09:23:27 +02:00
Stephane Nicoll
7d4d3db0dd
Add alternative database name for HANA
...
Issue: SPR-14261
2016-05-23 07:43:49 +02:00
Rossen Stoyanchev
c2625f968c
Properly handle single-value map with @MatrixVariable
...
Issue: SPR-14294
2016-05-22 09:53:42 -04:00
Rossen Stoyanchev
400206a2fe
Update @RestController javadoc
...
Issue: SPR-13945
2016-05-22 09:06:23 -04:00
Rossen Stoyanchev
a9217d51c2
Safe InetSocketAddress init for WebSocket and SockJS
...
Issue: SPR-14295
2016-05-22 06:36:42 -04:00
Stephane Nicoll
9c02a99d38
Polish doc
...
SPR-14290
2016-05-20 09:57:41 +02:00
Rossen Stoyanchev
3fb58cda8e
Wrap Jetty WebSocketException
...
Issue: SPR-14267
2016-05-18 11:05:09 -04:00
Rossen Stoyanchev
1e003a1c90
Remove unnecessary assertion
...
Issue: SPR-14279
2016-05-18 10:57:54 -04:00
Rossen Stoyanchev
4a81aaba6c
Fix STOMP connect failure related memory leak
...
Normally heartbeats keep connections from hanging. However in some
cases a connection may hang before a CONNECTED frame is received
and heartbeats are put in place. This commit adds a change to enforce
a 60 limit on receiving the CONNECTED frame.
Issue: SPR-14266
2016-05-12 11:24:50 -04:00
Stephane Nicoll
8c79f23175
Merge pull request #1052 from ferstl:fix-javadoc-example
...
* pr/1052:
Fix CacheManager example in Javadoc
2016-05-12 15:24:03 +02:00
Stefan Ferstl
d651ebfd2d
Fix CacheManager example in Javadoc
...
Closes gh-1052
2016-05-12 15:23:40 +02:00
Juergen Hoeller
c15f27cfa8
Avoid package import cycle through explicit javadoc reference
2016-05-06 13:41:02 +02:00
Stephane Nicoll
66bab2a9fc
Revert "Manage asynchronous EventListener with replies"
...
This reverts commit bee1b77af5 .
2016-05-06 13:38:03 +02:00
Juergen Hoeller
5682950289
Polishing
2016-05-06 12:03:10 +02:00
Juergen Hoeller
42d32ba396
ResourceRegion fits better in core.io.support (next to EncodedResource)
...
Issue: SPR-14221
2016-05-06 12:02:51 +02:00
Juergen Hoeller
e5dbe12e85
ResourceHttpRequestHandler sets "Accept-Ranges" header only once
...
Issue: SPR-14221
2016-05-06 11:50:47 +02:00
Juergen Hoeller
1b1aac9172
Unit tests for AsyncResult callback behavior
...
Issue: SPR-14249
2016-05-05 20:40:30 +02:00
Juergen Hoeller
5400bb9110
ListenableFutureAdapter keeps propagating onSuccess/onFailure exceptions
...
Issue: SPR-13785
2016-05-05 20:39:53 +02:00
Juergen Hoeller
7dc181261e
Polishing
2016-05-05 20:35:34 +02:00
John Feminella
2367f52aaf
Remove potential XSS attack in Freemarker example
...
Since the user controls the value of `spring.status.value`, you wouldn't want to echo unescaped values here in this form. Otherwise one could submit a value of, say, `"/> <script>alert("pwned")</script>`.
2016-05-05 14:23:14 -04:00
Sam Brannen
a1a87679da
Support test annotations on interfaces
...
Prior to Java 8 it never really made much sense to author integration
tests using interfaces. Consequently, the Spring TestContext Framework
has never supported finding test-related annotations on interfaces in
its search algorithms.
However, Java 8's support for interface default methods introduces new
testing use cases for which it makes sense to declare test
configuration (e.g., @ContextConfiguration, etc.) on an interface
containing default methods instead of on an abstract base class.
This commit ensures that all non-repeatable, class-level test
annotations in the Spring TestContext Framework can now be declared on
test interfaces. The only test annotations that cannot be declared on
interfaces are therefore @Sql and @SqlGroup.
Issue: SPR-14184
2016-05-05 19:54:44 +02:00
Andy Clement
a31f0bb3c0
Fix compilation of expressions using instanceof and primitives
...
Prior to this commit the SpEL compiler would generate bad bytecode
if the left hand operand of an instanceof was a primitive or
if the right hand operand was a primitive type reference.
With the fixes primitives on the left hand side are now
correctly boxed and special handling is in place for when the
right hand side is a primitive type reference. Using a primitive
type reference on the right always causes the instanceof
check to return false.
Additionally a guard has been added such that compilation is
not allowed when the right hand side of an expression
is not a type reference. If it is, for example, a variable
reference that evaluates to a type reference then that
cannot be expressed in bytecode so compilation is not performed.
Issue: SPR-14250
2016-05-05 09:57:15 -07:00
Brian Clozel
3c92ddc94b
Fix path matching for paths containing spaces
...
Prior to this commit, the latest optimizations introduced in SPR-13913
would prevent matching when patterns contained spaces. Indeed, the
optimized path would not fully tokenize the paths nor trim the tokens,
as the "longer" code path does.
This commit disables this optimized path when the `trimTokens` option is
set to `true`.
Also, the `trimTokens` setting is now set to `false` by default.
Issue: SPR-14247
2016-05-04 22:28:06 +02:00
Juergen Hoeller
3f85efe107
Latest dependency updates (EhCache 2.10.2, HtmlUnit 2.21, JOpt Simple 5.0.1, JRuby 1.7.25, Quartz 2.2.3, Undertow 1.3.22)
2016-05-04 18:17:16 +02:00
Juergen Hoeller
08ddd1b3bc
AbstractRequestLoggingFilter ignores non-available query string
...
Issue: SPR-14244
2016-05-04 18:17:06 +02:00
Juergen Hoeller
8c139ef444
Polishing
2016-05-04 17:37:30 +02:00
Juergen Hoeller
ab478d14fa
ScheduledAnnotationBeanPostProcessor tracks individual bean instances of any scope
...
Issue: SPR-12216
Issue: SPR-12872
2016-05-04 17:06:08 +02:00
Juergen Hoeller
162aedccbe
Polishing
2016-05-04 17:02:16 +02:00
Sam Brannen
f09c7868d8
Polishing
2016-05-04 16:04:37 +02:00
Juergen Hoeller
e6e3ca3e96
LazySingletonAspectInstanceFactoryDecorator uses shared singleton mutex
...
Issue: SPR-14241
2016-05-04 09:03:28 +02:00
Sam Brannen
e26478e3de
Polish Javadoc regarding @Commit support
2016-05-03 20:26:11 +02:00
Sam Brannen
7b13311f03
Delete unused imports
2016-05-03 20:12:37 +02:00
Sam Brannen
6b3eba0500
Suppress warnings in Gradle build
2016-05-03 19:56:33 +02:00
Sam Brannen
64c388d524
Properly document avoiding false positives when testing with JPA
...
Prior to this commit, information regarding avoiding false positives
when testing with JPA had already been added to the Testing chapter of
the reference manual. However, the example did not work properly and
the accompanying text mixed concepts from Hibernate and JPA.
This commit fixes the @Autowired/@PersistenceContext bug, updates the
text, and marks each test as @Transactional in order to avoid any
misinterpretation.
Issue: SPR-9032
2016-05-03 19:33:32 +02:00
Sam Brannen
0f6711fe3b
Support @[Before|After]Transaction on default methods
...
Prior to this commit, @BeforeTransaction and @AfterTransaction could
only be declared on methods within test classes. However, JUnit 5 as
well as some existing third-party Runner implementations for JUnit 4
already support Java 8 based interface default methods in various
scenarios -- for example, @Test, @BeforeEach, etc.
This commit brings the Spring TestContext Framework up to date by
supporting the declaration of @BeforeTransaction and @AfterTransaction
on interface default methods.
Issue: SPR-14183
2016-05-03 18:57:31 +02:00
Sam Brannen
7ce5ba4a3f
Refer explicitly to JUnit 4 in the testing chapter
...
This commit updates the Testing chapter in the reference manual to
refer explicitly to JUnit 4 instead of just "JUnit" (where appropriate)
in order to avoid confusion with forthcoming support for JUnit 5.
2016-05-03 18:57:31 +02:00
Sam Brannen
3433fe35df
Fix assertion failure messages in TransactionalTestExecutionListenerTests
2016-05-03 18:57:31 +02:00
Juergen Hoeller
52e5b4a6ff
Polishing
2016-05-03 18:55:39 +02:00
Juergen Hoeller
76964e16ef
Explicit note on Java deserialization
2016-05-03 18:44:37 +02:00
Rossen Stoyanchev
46e41a9d94
Consolidate SendTo vs SendToUser detection
...
SendTo and SendToUser are treated as mutually exclusive. The addition of
type-level support in 4.3. RC1 however did not consider the possibility
to mix and match of the two betwee type and method level.
This commit consolidates the detection of SendTo and SendToUser
annotations and considers them all together.
Issue: SPR-14238
2016-05-03 12:34:19 -04:00
Brian Clozel
05b29a4a17
Add convenient getters for force*Encoding attributes
...
Issue: SPR-14240
2016-05-03 16:14:09 +02:00
Brian Clozel
76ee46847a
Selectively force encoding in CharacterEncodingFilter
...
Prior to this commit, setting the `forceEncoding` option would force
encoding on both requests and responses.
This commit adds two new setters and a new constructor to differentiate
both options: forcing the encoding on the request and/or on the
response.
You can now define this filter programmatically using those options or
update your servlet XML configuration like:
```
<filter>
<filter-name>characterEncodingFilter</filter-name>
<filter-class>o.sf.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceRequestEncoding</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>forceResponseEncoding</param-name>
<param-value>false</param-value>
</init-param>
</filter>
```
Issue: SPR-14240
2016-05-03 14:47:22 +02:00
Juergen Hoeller
1be544f8fa
JtaTransactionManager explicitly resets transaction timeout after completion
...
Issue: SPR-14239
2016-05-03 13:30:51 +02:00
Brian Clozel
5ac31fb39d
Refactor HTTP Range support with ResourceRegion
...
Prior to this commit, the `ResourceHttpMessageConverter` would support
all HTTP Range requests and `MethodProcessors` would "wrap" controller
handler return values with a `HttpRangeResource` to support that use
case in Controllers.
This commit refactors that support in several ways:
* a new ResourceRegion class has been introduced
* a new, separate, ResourceRegionHttpMessageConverter handles the HTTP
range use cases when serving static resources with the
ResourceHttpRequestHandler
* the support of HTTP range requests on Controller handlers has been
removed until a better solution is found
Issue: SPR-14221, SPR-13834
2016-05-02 19:00:52 +02:00
Juergen Hoeller
7737c3c7e5
Warn about non-static BeanDefinitionRegistryPostProcessor declarations on @Configuration classes
...
Issue: SPR-14234
2016-05-02 15:19:05 +02:00
Juergen Hoeller
cbc46760b7
Upgrade to Jackson 2.7.4
2016-05-02 13:54:57 +02:00
Juergen Hoeller
07ea3745c4
Polishing
2016-05-02 13:54:47 +02:00
Stephane Nicoll
09b45d2c0f
Validate callback is always invoked in DMLC#stop
...
The underlying issue has been fixed in e45d33f and this commit is merely
adding a test of the expected behaviour.
Issue: SPR-14233
2016-05-02 13:33:05 +02:00
Juergen Hoeller
f83cbff543
Consistent SmartLifecycle implementations
...
Issue: SPR-14233
2016-05-02 13:01:44 +02:00
Juergen Hoeller
e45d33f9de
DefaultMessageListenerContainer immediately invokes stop callback when not running
...
Issue: SPR-14233
2016-05-02 12:57:30 +02:00
Brian Clozel
29da44c8dc
Support ETags with special chars in ServletWebRequest
...
This commit makes sure that HTTP request headers containing ETag values
are properly parsed and not simply tokenized using a "," separator.
Indeed, ETags can legally contain separator characters such as " " and
",".
Issue: SPR-14216
2016-04-29 11:20:29 +02:00
Juergen Hoeller
fdb31cd715
Check actual cache value for unwrapped Optional
...
Issue: SPR-14230
2016-04-29 10:56:26 +02:00
Rossen Stoyanchev
bd40a93604
Ensure Environment.shutdown() in Reactor2TcpClient
...
Issue: SPR-14229
2016-04-28 17:47:59 -04:00
Juergen Hoeller
240f254bfc
Allow @Cacheable method to return java.util.Optional variant of cached value
...
Includes renaming of internal delegate to CacheOperationExpressionEvaluator.
Issue: SPR-14230
2016-04-28 23:16:43 +02:00
Rossen Stoyanchev
220711d45b
Reactor2TcpClient cleans up TcpClient instances
...
Issue: SPR-14231
2016-04-28 15:27:53 -04:00
Brian Clozel
977840884b
Allow custom instances of WebJarAssetLocator
...
This commit allows to configure a custom WebJarAssetLocator in
WebJarResourceResolvers.
Issue: SPR-14092
2016-04-28 19:02:04 +02:00
Brian Clozel
55dae618a6
Improve multi-valued HTTP headers support
...
Prior to this change, getting header values with `HttpHeaders` when
headers are multi-valued would cause issues.
For example, for a given HTTP message with headers:
Cache-Control: public, s-maxage=50
Cache-Control: max-age=42
Getting a `List` of all values would return <"public", "s-maxage=50">
and getting the header value would return "public, s-maxage=50".
This commit takes now into account multi-valued HTTP headers and adds
new getters/setters for "If-Match" and "If-Unmodified-Since" headers.
Note that for ETag-related headers such as "If-Match" and
"If-None-Match", a special parser has been implemented since ETag values
can contain separator characters.
Issue: SPR-14223, SPR-14228
2016-04-28 18:48:47 +02:00
Sebastien Deleuze
15138ed96f
Revisit ScriptTemplateView resource loading
...
Resources are now retrieved using the application context in order to
support natively non-classpath locations like /WEB-INF/...
As a consequence of this refactoring, ScriptTemplateView#createClassLoader()
protected method as been removed, since it did not make sense anymore with
this new resource loading implementation.
Issue: SPR-14210
2016-04-28 15:40:14 +02:00
Juergen Hoeller
9412f7a094
InstantFormatter accepts RFC-1123 values as well
...
Issue: SPR-14201
2016-04-28 14:35:33 +02:00
Stephane Nicoll
777767c7ee
Merge pull request #1046 from panchenko/ReflectionUtils-static-final
...
* pr/1046:
"final" for public static fields in ReflectionUtils
2016-04-28 08:34:35 +02:00
Alex Panchenko
8d36332268
"final" for public static fields in ReflectionUtils
...
Closes gh-1046
2016-04-28 08:34:10 +02:00
Juergen Hoeller
cd6b203c88
Upgrade to Caffeine 2.3
2016-04-27 22:10:49 +02:00
Juergen Hoeller
8ddb432694
Polishing
2016-04-27 21:35:26 +02:00
Juergen Hoeller
e0734aede8
ApplicationListenerDetector explicitly prevents serialization of its ApplicationContext reference
...
Issue: SPR-14214
2016-04-27 21:30:46 +02:00
Juergen Hoeller
6ab8d36ed0
DefaultMessageListenerContainer's recovery phase uses wait instead of sleep
...
Issue: SPR-14200
2016-04-27 21:27:21 +02:00
Juergen Hoeller
b331ad5b2a
Explicit note on scheduled methods with a return value
...
Issue: SPR-14195
2016-04-27 15:45:30 +02:00
Juergen Hoeller
ce2f28da49
CachedIntrospectionResults explicitly introspects implemented interfaces (for Java 8 default methods)
...
Issue: SPR-14198
2016-04-27 15:39:00 +02:00
Rossen Stoyanchev
335d968f85
Polish DefaultUrlTemplateHandler
2016-04-27 08:55:52 -04:00
Brian Clozel
a50ea80e4e
Handle multiple conditional request headers
...
Prior to this change, setting both "If-None-Match" and
"If-Unmodified-Since" conditional request headers would check for both
conditions to be met.
This commit fixes this behavior to follow the RFC7232 Section 6:
> entity tags are presumed to be more accurate than date validators
So in case both conditions are present, the "If-None-Match" condition
takes precedence.
Issue: SPR-14224
2016-04-27 12:02:33 +02:00
Sam Brannen
1838d7e97f
Update Javadoc for ReflectionUtils re: exception handling
2016-04-27 12:44:09 +03:00
Rossen Stoyanchev
8f0f5faf4d
XML config properly initialize WS message broker stats
...
Issue: SPR-14190
2016-04-26 17:24:22 -04:00
Juergen Hoeller
d06188ed4d
ResponseEntity allows for setting non-standard status code
...
Issue: SPR-14205
2016-04-26 23:06:10 +02:00
Juergen Hoeller
e5d52a96a7
HttpSessionRequiredException programmatically exposes name of expected attribute
...
Issue: SPR-14206
2016-04-26 23:06:10 +02:00
Rossen Stoyanchev
9798912557
Add missing @since tag
2016-04-26 16:48:45 -04:00
Rossen Stoyanchev
06b2d2b89e
STOMP client session supports sending ack/nack
...
Issue: SPR-14208
2016-04-26 16:44:58 -04:00
Rossen Stoyanchev
538c582342
Extract AbstractUriTemplateHandler base class
...
Issue: SPR-14147
2016-04-26 13:32:35 -04:00
Juergen Hoeller
bb1a0311d8
Upgrade to Gradle 2.13
...
Issue: SPR-14215
2016-04-26 17:09:57 +02:00
Juergen Hoeller
87b93a7ae9
Aligned JmsTemplate and DefaultMessageListenerContainer receiveTimeout values
...
Issue: SPR-14212
2016-04-26 17:09:57 +02:00
Juergen Hoeller
65a8f5ed64
PathMatchingResourcePatternResolver reuses resolved root dir URL
...
Issue: SPR-14202
2016-04-26 17:09:57 +02:00
Juergen Hoeller
f73df2e138
SpringServletContainerInitializer does not log WebApplicationInitializer class names
...
Issue: SPR-14213
2016-04-26 17:09:57 +02:00
Juergen Hoeller
bf7b475267
SocketUtils considers port range including maxPort
...
Issue: SPR-14211
2016-04-26 17:09:57 +02:00
Juergen Hoeller
9bf5a5cbcb
FastByteArrayInputStream returns correct count from read(byte[])
...
Issue: SPR-14209
2016-04-26 17:09:57 +02:00
Rob Winch
9ec0873604
MockWebResponseBuilder defaults cookie domain
...
Previously MockWebResponseBuilder would use the cookie domain of the cookie
received from MockMvc response. This caused problems because the cookie
domain can be null, but HtmlUnit forbids a null domain.
This commit defaults the domain of the cookie to the domain of the
WebRequest.
Issues SPR-14169
2016-04-25 16:35:56 -05:00
Venil Noronha
b2c9c8abcf
Add text/markdown MediaType constant
...
Issue: SPR-14192
2016-04-25 09:57:30 -04:00
Sam Brannen
c84c1cfd1b
Update Javadoc for TestContextBootstrapper
...
@WebAppConfiguration is no longer meta-annotated with @BootstrapWith.
2016-04-25 15:44:15 +02:00
Sam Brannen
67a9f40c95
Polish Javadoc for TestContextManager
2016-04-23 18:23:25 +02:00
Sam Brannen
4a4cd5bde8
Polish CronSequenceGenerator and tests
2016-04-23 18:05:54 +02:00
Sam Brannen
151530b93b
Merge pull request #1042 from Enigo/cron-validation
...
Introduce cron expression validation method for CronSequenceGenerator
2016-04-23 17:49:00 +02:00
Ruslan Sibgatullin
31d634e6bf
Added cron expression validation method for CronSequenceGenerator
...
It's handy to know in advance whether or not expression that is
passed to CronSequenceGenerator or CronTrigger constructor would
not results in IllegalArgumentException. The only way to do it
now is to try\catch an instance creation but it's kinda ugly.
2016-04-23 17:56:29 +03:00
Sam Brannen
920eba79f8
Polish Javadoc for DefaultUriTemplateHandler
2016-04-23 16:49:04 +02:00
Rossen Stoyanchev
065b7968a3
Add defaultUriVariables property to RestTemplate
...
Issue: SPR-14147
2016-04-22 16:21:23 -04:00
Rossen Stoyanchev
0d007a328b
Polish DefaultUriTemplateHandler
2016-04-22 16:21:18 -04:00
Rossen Stoyanchev
5ec6206e3f
Update spring-mvc-3.2.xsd
...
The backport in commit cf39078 changed the spring-mvc-3.2.xsd.
This change updates the same in the master branch.
Issue: SPR-14186
2016-04-21 14:11:49 -04:00
Rossen Stoyanchev
6e4e52b23a
Upgrade to Reactor 2.0.8
2016-04-21 09:21:52 -04:00
Stephane Nicoll
fee2533825
Merge pull request #1039 from izeye/polish-20160419
...
* pr/1039:
Remove duplicate words
2016-04-19 08:24:37 +02:00
Johnny Lim
44e652f99e
Remove duplicate words
...
Closes gh-1039
2016-04-19 08:24:21 +02:00
Rossen Stoyanchev
50c11028d5
Improve illegal MimeType checks
...
Issue: SPR-14124
2016-04-18 10:01:18 -04:00
Venil Noronha
aafd46aeb3
Remove isOpen assertion when sending WebSocket message
...
Issue: SPR-14138
2016-04-18 09:46:05 -04:00
Venil Noronha
28f2f4a431
Delegate sendMessage
...
Issue: SPR-14139
2016-04-18 09:30:48 -04:00
Juergen Hoeller
f8720e256d
Upgrade to EhCache 3.0 GA
...
Issue: SPR-14185
2016-04-18 14:41:01 +02:00
Rossen Stoyanchev
7cdcc102a9
Explicit HEAD sorted higher than implicit GET match
...
Issue: SPR-14182
2016-04-17 15:12:43 -04:00
Sam Brannen
ff38224da6
Introduce tests for @[Before|After]Transaction on default methods
...
This commit introduces @Ignore'd tests for future support for declaring
@BeforeTransaction and @AfterTransaction on interface default methods.
Issue: SPR-14183
2016-04-17 16:01:07 +02:00
Stephane Nicoll
b1bc920e72
Merge pull request #1037 from izeye/patch-6
...
* pr/1037:
Use the defined constant in MergedContextConfiguration
2016-04-16 10:33:19 +02:00
Johnny Lim
c402932ba1
Use the defined constant in MergedContextConfiguration
...
Closes gh-1037
2016-04-16 10:32:41 +02:00
Brian Clozel
368f29d5bc
Fix AntPathMatcher multiple segments matching
...
Prior to this commit, the new match algorithm wouldn't work for multiple
consecutive path separators.
This commit separately matches path segments and path separators and
allows for multiple, consecutive path separators.
Issue: SPR-14141
2016-04-15 23:10:29 +02:00
Juergen Hoeller
e38bfb1a68
Consistent public constructors in ast package
...
Issue: SPR-14181
2016-04-15 22:26:58 +02:00
Rob Winch
970dc4ae11
Add --no-daemon to Gradle import
...
Previously using the Gradle Daemon with import eclipse scripts would cause
issues with the merge plugin. Specifically, projects would randomly not
be associated to the classpath.
This change explicitly adds --no-daemon in the import scripts to ensure
that the problem does not occur.
Issue SPR-14102
2016-04-15 11:50:17 -05:00
Rob Winch
6489a7670c
Change Eclipse Settings to allow forbidden references
...
Spring uses lots of forbidden references. The current Eclipse settings
set forbiddenReference=error This was not ideal because there were lots of
errors in the workspace.
This commit changes forbiddenReference=warning since we nee to allow
forbidden references.
2016-04-15 10:54:37 -05:00
Rob Winch
87ed8e939c
HtmlUnitRequestBuilder decodes parameter names
...
Previously HtmlUnitRequestBuilder did not decode parameter names. This
means if a parameter like row[0] was submittted it would be encoded as
row%5B0%5D When the HttpServletRequest was created the parameter name would
not be decoded so the parameter name row[0] would not be found.
This commit ensures that HTTP parameter names are decoded.
Issue SPR-14177
2016-04-15 10:23:00 -05:00
Stephane Nicoll
64d4e91b6e
Polish
2016-04-15 16:38:18 +02:00
Stephane Nicoll
bee1b77af5
Manage asynchronous EventListener with replies
...
This commit makes sure to reject an `@EventListener` annotated method
that also uses `@Async`. In such scenario, the method is invoked in a
separate thread and the infrastructure has no handle on the actual reply,
if any.
The documentation has been improved to refer to that scenario.
Issue: SPR-14113
2016-04-15 13:22:11 +02:00
Juergen Hoeller
44a9c495ab
Strong Hibernate 5.1 recommendation
...
Issue: SPR-13480
Issue: SPR-14176
2016-04-15 12:07:31 +02:00
Juergen Hoeller
b28d96af7d
ScheduledAnnotationBeanPostProcessor accepts non-void methods as well
...
Issue: SPR-14175
2016-04-14 21:59:02 +02:00
Juergen Hoeller
999112216d
AopUtils.canApply properly matches package-visible methods (aligned with advice matching within proxies)
...
Also, AbstractAutoProxyCreator considers Pointcut as infrastructure class, analogous to Advice and Advisor.
Issue: SPR-14174
2016-04-14 21:46:25 +02:00
Juergen Hoeller
3b44c47dcd
Polishing
2016-04-14 16:39:36 +02:00
Juergen Hoeller
f1cb793ccb
Rename MimeType's getCharSet() to getCharset()
...
Issue: SPR-14172
2016-04-14 16:38:59 +02:00
Juergen Hoeller
977734cc59
Upgrade to Protobuf Java Format 1.4
...
Issue: SPR-14171
2016-04-14 15:44:53 +02:00
Juergen Hoeller
62ce9afe3a
Jackson-based message converters consistently check media type first
...
Issue: SPR-14163
2016-04-14 14:26:05 +02:00
Juergen Hoeller
5f4e838f41
Jackson-based message converters do not log warning for serializer not found
...
Issue: SPR-14163
2016-04-14 14:13:13 +02:00
Juergen Hoeller
7e55b0822f
BeanInstantiationException preserves Constructor/Method if available
...
Issue: SPR-14166
2016-04-14 12:27:47 +02:00
Juergen Hoeller
3222664024
Avoid unnecessary GenericHttpMessageConverter re-declaration
2016-04-13 19:03:59 +02:00
Juergen Hoeller
96875fe015
Avoid unnecessary GenericHttpMessageConverter re-declaration
2016-04-13 18:52:52 +02:00
Juergen Hoeller
570851e8e4
Consistent headers.getContentLength() checks
...
(cherry picked from commit 7f438dc )
2016-04-13 18:50:15 +02:00
Juergen Hoeller
e3667467f6
AbstractJackson2HttpMessageConverter's canRead/canWrite checks media type first before delegating to Jackson
...
Issue: SPR-14163
2016-04-13 18:34:22 +02:00
Juergen Hoeller
ee31617ebe
Drop outdated support for building on JDK 9 (not compatible with JDK 9 b111+)
2016-04-13 13:56:43 +02:00
Juergen Hoeller
dcfa4740ee
Polishing
...
(cherry picked from commit 09b7735 )
2016-04-13 13:56:37 +02:00
Juergen Hoeller
88b5b12baf
Latest dependency updates (AspectJ 1.8.9, Rhino 1.7.7.1, WebJars Locator 0.30)
2016-04-13 12:57:46 +02:00
Juergen Hoeller
da112611a5
SpringCacheAnnotationParser properly accepts empty @Caching annotation
...
Issue: SPR-14162
2016-04-12 23:19:51 +02:00
Juergen Hoeller
836a321ab2
JPA ClassFileTransformerAdapter defensively backs out when called from within a transform call
...
Issue: SPR-13886
2016-04-12 21:44:17 +02:00
Juergen Hoeller
74608e6b49
Polishing
2016-04-12 16:03:57 +02:00
Juergen Hoeller
831f09cf48
SimpleTransactionScope properly suspends and resumes scoped objects
...
Issue: SPR-14148
2016-04-12 16:02:36 +02:00
Stephane Nicoll
10554a85c9
Polish
2016-04-12 08:34:38 +02:00
Stephane Nicoll
454165f4c8
Merge pull request #1013 from tokuhirom/patch-1
...
* pr/1013:
Fix typo
2016-04-12 08:17:43 +02:00
Tokuhiro Matsuno
741fbcd6fe
Fix typo
...
Closes gh-1013
2016-04-12 08:17:24 +02:00
Stephane Nicoll
1e7be7be3f
Merge pull request #1030 from izeye/patch-6
...
* pr/1030:
Fix typo
2016-04-12 08:15:05 +02:00
Johnny Lim
f4b7da9a3e
Fix typo
...
Closes gh-1030
2016-04-12 08:14:53 +02:00
Stephane Nicoll
7d7d1c365a
Merge pull request #1028 from michael-simons/fix-appendix-typo
...
* pr/1028:
Fix copy & paste error for cache schema
2016-04-12 08:14:13 +02:00
Michael Simons
82778e1746
Fix copy & paste error for cache schema
...
This replaces the prefix "jdbc" with "cache" and fixes the schema URL.
Closes gh-1028
2016-04-12 08:12:50 +02:00
Juergen Hoeller
bdb94738ec
Refined default excluded packages
...
Issue: SPR-13886
2016-04-12 05:14:14 +02:00
Juergen Hoeller
b6f1afd471
Polishing
2016-04-11 21:20:31 +02:00
Juergen Hoeller
537193a4e0
Consistent license header
2016-04-11 20:49:38 +02:00
Juergen Hoeller
d695f65e7c
Upgrade to HtmlUnit-aligned Selenium Driver 2.20
...
Issue: SPR-14146
2016-04-11 20:49:09 +02:00
Juergen Hoeller
550a3209f7
Fixed XML example for setup of scheduled tasks
...
Issue: SPR-14145
2016-04-11 19:27:06 +02:00
Juergen Hoeller
b82df144e4
LoadTimeWeaver.getThrowawayClassLoader() decorated for exclude support (if necessary)
...
Issue: SPR-13886
2016-04-11 19:19:37 +02:00
Juergen Hoeller
448621ac58
HttpHeaders consistently ignores invalid date header values
...
Issue: SPR-14144
2016-04-11 17:45:49 +02:00
Juergen Hoeller
437ffa6067
Detect LoadTimeWeaver bean when declared through @Bean method as well
...
Issue: SPR-10856
2016-04-11 17:43:23 +02:00
Juergen Hoeller
21e4ac1aa2
Upgrade to Netty 4.1
...
Issue: SPR-14143
2016-04-11 12:20:13 +02:00
Juergen Hoeller
4407bd794d
Polishing
2016-04-10 05:40:35 +02:00
Juergen Hoeller
dc7ec44188
Upgrade to CGLIB 3.2.2
...
Issue: SPR-13934
2016-04-09 23:12:13 +02:00
Juergen Hoeller
cb9549655c
AbstractApplicationContext registers default embedded value resolver
...
Issue: SPR-14140
2016-04-09 20:49:22 +02:00
Sam Brannen
572e535fba
Update Eclipse code template to Spring 4.3
2016-04-09 19:19:26 +02:00
Juergen Hoeller
4ae065996b
Polishing
...
(cherry picked from commit aa5c12c )
2016-04-08 23:06:25 +02:00
Rossen Stoyanchev
3abe75b254
Remove section on spring-framework-contrib group
2016-04-08 15:43:51 -04:00
Brian Clozel
f3b09464f3
Polish reference documentation
...
`@InitBinder` annotated methods are not meant to be part of the public
contract of Controller and should be package protected.
2016-04-08 16:47:11 +02:00
Juergen Hoeller
e365ffb67a
Latest dependency updates (EhCache 3.0 RC3, Undertow 1.3.21)
2016-04-08 16:16:29 +02:00
Juergen Hoeller
37bd51cf6d
Handle Resources beyond int length through Servlet 3.1's setContentLengthLong
...
Issue: SPR-14135
2016-04-08 15:54:24 +02:00
Sam Brannen
463c8f149d
Add properties files directly to environment in TestPropertySourceUtils
...
This commit introduces a new method in TestPropertySourceUtils that
allows properties files to be added directly to the environment without
the need for a ConfigurableApplicationContext upfront; however, a
ResourceLoader is still necessary.
Issue: SPR-14131
2016-04-07 17:02:37 +02:00
Juergen Hoeller
157dcab56c
Cleanup of remaining direct BeanWrapper usage
...
Issue: SPR-14121
2016-04-07 14:27:22 +02:00
Juergen Hoeller
5c1d3fca15
BeanFactory does not unwrap java.util.Optional for top-level bean
...
Issue: SPR-14121
2016-04-07 14:18:30 +02:00
Juergen Hoeller
042d8d0b4c
FacesRequestAttributes falls back to ExternalContext as session mutex
...
Issue: SPR-12402
2016-04-07 11:41:32 +02:00
Juergen Hoeller
ed14ae60e5
Consistent deprecation of outdated MVC infrastructure classes
...
Issue: SPR-14128
2016-04-07 11:37:34 +02:00
Juergen Hoeller
4ea4257e3c
BeanDefinitionBuilder keeps providing addConstructorArg(Object) for Spring Security 2.x compatibility
...
Issue: SPR-14123
2016-04-07 11:35:43 +02:00
Sam Brannen
8213df817e
Clean up warnings in spring-web
2016-04-06 15:21:07 +02:00
Sam Brannen
ebeba43830
Document context cache size control in the TCF in reference manual
...
Issue: SPR-8055
2016-04-06 15:06:10 +02:00
Sam Brannen
5bd5c74e7c
Polish TCF key abstractions section in reference manual
2016-04-06 14:56:08 +02:00
Sam Brannen
b6f99e38ae
Polish wording regarding previous release versions in reference manual
2016-04-06 14:45:28 +02:00
Sam Brannen
0c0c904837
Consistently refer to Groovy alongside XML in reference manual
2016-04-06 14:36:36 +02:00
Sam Brannen
f752e050bc
Fix grammar in the reference manual
2016-04-06 14:20:05 +02:00
Sam Brannen
6d7f497ab3
Fix single quote formatting issues in the reference manual
2016-04-06 14:14:51 +02:00
Sam Brannen
5a0a88c039
Fix typo in reference manual regarding JSR 330
2016-04-06 13:56:57 +02:00
Sam Brannen
a9aa85c6c0
Document DirtiesContextBeforeModesTEL in the reference manual
2016-04-06 13:55:19 +02:00
Juergen Hoeller
4024b2fd4b
DefaultListableBeanFactory leniently deserializes into dummy factory if serialization id not resolvable
...
Issue: SPR-14117
2016-04-05 15:49:30 +02:00
Juergen Hoeller
6db6f23a04
Quartz ResourceLoaderClassLoadHelper explicitly falls back to classpath lookup
...
Issue: SPR-13706
2016-04-05 12:18:48 +02:00
Juergen Hoeller
6573e9142c
Polishing
2016-04-05 12:17:21 +02:00
Juergen Hoeller
797f5dbba6
StatementCreatorUtils handles Types.BOOLEAN through PreparedStatement.setBoolean
...
Issue: SPR-14116
2016-04-05 11:12:36 +02:00
Juergen Hoeller
7c450fad3b
Latest dependency updates (Caffeine 2.2.6, EhCache 3.0 RC2, Joda-Time 2.9.3, Netty 4.0.36, Rome 1.6, SLF4J 1.7.21, Tomcat 8.0.33, Undertow 1.3.20, Woodstox 5.0.2, JOpt-Simple 5.0)
2016-04-05 10:13:10 +02:00
Juergen Hoeller
d2d528dc05
Polishing
2016-04-05 09:42:41 +02:00
Rossen Stoyanchev
cfdb683449
Call resetRequest after writeFrame for polling sessions
...
Previous refactoring (fcf6ae and also 43d937) in the SockJsSession
hierarchy consolidated access to the request and response in the
base class AbstractHttpSockJsSession in order to keep synchronization
concerns there. However that also unintentionally removed the call to
resetRequest() after sending a heartbeat for any of the
PollingSockJsSession classes. In general a polling session should call
resetRequest after every frame written.
This commit brings back the writeFrame override in PollingSockJsSession
with an extra call to resetRequest().
Issue: SPR-14107
2016-04-04 19:30:05 -04:00
Sam Brannen
6c0cae87b4
Clean up warnings in spring-test
2016-04-04 21:30:01 +02:00
Sam Brannen
e18d5b591a
Limit size of context cache in the TestContext framework
...
Prior to this commit, the size of the ApplicationContext cache in the
Spring TestContext Framework could grow without bound, leading to
issues with memory and performance in large test suites.
This commit addresses this issue by introducing support for setting the
maximum cache size via a JVM system property or Spring property called
"spring.test.context.cache.maxSize". If no such property is set, a
default value of 32 will be used.
Furthermore, the DefaultContextCache has been refactored to use a
synchronized LRU cache internally instead of a ConcurrentHashMap. The
LRU cache is a simple bounded cache with a "least recently used" (LRU)
eviction policy.
Issue: SPR-8055
2016-04-04 20:56:04 +02:00
Juergen Hoeller
26378cd604
Polishing
2016-04-04 20:51:30 +02:00
Rossen Stoyanchev
d554229981
Fix incomplete log message
...
Commit 48236b from 2014 introduced a logging improvement to avoid
logging each removed session per line and instead log one line at
the end with all removed sessions ids. However that list of removed
session ids wasn't populated. This commit fixes that.
Issue: SPR-14111
2016-04-04 14:01:27 -04:00
Stephane Nicoll
996c1cc0a6
Fix Auto-Startup for @JmsListener
...
Ignore container's auto-startup once the context is refreshed.
Issue: SPR-14015
2016-04-04 18:21:10 +02:00
Stephane Nicoll
ad7285df0b
Merge pull request #1027 from Youmoo/patch-2
...
* pr/1027:
Fix typo
2016-04-04 17:36:36 +02:00
youmoo
1bccc8f1cd
Fix typo
...
Closes gh-1027
2016-04-04 17:36:17 +02:00
Sebastien Deleuze
1f9a9cf404
Auto-detect Kotlin Jackson module
...
Issue: SPR-14108
2016-04-04 16:49:40 +02:00
Juergen Hoeller
edea66a967
Further tests for getBeanNamesForType(ResolvableType)
...
Issue: SPR-14097
2016-04-04 14:58:30 +02:00
Juergen Hoeller
8bfba6a07a
EhCacheManagerFactoryBean logs cache manager name
...
Issue: SPR-14110
2016-04-04 14:56:08 +02:00
Juergen Hoeller
13f889e914
SimpleApplicationEventMulticaster leniently handles ClassCastException
...
Issue: SPR-14109
2016-04-04 14:54:38 +02:00
Juergen Hoeller
696dcb72a5
SpringValidatorAdapter allows for custom field name resolution
...
Issue: SPR-14104
2016-04-01 10:29:56 +02:00
Juergen Hoeller
739ae8c045
LocalValidatorFactoryBean supports custom ValidationProviderResolver
...
Issue: SPR-14100
2016-03-31 16:52:26 +02:00
Sam Brannen
6826bdd111
Document disabled test for hybrid annotation attribute overrides
...
This commit documents the @Ignore'd test to explain that Spring does not
support a hybrid approach for annotation attribute overrides with
transitive implicit aliases.
Issue: SPR-13554
2016-03-31 14:38:15 +02:00
Juergen Hoeller
f6cb30b165
@ExceptionHandler is able to process Error thrown from handler method
...
Issue: SPR-11106
2016-03-31 11:52:36 +02:00
Juergen Hoeller
14bf6509ec
Consistent cache key implementation across transaction and cache attribute sources
...
Includes consistent applicability of class-level metadata to user-level methods only.
Issue: SPR-14017
Issue: SPR-14095
2016-03-30 14:13:04 +02:00
Juergen Hoeller
5619b005f0
Polishing
2016-03-30 10:22:30 +02:00
Juergen Hoeller
b7819e6ec8
AnnotationTransactionAttributeSource applies class-level metadata to user-level methods only
...
Issue: SPR-14095
2016-03-30 10:21:22 +02:00
Sam Brannen
ea09e578b9
Document support for @Cache* as merged composed annotations
...
Issue: SPR-13475
2016-03-29 20:04:43 +02:00
Sam Brannen
2ed3382a60
Document composed support for @Scheduled, @JmsListener, & @Sql
...
Issue: SPR-13973
2016-03-29 19:53:58 +02:00
Roy Clarkson
f35ec5353a
Add support for OkHttp3
...
OkHttp3 introduces a new package and API that is incompatible with
previous versions. This commit adds a new
OkHttp3ClientHttpRequestFactory and supporting classes.
2016-03-29 18:15:04 +02:00
Sam Brannen
d40d2ffe5e
Polishing
2016-03-29 18:04:26 +02:00
Sam Brannen
3597879608
Revert merged support for @ManagedNotification & @ManagedOperationParameter
...
This commit reverts the recently added merged annotation support for
Spring's JMX annotations by once again using the simpler searches for
repeatable annotations in AnnotationUtils.
Issue: SPR-13973
2016-03-29 17:51:47 +02:00
Brian Clozel
eec22f5072
Avoid duplicate flush when closing outputstream
...
Prior to this commit, the `HttpInvokerServiceExporter` would close
its `ObjectOutputStream`, which itself issues duplicate flushes on the
underlying `OutputStream`. Duplicate flushes can lead to multiple,
separate TCP packets where those should be gathered writes.
This commit wraps the underying stream with a decorator that guards
against flush calls that are duplicated with the one done in `close`.
Issue: SPR-14040
2016-03-29 17:31:42 +02:00
Brian Clozel
b947bfe8e9
Support of HTTP persistent connections for JDK client
...
Prior to this commit, HTTP clients relying on the JDK HTTP client would
not properly reuse existing TCP connections (i.e. HTTP 1.1 persisten
connection). The SimpleClientHttpResponse would close the actual connection once the
response is handled.
As explained in the JDK documentation
(http://docs.oracle.com/javase/8/docs/technotes/guides/net/http-keepalive.html )
HTTP clients should do the following to allow resource reuse:
* consume the whole HTTP response content
* close the response inputstream once done
This commit makes sure that the response content is
totally drained and then the stream closed (and not the connection).
Issue: SPR-14040
2016-03-29 17:31:42 +02:00
Juergen Hoeller
3910350b0a
ASM ClassReader leniently handles label offset mismatch
...
Issue: SPR-14089
2016-03-29 15:38:23 +02:00
Juergen Hoeller
6298292523
AsyncRestTemplate triggers no-output HTTP requests immediately as well
...
Issue: SPR-14093
2016-03-29 15:22:32 +02:00
Juergen Hoeller
2dae4d8134
Deprecated FormTag's "commandName" in favor of "modelAttribute"
...
Issue: SPR-14094
2016-03-29 12:09:16 +02:00
Sam Brannen
26bbb6e767
Polishing
2016-03-28 16:17:47 +02:00
Juergen Hoeller
b2a17ba537
RequestHeaderMapMethodArgumentResolver defensively checks for non-existing header values
...
Issue: SPR-14091
2016-03-27 14:07:25 +02:00
Sam Brannen
4fa11e334f
Test @ManagedNotification as a merged, composed annotation
...
Issue: SPR-13973
2016-03-26 20:10:20 +01:00
Juergen Hoeller
54aeb7a5d6
Cache key classes implement Comparable and consistently provide a toString representation
...
Issue: SPR-14017
2016-03-26 14:32:10 +01:00
Sam Brannen
a8b5ea1c51
Polishing
2016-03-26 01:27:37 +01:00
Sam Brannen
4742aa0bfe
Test @JmsListener as a merged composed annotation
...
Issue: SPR-13973
2016-03-26 01:09:35 +01:00
Sam Brannen
2353f39ee4
Clean up warnings
2016-03-26 01:08:58 +01:00
Sam Brannen
4836d06704
Test @Scheduled as a merged composable annotation
...
Issue: SPR-13973
2016-03-26 00:47:02 +01:00
Juergen Hoeller
c6ff0951fc
Polishing
2016-03-25 23:46:18 +01:00
Juergen Hoeller
94cb7786c8
Polishing
2016-03-25 23:28:45 +01:00
Brian Clozel
862d10c128
Support new default values in WebDataBinder
...
Prior to this commit, binding a `@ModelAttribute` object as a Controller
handler paramater would instantiate the object and set all its
properties, fetching data from the request. When no data is available,
the WebDataBinder tries to bind default "empty" values:
* Boolean.FALSE for boolean types
* empty arrays for array types
* null by default
This commit adds the new default empty values:
* empty Collections for Collection types
* empty Maps for Map types
Rather than using empty implementations provided by `Collections.empty`
(which are not mutable), we're using the closest possible target type
and real implementations, provided by the `CollectionFactory`.
Issue: SPR-13502
2016-03-25 21:37:08 +01:00
Sam Brannen
b0c6357540
Test @Sql as a merged composed annotation
...
Issue: SPR-13973
2016-03-25 20:47:16 +01:00
Phillip Webb
fc839331a7
Refine TestPropertySourceUtils for direct use
...
Update methods in TestPropertySourceUtils to accept var-args and allow
addInlinedProperties to be called more than once.
Issue: SPR-14088
2016-03-25 11:12:27 -07:00
Sam Brannen
fee056a1b1
Simplify search algorithms in AnnotatedElementUtils
...
This commit introduces a boolean alwaysProcesses() method in the
Processor API which allows for simplification across all search
algorithms within AnnotatedElementUtils.
Specifically, it is no longer necessary for process() methods to verify
that the supplied annotation is actually the sought target annotation.
In addition, duplicated code has been extracted into common methods
(e.g., hasMetaAnnotationTypes()) and common Processor implementations
(e.g., AlwaysTrueBooleanAnnotationProcessor).
2016-03-25 15:59:54 +01:00
Sam Brannen
c6f6e192c0
Support @Sql as a merged composed annotation
...
Issue: SPR-13973
2016-03-25 00:51:42 +01:00
Sam Brannen
d572b022cc
Support @JmsListener as a merged composed annotation
...
Issue: SPR-13973
2016-03-25 00:51:24 +01:00
Sam Brannen
c6b1f38651
Support @Scheduled as a merged composable annotation
...
Issue: SPR-13973
2016-03-25 00:49:59 +01:00
Sam Brannen
b6d9fd39e6
Support @ManagedNotification & @ManagedOperationParameter as merged annotations
...
Issue: SPR-13973
2016-03-25 00:49:21 +01:00
Sam Brannen
6b7731cc89
Cross reference getMergedRepeatableAnnotations() in AnnotationUtils
2016-03-25 00:47:44 +01:00
Juergen Hoeller
775bcccd10
Polishing
2016-03-24 21:44:16 +01:00
Juergen Hoeller
852212d0c5
Polishing
2016-03-24 19:57:54 +01:00
Sam Brannen
46e0484bf8
Support searches for merged repeatable annotations with "get" semantics
...
This commit picks up where 2535469099 left off with added support for
"get" search semantics for merged repeatable annotations.
Specifically, this commit introduces a new
getMergedRepeatableAnnotations() method in AnnotatedElementUtils.
Issue: SPR-13973
2016-03-24 19:27:32 +01:00
Sam Brannen
8d0083ca96
Polishing
2016-03-24 19:27:32 +01:00
Juergen Hoeller
517ebd1d3e
Consistent formatting
2016-03-24 19:22:50 +01:00
Brian Clozel
2cdb0cf690
Temporarily comment quartz-scheduler external API
2016-03-24 17:52:54 +01:00
Juergen Hoeller
06db5aa43f
Polishing
2016-03-24 15:34:17 +01:00
Juergen Hoeller
9a52c81443
UriComponentsBuilder allows more efficient (and less restrictive) CORS origin comparison
...
Also introduces a specifically narrowed cloneBuilder() method for UriComponentsBuilders.
Issue: SPR-14080
2016-03-24 15:33:44 +01:00
Juergen Hoeller
abe7345008
DefaultCorsProcessor checks for existing CORS response before attempting to compare origin
...
Issue: SPR-14080
2016-03-24 15:08:19 +01:00
Juergen Hoeller
55f1c98c39
Consistent alphabetical sorting of directory content
...
Issue: SPR-14085
2016-03-24 15:00:17 +01:00
Sam Brannen
1ec35e9c62
Support searches for multiple merged annotations with "get" semantics
...
This commit picks up where a5139f3c66 left off with added support for
"get" search semantics for multiple merged annotations.
Specifically, this commit introduces a new getAllMergedAnnotations()
method in AnnotatedElementUtils.
Issue: SPR-13486
2016-03-24 14:46:56 +01:00
Juergen Hoeller
3eff478c45
RequestMethodsRequestCondition uses common HttpMethod resolution
...
Issue: SPR-13776
2016-03-24 13:54:00 +01:00
Juergen Hoeller
86d5c5c0f7
Avoid putIfAbsent call in HttpEntityMethodProcessor
...
Issue: SPR-14086
2016-03-24 13:51:48 +01:00
Juergen Hoeller
7e4563a825
Upgrade to XStream 1.4.9
...
Issue: SPR-14084
2016-03-24 13:51:03 +01:00
Sam Brannen
2453edbb10
Reorganize methods in AnnotatedElementUtils
2016-03-24 13:18:54 +01:00
Brian Clozel
38714b35e7
Update Javadoc external links
2016-03-24 11:40:27 +01:00
Brian Clozel
20bb25647f
Polish
2016-03-24 10:56:46 +01:00
Sam Brannen
2535469099
Support repeatable annotations as composed annotations
...
Prior to this commit, AnnotationUtils supported searching for
repeatable annotations even if the repeatable annotation was declared
on a custom stereotype annotation. However, there was no support for
merging of attributes in composed repeatable annotations. In other
words, it was not possible for a custom annotation to override
attributes in a repeatable annotation.
This commit addresses this by introducing
findMergedRepeatableAnnotations() methods in AnnotatedElementUtils.
These new methods provide full support for explicit annotation
attribute overrides configured via @AliasFor (as well as
convention-based overrides) with "find semantics".
Issue: SPR-13973
2016-03-23 21:58:34 +01:00
Juergen Hoeller
63115ed6eb
Do not use annotation detection shortcuts on Class
...
Issue: SPR-13440
2016-03-23 19:27:30 +01:00
Juergen Hoeller
c5b318a4cc
Revised 4.3 signatures for MethodParameter/DependencyDescriptor
...
Issue: SPR-13440
2016-03-23 18:52:27 +01:00
Juergen Hoeller
9af12d290e
Polishing
2016-03-23 18:39:29 +01:00
Juergen Hoeller
5025c615b1
Consistent use of AnnotatedElementUtils.findMergedAnnotation/hasAnnotation
...
Issue: SPR-13440
2016-03-23 18:39:20 +01:00
Juergen Hoeller
311d4c95a3
Revised newline handling tests pass on Windows now
...
Issue: SPR-13503
2016-03-23 18:35:26 +01:00
Juergen Hoeller
3c18a4533a
Ignored test removed (not intended to work)
...
Issue: SPR-14058
2016-03-23 18:15:29 +01:00
Brian Clozel
e079a726f8
Polish
2016-03-23 16:40:12 +01:00
Brian Clozel
c7bd3b8440
Support HTTP range requests in Controllers
...
Prior to this commit, HTTP Range requests were only supported by the
ResourceHttpRequestHandler when serving static resources.
This commit improves the ResourceHttpMessageConverter that
now supports partial writes of Resources.
For this, the `HttpEntityMethodProcessor` and
`RequestResponseBodyMethodProcessor` now wrap resources with HTTP
range information in a `HttpRangeResource`, if necessary. The
message converter handle those types and knows how to handle 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-13834
2016-03-23 16:40:12 +01:00
Brian Clozel
15fe8279e6
Reset Expires HTTP header when caching configured
...
Just like SPR-13252 addressed this issue for the "Pragma" header, this
issue resets the HTTP 1.0 "Expires" header.
When such a header has been set (by a filter, for example) and HTTP
caching has been configured at the WebContentGenerator, this header
value is reset to "". In this case, "Cache-Control" and "Expires" might
have inconsistent values and we consider that the HTTP caching
configuration should take precedence.
Depending on the servlet container chosen to deploy the application,
this might result in empty "" header values or no header set at all.
Issue: SPR-14053
2016-03-23 16:35:13 +01:00
Kazuki Shimizu
9b2023111d
Add newline at the beginning of textarea macro for FreeMarker and Velocity
...
Issue: SPR-13503
2016-03-23 11:31:16 +01:00
Rossen Stoyanchev
7a5e93ff16
Add support for setting the "Vary" response header
...
Issue: SPR-14070
2016-03-22 21:47:55 -04:00
Rossen Stoyanchev
6bfe0c050d
Polish
2016-03-22 20:59:16 -04:00
Sam Brannen
59c88eb3c0
Support @Cache* as merged composed annotations
...
Prior to this commit, @Cacheable, @CacheEvict, @CachePut, and @Caching
could be used to create custom stereotype annotations with hardcoded
values for their attributes; however, it was not possible to create
composed annotations with attribute overrides.
This commit addresses this issue by refactoring
SpringCacheAnnotationParser to use the newly introduced
findAllMergedAnnotations() method in AnnotatedElementUtils. As a
result, @Cacheable, @CacheEvict, @CachePut, and @Caching can now be
used to create custom composed annotations with attribute overrides
configured via @AliasFor.
Issue: SPR-13475
2016-03-21 12:54:09 +01:00
Stephane Nicoll
2a715e9c61
Fix escaping of #
...
This commit disables the "quotes" substitutions on specific XML
examples that require to use the reserved `#` character.
Issue: SPR-14074
2016-03-21 12:51:14 +01:00
Sam Brannen
532ed0a4cf
Clean up warnings in the spring-test module
2016-03-20 19:37:54 +01:00
Sam Brannen
a5139f3c66
Support searches for multiple merged composed annotations
...
Prior to this commit it was possible to search for the 1st merged
annotation above an annotated element. It was also possible to search
for annotation attributes aggregated from all annotations above an
annotated element; however, it was impossible to search for all
composed annotations above an annotated element and have the results as
synthesized merged annotations instead of a multi-map of attributes.
This commit introduces a new findAllMergedAnnotations() method in
AnnotatedElementUtils that finds all annotations of the specified type
within the annotation hierarchy above the supplied element. For each
such annotation found, it merges that annotation's attributes with
matching attributes from annotations in lower levels of the annotation
hierarchy and synthesizes the results back into an annotation of the
specified type. All such merged annotations are collected and returned
as a set.
Issue: SPR-13486
2016-03-20 19:18:11 +01:00
Sam Brannen
799736c571
Fix typos in Javadoc for AutowireCapableBeanFactory
2016-03-20 15:26:37 +01:00
Sam Brannen
f1378aa376
Test status quo for finding multiple composed annotations
...
This commit introduces tests that verify the status quo for finding
multiple merged composed annotations on a single annotated element.
Issue: SPR-13486
2016-03-19 20:22:04 +01:00
Sam Brannen
744350a262
Polishing
2016-03-19 18:28:05 +01:00
Sam Brannen
d22480b0eb
Ensure all aliased attributes in target annotation are overridden
...
Prior to this commit, it was possible that implicit aliases and
transitive implicit aliases (configured via @AliasFor) might not be
honored in certain circumstances, in particular if implicit aliases
were declared to override different attributes within an alias pair in
the target meta-annotation.
This commit addresses this issue by ensuring that all aliased
attributes in the target meta-annotation are overridden during the
merge process in AnnotatedElementUtils.
In addition, concrete default values for attributes in a
meta-annotation declaration can now be effectively shadowed by
transitive implicit aliases in composed annotations.
Issue: SPR-14069
2016-03-19 16:42:56 +01:00
Sam Brannen
4cd7ba12bb
Polishing
2016-03-19 14:39:01 +01:00
Juergen Hoeller
5f6406430f
LocalSessionFactoryBuilder/Bean supports setMultiTenantConnectionProvider
...
Issue: SPR-14072
2016-03-19 13:48:54 +01:00
Juergen Hoeller
a1a06cd665
@EnableScheduling tests do not expect exception in case of scheduler ambiguity anymore
...
Issue: SPR-14030
2016-03-19 13:18:24 +01:00
Sam Brannen
5045579028
Revise EnableSchedulingTests
...
- Fast tests now always run (i.e., are no longer limited to the
performance build
- Failing tests have been @Ignore'd
Issue: SPR-14030
2016-03-19 12:38:47 +01:00
Juergen Hoeller
a905412514
Allow @Autowired to be declared on parameters
...
Issue: SPR-14057
2016-03-18 22:12:22 +01:00
Juergen Hoeller
6e3fac85f3
AnnotationAwareOrderComparator uses DecoratingProxy interface for target class introspection
...
Issue: SPR-13884
2016-03-18 22:12:10 +01:00
Rossen Stoyanchev
9ac9135c24
Update reference on StompClient
...
Issue: SPR-13664
2016-03-18 16:59:24 -04:00
Sam Brannen
c5200978b0
Polishing
2016-03-18 19:44:20 +01:00
Sam Brannen
11221f5ccb
Fix Javadoc errors in AnnotatedElementUtils
2016-03-18 19:31:05 +01:00
Rob Winch
411ff8450f
Refine tests for SPR-14066
...
Explicitly define the response type as text/plain to avoid content type
confusion.
Issue SPR-14066
2016-03-18 13:24:10 -05:00
Sam Brannen
e2ba477405
Upgrade Gradle Wrapper version to Gradle 2.12
...
Issue: SPR-14048
2016-03-18 19:06:10 +01:00
Juergen Hoeller
1ca4340271
NumberUtils consistently raises overflow exception for BigInteger/BigDecimal input
...
Issue: SPR-14041
2016-03-18 18:51:41 +01:00
Juergen Hoeller
431ca9314a
Leniently allow constructor argument matches if required name is not resolvable
...
Issue: SPR-13987
2016-03-18 18:51:33 +01:00
Sam Brannen
455bf45fa4
Fix test that failed due to upgrade to HtmlUnit 2.20
2016-03-18 18:43:46 +01:00
Markus Malkusch
160410c148
Be explicit about the time unit in WebRequest
...
This commit adds the timeunit to the interface documentation
of WebRequest.checkNotModified().
2016-03-18 18:23:15 +01:00
Brian Clozel
7ae44c2565
Allow skipping JSON prefix in MockMvc result matchers
...
JSON payloads are sometimes prepended with a static string prefix
to prevent Cross Site Scripting Inclusion attacks (XSSI).
Prior to this commit, doing so would fail the MockMvc
`JsonPathResultMatchers` since they're considering the whole response as
the JSON payload.
This commit adds a new `JsonPathResultMatchers.prefix` method that
configures the matchers to check for the presence of that string (i.e.
fail if it's not there) and only consider the rest of the response body
as the JSON payload for other assertions.
Issue: SPR-13577
2016-03-18 18:13:42 +01:00
Rossen Stoyanchev
4a6c2dbb15
Merge pull request #1009 from rwinch/SPR-14066
2016-03-18 12:01:55 -04:00
Rossen Stoyanchev
d3822c8d19
Polish
2016-03-18 12:01:09 -04:00
Rob Winch
7d96ad1f6e
MockMvc HtmlUnit support shares CookieManager
...
Previously MockMvc builders failed to share the WebConnection used for
managing cookies in the MockMvcWebConnection. This meant that the various
CookieManagers would have different states.
This commit ensures that the WebConnection is set on the
MockMvcWebConnection.
Fixes SPR-14066
2016-03-18 12:01:09 -04:00
Juergen Hoeller
8246fe4534
Latest dependency updates: EhCache 3.0 RC1, HtmlUnit 2.20, Apache HttpClient 4.5.2, Jackson 2.7.3, JasperReports 6.2.1, Jetty 9.3.8, JRuby 1.7.24, JsonAssert 1.3, JsonPath 2.2, POI 3.14, Selenium 2.52, SLF4J 1.7.19, Animal Sniffer 1.15, Undertow 1.3.19, H2 1.4.191
2016-03-18 16:16:54 +01:00
Juergen Hoeller
ec7c3aa349
Correct RFC 4648 references in method-level javadoc
...
Issue: SPR-14067
2016-03-18 15:30:33 +01:00
Juergen Hoeller
a95bf6e0fc
Current InjectionPoint/DependencyDescriptor as factory method argument
...
Issue: SPR-14033
2016-03-18 15:30:33 +01:00
Sam Brannen
2153d88706
Add TODO in AnnotatedElementUtilsTests
...
Issue: SPR-14069
2016-03-18 15:29:25 +01:00
Sam Brannen
43661ededb
Verify inlined props override files in @TestPropertySource
...
This commit introduces a test to demonstrate that inlined properties
override properties loaded from Properties files in
@TestPropertySource.
Issue: SPR-14068
2016-03-18 15:04:14 +01:00
Sam Brannen
856da8e395
Introduce tests for transitive aliases with implied attribute names
2016-03-17 20:53:52 +01:00
Sam Brannen
7a3bc2e473
Polishing
2016-03-17 14:08:13 +01:00
Rossen Stoyanchev
f5a5a81e95
Support response cookies in HtmlUnit integration
...
Issue: SPR-14051
2016-03-16 15:26:06 -04:00
Rossen Stoyanchev
92dd4eb3ef
Fix NPE in ResponseBodyEmitterReturnValueHandler
...
The possibility of NPE was introduced in the previous commit:
https://github.com/spring-projects/spring-framework/commit/971ccab038ad8e549d515a80e2d64c5d4c80c86b
Issue: SPR-14046
2016-03-16 13:40:35 -04:00
Sam Brannen
9439a008d7
Merge pull request #1006 from mdeinum/SPR-14050
...
* SPR-14050:
Fully test proxy support in ReflectionTestUtils
Polishing
Document proxy support in ReflectionTestUtils
Fix bugs in ReflectionTestUtils related to proxies
Polishing
Support proxied objects in ReflectionTestUtils
2016-03-16 18:34:14 +01:00
Sam Brannen
d9025ddaa7
Fully test proxy support in ReflectionTestUtils
...
This commit adds a test for JDK dynamic proxies and fleshes out the
test for CGLIB proxies.
Issue: SPR-14050
2016-03-16 18:34:07 +01:00
Sam Brannen
7beff7b40a
Polishing
2016-03-16 18:34:07 +01:00
Sam Brannen
b1ca18e0dc
Document proxy support in ReflectionTestUtils
...
Issue: SPR-14050
2016-03-16 18:34:07 +01:00
Sam Brannen
2d565c7944
Fix bugs in ReflectionTestUtils related to proxies
...
Issue: SPR-14050
2016-03-16 18:34:07 +01:00
Sam Brannen
7c7e7865bf
Polishing
2016-03-16 18:34:07 +01:00
Marten Deinum
8d3ec50e87
Support proxied objects in ReflectionTestUtils
...
This commit adds support for unwrapping proxies in the setField() and
getField() methods in ReflectionTestUtils.
Instead of always accessing fields directly on the supplied
targetObject (which may be a proxy), AopTestUtils is now used to obtain
the potential ultimateTargetObject which is then used for accessing
fields.
Issue: SPR-14050
2016-03-16 18:34:07 +01:00
Juergen Hoeller
d2c0885e29
StandardServletEnvironment supports "spring.jndi.ignore" flag for efficient property lookups
...
Issue: SPR-14026
2016-03-16 18:14:44 +01:00
Juergen Hoeller
35eb52e558
Abstract(Stax)XMLReader recognizes standard features as not supported
...
Issue: SPR-14056
2016-03-16 18:04:02 +01:00
Stephane Nicoll
b1121fba70
Polish
2016-03-16 17:14:03 +01:00
Stephane Nicoll
30d457c622
Deprecate addCache
2016-03-16 17:13:06 +01:00
Stephane Nicoll
1c3c88f81e
Merge pull request #998 from quaff/SPR-14039
...
* pr/998:
Polish contribution
Add converters between Enum and Integer
2016-03-16 17:01:02 +01:00
Stephane Nicoll
f422e490b0
Polish contribution
...
Issue: SPR-14039 - Closes gh-998
2016-03-16 17:00:00 +01:00
Yanming Zhou
1a302e1fac
Add converters between Enum and Integer
2016-03-16 17:00:00 +01:00
Rossen Stoyanchev
183594207f
Support user destinations without leading slash
...
Before this commit the DefaultUserDestinationResolver did not support
well broker destinations that use dot as separator with a built in
assumptions that the destinations it resolves must start with slash.
This change adds PathMatcher property that is used to determine if
an alternative path separator is in use and if so the leading slash is
left out.
Issue: SPR-14044
2016-03-15 17:50:13 -04:00
Sam Brannen
e904ce4ead
Polish QualifierAnnotationAutowireContextTests
2016-03-15 18:17:50 +01:00
Sam Brannen
e83e3ec9de
Add failing test for @Qualifier as composed annotation
...
Issue: SPR-14058
2016-03-15 18:13:59 +01:00
Sam Brannen
dfd4aae4f6
Add missing constructors to SynthesizingMethodParameter
...
This commit primarily allows for a `SynthesizingMethodParameter` to be
created for a `Constructor` parameter but also introduces an additional
overloaded constructor from `MethodParameter`.
Issue: SPR-14054
2016-03-15 16:28:36 +01:00
Stephane Nicoll
2a9b2ca5fd
Polish doc
...
Issue: SPR-14012
2016-03-15 16:12:35 +01:00
Stephane Nicoll
33a4e9e57f
Prevent non public bean to be exposed to JMX
...
Previously, a package private `@ManagedResource` annotated bean was
registered to the JMX domain even if any attempt to invoke an operation
on it will fail since it has to be public.
This commit validates that any `@ManagedResource` annotated bean is
public and throws an InvalidMetadataException otherwise. Note that the
actual bean type does not have to be public as long as the class
annotated with `@ManagedResource` in the hierarchy is pubic and no extra
operations or attributes are defined on the child.
Issue: SPR-14042
2016-03-15 09:51:20 +01:00
Rossen Stoyanchev
582864802e
Ensure RedirectModel is initialized
...
This commit fixes an old bug in ModelAndViewContainer where getModel
returns a new ModelMap instance that isn't saved and re-used.
Issue: SPR-14045
2016-03-14 23:00:19 -04:00
Rossen Stoyanchev
971ccab038
DeferredResult/ResponseBodyEmitter adapter mechanism
...
The DeferredResult~ and the ResponseBodyEmitterReturnValueHandler now
each expose an adapter mechanism for plugging in other async return
value types. As a result the ListenableFutureReturnValueHandler and
CompletionStageReturnValueHandler are no longer needed and are now
deprecated.
Issue: SPR-14046
2016-03-14 12:20:02 -04:00
Stephane Nicoll
2152f436f9
Upgrade to Gradle 2.12
...
Issue: SPR-14048
2016-03-14 15:00:00 +01:00
Sam Brannen
c41c5dd5c9
Polishing
2016-03-12 14:58:06 +01:00
Sam Brannen
92e715ed93
Update "What's New" regarding new testing features
2016-03-12 14:46:36 +01:00
Juergen Hoeller
f2f87ff1e0
Explicit javadoc references to BeanFactory-based default executor lookup
...
Issue: SPR-14030
2016-03-11 23:52:31 +01:00
Juergen Hoeller
155fa3754b
Consistent lazy resolution of default executor/scheduler for Async/ScheduledAnnotationBeanPostProcessor
...
Issue: SPR-14030
2016-03-11 23:23:58 +01:00
Phillip Webb
094cf6cafb
Support *Aware for @ComponentScan custom filters
...
Support a limited set of *Aware interfaces for TypeFilters created
via the @ComponentScan annotation.
Issue: SPR-14009
2016-03-11 12:40:42 -08:00
Sam Brannen
beb01e674e
Merge pull request #991 from philwebb/SPR-13998
...
* SPR-13998:
Polish ContextCustomizer support in the TCF
Introduce ContextCustomizer API in the TestContext Framework
2016-03-11 21:23:26 +01:00
Sam Brannen
cbd1342fbb
Polish ContextCustomizer support in the TCF
...
Issue: SPR-13998
2016-03-11 21:22:08 +01:00
Phillip Webb
87a3a5cb3b
Introduce ContextCustomizer API in the TestContext Framework
...
Allow third-parties to contribute ContextCustomizers that can customize
ApplicationContexts created by the Spring TestContext Framework (TCF)
before they are refreshed.
A customizer may be provided via a ContextCustomizerFactory which is
registered with `spring.factories`. Each factory is consulted whenever
a new ApplicationContext needs to be created by the TCF. Factories may
inspect various details about the test and either return a new
ContextCustomizer or null.
ContextCustomizers are similar to ApplicationContextInitializers and
may perform any number of tasks, including bean registration, setting
of active profiles, etc.
Issue: SPR-13998
2016-03-11 20:53:06 +01:00
Juergen Hoeller
406d06118d
Latest dependency updates (Caffeine 2.2.2, Gson 2.6.2, Jackson 2.7.2, OkHttp 2.7.5, OpenJPA 2.4.1)
2016-03-11 15:12:14 +01:00
Juergen Hoeller
71294df238
Upgrade to ASM 5.1
...
Issue: SPR-14037
2016-03-11 15:09:03 +01:00
Juergen Hoeller
d124a13eb4
Consistent use of empty enumerations
2016-03-11 15:07:59 +01:00
Juergen Hoeller
8852a5e178
Support for placeholders in @CrossOrigin attributes
...
Issue: SPR-14010
2016-03-11 15:04:16 +01:00
Juergen Hoeller
b4de66ff9a
Test for placeholder-specified default value within @Value
...
Issue: SPR-14025
2016-03-11 15:00:01 +01:00
Juergen Hoeller
0b1639d963
JdbcTemplate passes negative values other than -1 on to the driver (for MySQL's special values)
...
Issue: SPR-14028
2016-03-11 14:59:00 +01:00
Juergen Hoeller
100f3c5eeb
Removed invalid quoting of message arguments from MessageSource examples
...
Issue: SPR-14003
2016-03-11 12:57:41 +01:00
Juergen Hoeller
0597ff109e
Bsh/GroovyScriptFactory reset script cache in case of compilation error
...
Issue: SPR-14007
2016-03-11 12:55:20 +01:00
Juergen Hoeller
b944283354
ConstructorResolver exposes parameter signature from user-declared class (in case of a CGLIB-generated subclass)
...
Issue: SPR-14015
2016-03-11 12:52:40 +01:00
Juergen Hoeller
b6f69492a3
NoUniqueBeanDefinitionException exposes beanNamesFound collection
...
Issue: SPR-13968
2016-03-11 12:49:57 +01:00
Rossen Stoyanchev
68f6cf9d3a
Support same user connected to multiple servers
...
The MultiServerUserRegistry now supports scenarios where the same user
is connected to multiple servers. For such cases the SimpUser returned
from the registry exposes all sessions across all servers.
Issue: SPR-13800
2016-03-10 14:37:22 -05:00
Rossen Stoyanchev
6aa216afb6
Polish SimpUserRegistry related classes
...
Issue: SPR-13800
2016-03-10 14:37:22 -05:00
Sam Brannen
8222ff465d
Merge pull request #996 from philwebb/SPR-14035
...
* SPR-14035:
Polish ServletTestExecutionListener[Tests]
Support servlet listener activate attribute
2016-03-10 17:20:50 +01:00
Sam Brannen
51eccf552f
Polish ServletTestExecutionListener[Tests]
2016-03-10 17:20:02 +01:00
Phillip Webb
bb590db396
Support servlet listener activate attribute
...
Add a ServletTestExecutionListener.ACTIVATE_LISTENER attribute which
can be set on the TestContext to trigger activation of the listener
even if a `@WebAppConfiguration` is not present.
Issue: SPR-14035
2016-03-10 16:54:14 +01:00
Brian Clozel
8ca6a18dae
Allow Validator config in XML websocket namespace
...
This commit adds a new "validator" XML attribute to the
`<websocket:message-broker/>` element. This allows configuring a
specific Validator to be used for payload validation.
Issue: SPR-13996
2016-03-10 16:35:20 +01:00
Stephane Nicoll
8e24a4153c
Support ResolvableTypeProvider on simple event pojo
...
Previously, the generic type of a simple pojo event implementing
ResolvableTypeProvider wasn't detected properly. This commit fixes the
logic when the generic type is not provided to reuse what
PayloadApplicationEvent is already doing anyway.
Issue: SPR-14029
2016-03-09 11:55:20 +01:00
Stephane Nicoll
ed341695a8
Merge pull request #992 from coryfklein/master
...
* pr/992:
Fix typo
2016-03-09 08:54:03 +01:00
Cory Klein
71cf7b4053
Fix typo
...
Closes gh-992
2016-03-09 08:53:47 +01:00
Phillip Webb
2244461778
Allow @ContextConfiguration to be omitted
...
Prior to this commit, the @ContextConfiguration annotation was required
to be present even if default XML files, Groovy scripts, or
@Configuration classes were detected; however, in such cases the
@ContextConfiguration was typically declared empty and therefore
seemingly unnecessary boilerplate.
This commit permits @ContextConfiguration to be omitted whenever it can
be reasonably deduced. Consequently, integration tests such as the
following are now supported.
@RunWith(SpringRunner.class)
public class MyTest {
@Autowired String myBean;
@Test public void example() { /* ... */ }
@Configuration
static class Config {
@Bean String myBean() {
return "Hello";
}
}
}
Issue: SPR-13955
2016-03-08 19:36:49 +01:00
Brian Clozel
0a56667093
Fix SpringUrl Velocity macro URI encoding
...
Prior to this commit, the springUrl Velocity macro would only prepend
the context to the given URL; this means that the
ServletHttpResponse.encodeUri method is not called and neither the
ResourceUrlProvider.
This commit changes this macro to use RequestContext.getContextUrl which
prepends the context and encodes the URI.
Issue: SPR-14027
2016-03-08 17:07:59 +01:00
Sam Brannen
89cf4772d5
Fix malformed HTML in Javadoc
2016-03-08 15:27:35 +01:00
Sam Brannen
e85a06234b
Partial merge of pull request #983 from philwebb/testcontext
...
* philwebb-testcontext:
Polishing
Remove @BootstrapWith from @WebAppConfiguration
2016-03-08 15:19:55 +01:00
Sam Brannen
93fb7be783
Polishing
2016-03-08 15:18:21 +01:00
Phillip Webb
504779e210
Remove @BootstrapWith from @WebAppConfiguration
...
Update @WebAppConfiguration so that it no longer directly specifies
a TestContextBootstrapper. This allows third parties to use the
annotation in combination with their own bootstrapper.
BootstrapUtils now provides the detection logic for when
WebTestContextBootstrapper should be used.
Issue: SPR-13991
2016-03-08 14:31:06 +01:00
Sam Brannen
0d12b84022
Document single element annotation attribute overrides in "What's New"
...
Issue: SPR-13972
2016-03-08 14:00:12 +01:00
Sam Brannen
4bead6e542
Polish Javadoc for @GetMapping
...
Issue: SPR-13992
2016-03-07 18:18:46 +01:00
Sam Brannen
cbcc9998f1
Support 'produces' and 'consumes' attributes in @DeleteMapping
...
Issue: SPR-13992
2016-03-07 18:13:40 +01:00
Sam Brannen
bea26413b4
Support 'produces' attribute in @[Post|Put|Patch]Mapping
...
Issue: SPR-13992
2016-03-07 18:13:40 +01:00
Sam Brannen
78690a24fb
Add headers & name attributes to composed @RequestMapping annotations
...
Issue: SPR-13992
2016-03-07 18:13:40 +01:00
Sam Brannen
ca8acc8758
Suppress warnings Gradle build
2016-03-07 15:36:46 +01:00
Sam Brannen
eb654dc177
Allow single element to override array in synthesized annotation
...
This commit picks up where 8ff9e818a5
left off.
Specifically, this commit introduces support that allows a single
element attribute to override an array attribute with a matching
component type when synthesizing annotations (e.g., in annotations
synthesized from attributes that have been merged from the annotation
hierarchy above a composed annotation).
Issue: SPR-13972
2016-03-07 15:22:27 +01:00
Stephane Nicoll
e086a5d58b
Polish
...
Add period unit in the description so that it shows up in the summary
description.
2016-03-06 09:04:59 +01:00
Stephane Nicoll
1772278053
Merge pull request #985 from verydapeng/master
...
* pr/985:
Add table title for @Transactional settings
2016-03-04 22:42:59 +01:00
Dapeng
9d4c6e4d06
Add table title for @Transactional settings
...
Closes gh-985
2016-03-04 22:41:34 +01:00
Rossen Stoyanchev
dfa1938ac1
Update what's new
2016-03-04 16:09:08 -05:00
Rossen Stoyanchev
ff2a911baa
Update MVC config to use CNM for static resources
...
The MVC config now plugs the configured ContentNegotiationManager into
resource request handling.
Issue: SPR-13658
2016-03-04 16:06:01 -05:00
Rossen Stoyanchev
f162256906
Use ContentNegotiationManager for static resources
...
The ResourceHttpRequestHandler now relies on the conifgured
ContentNegotiationManager to determine the content type for resource
requests rather than implementing that internally.
First we check against the matched resource based on the resource file
extension. Then we expand the check against the request with any
configured content negotiation strategy.
Issue: SPR-13658
2016-03-04 16:06:01 -05:00
Rossen Stoyanchev
1a76f7e9c2
Polish static resource handling
2016-03-04 16:05:49 -05:00
Brian Clozel
5067f00228
Polish
...
Issue: SPR-14018
2016-03-04 11:38:25 +01:00
Ruben Dijkstra
41da04d386
Remove duplicate slash from resolved WebJar locations
...
This commit updates the WEBJARS_LOCATION in WebJarResourceResolver to
avoid getting duplicate slashes in resolved resources locations such
as `/webjars//bootstrap/3.3.2/js/bootstrap.min.js`.
Issue: SPR-14018
2016-03-04 11:36:30 +01:00
Rossen Stoyanchev
9e167045fc
Update what's new
2016-03-03 14:48:50 -05:00
Rossen Stoyanchev
6f2c968925
Support strict URI variable encoding
...
The DefaulUriTemplateHandler now provides a strictEncoding property
which if turned on encodes everything outside the reserved char set.
This is in contrast to the default policy of encoding only illegal
charaters depending on the URI component type.
Issue: SPR-11652
2016-03-03 14:37:48 -05:00
Rossen Stoyanchev
e98738d8ba
Polish UriTemplateHandler related classes
2016-03-03 13:33:45 -05:00
Brian Clozel
44c32128dc
Add newline at the beginning of textarea JSP tags
...
This commit adds a newline char at the beginning of textarea tags
values. As per the HTML 4.01 spec (and browsers behavior), a line break
following a start tag is ignored.
This can lead to Spring's textarea tag to ignore a line break char at
the beginning of a tag value.
See https://www.w3.org/TR/html401/appendix/notes.html#notes-line-breaks
Issue: SPR-13503
2016-03-03 16:48:17 +01:00
Rossen Stoyanchev
36e2dd90a7
Support contextPath override in ForwardedHeaderFilter
...
Issue: SPR-13614
2016-03-02 18:38:25 -05:00
Rossen Stoyanchev
6fcc869338
Polish ForwardedHeaderFilter
...
Issue: SPR-13614
2016-03-02 18:38:25 -05:00
Sam Brannen
067994712d
Make TestContextManager.getTestContext() public
...
This commit changes the visibility of the getTestContext() method in
TestContextManager from 'protected' to 'public' in order to support
test method injection in JUnit 5 and similar use cases.
Issue: SPR-14011
2016-03-02 20:19:25 +01:00
Brian Clozel
50bcd67fb6
Relax SPR-13867 changes for ResourceHttpRequestHandler
...
Prior to this change, SPR-13867 made sure that any class extending
WebContentGenerator would not overwrite existing HTTP "Cache-Control"
response headers - set by a filter, a Controller handler, etc.
This caused issues with resource handling, since specifying a cache
configuration there would not overwrite default headers set by filters,
for example by Spring Security.
This commit restricts the previous changes to the
RequestMappingHandlerAdapter, in order to avoid overwriting header set
by a filter or a Controller handler in those cases.
Issue: SPR-14005
2016-03-02 17:42:44 +01:00
Sam Brannen
18e9699a2b
Demo @ContextConfiguration as composed annotation with ACI
...
This commit demonstrates how to register one or more @Configuration
classes via an ApplicationContextInitializer in a composed annotation so
that certain @Configuration classes are always registered whenever the
composed annotation is used, even if the composed annotation is used to
declare additional @Configuration classes.
2016-03-02 14:07:15 +01:00
Rossen Stoyanchev
4cf0b59e00
Add ForwardedHeaderFilter
...
The new Filter is simply a new way of packaging the ability to extract
X-Forwarded-* headers already available via UriComponentsBuilder.
The Filter wraps the request and the effect is that anything using the
request will see the original schem, host, and port.
Issue: SPR-13614
2016-03-01 23:33:36 -05:00
Sebastien Deleuze
7b861c9a8a
Add defaultUseWrapper support to Jackson builder
...
Issue: SPR-13975
2016-03-02 00:03:25 +01:00
Phillip Webb
ffbf264976
Polish Javadoc
2016-03-01 13:34:25 -08:00
Stephane Nicoll
b3b3fc5a7e
Polish
2016-03-01 19:10:39 +01:00
Brian Clozel
3df66d023c
Polish documentation on WebApplicationInitializer
...
Issue: SPR-13978
2016-03-01 17:38:52 +01:00
Brian Clozel
0d6f80052d
Support conditional updates in ServletWebRequest
...
Prior to this commit, `ServletWebRequest.checkNotModified` would only
support conditional GET/HEAD requests with "If-Modified-Since" and/or
"If-None-Match" request headers. In those cases, the server would return
"HTTP 304 Not Modified" responses if the resource didn't change.
This commit adds support for conditional update requests, such as
POST/PUT/DELETE requests with "If-Unmodified-Since" request headers.
If the underlying resource has been modified since the specified date,
the server will return a "409 Precondition failed" response status
to prevent concurrent updates.
Even if the modification status of the resource is reversed here
(modified vs. not modified), we're keeping here the same intent for the
return value, which signals if the response requires more processing or
if the handler method can return immediately:
```
if (request.checkNotModified(lastModified)) {
// shortcut exit - no further processing necessary
return null;
}
```
Issue: SPR-13863
2016-03-01 14:37:29 +01:00
Sebastien Deleuze
b3abd3b809
Fix HeaderResultMatchers#string(String, String) assert order
...
Issue: SPR-14004
2016-03-01 14:18:29 +01:00
Sebastien Deleuze
c385427397
Allow to specify AbstractHttpMessageConverter default charset
...
Before this commit, specifying the charset to use with produces or
consumes @RequestMapping attributes resulted in default charset
loss. That was really annoying for JSON for example, where using
UTF-8 charset is mandatory in a lot of use cases.
This commit adds a defaultCharset property to
AbstractHttpMessageConverter in order to avoid losing the
default charset when specifying the charset with these
@RequestMapping attributes.
It changes slightly the default behavior (that's why we have waited
4.3), but it is much more error prone, and will match with most
user's expectations since the charset loss was accidental in most
use cases (users usually just want to limit the media type supported
by a specific handler method).
Issue: SPR-13631
2016-02-29 23:34:32 +01:00
Sam Brannen
61824b1ade
Remove trailing whitespace from source code
2016-02-29 18:52:57 +01:00
Sam Brannen
2bb2657483
Merge pull request #981 from sbrannen/SPR-13992
...
* SPR-13992:
Introduce composed annotations for @RequestMapping
2016-02-29 18:25:57 +01:00
Sam Brannen
467b5f3f28
Introduce composed annotations for @RequestMapping
...
This commit introduces the following common composed annotations for
@RequestMapping in Spring MVC and Spring MVC REST.
- @GetMapping
- @PostMapping
- @PutMapping
- @DeleteMapping
- @PatchMapping
Issue: SPR-13992
2016-02-29 18:22:30 +01:00
Stephane Nicoll
5923ee8af3
Add sun.misc annotation marker
...
This commit adds an annotation that should be used to mark any usage of
the `sun.misc` API.
2016-02-29 17:43:04 +01:00
Sam Brannen
161ec15a46
Merge pull request #982 from sbrannen/SPR-13993
...
* SPR-13993:
Introduce composed annotations for web scopes
2016-02-29 17:41:43 +01:00
Sam Brannen
b423596b2e
Introduce composed annotations for web scopes
...
This commit introduces the following common composed annotations for
web scopes.
- @RequestScope
- @SessionScope
- @ApplicationScope
Issue: SPR-13993
2016-02-29 17:38:46 +01:00
Sam Brannen
df7b24b8e7
Allow non-public @Transactional test methods
...
Prior to this commit, the TransactionalTestExecutionListener required
@Transactional test methods to be public; however, neither TestNG nor
JUnit 5 require that @Test methods are public. Consequently, non-public
transactional test methods silently run *without* a transaction.
This commit removes the 'public' restriction on transactional test
methods by setting the 'publicMethodsOnly' flag in
AnnotationTransactionAttributeSource to false.
Issue: SPR-14000
2016-02-29 15:30:22 +01:00
Sam Brannen
197434b3ec
Polish TestNG integration tests
2016-02-29 15:30:22 +01:00
Sam Brannen
816185233d
Polish TransactionalTestExecutionListener
2016-02-29 15:30:22 +01:00
Juergen Hoeller
a02fd7c995
RequestMappingHandlerAdapter properly invokes handler method in case of no session as well
...
Issue: SPR-13999
2016-02-29 15:05:50 +01:00
Juergen Hoeller
9c0f99c0b5
Polishing
2016-02-29 12:57:09 +01:00
Juergen Hoeller
8e5e384de7
Test for constructor with unresolvable parameter name
...
Issue: SPR-13987
2016-02-29 11:18:23 +01:00
Juergen Hoeller
1815a6a7eb
RequestMappingHandlerAdapter properly invokes handler method in synchronizeOnSession mode again
...
Issue: SPR-13999
2016-02-29 11:12:11 +01:00
Sam Brannen
a2bfe86630
Support @[Before|After]Transaction on non-public methods
...
In order to align with the relaxed programming models of TestNG and the
upcoming JUnit 5 (with regard to method visibility), this commit
removes the requirement that @BeforeTransaction and @AfterTransaction
methods must be 'public'.
Issue: SPR-13997
2016-02-29 00:42:47 +01:00
Sam Brannen
31e0386bcb
Stop referencing deprecated @TransactionConfiguration in Javadoc
2016-02-27 23:50:00 +01:00
Sam Brannen
9d3dd1bc13
Introduce SpringRunner 'alias' for SpringJUnit4ClassRunner
...
This commit introduces a SpringRunner extension of
SpringJUnit4ClassRunner that is intended to be used as an 'alias' for
SpringJUnit4ClassRunner, primarily in order to simplify configuration
of JUnit 4 based integration tests.
Developers can use this alias as follows:
@RunWith(SpringRunner.class)
public class MySpringIntegrationTests { ... }
Issue: SPR-13954
2016-02-27 23:02:55 +01:00
Sam Brannen
0c66838268
Polish Javadoc for @RequestMapping
2016-02-26 22:35:51 +01:00
Sam Brannen
6fcb6630d7
Clean up warnings in SampleAsyncTests
2016-02-26 22:35:51 +01:00
Juergen Hoeller
ab16053ed4
Redistribute AOP Alliance interfaces in spring-aop again (as in Spring 2.x)
...
Issue: SPR-13984
2016-02-26 12:40:00 +01:00
Juergen Hoeller
8a83af55b8
Consistent resolution of factory method exceptions
...
Issue: SPR-13985
2016-02-26 12:31:03 +01:00
Juergen Hoeller
7a32ce317c
LinkedCaseInsensitiveMap provides reliable getOrDefault implementation
...
Issue: SPR-13981
2016-02-25 21:42:11 +01:00
Juergen Hoeller
b6dd8a9233
Consistent UnsatisfiedDependencyException exposure with injection point metadata
...
Issue: SPR-13968
2016-02-25 21:36:49 +01:00
Juergen Hoeller
4c964473b1
Defensively close jar files from non-cached JarURLConnections
...
Issue: SPR-6295
2016-02-25 10:25:13 +01:00
Rossen Stoyanchev
1bc1df2d0f
Polish client-side REST updates
...
Issue: SPR-11365
2016-02-24 15:24:13 -05:00
Juergen Hoeller
ca19920d74
Refined ApplicationContextInitializer assignability exception
2016-02-24 17:50:14 +01:00
Juergen Hoeller
a68b910b7c
TimerScheduledFuture correctly calculates getDelay result
...
Issue: SPR-13977
2016-02-24 17:11:36 +01:00
Rossen Stoyanchev
46189b48fc
Merge client REST test support updates
...
Includes support to declare expecations should occur multiple
times as well as in any order.
Issue: SPR-11365
2016-02-23 23:33:59 -05:00
Rossen Stoyanchev
91872b0d74
Add ExpectedCount
...
MockRestServicesServer now supports an expect variant that accepts
a range of expected count of executions.
Issue: SPR-11365
2016-02-23 23:31:34 -05:00
Rossen Stoyanchev
08a08725be
Allow plugging in custom RequestExpectationManager
...
The MockRestServiceServer builder now has an option to plug in a
custom RequestExpectationManager.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Rossen Stoyanchev
a56c69c9ca
Introduce MockRestServiceServer builder
...
MockRestServiceServer now provides static methods for builder-style
creation of MockRestServiceServer. This includes an option ignore
the order of declaration expected requests.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Rossen Stoyanchev
f58ef24efd
Introduce RequestExpectationManager
...
This commit factors out the logic to declare and manage expectations
including matching them to requests and verifying at the end behind
a commong abstraction.
MockRestServiceServer delegates to the new abstraction and is no longer
aware of how that's done. There are two implementations, one for
ordered and another for unordered expectation.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Rossen Stoyanchev
37a3fa96d1
Separate ResponseActions from ClientHttpRequest
...
Before this commit RequestMatcherClientHttpRequest served both as
API to define request expectations, i.e. ResponseActions, as well as
the implementation of ClientHttpRequest representing actual requests.
DefaultResponseActions replaces this class as a simple holder of
expected requests and mock responses. MockRestServiceServer is then
responsible to match request expectations and create a mock response.
Issue: SPR-11365
2016-02-23 23:31:33 -05:00
Sebastien Deleuze
3329abffc8
Allow to specify request body type in RestTemplate
...
This commit allows to specify the request body type in order to
serialize generic types with a GenericHttpMessageConverter if
needed.
Issue: SPR-13154
2016-02-23 16:15:38 +01:00
Juergen Hoeller
7b1fcfc7c3
Consistently strict parsing of date overflows (using java.time's strict resolution style)
...
Issue: SPR-13567
2016-02-23 16:12:26 +01:00
Juergen Hoeller
028a690100
Polishing
2016-02-23 14:31:09 +01:00
Juergen Hoeller
ed98393fb2
SmartObjectFactory renamed to ObjectProvider (extends ObjectFactory)
...
Issue: SPR-13943
Issue: SPR-13956
2016-02-23 14:30:30 +01:00
Juergen Hoeller
1899fb37c1
Polishing
2016-02-22 23:26:41 +01:00
Juergen Hoeller
a3789120c9
Support for @PropertySource annotations with custom implementation types
...
Issue: SPR-8963
2016-02-22 23:25:50 +01:00
Juergen Hoeller
8ff9e818a5
Allow for a single element overriding an array attribute in a meta-annotation
...
Includes refinements for consistent quoting of names in exception messages.
Issue: SPR-13972
2016-02-22 23:24:30 +01:00
Juergen Hoeller
b9fe6d89da
Avoid NPE in case of @Lazy @Autowired(required=false)
...
Issue: SPR-13967
2016-02-22 23:21:59 +01:00
Phillip Webb
d8a05592e2
Allow package private classes in spring.factories
...
Update SpringFactoriesLoader so that package private classes can be
used.
Issue: SPR-13969
2016-02-22 10:01:35 -08:00
Juergen Hoeller
2ca11029f2
Latest dependency updates (Caffeine 2.2, EhCache 3.0 M5, Groovy 2.4.6, Gson 2.6.1, Hibernate Validator 5.2.4, SLF4J 1.7.16, SnakeYAML 1.17)
2016-02-22 17:42:50 +01:00
Stephane Nicoll
f4cbd98459
Upgrade to Undertow 1.3.18.Final
2016-02-22 16:48:29 +01:00
Rossen Stoyanchev
b3d67b928b
Check supported locales in AcceptHeaderLocaleResolver
...
Issue: SPR-13330
2016-02-22 09:44:06 -05:00
Stephane Nicoll
a94ffbb17a
Fix typo
2016-02-22 10:03:27 +01:00
Stephane Nicoll
963fea0e3f
Merge pull request #934 from mnhock/Remove-unused-third-argument
...
* pr/934:
Fix Format-string method arguments
2016-02-20 09:04:21 +01:00
mnhock
e98977cbc8
Fix Format-string method arguments
...
Closes gh-934
2016-02-20 09:01:54 +01:00
Rossen Stoyanchev
f32aded27a
Consolidate CORS/OPTIONS request mapping
...
The CORS pre-flight request matching logic for all request conditions
was added (in 4.2) to RequestMappingInfo. However the logic for
default handling of all HTTP OPTIONS requests for 4.3 unintentionally
overrode some of the pre-flight request handling thus causing issues.
This commit moves CORS pre-flight matching logic into each respective
RequestMethodCondition implementations so each has to consider in one
place what happens for pre-flight and for all other requests.
Issue: SPR-13130
2016-02-19 13:56:52 -05:00
Rossen Stoyanchev
26575148a5
Polish test class
2016-02-19 13:56:52 -05:00
Juergen Hoeller
700ab2fc98
DataBinder test for java.util.Optional property
...
Issue: SPR-13933
2016-02-19 19:21:09 +01:00
Juergen Hoeller
a7ad49adcf
Placeholder configurers allow for trimming of property values
...
Issue: SPR-5839
2016-02-19 19:19:39 +01:00
Juergen Hoeller
890819f886
SmartObjectFactory provides getObject(args) variant as well
...
Issue: SPR-13956
2016-02-19 14:39:55 +01:00
Juergen Hoeller
5ed9046886
BeanMethodInterceptor does not pass on null arguments for singleton beans
...
Issue: SPR-13887
2016-02-19 14:00:52 +01:00
Stephane Nicoll
d6700b7a10
Merge pull request #970 from wilkinsona/consistent-descriptions
...
* pr/970:
Consistent descriptions for ConfigurationClass
2016-02-19 09:09:10 +01:00
Andy Wilkinson
65d144b1e5
Consistent descriptions for ConfigurationClass
...
Previously, a ConfigurationClass created from AnnotationMetadata
and a ConfigurationClass created from a class would have subtly
different descriptions. Given a class named com.example.Foo, the
former’s description would be “com.example.Foo”, whereas the latter’s
description would be “class com.example.Foo”.
This commit updates ConfigurationClass to make the description
consistent, preferring the description without “class” in it.
Closes gh-970
2016-02-19 09:08:55 +01:00
Rossen Stoyanchev
f33578ef0f
Fix failing test and warings
...
The test failure was caused by the previous commit. The Message
resolver now supports payload conversion so it can raise a
MessageConversionException, not MethodArgumentTypeMismatchException.
2016-02-18 22:37:57 -05:00
Phillip Webb
c4117885bd
Refine AntPathMatcher optimizations
...
Refine the optimizations made in 6f55ab69 in order to restore binary
compatibility and resolve a regression.
Tests of the form pathMatcher.match("/foo/bar/**", "/foo/bar") should
return true as this was the behavior in Spring 4.2.
Issue: SPR-13913
2016-02-18 18:49:58 -08:00
Juergen Hoeller
48ee9b52d4
Consistent check for Collection/Map beans
...
Issue: SPR-13963
2016-02-19 02:30:58 +01:00
Rossen Stoyanchev
18a59dad52
Minor Javadoc update
2016-02-18 18:11:59 -05:00
Rossen Stoyanchev
416966d943
Support Message argument with payload conversion
...
The MessageMethodArgumentResolver now also supports applying a
MessageConverter to the payload.
This is effectively a shortcut for declaring a method with an @Payload
argument + MessageHeaders and then creating a new message from the two.
Issue: SPR-13288
2016-02-18 18:09:16 -05:00
Rossen Stoyanchev
ec3571fd4d
Polish
2016-02-18 18:09:16 -05:00
Juergen Hoeller
1b53edfc5e
DefaultListableBeanFactory skips fallback match attempt for Collection/Map beans
...
Issue: SPR-13963
2016-02-19 00:05:28 +01:00
Juergen Hoeller
0adc4921ed
TestContextManager consistently handles Errors from listener invocations
...
Issue: SPR-13961
2016-02-18 21:07:32 +01:00
Rossen Stoyanchev
08eb623c41
Fix regression introduced in 4.3 snapshot
...
Commit ccd17d introduced a regression where a custom HTTP method
would no longer match for an empty @RequestMapping condition.
The previous behavior should now be restored. Effectively
RequestMethodRequestCondition as before will now match to any HTTP
method (even unknown/custom ones) if the methods condition is empty.
The only exception is HTTP OPTIONS for which we provide default
handling as a fallback (i.e. when not mapped explicitly).
Issue: SPR-13130
2016-02-18 14:37:36 -05:00
Brian Clozel
1c2ac49f2a
Add weak ETag support in ShallowEtagHeaderFilter
...
This commit adds weak ETag support in ShallowEtagHeaderFilter.
This improves the behavior of the filter in tow ways:
* weak ETags in request headers such as `W/"0badc0ffee"` will be
compared with a "weak comparison" (matching both weak and strong ETags
of the same value)
* when enabled with the "writeWeakETag" init param, the filter will
write weak Etags in its HTTP responses
Issue: SPR-13778
2016-02-18 18:05:48 +01:00
Juergen Hoeller
923534595c
ScriptUtils.executeSqlScript logs SQLWarnings at debug level
...
Issue: SPR-13959
2016-02-18 17:37:22 +01:00
Juergen Hoeller
8495fcf109
Avoid accessing the session if no session attributes need to be updated
...
Issue: SPR-13950
2016-02-18 17:33:39 +01:00
Juergen Hoeller
7fcb277de9
Consistent behavior for unwrap(null) on JPA and Bean Validation wrappers
...
Includes a fix for Query unwrapping before passing it to addNamedQuery.
Issue: SPR-13960
Issue: SPR-13957
2016-02-18 16:19:09 +01:00
Juergen Hoeller
ea4a766df7
Consistent support for SpEL next to placeholders in annotation attributes
...
Issue: SPR-13625
2016-02-17 23:00:07 +01:00
Juergen Hoeller
e0d7c6be00
Name attributes in method argument annotations allow for placeholders and expressions
...
Issue: SPR-13952
2016-02-17 22:59:12 +01:00
Sam Brannen
c2f704717e
Polish Javadoc for DefaultRequestToViewNameTranslator
2016-02-17 17:30:57 +00:00
Juergen Hoeller
25be5e060c
TaskDecorator callback supported by common TaskExecutor implementations
...
Issue: SPR-13930
2016-02-17 16:58:02 +01:00
Juergen Hoeller
ac44f9edd9
Consistent equals implementations across class hierarchies
...
Issue: SPR-13951
2016-02-17 16:57:29 +01:00
Brian Clozel
ac3847bf4a
Clarify Javadoc for CacheControl.noCache,noStore
...
This change makes clear that this is the intent of the CacheControl API
not to provide a way to configure both "no-cache" and "no-store"
directives for the "Cache-Control" header.
Issue: SPR-13780
2016-02-17 16:48:28 +01:00
Stephane Nicoll
513c1ea3d9
Update @author tag
2016-02-17 14:50:29 +01:00
Rossen Stoyanchev
43d72871bd
Merge pull request #962 from matthew-pearson/master
2016-02-17 08:23:59 -05:00
Rossen Stoyanchev
024bd6e604
Polish
2016-02-17 08:23:18 -05:00
matthew-pearson
57b466fdfc
404 rather than 405 or 200
...
Check that the path is valid and resolvable before checking that the
http method is supported. For invalid or unresolvable paths, always
respond with a 404.
2016-02-17 08:23:18 -05:00
Stephane Nicoll
a6d31d5212
Merge pull request #957 from soldierkam/cache-alloc
...
* pr/957:
Polish contribution
Decrease allocation rate for CacheOperation
2016-02-17 13:31:19 +01:00
Stephane Nicoll
37b3b24578
Polish contribution
...
Closes gh-957
2016-02-17 13:30:48 +01:00
soldierkam
c73e52412a
Decrease allocation rate for CacheOperation
2016-02-17 13:15:05 +01:00
Stephane Nicoll
7dac2e3256
Merge pull request #960 from logicg8/master
...
* pr/960:
Polish doc
2016-02-17 13:12:23 +01:00
logicg8
6ce76314e7
Polish doc
...
Closes gh-960
2016-02-17 13:12:00 +01:00
Juergen Hoeller
5c87afc51d
Polishing
2016-02-16 22:28:46 +01:00
Juergen Hoeller
1253b451f5
DefaultMessageListenerContainer stops if recovery failed after interrupt signal
...
Issue: SPR-11787
2016-02-16 22:28:10 +01:00
Juergen Hoeller
51c35bf81c
SpringValidatorAdapter exposes String attributes as MessageSourceResolvable
...
Issue: SPR-13406
2016-02-16 22:16:19 +01:00
Juergen Hoeller
a9d62372bf
Upgrade to Hibernate ORM 5.1
...
Issue: SPR-13480
2016-02-16 13:58:05 +01:00
Juergen Hoeller
5e5bf7f518
Polishing
2016-02-16 13:57:08 +01:00
Juergen Hoeller
e36b7531d8
Merge pull request #963 from poutsma/SPR-13942
...
Use synchonous API for synchonous OkHttp requests
2016-02-16 13:35:02 +01:00
Arjen Poutsma
37b32d38bc
Use synchonous API for synchonous OkHttp requests
...
This commit changes the OkHttpClientHttpRequestFactory to use the
synchronous OkHttp API for non-async requests, as opposed to
synchronizing the async API (which it used to do).
Issue: SPR-13942
2016-02-16 12:16:10 +01:00
Juergen Hoeller
343bb2f130
Support for SmartObjectFactory injection points with programmatic optionality and lenient not-unique handling
...
Issue: SPR-13943
2016-02-12 17:45:25 +01:00
Juergen Hoeller
b79e8a5cbc
Support for Common Annotations 1.1 Resource.lookup() attribute
...
Issue: SPR-13941
2016-02-12 17:41:10 +01:00
Stephane Nicoll
268ebd7e89
Merge pull request #961 from gregturn/SPR-13940
...
* pr/961:
Remove duplicate method from reference docs
2016-02-12 09:03:14 +01:00
Greg Turnquist
8cb35197ef
Remove duplicate method from reference docs
...
Closes gh-681
Issue: SPR-13940
2016-02-12 09:02:31 +01:00
Juergen Hoeller
0dff782402
Fixed addProtocolResolver signature in ConfigurableApplicationContext
...
Issue: SPR-12857
Issue: SPR-13905
2016-02-11 22:47:41 +01:00
Juergen Hoeller
f6ebc4ce97
Polishing
2016-02-11 22:24:50 +01:00
Juergen Hoeller
27c1280949
Consider negative contentLength() result as not resolvable
...
Issue: SPR-13571
2016-02-11 22:24:13 +01:00
Juergen Hoeller
37de0b241d
ProtocolResolver SPI allows for custom resource resolution
...
Issue: SPR-12857
Issue: SPR-13905
2016-02-11 22:21:26 +01:00
Rossen Stoyanchev
a1e9e6f53e
Polish MVC Java config tests
2016-02-10 15:29:56 -05:00
Rossen Stoyanchev
d53c04b4df
Add option to extend exception resolvers
...
Issue: SPR-13931
2016-02-10 15:26:40 -05:00
Rossen Stoyanchev
c45ad3022b
Add "hosts" property to RedirectView
...
Issue: SPR-13693
2016-02-10 14:21:27 -05:00
Rossen Stoyanchev
aba04d576f
Polish RedirectViewTests
2016-02-10 14:21:27 -05:00
Juergen Hoeller
8558cbc9bf
Polishing
2016-02-10 19:40:47 +01:00
Rossen Stoyanchev
b11d345c0d
Common base class for [Unknown]HttpStatusCodeException
...
Issue: SPR-13928
2016-02-10 11:21:59 -05:00
Juergen Hoeller
901c2d5f74
Consistent API between spring-web and spring-messaging HandlerMethod infrastructure
...
Issue: SPR-13929
2016-02-10 16:23:11 +01:00
Juergen Hoeller
f61b998447
AbstractMarshaller defensively uses DocumentBuilderFactory within synchronized block
...
Issue: SPR-13935
2016-02-10 16:22:13 +01:00
Juergen Hoeller
c788a8a260
Latest dependency updates (Joda-Time 2.9.2, OkHttp 2.7.4, SLF4J 1.7.15)
2016-02-10 16:20:28 +01:00
Brian Clozel
0ab3f6092c
Fix failing tests
...
Issue: SPR-13913
2016-02-10 13:48:49 +01:00
Stephane Nicoll
a4a3cda29f
Upgrade to undertow 1.3.17
2016-02-10 13:02:22 +01:00
soldierkam
e77ff3c991
Improve AntPathMatcher matching performance
...
This commit speeds up the AntPathMatcher implementation by
pre-processing patterns and checking that candidates are likely
matches if they start with the static prefix of the pattern.
Those changes can result in a small performance penalty for positive
matches, but with a significant boost for checking candidates that don't
match. Overall, this tradeoff is acceptable since this feature is often
used to select a few matching patterns in a much bigger list.
This will lead to small but consistent performance improvements in
Spring MVC when matching a given request with the available routes.
Issue: SPR-13913
2016-02-10 11:39:38 +01:00
Rossen Stoyanchev
cdfcc23b6f
Reduce log level for @ExceptionHandler failure
...
Issue: SPR-13932
2016-02-09 12:57:02 -05:00
Rossen Stoyanchev
29cd1808b7
Upgrade to Tomcat 8.0.32
2016-02-08 10:57:42 -05:00
Juergen Hoeller
43bcab9c1a
ReflectiveMethodResolver lets local static methods override java.lang.Class methods
...
Issue: SPR-13918
2016-02-08 13:23:02 +01:00
Juergen Hoeller
903ae48382
DisposableBeanAdapter ignores bridge method conflicts
...
Issue: SPR-13922
2016-02-08 13:20:48 +01:00
Juergen Hoeller
449f704650
PathMatchingResourcePatternResolver consistently logs retrieval results
...
Issue: SPR-13923
2016-02-08 13:18:43 +01:00
Juergen Hoeller
afe7bf2695
Latest dependency updates (Hibernate Validator 5.2.3, OkHttp 2.7.2, Netty 4.0.34, Undertow 1.3.16)
2016-02-05 17:17:00 +01:00
Rossen Stoyanchev
e4539d9f40
Add protected method for required RequestBody
2016-02-05 02:24:03 -05:00
Rossen Stoyanchev
7756feacd8
Polish
2016-02-05 00:04:59 -05:00
Rossen Stoyanchev
1291d6e1bd
Support CharSequence for response body
...
Issue: SPR-13423
2016-02-04 23:55:48 -05:00
Rossen Stoyanchev
902a7287f7
Fix NPE in InvocableHandlerMethod
...
Issue: SPR-13917
2016-02-04 23:32:22 -05:00
Rossen Stoyanchev
09a40b8a08
Improve close in ConcurrentWebSocketSessionDecorator
...
Before this commit the concurrent session wrapper mainly protected the
sending of messages. The close itself however may also cause a message
to be sent as is the case of the SockJS protocol.
This change protects the close and checks if the session has exceeded
send time or buffer limits in which case the close status is changed
to SESSION_NOT_RELIABLE (introduced in commit cbd5af3a ) which in turn
signals that extra care should be exercised when closing the session.
Issue: SPR-13904
2016-02-04 17:23:16 -05:00
Rossen Stoyanchev
7ed2b8fd81
Polish WebSocket session decorator and tests
2016-02-04 17:23:16 -05:00
Sam Brannen
26edc674ed
Polish Javadoc for resource-based MessageSources
2016-02-04 21:32:37 +01:00
Rossen Stoyanchev
b49235ac59
BufferedImage converter writes Content-Type again
...
Issue: SPR-13906
2016-02-04 14:59:13 -05:00
Juergen Hoeller
e90310612f
Polishing
2016-02-04 20:00:00 +01:00
Juergen Hoeller
f108deb114
(Reloadable)ResourceBundleMessageSource allows for adding resources
...
This turned into the extraction of a common AbstractResourceBasedMessageSource base class which not only features addBasenames but also getBasenameSet and setCacheMillis.
Issue: SPR-10314
2016-02-04 19:57:40 +01:00
Juergen Hoeller
28e8af2e2e
AbstractXlsView does not explicitly flush (for compatibility with WebSphere Liberty)
...
Issue: SPR-13910
2016-02-04 19:48:05 +01:00
Sam Brannen
81f68463ec
Clean up warnings in Gradle build
2016-02-03 18:42:30 +01:00
Sam Brannen
677a321571
Support primary TxMgrs and DataSources in the TCF
...
Prior to this commit, the transaction manager and data source look-up
algorithms in the Spring TestContext Framework were not capable of
retrieving 'primary' beans of those types, even though 'primary' beans
are supported in production as well as for injecting dependencies into
test instances. Specifically, if there was more than one transaction
manager or data source bean and one of them was flagged as 'primary',
the retrieveTransactionManager() and retrieveDataSource() methods in
TestContextTransactionUtils would simply return null for such beans.
This commit updates TestContextTransactionUtils by adding support for
looking up primary transaction managers and data sources.
Issue: SPR-13891
2016-02-03 17:58:33 +01:00
Sam Brannen
6d2b9a0136
Throw exception if TxMgr cannot be retrieved for @Transactional test
...
Prior to this commit, a @Transactional integration test would silently
be executed without a transaction if the transaction manager could not
be retrieved from the application context -- for example, it no such
bean was defined or if multiple beans were present but none satisfied
the qualifier.
This commit addresses this issue by throwing an IllegalStateException
if the PlatformTransactionManager cannot be retrieved for a
@Transactional test.
Issue: SPR-13895
2016-02-03 14:56:27 +01:00
Rob Winch
d6648a06c9
Add Code of Conduct
2016-02-01 14:37:35 -06:00
Rossen Stoyanchev
e81c7dfc4c
Polish SendToMethodReturnValueHandlerTests
2016-01-29 16:16:21 -05:00
Rossen Stoyanchev
03e3ef53ab
@SendToUser supported on the class level
...
Issue: SPR-12047
2016-01-29 16:10:02 -05:00
Rossen Stoyanchev
bedf1a9bd0
Polish UriTemplateTests
2016-01-29 15:39:02 -05:00
Rossen Stoyanchev
f5aa011722
UriComponents support for array query params
...
Issue: SPR-9712
2016-01-29 15:32:42 -05:00
Rossen Stoyanchev
aa064d7653
Polish MVC config tests
2016-01-29 14:58:32 -05:00
Rossen Stoyanchev
1cf0fb8174
Shared custom argument resolvers
...
Custom argument resolvers configured in the MVC Java config or the
MVC namespace are now injected in both the RequestMappingHandlerAdapter
as well as in the ExceptionHandlerExceptionResolver.
Issue: SPR-12058
2016-01-29 14:49:25 -05:00
Sam Brannen
ea46ad8022
Clean up warnings in spring-test
2016-01-28 19:27:53 +01:00
Sam Brannen
3cf5cfd672
Fix Javadoc
2016-01-28 19:00:37 +01:00
Sam Brannen
468f083ab0
Use proper syntax highlighting for XML examples
2016-01-28 19:00:37 +01:00
Brian Clozel
d157ce598b
Upgrade to undertow 1.3.15.Final
2016-01-28 18:52:40 +01:00
Stephane Nicoll
aed56ea732
Upgrade to Caffeine 2.1.0
2016-01-28 16:50:29 +01:00
Stephane Nicoll
ccbfd44862
Merge pull request #949 from bclozel/sonarplugin
...
* pr/949:
Use the official SonarQube Gradle plugin
2016-01-27 10:32:30 +01:00
Brian Clozel
0ecede028c
Use the official SonarQube Gradle plugin
...
Since the build has been upgraded to Gradle 2.10, it's showing the
following message:
"The 'sonar-runner' plugin has been deprecated and is scheduled to be
removed in Gradle 3.0. please use the official plugin from SonarQube"
This commit makes use of the "org.sonarqube" Gradle plugin and uprgrades
the Jacoco agent version to 0.7.5.
See: https://sonar.spring.io/updatecenter/updates
See: https://jira.sonarsource.com/browse/SONARJAVA-1091
Closes gh-949
2016-01-27 10:25:14 +01:00
Rossen Stoyanchev
2e7470b27f
Allow binding=false on @ModelAttribute
...
Issue: SPR-13402
2016-01-26 23:51:18 -05:00
Rossen Stoyanchev
806e79b14b
Polish
2016-01-26 23:20:58 -05:00
Rossen Stoyanchev
e62ada898b
Add @RequestAttribute with servlet-based support
...
Issue: SPR-13894
2016-01-26 16:37:50 -05:00
Rossen Stoyanchev
698f923fc3
Add @SessionAttribute with Servlet-based support
...
Issue: SPR-13894
2016-01-26 16:37:44 -05:00
Juergen Hoeller
7df3a327f6
Polishing
2016-01-26 22:29:48 +01:00
Juergen Hoeller
3779fe9bf6
@UsesJava8 declaration on inner class
...
Issue: SPR-13850
2016-01-26 18:18:27 +01:00
Juergen Hoeller
b4f33adf48
Consistent java.util.Optional resolution, lenient handling of optional multipart files, correct Servlet 3.0 Part list/array selection
...
Issue: SPR-13418
Issue: SPR-13849
Issue: SPR-13850
Issue: SPR-13893
2016-01-26 18:06:15 +01:00
Juergen Hoeller
a3a5a03ee3
PropertySource annotation allows for custom encoding
...
Issue: SPR-13874
2016-01-26 18:00:05 +01:00
Rossen Stoyanchev
2607a22537
HTTP OPTIONS lists all HTTP methods except TRACE
...
This is in line with the current behavior of HttpServlet that would
have been in used with dispatchOptionsRequest on the DispatcherSerlvet
set to false (the default prior to 4.3).
Issue: SPR-13130
2016-01-25 16:35:23 -05:00
Rossen Stoyanchev
319e8e2c2f
Add allowHeader property to WebContentGenerator
...
The WebContentGenerator now maintains an additional property that
sub-classes can use for an "Allow" header in response to an HTTP
OPTIONS request. This property is pre-initialized once at startup
and does not have to rely on getSupportedMethods in addition to
adding HTTP OPTIONS if not explicitly listed.
Issue: SPR-13130
2016-01-25 16:35:15 -05:00
Juergen Hoeller
4a0fa69ce4
Injection support for Collection/Map beans and self references
...
Issue: SPR-13585
Issue: SPR-12180
Issue: SPR-7915
Issue: SPR-8450
2016-01-25 21:25:48 +01:00
Juergen Hoeller
64e77de23b
LocalSessionFactoryBuilder provides ClassLoader to Hibernate BootstrapServiceRegistry
...
Issue: SPR-13879
2016-01-25 21:02:41 +01:00
Juergen Hoeller
64ce8a81c3
Polishing
2016-01-25 20:33:48 +01:00
Juergen Hoeller
8a69159004
ConverterRegistry's addConverter declares generic type variables
...
Issue: SPR-12948
2016-01-25 20:33:26 +01:00
Juergen Hoeller
d18b3f049a
Tests for @Enable/@ComponentScan without @Configuration
...
Issue: SPR-10660
2016-01-25 20:32:45 +01:00
Juergen Hoeller
c95dfca726
Log profile-based exclusion of XML bean definition file
...
Issue: SPR-10202
2016-01-25 20:26:12 +01:00
Juergen Hoeller
837cb752a4
Clarify component scan include-filter semantics
...
Issue: SPR-13844
2016-01-25 20:24:26 +01:00
Juergen Hoeller
ebad8db8d5
Clarify environment property precedence rules
...
Issue: SPR-13845
2016-01-25 20:23:25 +01:00
Juergen Hoeller
64d83e78ea
Latest dependency updates (Hibernate ORM 5.0.7, Jetty 9.3.7, Undertow 1.3.14, SLF4J 1.7.14)
2016-01-25 20:18:54 +01:00
Rossen Stoyanchev
e14f42f386
Update reference for HTTP HEAD and OPTIONS support
...
Issue: SPR-13130
2016-01-25 08:49:04 -05:00
Rossen Stoyanchev
135738f9bf
AbstractController supports HTTP OPTIONS
...
Issue: SPR-13130
2016-01-25 08:49:04 -05:00
Sebastien Deleuze
a730e55d92
Add support for Jackson 2.7
...
AbstractJackson2HttpMessageConverter now implements its own
TypeVariable resolution algorithm since in Jackson 2.7 it is now
deprecated and has not the same behavior .
See https://github.com/FasterXML/jackson-databind/issues/1087
for more details.
The dependency on jackson-datatype-jdk7 has been removed since
it is now provided by default in the jackson-databind module.
Issues: SPR-13483, SPR-13728
2016-01-25 09:38:16 +01:00
Rossen Stoyanchev
ccd17dfaea
Support HTTP OPTIONS
...
Issue: SPR-13130
2016-01-24 20:18:41 -05:00
Rossen Stoyanchev
d70ad765bf
Support HTTP HEAD
...
Issue: SPR-13130
2016-01-24 20:18:41 -05:00
Rossen Stoyanchev
fb7dfc4569
Polish
2016-01-24 20:18:35 -05:00
Brian Clozel
2b3ad218e5
Clarify RequestMappingHandlerAdapter javadoc
...
This commit updates the javadoc of
`RequestMappingHanderAdapter.setCacheSecondsForSessionAttributeHandlers`
to explain how one can disable that feature and prevent "Cache-Control"
directives from being added when `@SessionAttributes` annotations are
used on Controllers.
Issue: SPR-13598
2016-01-22 21:17:58 +01:00
Brian Clozel
84fe46cd43
Register prefixed path patterns with FixedVersionStrategy
...
Prior to this change, configuring a `FixedVersionStrategy` like so
would configure a single "/js/**" path pattern:
```
versionResourceResolver.addFixedVersionStrategy("v1.0.0","/js/**");
```
This commit makes sure that for each path pattern, its prefixed version
is added to the map. For example, the previous configuration also
adds "/v1.0.0/js/**".
Issue: SPR-13883
2016-01-22 18:30:39 +01:00
Brian Clozel
8f1d06f19c
Reorder HTTP headers processing in RequestMappingHandlerAdapter
...
Prior to this change, the `RequestMappingHandlerAdapter` would first add
a "Cache-Control" HTTP header to the response (depending on its
`WebContentGenerator` configuration and `@SessionAttributes` on the
handler class); then, the Adapter would delegate the actual handler the
processing of the request.
This leads to issues, as the handler does not have full control to the
response and has to deal with pre-existing headers in the response. This
means that the Adapter and the handler can add incompatible
Cache-Control directives without knowing it, since one cannot see the
headers added by the other until the response is committed.
This commit switches the order of execution: first, the handler is
called (possibly adding HTTP headers), then the RMHA processes the
response and adds "Cache-Control" directives *only if there's no
Cache-Control header already defined*.
Issue: SPR-13867
2016-01-22 16:04:03 +01:00
Rossen Stoyanchev
ebccfd023a
MVC Java config protected factory methods
...
This change exposes protected methods for instantiating sub-classes of
RequestMappingHandlerAdapter and ExceptonHandlerExceptionResolver
similar to the existing method for RequestMappingHandlerMapping.
2016-01-22 09:48:50 -05:00
Rossen Stoyanchev
9cc518d167
Polish StringHttpMessageConverterTests
2016-01-22 09:40:33 -05:00
Stephane Nicoll
cd903e26de
Polish
2016-01-22 04:35:33 +01:00
Andy Clement
a12f23936c
Allow use of '&' prefix to access factory bean in SpEL
...
Prior to this change SpEL did not have an syntactic
construct enabling easy access to a FactoryBean. With this
change it is now possible to use &foo in an expression when
the factory bean should be returned.
Issue: SPR-9511
2016-01-21 16:14:16 -08:00
Rossen Stoyanchev
415b2763ce
MockHttpServletRequestBuilder parses form data
...
Spring MVC Test now parses application/x-www-form-urlencoded request
content and populates request parameters from it.
This can be useful when running client-side tests against a MockMvc
via MockMvcClientHttpRequestFactory.
Issue: SPR-13733
2016-01-21 17:26:23 -05:00
Rossen Stoyanchev
6a9455b7d0
Fix failing test
2016-01-21 17:05:05 -05:00
Rossen Stoyanchev
1416c2a00e
ContentRequestMatchers asserts request with form data
...
Issue: SPR-13044
2016-01-21 12:42:33 -05:00
Brian Clozel
2f6d86b7aa
Fix OutOfBoundsExceptio in ResourceUrlEncodingFilter
...
Prior to this change, the `ResourceUrlEncodingFilter` would try to
lookup resources URLs as soon as the given URL would be longer than the
expected context+servlet prefix path. This can lead to
OutOfBoundsExceptions when the provided URL does not start with that
prefix and still has the required length.
This commit makes sure that all candidate URLs for resources lookup are
prefixed with the cached servlet and context path. This underlines the
fact that the `ResourceUrlEncodingFilter` does not support relative URLs
for now and delegates to the native servlet implementation in that case.
Issue: SPR-13861
2016-01-21 17:28:29 +01:00
Rossen Stoyanchev
952a3170e6
HeaderResultMatchers supports multi-value headers
...
Issue: SPR-10087
2016-01-21 11:19:43 -05:00
Rossen Stoyanchev
ae224bed3e
Polish HeaderResultMatchers
2016-01-21 10:20:04 -05:00
Rossen Stoyanchev
18db77da7c
Merge pull request #927 from ksokol-improvement/SPR-13719
2016-01-21 09:14:27 -05:00
Rossen Stoyanchev
df223eb118
Polish custom HTTP verb in Spring MVC Test
...
Issue: SPR-13719
2016-01-21 09:13:33 -05:00
Kamill Sokol
3554348919
Support custom HTTP verbs in Spring MVC Test
...
Prior to this commit, Spring MVC Test only supported HTTP methods GET,
POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE and multipart file
upload. This change adds generic methods to MockMvcRequestBuilders in
order to allow testing of arbitrary HTTP methods in a Spring MVC
application.
Issue: SPR-13719
2016-01-21 09:12:43 -05:00
Rossen Stoyanchev
9e16cbda4c
Polish ServletServerHttpRequest change
2016-01-20 17:50:36 -05:00
Sammy Chu
5185953f29
Avoid double encoding URI in ServletServerHttpRequest
...
Issue: SPR-13876
2016-01-20 17:42:40 -05:00
Rossen Stoyanchev
a5f4aa6824
Add HttpStatus to ModelAndView
...
Issue: SPR-13560
2016-01-20 16:54:05 -05:00
Stephane Nicoll
29700658d4
Support Quartz trigger without JobDetail
...
This commit allows to create a Quartz trigger implementation via
either `CronTriggerFactoryBean` or `SimpleTriggerFactoryBean` even if no
job detail is provided.
Issue: SPR-13604
2016-01-19 18:03:03 +01:00
Stephane Nicoll
0d04af14f8
Refine test
...
Issue: SPR-13837
2016-01-19 15:11:58 +01:00
Stephane Nicoll
9b9df6a744
Add test
...
Issue: SPR-13837
2016-01-19 14:40:52 +01:00
Stephane Nicoll
714ae2684c
Support for global separator in JDBC namespace
...
Previously, if a database needs to be initialized with several scripts
and many (or all) use a custom separator, said separator must be repeated
for each script.
This commit introduces a `separator` property at the parent element level
that can be used to customize the default separator. This is available
for both the `initialize-database` and `embedded-database` elements.
Issue: SPR-13792
2016-01-18 16:09:07 +01:00
Stephane Nicoll
eb49f3c225
Add interface-based detection test
...
Add a test that explicitely validates that `@ManagedResource` and friends
can be set on an interface.
Issue: SPR-13138
2016-01-18 14:14:17 +01:00
Stephane Nicoll
a112557dc4
Support SendTo at class-level
...
Issue: SPR-13578
2016-01-16 16:34:02 +01:00
Rossen Stoyanchev
73a794336c
Support @ResponseStatus on controller type level
...
Issue: SPR-13547
2016-01-15 17:15:34 -05:00
Rossen Stoyanchev
4b1183582a
Add methodCall option to HandlerResultMatchers
...
Issue: SPR-13736
2016-01-15 12:44:00 -05:00
Rossen Stoyanchev
1320da906b
Polish HandlerResultMatchers
2016-01-15 12:44:00 -05:00
Juergen Hoeller
74c07d3085
Removed JavaVersion checks from spring-core tests (for JDK 9 compatibility)
...
Issue: SPR-13344
2016-01-15 17:45:37 +01:00
Juergen Hoeller
182b1e99e3
TODO marker for test which fails as of AspectJ 1.9 beta 3
...
Issue: SPR-13839
2016-01-15 17:43:59 +01:00
Stephane Nicoll
dc8de51408
Json view support for JMS
...
Support of @JsonView on @JmsListener annotated method that uses the
jackson converter. Also update MappingJackson2MessageConverter to offer
a public API to set the JSON view to use to serialize a payload.
Issue: SPR-13237
2016-01-15 17:18:14 +01:00
Juergen Hoeller
cdc9bf76a9
SessionDisconnectEvent actually preserves given session user
...
Issue: SPR-13871
2016-01-15 17:03:17 +01:00
Juergen Hoeller
9761af9ad8
Validate @RequestMapping methods on AOP proxies
...
Issue: SPR-13842
2016-01-15 17:01:58 +01:00
Juergen Hoeller
c1352c1201
Upgrade to AspectJ 1.9 beta 3 (for build compatibility with JDK 9 build 95+)
...
Issue: SPR-13839
2016-01-15 17:01:10 +01:00
Stephane Nicoll
2fc2c29e9a
Update copyright header
2016-01-15 10:51:11 +01:00
Rossen Stoyanchev
3dae3fd8a9
Refine ListenableFutureCallback policy for exceptions
...
This change updates all cases where callbacks are invoked to catch and
suppress errors (since there is not match to do with and error from
a callback be it success or failure).
Also updated is the contract itself to clarify this and emphasize the
callbacks are really notifications for the outcome of the
ListenableFuture not the callbacks themselves.
Issue: SPR-13785
2016-01-14 17:49:01 -05:00
Rossen Stoyanchev
037f351efd
Replace anonymous impls with ListenableFutureAdapater
...
Before this change AsyncRestTemplate had two anonymous implementations
of ListenableFuture that were adapting the result. Those have been
replaces with ListenableFutureAdapter.
This commit is preparation for SPR-13785.
2016-01-14 16:47:55 -05:00
Ian Chan
93298fc9fa
Catch RejectedExecutionException in WebAsyncManager
...
Issue: SPR-13836
2016-01-14 15:47:00 -05:00
Rossen Stoyanchev
4818378c25
Better document client-side tests against MockMvc
...
Issue: SPR-13815
2016-01-14 15:15:07 -05:00
Rossen Stoyanchev
7690f27c5e
Add MediaType constants for application/pdf
...
Issue: SPR-13831
2016-01-14 14:57:09 -05:00
Rossen Stoyanchev
f3c2bb6557
Fix error message in RestTemplate
...
Issue: SPR-13860
2016-01-14 14:52:10 -05:00
Rossen Stoyanchev
24fdf64d91
Fix javadoc issue in ResponseEntityExceptionHandler
...
Issue: SPR-13869
2016-01-14 14:25:30 -05:00
Rossen Stoyanchev
e56587dcc3
Add note to @CrossOrigin javadoc
...
Issue: SPR-13857
2016-01-14 14:13:53 -05:00
Stephane Nicoll
31a3607de6
Lazy resolution of the JMS message
...
Previously, any `javax.jms.Message` was converted eagerly to the Message
abstraction. This leads to unnecessary conversion if the Payload is not
requested by the underlying method (i.e. if the `javax.jms.Message` is
injected directly).
This commit returns a `Message` implementation that holds the
`javax.jms.Message` and lazily resolve the payload or the headers on
demand (that is the first time they are requested).
Issue: SPR-13777
2016-01-14 17:20:25 +01:00
Juergen Hoeller
50829c9fdc
Shared EntityManager does not insist on actualTransactionActive flag anymore
...
Issue: SPR-13838
2016-01-13 14:11:13 +01:00
Juergen Hoeller
773d175681
Polishing
2016-01-13 12:52:05 +01:00
Juergen Hoeller
e14c2de1d2
ImportStack extends ArrayDeque instead of Stack and relies on standard contains implementation
...
Issue: SPR-13852
2016-01-13 12:46:28 +01:00
Juergen Hoeller
5d4547d343
FastByteArrayInputStream consistently returns -1 when no data available
...
Issue: SPR-13858
2016-01-13 12:44:34 +01:00
Stephane Nicoll
96cb0e6bd6
Upgrade to Undertow 1.3.12
2016-01-12 16:34:13 +01:00
Stephane Nicoll
ee946f6ac6
Fix typo
2016-01-12 15:05:59 +01:00
Dennis Kieselhorst
554bf4958d
Improve Content-Length exception message
...
In case ShallowEtagHeaderFilter is not used, the message was confusing
2016-01-08 09:30:31 +01:00
Brian Clozel
cdda839426
XML configuration support for RFC 5861
...
This commit adds the XML+XSD configuration part of the RFC 5861
Cache-Control directives added in Spring's `CacheControl`.
Issue: SPR-13841
2016-01-07 18:13:34 +01:00
madorb
6c282096c6
Add RFC-5681 support to CacheControl
...
This commit adds the "stale-while-revalidate" and "stale-if-error"
Cache-Control directives in the `CacheControl` support class.
Issue: SPR-13841
2016-01-07 18:13:26 +01:00
Brian Clozel
d681f77d62
Polish
...
Issue: SPR-13817
2016-01-05 17:31:30 +01:00
Brian Clozel
473cf9c40e
Preserve ETag HTTP header for versioned resources
...
Prior to this change, a resource handler chain configured with a
`VersionResourceResolver` would add the resource version to the request
attributes when serving that resource. This approach would not work when
a `CachingResourceResolver` is configured and the resource is already
cached. Indeed, that code path is not executed when the resource is
resolved from the cache.
This commit adds a new `VersionedResource` interface that's used by the
`VersionResourceResolver`, adding a `getVersion()` method that returns
the version string for that resource. This way, the version information
is cached with the resource itself and the request attributes are no
longer used for this.
Issue: SPR-13817
2016-01-05 14:55:14 +01:00
Stephane Nicoll
6e7e4c0359
Merge pull request #948 from kamilszymanski/jcache-docs
...
* pr/948:
Fix list of supported JCache annotations
2016-01-05 08:15:02 +00:00
Kamil Szymanski
fca7c52236
Fix list of supported JCache annotations
...
Closes gh-948
2016-01-05 08:13:06 +00:00
Juergen Hoeller
04f31816bd
Avoid getTypeForFactoryBean warn logging for lazy-init beans
...
Issue: SPR-13833
2015-12-31 11:47:46 +01:00
Juergen Hoeller
9bffb9e53f
Refined RequestMappingHandlerMapping bean definition
...
Issue: SPR-13832
2015-12-31 11:44:12 +01:00
holub
9152f20bc1
Update SockJS client code snippet
2015-12-30 10:21:46 +01:00
Juergen Hoeller
8968f09c59
Polishing
2015-12-29 22:04:38 +01:00
Juergen Hoeller
27c2e8c80d
Polishing
2015-12-29 21:40:20 +01:00
Juergen Hoeller
388bd87ef0
ComponentScan annotation is repeatable now
...
Issue: SPR-13151
2015-12-29 21:40:08 +01:00
Juergen Hoeller
aecb8b6c6b
Avoid sensitive Proxy.getInvocationHandler call in synthesizeAnnotation
...
Issue: SPR-13829
2015-12-29 21:39:43 +01:00
Brian Clozel
74d3bceb19
Add missing StatusResultMatcher for HTTP Status 451
...
Issue: SPR-13632
2015-12-29 21:23:09 +01:00
Brian Clozel
9e4cf85af7
Add HTTP Status 451 UNavailable for legal reasons
...
Issue: SPR-13632
2015-12-29 20:51:42 +01:00
Juergen Hoeller
4f955932a7
@Value can be used as aliased meta-annotation
...
Issue: SPR-13603
2015-12-29 18:02:16 +01:00
Juergen Hoeller
3242ad8fc4
@AliasFor attribute name defaults to declaring attribute
...
Issue: SPR-13828
2015-12-29 17:58:57 +01:00
Juergen Hoeller
e48ec4fcd3
StatementCreatorUtils always tries getParameterType on Oracle 12c driver
...
Issue: SPR-13825
2015-12-29 11:19:21 +01:00
Juergen Hoeller
1d8a3e1f07
BeanFactoryAnnotationUtils searches on bean implementation classes and meta-annotations as well
...
Issue: SPR-13819
Issue: SPR-13452
2015-12-28 23:28:08 +01:00
Stephane Nicoll
7d0ebddebe
Flag Caffeine as Java8+ only
...
See also SPR-13824
2015-12-28 15:06:35 +01:00
Juergen Hoeller
826a00a56a
Expect IllegalStateException instead of specific message for @Scheduled proxy mismatch
...
Issue: SPR-13816
2015-12-24 12:38:26 +01:00
Juergen Hoeller
d1551bdcec
Polishing
2015-12-23 21:19:18 +01:00
Juergen Hoeller
470ea977e1
Consistent validation of annotated methods behind AOP proxies
...
Issue: SPR-13816
2015-12-23 20:47:28 +01:00
Rossen Stoyanchev
63958ac0ff
Fix concurrent test failure
...
Since ListenableFuture callbacks are invoked after the future is set,
we cannot rely on callbacks having taken place right after a call
to future.get(). This change adds a CountdownLatch to detect when
the callbacks were invoked.
Issue: SPR-12538
2015-12-22 22:07:55 -05:00
Juergen Hoeller
873b173dcc
Upgrade to Undertow 1.3.11
2015-12-23 01:18:55 +01:00
Juergen Hoeller
1cfeb07fa5
Consistent use of varargs plus related polishing
...
(cherry picked from commit deae872 )
2015-12-23 00:31:11 +01:00
Rossen Stoyanchev
bc671f05d6
Fix test warnings
2015-12-22 17:52:56 -05:00
Rossen Stoyanchev
258cc7b27f
Update AsyncRestTemplate interception
...
AsyncRequestExecution now properly supports decoration of the
request (URI, HTTP method, and headers).
Removed a no-op IdentityListenableFutureAdapter.
Use Spring Framework coding style.
Issue: SPR-12538
2015-12-22 17:36:24 -05:00
Jakub Narloch
12969f6268
SPR-12538 AsyncRestTemplate interceptors
2015-12-22 16:21:47 -05:00
Rossen Stoyanchev
74b77e0d74
Fix warnings
2015-12-22 16:16:51 -05:00
Rossen Stoyanchev
12b73caa84
Add @RestControllerAdvice
...
Issue: SPR-13673
2015-12-22 16:11:34 -05:00
Rossen Stoyanchev
8656186f60
Support for public WebSocket upgrade API in Undertow
...
Issue: SPR-13593
2015-12-22 15:26:31 -05:00
Juergen Hoeller
4adb7e2500
AOP proxies with annotation-based aspects are serializable now
...
Issue: SPR-6910
2015-12-22 21:20:33 +01:00
Juergen Hoeller
bb0bc3d415
Polishing
2015-12-22 16:19:26 +01:00
Juergen Hoeller
95d62658ff
SystemEnvironmentPropertySource replaces hyphens in property names as well
...
Issue: SPR-13594
2015-12-22 16:18:13 +01:00
Stephane Nicoll
07fd7b905e
Update What's new section
2015-12-22 14:50:34 +01:00
Stephane Nicoll
0194988425
Store by value support for ConcurrentMapCacheManager
...
ConcurrentMapCacheManager and ConcurrentMapCache now support the
serialization of cache entries via a new `storeByValue` attribute. If it is
explicitly enabled, the cache value is first serialized and that content
is stored in the cache.
The net result is that any further change made on the object returned
from the annotated method is not applied on the copy held in the cache.
Issue: SPR-13758
2015-12-22 13:50:23 +01:00
Juergen Hoeller
cf20308134
SerializationDelegate as convenient Serializer/Deserializer combo
...
Issue: SPR-13758
2015-12-22 13:04:10 +01:00
Juergen Hoeller
41ee25b1e7
Convenience constructors for common view prefix/suffix scenarios
...
Issue: SPR-13813
2015-12-22 12:00:49 +01:00
Stephane Nicoll
66dd880335
Update What's new section
2015-12-22 11:33:26 +01:00
Stephane Nicoll
d444ef4871
Support for bean refs in event SpEL condition
...
Issue: SPR-13814
2015-12-22 11:30:40 +01:00
Stephane Nicoll
9b5e47026c
Support for bean refs in caching SpEL expressions
...
Issue: SPR-13182
2015-12-22 11:05:24 +01:00
Juergen Hoeller
1ce9788a66
Upgrade to Gradle 2.10
...
Issue: SPR-13484
2015-12-21 23:08:19 +01:00
Juergen Hoeller
bb3ff25cad
Polishing
2015-12-21 23:07:32 +01:00
Juergen Hoeller
57b3ee324f
Tiles 2 support back for Spring 4.3 (to be eventually removed for 5.0 now)
...
Issue: SPR-13229
2015-12-21 22:15:22 +01:00
Juergen Hoeller
dd930b3b66
Allow for customizing the Hibernate MetadataSources instance
...
Issue: SPR-13710
2015-12-21 21:38:11 +01:00
Juergen Hoeller
f8860e2938
SimpleNamespaceContext implements all subtleties of the NamespaceContext contract
...
Issue: SPR-13713
2015-12-21 20:37:44 +01:00
Juergen Hoeller
4668aa775d
Language tag methods declared as @UsesJava7
...
Issue: SPR-13274
2015-12-21 19:08:37 +01:00
Juergen Hoeller
b28310d0b9
Polishing
2015-12-21 18:42:49 +01:00
Juergen Hoeller
0dd320f92e
Support for BCP 47 language tags
...
Issue: SPR-13032
2015-12-21 18:40:26 +01:00
Juergen Hoeller
cad2ce0ac2
ConstructorResolver always uses arguments when completely provided
...
Issue: SPR-13808
2015-12-21 15:11:40 +01:00
Juergen Hoeller
09cea6e6bb
Refined Future exception handling
...
Issue: SPR-13732
2015-12-21 15:09:09 +01:00
Stephane Nicoll
d59b0d12d4
Merge pull request #939 from sniewczas/patch-1
...
* pr/939:
Fix markup in reference section 9.4.2
2015-12-21 14:55:45 +01:00
Sylwester Niewczas
adf744cce0
Fix markup in reference section 9.4.2
...
Closes gh-939
2015-12-21 14:55:14 +01:00
Stephane Nicoll
1fc3fc8bf7
Update documentation
...
Issue: SPR-13471
2015-12-21 14:47:50 +01:00
Stephane Nicoll
edd8e2d56d
Update documentation
...
Issue: SPR-12278
2015-12-21 14:23:14 +01:00
Stephane Nicoll
19d97c4253
Support for multi-threaded cache access
...
Previously, if a `@Cacheable` method was accessed with the same key by
multiple threads, the underlying method was invoked several times instead
of blocking the threads while the value is computed. This scenario
typically affects users that enable caching to avoid calling a costly
method too often. When said method can be invoked by an arbitrary number
of clients on startup, caching has close to no effect.
This commit adds a new method on `Cache` that implements the read-through
pattern:
```
<T> T get(Object key, Callable<T> valueLoader);
```
If an entry for a given key is not found, the specified `Callable` is
invoked to "load" the value and cache it before returning it to the
caller. Because the entire operation is managed by the underlying cache
provider, it is much more easier to guarantee that the loader (e.g. the
annotated method) will be called only once in case of concurrent access.
A new `sync` attribute to the `@Cacheable` annotation has been addded.
When this flag is enabled, the caching abstraction invokes the new
`Cache` method define above. This new mode bring a set of limitations:
* It can't be combined with other cache operations
* Only one `@Cacheable` operation can be specified
* Only one cache is allowed
* `condition` and `unless` attribute are not supported
The rationale behind those limitations is that the underlying Cache is
taking care of the actual caching operation so we can't really apply
any SpEL or multiple caches handling there.
Issue: SPR-9254
2015-12-21 13:34:35 +01:00
Stephane Nicoll
15c7dcd11a
Upgrade Caffeine to 2.0.3
2015-12-20 13:06:11 +01:00
Sam Brannen
66562f2589
Require JUnit 4.12 or higher in the TestContext framework
...
Issue: SPR-13275
2015-12-19 18:43:59 +01:00
Juergen Hoeller
db1171d5c4
Background bootstrapping via "bootstrapExecutor" for LocalContainerEntityManagerFactoryBean and LocalSessionFactoryBean/Builder
...
Issue: SPR-13732
2015-12-19 15:13:46 +01:00
Juergen Hoeller
64bd8b7f34
Polishing
2015-12-18 22:19:03 +01:00
Juergen Hoeller
387c8a8181
Differentiate between TypeDescriptors with same annotations but different attributes
...
Issue: SPR-13714
2015-12-18 22:10:50 +01:00
Juergen Hoeller
06056e6aa6
Upgrade to JavaMail 1.5.5 and Hibernate ORM 5.0.6
2015-12-18 17:49:15 +01:00
Juergen Hoeller
2e6eb614b5
Avoid scoped destruction callbacks in case of no post-processor actually applying
...
Issue: SPR-13744
2015-12-18 17:14:57 +01:00
Juergen Hoeller
fca5365cf1
Avoid scoped destruction callbacks in case of no post-processor actually applying
...
Issue: SPR-13744
2015-12-18 16:54:05 +01:00
Stephane Nicoll
1502e49fa5
Merge pull request #921 from ben-manes/caffeine
...
* pr/921:
Polish contribution
Add caching support for Caffeine
Detect @Autowired constructors for configuration classes
2015-12-18 15:47:33 +01:00
Stephane Nicoll
3a238a2b61
Polish contribution
...
Closes gh-921
Issue: SPR-13690
2015-12-18 15:47:13 +01:00
Ben Manes
13aabeef37
Add caching support for Caffeine
...
Issue: SPR-13690
2015-12-18 15:47:13 +01:00
Juergen Hoeller
967ef73765
Detect @Autowired constructors for configuration classes
...
Issue: SPR-13471
2015-12-18 15:31:31 +01:00
Stephane Nicoll
9e7c791a0f
Automatically autowire a bean with one constructor
...
Previously, if a managed bean had only one non-default constructor, we
should still annotate it with `@Autowired` to properly use constructor
injection. Not doing so resulted in an error as the container was
trying to call the default (non-existing) constructor.
This commit updates this behaviour to automatically applyed the
autowiring semantic to any bean that has only one constructor. As
before, if more than one constructor is defined, `@Autowired` must be
specified to teach the container the constructor it has to use.
Issue: SPR-12278
2015-12-18 14:04:18 +01:00
Juergen Hoeller
3d87718fc6
DispatcherServlet and ServletWrapping/ForwardingController accept any HTTP method by default
...
Issue: SPR-4799
2015-12-18 12:57:18 +01:00
Juergen Hoeller
08748ecaa4
PathMatchingResourcePatternResolver evaluates classpath manifest entries as well
...
Issue: SPR-13685
2015-12-18 12:17:57 +01:00
Juergen Hoeller
2cfe00ce32
Updated reference documentation from Hibernate 3 to Hibernate 5
...
Issue: SPR-13230
2015-12-18 00:27:19 +01:00
Juergen Hoeller
0084c077bb
Aligned import order
2015-12-18 00:19:40 +01:00
Juergen Hoeller
760668c034
Polishing
2015-12-18 00:09:39 +01:00
Sam Brannen
5b3edcd9f9
Spring Cleaning in December
...
- Delete unused imports
- Delete unused code
- Clean up warnings
2015-12-17 20:27:33 +01:00
Juergen Hoeller
0e68d2e951
Explicit references to spring-mvc-4.2.xsd for Velocity declarations
...
Issue: SPR-13235
2015-12-17 18:30:11 +01:00
Sam Brannen
9eb713ae2c
Mention DCBeforeModesTEL in TestExecutionListener Javadoc
2015-12-17 17:45:08 +01:00
Juergen Hoeller
b75f5faf88
Remove Tiles 2 support
...
Issue: SPR-13229
2015-12-17 17:18:21 +01:00
Juergen Hoeller
e90942223f
Deprecate Hibernate 3 support
...
Issue: SPR-13230
2015-12-17 17:17:05 +01:00
Juergen Hoeller
a2a9c47e59
Deprecate Velocity support
...
Issue: SPR-13235
2015-12-17 17:15:57 +01:00
Juergen Hoeller
8ce5e88c66
Require Jackson 2.6+, FreeMarker 2.3.21+, XStream 1.4.5+
...
Issue: SPR-13062
2015-12-17 17:14:50 +01:00
Juergen Hoeller
db05f43a75
Require JsonPath 1.1+
...
Issue: SPR-13729
2015-12-17 17:13:27 +01:00
Juergen Hoeller
2fd48c92d7
Correct spring-websocket-4.2 versus spring-websocket-4.1 xsd declarations
...
Issue: SPR-13804
2015-12-17 17:11:44 +01:00
Sam Brannen
93de3553c1
Polish Javadoc in @Cache* annotations
2015-12-17 17:05:33 +01:00
Stephane Nicoll
752d3c715a
Initiate structure for 4.3 XSDs
2015-12-17 15:43:23 +01:00
Spring Buildmaster
07022eae1e
Next Development Version
2015-12-17 01:12:29 -08:00
Juergen Hoeller
935c0a463e
Revised MockMvcResultHandlers logger initialization
...
Issue: SPR-13802
2015-12-16 21:49:48 +01:00
Juergen Hoeller
62caa3c3b8
Upgrade to OkHttp 2.7 and TestNG 6.9.10
2015-12-16 21:02:37 +01:00
Juergen Hoeller
753347ea98
Consistent static final logger declarations
2015-12-16 20:44:00 +01:00
Juergen Hoeller
997278e3ed
Polishing
2015-12-16 20:19:41 +01:00
Rossen Stoyanchev
c8aa48faa9
Add params(MultiValueMap) to MockMvc
...
Issue: SPR-13801
2015-12-16 11:51:59 -05:00
Juergen Hoeller
5626384812
Consistent trace log messages and general polishing
2015-12-16 15:59:02 +01:00
Brian Clozel
3be35c053d
Use LinkedHashmap to preserve insert order
...
In several places in the spring-webmvc module, URL patterns / objects
relationships are kept in `HashMap`s. When matching with actual URLs,
the algorithm uses a pattern comparator to sort the matching patterns
and select the most specific. But the underlying collection
implementation does not keep the original order which can lead to
inconsistencies.
This commit changes the underlying collection implementation to
`LinkedHashmap`s, in order to keep the insert order if the comparator
does not reorder entries.
Issue: SPR-13798
2015-12-16 15:24:35 +01:00
Juergen Hoeller
5d454d5ea7
Polishing
2015-12-15 15:59:30 +01:00
Juergen Hoeller
9e03e0e73d
Polishing
2015-12-15 11:53:40 +01:00
Juergen Hoeller
b880b4a545
Upgrade to Castor 1.4
2015-12-15 11:53:28 +01:00
Rossen Stoyanchev
457fca40f0
Update CONTRIBUTING.md
2015-12-14 14:07:13 -05:00
Rossen Stoyanchev
b21e64448b
Update CONTRIBUTING.md
2015-12-14 11:11:31 -05:00
Rossen Stoyanchev
1f6596d1e3
Update CONTRIBUTING.md
2015-12-14 11:05:48 -05:00
Rossen Stoyanchev
ea01b389ba
Update CONTRIBUTING.md
2015-12-14 11:05:06 -05:00
Rossen Stoyanchev
a0bba453da
Add comment to use Stack Overflow before JIRA
2015-12-14 11:04:42 -05:00
Juergen Hoeller
a36c0a50e6
Defensive error reporting when StandardAnnotationMetadata introspects declared methods
...
Issue: SPR-13791
2015-12-14 15:13:29 +01:00
Juergen Hoeller
21329df7e1
Polishing
2015-12-14 00:56:06 +01:00
Juergen Hoeller
bdb606b8b1
Polishing
2015-12-13 23:27:05 +01:00
Juergen Hoeller
ef1e17fd15
Polishing
2015-12-13 01:14:38 +01:00
Juergen Hoeller
04f765506e
Fine-tuned method/field access checks
2015-12-13 01:10:01 +01:00
Andy Clement
a28fc760ba
Fix SpEL compilation of static method/property/field operations
...
Before this change the compilation of a method reference or property/field
access was not properly cleaning up the stack if compilation meant
calling a static method or accessing a static field. In these cases there
is no need for a target object on the stack and it should be removed if
present. For a simple expression it is harmless since the end result of
the expression is the thing on the top of the stack, but for nested
expressions if the inner expression suffered this issue, the outer
expression can find itself operating on the wrong element.
The particular issue covered the case of a static field access but this
fix (and associated tests) cover static method, property and field access.
Issue: SPR-13781
2015-12-11 15:59:40 -08:00
Juergen Hoeller
9d944fbe7f
Upgrade to Guava 19.0 and Undertow 1.3.10
2015-12-11 21:57:28 +01:00
Juergen Hoeller
0968e47b04
Polishing
2015-12-11 21:56:26 +01:00
Juergen Hoeller
356eaef20e
Merge pull request #935 from garyrussell/SPR-13784
...
Base64Utils: URL/File Safe Alphabet
Issue: SPR-13784
2015-12-11 21:49:44 +01:00
Gary Russell
14fc6c2a99
SPR-13784: Base64Utils: URL/File Safe Alphabet
...
JIRA: https://jira.spring.io/browse/SPR-13784
JDK8 and Apache Commons Codec support the RFC 4648
"URL and Filename Safe" Base64 alphabet.
Add methods to `Base64Utils` to support this feature.
2015-12-11 14:55:15 -05:00
Rossen Stoyanchev
aaffc2366c
Remove file committed by error in last commit
2015-12-10 12:26:26 -05:00
Rossen Stoyanchev
dc7ed57c67
Support resource URL encoding at context path
...
Issue: SPR-13757
2015-12-10 12:24:04 -05:00
Juergen Hoeller
beef5ff4c3
Polishing
2015-12-10 01:12:58 +01:00
Juergen Hoeller
ca9a078d82
Polishing
2015-12-10 00:31:37 +01:00
Juergen Hoeller
f119962378
SimpAnnotationMethodMessageHandler ignores empty marker annotations
...
Issue: SPR-13704
2015-12-10 00:30:50 +01:00
Juergen Hoeller
fdc14a16ee
AbstractApplicationContext clears ReflectionUtils cache as well
...
Issue: SPR-13783
2015-12-09 19:25:27 +01:00
Juergen Hoeller
78dad4cfc3
Jdbc4SqlXmlHandler returns null as documented (instead of throwing NPE)
...
Issue: SPR-13782
2015-12-09 16:09:11 +01:00
Juergen Hoeller
7f7f24949b
Polishing
2015-12-09 15:13:41 +01:00
Juergen Hoeller
76f84b914f
Polishing
2015-12-09 13:10:04 +01:00
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
2015-12-09 12:28:09 +01:00
Juergen Hoeller
4261f34b63
Consistent and lenient HttpMethod resolution across all web modules
...
Issue: SPR-13776
2015-12-09 12:26:44 +01:00
Stephane Nicoll
34b596c6bf
Polish cache javadoc
...
Issue: SPR-13746
2015-12-09 11:24:53 +01:00
Juergen Hoeller
0d6545f47c
Latest dependency updates (Jackson 2.6.4, Quartz 2.2.2, C3P0 0.9.5.2)
2015-12-09 11:11:03 +01:00
Juergen Hoeller
8346eeda27
Reset BytesMessage after payload extraction
...
Issue: SPR-13769
2015-12-08 17:12:38 +01:00
Juergen Hoeller
9589749fb2
Introduced createMethodJmsListenerEndpoint template method
...
Issue: SPR-13774
2015-12-08 17:07:40 +01:00
Juergen Hoeller
b3115fcd85
Upgrade to Tomcat 8.0.30 and Undertow 1.3.9
2015-12-07 23:38:48 +01:00
Juergen Hoeller
d2ad2c3af8
StatementCreatorUtils detects Microsoft SQL Server driver 4.0 as well
...
Issue: SPR-13772
2015-12-07 17:37:52 +01:00
Juergen Hoeller
d0814703c4
AnnotationUtils.synthesizeAnnotation explicitly checks whether SynthesizedAnnotation is exposable
...
Issue: SPR-13696
2015-12-07 17:36:14 +01:00
Juergen Hoeller
40cff5e340
Polishing
2015-12-07 17:30:25 +01:00
Juergen Hoeller
ee35b5ed07
Polishing
2015-12-07 12:52:06 +01:00
Juergen Hoeller
7a8a9c71b6
Javadoc fixes
...
Issue: SPR-13763
2015-12-07 12:51:44 +01:00
Juergen Hoeller
1585a822d6
Javadoc fixes
...
Issue: SPR-13765
2015-12-07 12:50:23 +01:00
Juergen Hoeller
b1ef6ece9f
AbstractRequestLoggingFilter unwraps request to find ContentCachingRequestWrapper
...
Issue: SPR-13764
2015-12-07 12:47:38 +01:00
Juergen Hoeller
20beace1bf
AnnotationConfigWebApplicationContext allows for custom AnnotatedBeanDefinitionReader/ClassPathBeanDefinitionScanner
...
Issue: SPR-9324
2015-12-07 12:46:32 +01:00
Juergen Hoeller
9973694ed2
Polishing
2015-12-04 20:43:20 +01:00
Rossen Stoyanchev
153a23dbf9
Configure view controllers with ApplicationContext
...
Issue: SPR-13762
2015-12-04 13:09:37 -05:00
Juergen Hoeller
3d1ae9c604
Efficient and consistent setAllowedOrigins collection type
...
Issue: SPR-13761
2015-12-04 16:21:53 +01:00
Juergen Hoeller
cd4ce8727e
WebSocket namespace consistently applies resolvable allowed-origins value
...
Issue: SPR-13760
2015-12-04 16:01:14 +01:00
Juergen Hoeller
d64ac32e3d
ControllerAdviceBean accepts bean types without @ControllerAdvice annotation (as in 3.2)
...
Issue: SPR-13759
2015-12-04 13:03:00 +01:00
Juergen Hoeller
415b92b6d1
Upgrade to Hibernate 5.0.5 and Undertow 1.3.8
2015-12-04 13:01:28 +01:00
Juergen Hoeller
08b6daf1eb
Polishing
2015-12-03 18:41:03 +01:00
Juergen Hoeller
08ff3a85bf
Integration test for proper re-resolution of Optional @RequestPart argument
...
Includes a trivial refinement of RestTemplate's ResourceAccessException message.
Issue: SPR-13755
2015-12-03 12:55:32 +01:00
Juergen Hoeller
c909789ea9
Avoid mismatch between cached top-level versus nested parameter type
...
Issue: SPR-13755
2015-12-03 12:53:18 +01:00
Rossen Stoyanchev
f5e681e6e6
lastSessionCheckTime updated after session check
...
Issue: SPR-13745
2015-12-02 15:07:52 -05:00
Juergen Hoeller
a9e5e9ecc8
Polishing
2015-12-02 15:35:42 +01:00
Juergen Hoeller
747863d503
Documented units for send-time limit and buffer-size limit
...
Issue: SPR-13753
2015-12-02 13:52:13 +01:00
Juergen Hoeller
3fec802b46
Fixed formatting in AOP documentation
...
Issue: SPR-13750
2015-12-02 13:39:26 +01:00
Juergen Hoeller
a4f5c46fed
MockHttpServletResponse.setIntHeader supports 'Content-Length' header as well
...
Issue: SPR-13752
2015-12-02 13:36:35 +01:00
Rossen Stoyanchev
4d4d2e2966
Merge pull request #928 from mhartsock/SPR-13747
2015-12-01 16:53:11 -05:00
Rossen Stoyanchev
b3f0ab5284
Polish
2015-12-01 16:52:02 -05:00
mhartsock Melissa Hartsock
b077b4dddb
Fix media type lookup case sensitivity
...
Fixed a bug where the URL content negotiation "format" parameter values
were case sensitive and only lowercase values were accepted. For
example, URL query parameter format=json returned the appropriate JSON
response but format=JSON resulted in a
HttpMediaTypeNotAcceptableException and returned:
406 - The resource identified by this request is only capable of
generating responses with characteristics not acceptable according to
the request "accept" headers.
When the MappingMediaTypeFileExtensionResolver is constructed, it is
passed a map containing the media type key to MediaType mappings
defined in the ContentNegotiationConfigurer. In the constructor of
MappingMediaTypeFileExtensionResolver, the keys are converted to
lowercase and the mappings of keys to MediaTypes are added to the
ConcurrentMap<String, MediaType> mediaTypes using the lowercase
version of the keys. However, when retrieving the MediaType from a key
in the lookupMediaType method, no conversion to lowercase is performed
so any value for the URL "format" parameter other than the lowercase
version will not return the proper MediaType result.
On May 1st, 2014, a change was made to
ParameterContentNegotiationStrategy to handle cases where the content
negotiation format URL parameter does not result in a match for a
MediaType. If no match is found, a HttpMediaTypeNotAcceptableException
is thrown resulting in the 406 response above. Prior to this commit, a
null was returned instead of throwing an exception so this issue was
hidden and appeared to function correctly.
To make the media type lookup case insensitive, added a line to the
lookupMediaType method in MediaTypeFileExtensionResolver to first
convert the extension (media type key) to lowercase prior to attempting
to retrieve it from the mediaTypes map.
Issue: SPR-13747
2015-12-01 16:16:57 -05:00
Rossen Stoyanchev
dacbf4cb34
Update Javadoc on UriComponentsBuilder.query
2015-12-01 16:09:05 -05:00
Juergen Hoeller
e78425103e
Polishing
2015-12-01 18:04:03 +01:00
Juergen Hoeller
7589c1f164
Aligned class name quoting with ConversionFailedException
2015-12-01 16:10:11 +01:00
Juergen Hoeller
44651fdf7c
ObjectToObjectConverter caches detected methods/constructors
...
This commit reworks the arrangement to a centralized cache, avoiding any extra reflection attempts if a cache entry is known already. In the course of this, it also enforces toXXX methods to be declared as non-static now (which is the only sensible arrangement anyway).
Issue: SPR-13703
2015-12-01 16:07:21 +01:00
Brian Clozel
c226753985
Do not rewrite relative links with FixedVersionStrategy
...
Prior to this change, the resource handling FixedVersionStrategy would
be applied on all links that match the configured pattern. This is
problematic for relative links and can lead to rewritten links such as
"/fixedversion/../css/main.css" which breaks.
This commit prevents that Strategy from being applied to such links.
Of course, one should avoid to use that VersionStrategy with relative
links, but this change aims at not breaking existing links even if it
means not prefixing the version as expected.
Issue: SPR-13727
2015-12-01 14:47:23 +01:00
Juergen Hoeller
38c21ee6bf
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-12-01 14:11:44 +01:00
Juergen Hoeller
b70af3bf57
Polishing
2015-12-01 14:10:46 +01:00
Rossen Stoyanchev
fed4391f87
Fix issue in UriTemplate parsing
...
The recent commit 971f04 replaced the use of a NAMES_PATTERN regex in
favor of direct parsing in order to deal with nested curly braces.
The change also incorrectly replicated this logic which removes a
trailing slash after Pattern quoting (and not before):
https://github.com/spring-projects/spring-framework/blob/cca037a74df9b87f99858154b47696a9eccf69c8/spring-web/src/main/java/org/springframework/web/util/UriTemplate.java#L207-L210
After some more investigation there doesn't appear to be any scenario
where the quoted pattern would end with a trailing slash. It should
always end with \E (end of quote) or a ")" (end of group). Nor are
there any failing tests so this commit removes the logic altogether.
Issue: SPR-13705
2015-11-30 17:46:28 -05:00
Juergen Hoeller
998da2f45c
Document destruction callback behavior for inner beans in case of scope mismatch
...
This commit undoes the previous refinement and rather documents the original behavior.
Issue: SPR-13739
2015-11-30 21:57:54 +01:00
Juergen Hoeller
8ed2c470be
Avoid instantiation of non-selected beans in BeanFactoryAnnotationUtils.qualifiedBeanOfType
...
Issue: SPR-13741
2015-11-30 20:13:03 +01:00
Juergen Hoeller
7104076e19
Avoid Scope.registerDestructionCallback for inner beans in case of scope mismatch
...
This commit refines getMergedBeanDefinition's scope adaptation algorithm for inner beans, never leaving a custom scope within a containing bean of a different scope. The inner bean's scope will either be aligned with the containing bean's scope (matching the effective state) or be switched to prototype in case of an outer singleton (indicating that no singleton state management is desired).
Issue: SPR-13739
2015-11-30 20:10:26 +01:00
Juergen Hoeller
4755467cca
Polishing
2015-11-30 12:36:30 +01:00
Juergen Hoeller
def10343ea
Unit tests for @Value Resource resolution
...
Issue: SPR-13731
2015-11-30 10:41:55 +01:00
Juergen Hoeller
edbb8bbb01
JodaTimeFormatterRegistrar defensively checks whether Joda-Time 2.x is present (for Joda-Time 1.x tolerance on the classpath)
...
Also switches 4.2.4's new formatter implementations to package visibility, just in case they'll be superseded by another variant in the future.
Issue: SPR-13730
2015-11-29 22:22:05 +01:00
Juergen Hoeller
3234d9ede3
ObjectToObjectConverter caches detected methods/constructors
...
Includes polishing of related conversion exception messages.
Issue: SPR-13703
2015-11-29 22:17:16 +01:00
Juergen Hoeller
aef6b20626
Removed tests for invalid -1 index (for compatibility with JsonPath 2.1)
2015-11-27 14:11:40 +01:00
Juergen Hoeller
9bb72e8386
Javadoc fixes
2015-11-27 13:19:39 +01:00
Juergen Hoeller
5e16834751
Latest dependency updates (OkHttp 2.6, Gson 2.4, JsonPath 2.1, JRuby 1.7.23, Undertow 1.3.7)
2015-11-27 13:17:40 +01:00
Juergen Hoeller
3681094564
Upgrade to EhCache 3.0 M4
2015-11-26 16:32:01 +01:00
Juergen Hoeller
dd647659b3
Rearranged cache test class names across several modules
2015-11-26 16:30:44 +01:00
Juergen Hoeller
331e739255
Latest dependency updates (Hibernate ORM 5.0.4, Tomcat 8.0.29, Undertow 1.3.6)
2015-11-26 02:10:03 +01:00
Juergen Hoeller
8c4436926f
Polishing
2015-11-26 02:09:37 +01:00
Andy Clement
a39867bd8e
Tweak docs concerning method execution pointcut signature
...
Issue: SPR-13512
2015-11-25 16:44:34 -08:00
Juergen Hoeller
1da564d2f0
Joda/DateTimeFormatterRegistrar also supports YearMonth and MonthDay
...
Issue: SPR-13518
2015-11-25 23:39:14 +01:00
Juergen Hoeller
bc0b707175
JodaTimeFormatterRegistrar supports Duration and Period as well
...
Issue: SPR-6706
2015-11-25 23:10:32 +01:00
Juergen Hoeller
fd84262e71
Polishing
2015-11-25 23:09:24 +01:00
Stephane Nicoll
9882a53c7d
Fix test failure
2015-11-25 22:05:57 +01:00
Juergen Hoeller
a0747c2148
Consistent bean type checking for endpoint handlers
...
Issue: SPR-13725
2015-11-25 21:26:03 +01:00
Stephane Nicoll
c90ca15add
Fix caching tests
...
Update assertion to validate the proper exception type is thrown.
2015-11-25 17:49:44 +01:00
Juergen Hoeller
17df02d01e
Explicit flush example with JPA EntityManager
...
Issue: SPR-13723
2015-11-25 16:58:17 +01:00
Juergen Hoeller
24e4f56d7e
Test case for event listener methods on bean with potentially inactive scope
...
Also taking the opportunity to refine the "No Scope registered" exception message a bit.
Issue: SPR-13681
2015-11-25 16:56:39 +01:00
Juergen Hoeller
bb05bc7c01
EventListenerMethodProcessor leniently handles unresolvable bean types
...
Issue: SPR-13712
2015-11-25 15:40:38 +01:00
Juergen Hoeller
2a3bf69991
AsyncAnnotationBeanPostProcessor leniently handles ambiguous TaskExecutor beans
...
Issue: SPR-13720
2015-11-25 15:39:12 +01:00
Andy Clement
58756b023c
Ensure cast correctly included for OpPlus compilation
...
When the plus operator is used between strings in a SpEL
expression and that expression is compiled, it is
important to include a cast if computation of any of
the operands isn't obviously leaving strings on the
stack. Likewise if the stack contents are known to
be strings, a cast should not be included.
Issue: SPR-12426
2015-11-24 16:35:08 -08:00
Juergen Hoeller
d5ca5b74a5
DateTimeFormatterRegistrar supports Duration and Period as well
...
Issue: SPR-13721
2015-11-25 00:21:03 +01:00
Brian Clozel
b35d44bd4c
Fix inputstream reading for HTTP range requests
...
Prior to this commit, range requests would be served by
ResourceHttpRequestHandler by partially reading the inputstream of
static resources. In case of resources contained in ZIP/JAR containers,
InputStreams may not fill the entire read buffer when calling
`inputStream.read(byte[])`. This was the case when using Spring Boot's
ZipInflaterInputStream - this would then not read the entire file
content and would close the response without writing the expected body
length indicated in the "Content-Length" header.
This commit makes sure that the whole resource is read.
Issue: SPR-13661
2015-11-24 21:36:22 +01:00
Juergen Hoeller
20a286b4d6
ASM ClassWriter uses application ClassLoader for its getCommonSuperClass check
...
Issue: SPR-13695
2015-11-24 17:38:02 +01:00
Juergen Hoeller
3aefc96593
@ManagedOperationParameter declares @Target/@Retention/@Documented/@Repeatable now
...
This also turns @ManagedNotification into a repeatable annotation and consistently applies findAnnotation/getRepeatableAnnotations.
Issue: SPR-13700
2015-11-24 17:37:51 +01:00
Juergen Hoeller
0524f3a474
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-11-24 17:37:30 +01:00
Juergen Hoeller
e8417ea6e1
SimpAnnotationMethodMessageHandler skips template variable check in case of no pattern
...
Issue: SPR-13704
2015-11-24 17:37:12 +01:00
Brian Clozel
9d9433a6eb
Flush of underlying response in ContentCachingResponseWrapper
...
Prior to this commit, when adding a ShallowEtagHeaderFilter to an
application, the ServletResponse would be wrapped by a
ContentCachingResponseWrapper. When any part of the Spring
infrastructure calls `flushBuffer` on the wrapped response, the call is
delegated to the actual response, which is committed. It's not possible
to alter the response (headers, content) anymore - the ETag filter can't
act.
This change prevents the `flushBuffer` call to be delegated and only
commits the underlying response once the cached content is copied to the
actual response stream.
Issue: SPR-13717
2015-11-24 17:26:03 +01:00
Stephane Nicoll
bf1afdfdc9
Add cache tests for JCache
2015-11-24 10:15:09 +01:00
Andy Clement
29303ef591
Allow MapAccessor to be compilable in SpEL expressions
...
With this change the MapAccessor now extends CompilablePropertyAccessor
rather than just PropertyAccessor. This means that any expression that
ends up using the MapAccessor is now compilable for fast performance.
Issue: SPR-13638
2015-11-23 09:25:57 -08:00
Stephane Nicoll
610b5a20ea
Fix test name
2015-11-23 18:22:53 +01:00
Stephane Nicoll
8dea3c5ade
Remove test duplication
2015-11-23 18:19:58 +01:00
Stephane Nicoll
918e0a3888
Merge pull request #926 from kazuki43zoo/modify-tld-in-adoc
...
* pr/926:
Add link in jsp tag library
2015-11-23 09:27:20 +01:00
Kazuki Shimizu
66d99f05aa
Add link in jsp tag library
...
Closes gh-926
2015-11-23 09:26:07 +01:00
Rossen Stoyanchev
5f2d34f526
Update Javadoc
...
Issue: SPR-13678
2015-11-17 15:19:40 -05:00
Sam Brannen
de9c030ba1
Suppress warnings in Gradle build
2015-11-17 14:10:35 +01:00
Stephane Nicoll
d6073eaf8d
Merge pull request #923 from uthark/patch-2
...
* pr/923:
Remove invalid underscore
2015-11-17 09:58:49 +00:00
Oleg Atamanenko
b2c132633f
Remove invalid underscore
...
Closes gh-923
2015-11-17 09:58:08 +00:00
Stephane Nicoll
e0f4736426
Merge pull request #922 from uthark/patch-1
...
* pr/922:
Add quotes around attribute value
2015-11-17 09:57:15 +00:00
Oleg Atamanenko
a834639ac8
Add quotes around attribute value
...
Closes gh-922
2015-11-17 09:56:46 +00:00
Sam Brannen
59d60c60cf
Polishing
2015-11-16 01:44:16 +01:00
Spring Buildmaster
d781ac0c92
Next Development Version
2015-11-15 08:33:31 -08:00