Juergen Hoeller
9543b9ceac
Consistent local vs external resolution of https schema references
...
Co-Authored-By: Sam Brannen <sbrannen@pivotal.io >
See gh-22504
2019-03-31 12:31:15 +02:00
Sam Brannen
0970af9aa7
URL Cleanup - polishing
...
See gh-22677
2019-03-29 18:01:18 +01:00
Sam Brannen
6ec3842bd9
URL Cleanup - upgrade to more modern Xalan namespace
...
See gh-22677
2019-03-29 18:01:11 +01:00
Sam Brannen
91f5f21b18
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-22677
2019-03-29 18:01:05 +01:00
Sam Brannen
8d403bf007
URL Cleanup - Fix broken tests
...
See gh-22677
2019-03-29 18:00:56 +01:00
Spring Operator
ba966709de
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://cglib.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://cglib.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://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 1 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://cglib.sourceforge.net/apidocs (301) with 1 occurrences could not be migrated:
([https](https://cglib.sourceforge.net/apidocs ) result AnnotatedConnectException).
* [ ] 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/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 21 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://www.objectmentor.com/resources/articles/ocp.pdf (302) with 1 occurrences could not be migrated:
([https](https://www.objectmentor.com/resources/articles/ocp.pdf ) 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/intro.html (404) with 1 occurrences could not be migrated:
([https](https://www.gebish.org/manual/current/intro.html ) 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://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/javase/6/docs/api/java/util/BitSet.html?foo=bar (UnknownHostException) with 1 occurrences migrated to:
https://arjen:foobar@java.sun.com:80/javase/6/docs/api/java/util/BitSet.html?foo=bar ([https](https://arjen:foobar@java.sun.com:80/javase/6/docs/api/java/util/BitSet.html?foo=bar ) result UnknownHostException).
* [ ] http://dev.bar.com (UnknownHostException) with 4 occurrences migrated to:
https://dev.bar.com ([https](https://dev.bar.com ) result UnknownHostException).
* [ ] http://domain1.com (UnknownHostException) with 14 occurrences migrated to:
https://domain1.com ([https](https://domain1.com ) result UnknownHostException).
* [ ] http://domain2.com (UnknownHostException) with 56 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 26 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://bitworking.org/projects/URI-Templates/ (302) with 2 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 4 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 8 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 6 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 5 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 26 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 7 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 (404) with 1 occurrences migrated to:
https://example.com/hotels/42 ([https](https://example.com/hotels/42 ) 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/hotels/bookings (404) with 1 occurrences migrated to:
https://example.com/hotels/bookings ([https](https://example.com/hotels/bookings ) result 404).
* [ ] http://example.com/hotels/foo (404) with 1 occurrences migrated to:
https://example.com/hotels/foo ([https](https://example.com/hotels/foo ) 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?query (404) with 2 occurrences migrated to:
https://example.com/path?query ([https](https://example.com/path?query ) result 404).
* [ ] http://example.com/resource (404) with 3 occurrences migrated to:
https://example.com/resource ([https](https://example.com/resource ) 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/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://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://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/support/PageFactory.html (404) with 1 occurrences migrated to:
https://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/support/PageFactory.html ([https](https://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/support/PageFactory.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/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.springframework.org/schema/jdbc/spring-cache.xsd (404) with 1 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-cache.xsd ([https](https://www.springframework.org/schema/jdbc/spring-cache.xsd ) 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/javaee/6/api/javax/servlet/http/HttpServletRequest.html with 3 occurrences migrated to:
https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html ([https](https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html ) 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://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 85 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 7 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://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/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 2 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 2 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 1 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://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 2 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 1 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 15 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.xsd with 77 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 1 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/tx/spring-tx.xsd with 10 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://asm.ow2.org/asm50/javadoc/user with 1 occurrences migrated to:
https://asm.ow2.org/asm50/javadoc/user ([https](https://asm.ow2.org/asm50/javadoc/user ) 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://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 35 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 3 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://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.springsource.org/download with 1 occurrences migrated to:
https://www.springsource.org/download ([https](https://www.springsource.org/download ) 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 6 occurrences
* http://localhost/42 with 1 occurrences
* http://localhost/abc with 1 occurrences
* http://localhost/abc/def 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 2 occurrences
* http://localhost/forward with 1 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 1 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/persons with 1 occurrences
* http://localhost/prefix/mvc-showcase with 1 occurrences
* http://localhost/prefix/mvc-showcase/app with 1 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/test with 4 occurrences
* http://localhost/test/this with 2 occurrences
* http://localhost:7070/example/adminhandle.vm with 1 occurrences
* http://localhost:7070/example/bingo.html with 1 occurrences
* http://localhost:80/jquery-1.11.0.min.js with 1 occurrences
* http://localhost:8080 with 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/test/ with 2 occurrences
* http://localhost:8888/AccountServiceEndpoint?WSDL with 1 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://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 50 occurrences
* http://www.springframework.org/schema/beans with 320 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 13 occurrences
* http://www.springframework.org/schema/context with 42 occurrences
* http://www.springframework.org/schema/jdbc with 16 occurrences
* http://www.springframework.org/schema/jee with 22 occurrences
* http://www.springframework.org/schema/jms with 17 occurrences
* http://www.springframework.org/schema/lang with 24 occurrences
* http://www.springframework.org/schema/mvc with 20 occurrences
* http://www.springframework.org/schema/oxm with 14 occurrences
* http://www.springframework.org/schema/p with 5 occurrences
* http://www.springframework.org/schema/task with 12 occurrences
* http://www.springframework.org/schema/tool with 178 occurrences
* http://www.springframework.org/schema/tx with 37 occurrences
* http://www.springframework.org/schema/tx/spring-tx.xsd__ with 1 occurrences
* http://www.springframework.org/schema/util with 22 occurrences
* http://www.springframework.org/schema/websocket with 28 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 111 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 92 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 19 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-22677
2019-03-29 18:00:32 +01:00
Sam Brannen
28c580f538
URL Cleanup - Fix broken tests
...
See gh-22671
2019-03-29 17:24:21 +01:00
Sam Brannen
c31443854c
URL Cleanup - Polishing
...
See gh-22671
2019-03-29 17:24:14 +01:00
Sam Brannen
8c1b916e38
URL Cleanup - remove obsolete ATOM schema location
...
See gh-22671
2019-03-29 17:24:06 +01:00
Spring Operator
50be39ea7d
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/dtd/spring-beans.dtd with 1 occurrences migrated to:
https://www.springframework.org/dtd/spring-beans.dtd ([https](https://www.springframework.org/dtd/spring-beans.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 116 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 11 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.1.xsd with 33 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.2.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.2.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.0.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.1.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.1.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.1.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans-4.2.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-4.2.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-4.2.xsd ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.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 3 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 2 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.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.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.xsd with 28 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 709 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 128 occurrences
* http://www.springframework.org/schema/jdbc with 62 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 372 occurrences
* http://www.w3.org/2005/Atom with 2 occurrences
Closes gh-22671
2019-03-29 17:23:51 +01:00
Sam Brannen
6a70205a3e
Merge branch 'spring-operator-polish-urls-apache-license-4.2.x' into 4.2.x
2019-03-23 14:45:05 +01:00
Spring Operator
a475592dc0
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 5808 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-21 14:54:31 -05:00
Sam Brannen
22b9b95982
Merge branch 'spring-operator-polish-urls-build-4.2.x' into 4.2.x
2019-03-12 15:00:13 +01:00
Sam Brannen
1d8b76361f
Manual URL Cleanup
...
Closes gh-22519
2019-03-12 14:59:55 +01:00
Spring Operator
8006d1c123
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).
# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* http://aopalliance.sourceforge.net/doc/ (200) migrated to:
http://aopalliance.sourceforge.net/doc/ ([https](https://aopalliance.sourceforge.net/doc/ ) result AnnotatedConnectException).
# 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://jira.codehaus.org/browse/JIBX-465 (UnknownHostException) migrated to:
https://jira.codehaus.org/browse/JIBX-465 ([https](https://jira.codehaus.org/browse/JIBX-465 ) result UnknownHostException).
* 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-dataformat-xml/javadoc/2.3.0/ migrated to:
https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.3.0/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.3.0/ ) 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.txt migrated to:
https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt ) 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://fasterxml.github.com/jackson-core/javadoc/2.3.0/ migrated to:
https://fasterxml.github.com/jackson-core/javadoc/2.3.0/ ([https](https://fasterxml.github.com/jackson-core/javadoc/2.3.0/ ) result 301).
* http://fasterxml.github.com/jackson-databind/javadoc/2.3.0/ migrated to:
https://fasterxml.github.com/jackson-databind/javadoc/2.3.0/ ([https](https://fasterxml.github.com/jackson-databind/javadoc/2.3.0/ ) 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-05 21:56:30 -06:00
Spring Buildmaster
9c97585f3d
Next Development Version
2016-12-21 12:20:25 +00:00
Brian Clozel
43bf008fbc
Normalize resource URL in ResourceServlet
...
Issue: SPR-14946
2016-12-21 11:02:29 +01:00
Juergen Hoeller
7275fd2086
Polishing
2016-12-20 20:54:00 +01:00
Juergen Hoeller
6e5b873609
Polishing
...
(cherry picked from commit 8662c61 )
2016-12-20 20:20:17 +01:00
Juergen Hoeller
5fb4103a25
Polishing
2016-12-20 12:35:17 +01:00
Juergen Hoeller
74a0aee2f6
Defensively catch any exception from match attempts (for compatibility with AspectJ 1.8.10)
...
Issue: SPR-15019
(cherry picked from commit 935671a )
2016-12-20 12:35:11 +01:00
Juergen Hoeller
e9def51e6f
MBeanExporter silently ignores null beans
...
Issue: SPR-15031
(cherry picked from commit 1e58c80 )
2016-12-19 17:06:40 +01:00
Juergen Hoeller
b592dd7e2f
Polishing
...
(cherry picked from commit b5f2e56 )
2016-12-19 02:34:10 +01:00
Juergen Hoeller
86614afb1a
Consistent DeferredResultHandler invocation outside of result lock
...
Issue: SPR-14978
(cherry picked from commit faab4f9 )
2016-12-19 02:31:00 +01:00
Juergen Hoeller
ee775248bc
Defensively catch IllegalStateException from match attempts (for compatibility with AspectJ 1.8.10)
...
Issue: SPR-15019
(cherry picked from commit f0c3d50 )
2016-12-19 02:30:45 +01:00
Juergen Hoeller
bcdda917e7
TypeDescriptor properly narrows ResolvableType for non-typed collection elements
...
Issue: SPR-14971
(cherry picked from commit 442d8a6 )
2016-12-19 02:30:24 +01:00
Juergen Hoeller
2de488e7f5
Stronger explanation of default rollback rules
...
Issue: SPR-14994
(cherry picked from commit 0296c7c )
2016-12-19 02:29:52 +01:00
Juergen Hoeller
c732f38b85
ImportRegistry properly tracks excluded superclasses
...
Issue: SPR-14972
(cherry picked from commit dd3c370 )
2016-12-19 02:29:34 +01:00
Juergen Hoeller
3556d4be64
Revised forClass argument names
...
Issue: SPR-14976
(cherry picked from commit ced7503 )
2016-12-19 02:28:48 +01:00
Juergen Hoeller
c22cad145b
SpEL docs: supported literals, null comparisons
...
Issue: SPR-14361
Issue: SPR-14987
(cherry picked from commit 5ccc8e3 )
2016-12-19 02:28:29 +01:00
Juergen Hoeller
f64cf779da
Consistent use of "URI variables" terminology
...
Issue: SPR-14969
(cherry picked from commit 71977e8 )
2016-12-19 02:28:16 +01:00
Juergen Hoeller
de3734ac3b
Polishing
2016-12-01 23:05:11 +01:00
Juergen Hoeller
d518ac65ed
Upgrade to Tomcat 8.0.39 and Joda-Time 2.9.6
2016-12-01 18:54:28 +01:00
Juergen Hoeller
2a2d5aa6d1
Class identity comparisons wherever possible
...
Issue: SPR-12926
2016-12-01 18:54:04 +01:00
Juergen Hoeller
0b76b13d88
Polishing
...
(cherry picked from commit 5fee5f3 )
2016-12-01 18:53:23 +01:00
Juergen Hoeller
23e91e1ae6
Consistent use of "URI variables" terminology
...
Issue: SPR-14969
(cherry picked from commit 2b02935 )
2016-12-01 18:53:16 +01:00
Juergen Hoeller
01214bfb54
WebSocketServerSockJsSession uses dedicated disconnect lock
...
Issue: SPR-14917
(cherry picked from commit ac30bcb )
2016-12-01 18:53:11 +01:00
Rossen Stoyanchev
31df090132
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 21:02:54 -05:00
Juergen Hoeller
c2a1a41eb6
Polishing
2016-11-07 20:30:27 +01:00
Juergen Hoeller
0b47c54cda
Upgrade to Joda-Time 2.9.5 and EhCache 2.10.3
2016-11-04 13:54:11 +01:00
Juergen Hoeller
c8bb32b5c3
@Async docs explicitly mention ListenableFuture and CompletableFuture
...
Issue: SPR-14881
(cherry picked from commit 9be1710 )
2016-11-04 13:44:20 +01:00
Juergen Hoeller
1f551a8371
Upgrade to Netty 4.0.42 and H2 1.4.193
2016-10-31 20:32:26 +01:00
Juergen Hoeller
377780a3c7
Polishing
...
(cherry picked from commit ade139f )
2016-10-31 20:32:12 +01:00
Juergen Hoeller
17d622176d
ObjectToObjectConverter properly handles constructors on non-public classes
...
Issue: SPR-14304
(cherry picked from commit edf1df3 )
2016-10-31 20:31:58 +01:00
Juergen Hoeller
6b7f3fd942
No external locking for singleton advice/aspect beans
...
Issue: SPR-14324
(cherry picked from commit e18e7ec )
2016-10-31 20:31:00 +01:00
Juergen Hoeller
4ce0e6b3c3
Avoid deadlock between SockJS heartbeat and XHR polling
...
Issue: SPR-14833
(cherry picked from commit 1c80d2a )
2016-10-31 20:30:54 +01:00
Juergen Hoeller
0d6dc5760c
Test for multi-character delimiter
...
Issue: SPR-14808
(cherry picked from commit 5578a2e )
2016-10-31 20:30:37 +01:00
Juergen Hoeller
2b18092396
SimpleApplicationEventMulticaster just swallows event downcast exceptions
...
Issue: SPR-14846
(cherry picked from commit fbad637 )
2016-10-31 20:30:30 +01:00
Juergen Hoeller
021e8e44e5
AccessorLValue reliably downcasts to CompilablePropertyAccessor in concurrent scenarios
...
Issue: SPR-14850
(cherry picked from commit 5697cb6 )
2016-10-31 20:30:25 +01:00
Rossen Stoyanchev
fe333e49bc
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:47:51 +03:00
Stephane Nicoll
02541022b3
Clarify SpEL usage on @EventListener
...
Issue: SPR-14812
2016-10-25 17:45:58 +02:00
Juergen Hoeller
d216051b03
Upgrade to Tomcat 8.0.38 and JRuby 1.7.26
2016-10-12 18:10:23 +02:00
Juergen Hoeller
8174f3bfca
Polishing
...
(cherry picked from commit 29a9461 )
2016-10-12 18:10:04 +02:00
Juergen Hoeller
aff5d211f4
StompSubProtocolHandler does not insist on SimpMessageHeaderAccessor
...
Issue: SPR-14791
(cherry picked from commit f5cd538 )
2016-10-12 18:09:53 +02:00
Stephane Nicoll
fe59bc26ab
Polish EnableAsync javadoc
...
Issue: SPR-14793
(cherry picked from commit 7a8bf8e )
2016-10-12 18:09:42 +02:00
Brian Clozel
306452720f
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 ea5ff87 )
2016-10-07 23:30:36 +02:00
Juergen Hoeller
ea9e00f819
Consistent final logger fields
...
(cherry picked from commit f2ac416 )
2016-10-06 00:49:54 +02:00
Juergen Hoeller
1f92fc8d90
@Lookup reference documentation
...
Issue: SPR-14765
(cherry picked from commit 642fbfb )
2016-10-06 00:49:45 +02:00
Juergen Hoeller
8bdb1b0981
Polishing
...
(cherry picked from commit d04567b )
2016-09-26 18:48:44 +02:00
Juergen Hoeller
02d83cedea
Efficient STOMP content-length header check
...
Issue: SPR-14747
(cherry picked from commit f2e1e1b )
2016-09-26 17:36:11 +02:00
Juergen Hoeller
6577faa2da
StompEncoder performance improvement plus related polishing
...
Issue: SPR-14747
(cherry picked from commit 6c764f6 )
2016-09-26 16:57:21 +02:00
Juergen Hoeller
c5722b336c
Clarified that getResource never returns null
...
(cherry picked from commit 49929f1 )
2016-09-26 16:57:16 +02:00
Juergen Hoeller
e54a7ed6d4
Polishing
2016-09-22 15:33:38 +02:00
Juergen Hoeller
1067855f0f
Upgrade to Hibernate 5.0.11 and Undertow 1.3.25
2016-09-22 15:33:31 +02:00
Spring Buildmaster
964f40f2b4
Next Development Version
2016-09-19 14:43:18 +00:00
Rossen Stoyanchev
62b02c23ab
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:04:55 -04:00
Juergen Hoeller
a0773aef1d
Polishing
2016-09-18 21:24:19 +02:00
Juergen Hoeller
cc56ef5737
Revised checkResource implementation
...
Issue: SPR-14729
(cherry picked from commit ca17edd )
2016-09-18 21:24:11 +02:00
Brian Clozel
97c9b05c15
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
2016-09-17 22:18:55 +02:00
Juergen Hoeller
ed19dc7900
Polishing
2016-09-16 11:18:50 +02:00
Juergen Hoeller
7902f63cb1
Latest applicable dependency updates (Woodstox 5.0.3, Jettison 1.3.8)
2016-09-16 11:07:45 +02:00
Juergen Hoeller
818c72a2b3
StringUtils.parseLocaleString accepts Java 7 variants
...
Issue: SPR-14718
(cherry picked from commit 7ddaf49 )
2016-09-16 11:07:26 +02:00
Juergen Hoeller
c9943aacc5
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
(cherry picked from commit e947363 )
2016-09-15 10:05:04 +02:00
Rossen Stoyanchev
9fa2a46d35
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:37:30 -04:00
Rossen Stoyanchev
114b2b63b1
Check both connection and connected flag
...
Issue: SPR-14703
2016-09-14 17:26:13 -04:00
Juergen Hoeller
404e7cda7e
Polishing
2016-09-13 23:31:09 +02:00
Juergen Hoeller
b344c927bd
Polishing
...
(cherry picked from commit 040d131 )
2016-09-13 22:59:09 +02:00
Juergen Hoeller
883c3a6b4f
Revised IllegalArgumentException handling for Formatter parse calls
...
Issue: SPR-14661
(cherry picked from commit 73bbe08 )
2016-09-13 22:58:58 +02:00
Juergen Hoeller
68332bf240
Correct ISO DateTime example
...
Issue: SPR-14675
(cherry picked from commit db196ce )
2016-09-13 22:58:01 +02:00
Juergen Hoeller
53fc1e96c6
Avoid outdated Tibco workaround in shouldCommitAfterNoMessageReceived
...
Issue: SPR-14697
(cherry picked from commit 4396b21 )
2016-09-13 22:57:39 +02:00
Juergen Hoeller
53dc996be8
PropertyValue stores source object in common superclass field
...
Issue: SPR-8337
(cherry picked from commit 367949e )
2016-09-13 22:57:29 +02:00
Juergen Hoeller
338a4a581e
MappingJackson2MessageConverter adds message id and destination to type resolution exception
...
Issue: SPR-14672
(cherry picked from commit ae2bbe7 )
2016-09-13 22:57:22 +02:00
Juergen Hoeller
1bde1ff263
Documentation updates around configuration classes
...
(cherry picked from commit efb5f17 )
2016-09-01 13:00:13 +02:00
Juergen Hoeller
5f55add4bb
ResolvableType.java.forRawClass(Class) supports isAssignableFrom(ResolvableType) as well
...
Issue: SPR-14648
(cherry picked from commit 086e764 )
2016-08-31 15:30:12 +02:00
Juergen Hoeller
a3b94eb17c
Upgrade to Netty 4.0.41
2016-08-31 01:31:33 +02:00
Juergen Hoeller
458d49bdb8
Polishing
...
(cherry picked from commit acbb254 )
2016-08-31 01:31:06 +02:00
Juergen Hoeller
e76ed49513
CommonsMultipartResolver explicitly converts FileSizeLimitExceededException
...
Issue: SPR-14638
(cherry picked from commit 05f74b4 )
2016-08-31 01:31:01 +02:00
Juergen Hoeller
aa12288d50
Avoid collection lookups in StompCommand
...
Issue: SPR-14636
(cherry picked from commit 8e98177 )
2016-08-31 01:30:55 +02:00
Rossen Stoyanchev
cc33bfaf61
Support receipt on DISCONNECT with simple broker
...
Issue: SPR-14568
2016-08-29 18:32:33 -04:00
Rossen Stoyanchev
91387a5ae7
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-29 14:17:27 -04:00
Juergen Hoeller
5b0722ed28
Polishing
...
(cherry picked from commit e828be9 )
2016-08-26 18:10:43 +02:00
Juergen Hoeller
2adbfb6d02
Avoid getParameterType use with Oracle 12c driver by default
...
Issue: SPR-14629
Issue: SPR-14574
Issue: SPR-14191
(cherry picked from commit 52447ef )
2016-08-26 18:10:34 +02:00
Juergen Hoeller
d03afeb296
Consistent use of Charset.forName over JDK 7 StandardCharsets in 4.x line
...
(cherry picked from commit 2a82b8f )
2016-08-26 18:10:27 +02:00
Juergen Hoeller
f4037bf522
Polishing
2016-08-24 23:50:19 +02:00
Juergen Hoeller
db037e490a
Revised assertions in StompHeaderAccessor
...
Issue: SPR-14625
(cherry picked from commit c2feedb )
2016-08-24 23:49:22 +02:00
Juergen Hoeller
3811a595ed
Avoid unnecessary String concatenation in StompSubProtocolHandler
...
Issue: SPR-14624
(cherry picked from commit 0735e9b )
2016-08-24 23:49:12 +02:00
Juergen Hoeller
2a9ca66cee
Restored hard reference cache in TransactionAspectSupport for 4.2.8
...
Issue: SPR-14511
Issue: SPR-14609
2016-08-24 14:52:52 +02:00
Juergen Hoeller
081c3ac44f
Polishing
2016-08-24 12:46:30 +02:00
Juergen Hoeller
aac0e632ae
Various @since tags (and varargs on setInterceptors)
2016-08-18 12:31:21 +02:00
Juergen Hoeller
96f1a0ecae
Polishing
2016-08-18 10:50:56 +02:00
Juergen Hoeller
78049d3d25
Polishing
2016-08-17 22:26:03 +02:00
Juergen Hoeller
f4d45ddbf7
Upgrade to EhCache 3.0.3
2016-08-17 21:13:39 +02:00
Juergen Hoeller
e9f48a44f4
Removed duplicate NoHandlerFoundException entry
...
Issue: SPR-14598
2016-08-17 21:10:37 +02:00
Juergen Hoeller
de91b1a8a0
Polishing
...
(cherry picked from commit b9a2d0a )
2016-08-17 21:10:17 +02:00
Juergen Hoeller
22ca7ac927
Polishing
...
(cherry picked from commit c926ec4 )
2016-08-17 18:04:00 +02:00
Juergen Hoeller
264f5335a3
Polishing
2016-08-11 23:42:16 +02:00
Juergen Hoeller
b2a0b75f7e
Avoid stack overflow in case of chained factory-bean references to FactoryBean class
...
Issue: SPR-14551
(cherry picked from commit e23ac03 )
2016-08-11 23:42:09 +02:00
Juergen Hoeller
41d2d2d270
Polishing
2016-08-10 17:09:27 +02:00
Juergen Hoeller
7b33cd6476
Polishing
...
(cherry picked from commit 67ba187 )
2016-08-10 15:50:47 +02:00
Juergen Hoeller
349f2ad578
Consistent spelling for StandaloneMockMvcBuilder's addPlaceholderValue
...
(cherry picked from commit 67f0b19 )
2016-08-10 15:50:42 +02:00
Juergen Hoeller
48980a247a
MethodBasedEvaluationContext reliably exposes varargs
...
Issue: SPR-14554
(cherry picked from commit 4543a28 )
2016-08-09 21:59:24 +02:00
Juergen Hoeller
9475c06eb5
Polishing
2016-08-09 12:29:15 +02:00
Juergen Hoeller
8c6cb3e59d
Polishing
...
(cherry picked from commit 4627545 )
2016-08-09 11:31:05 +02:00
Juergen Hoeller
8e0b7c408c
Upgrade to Hibernate ORM 5.0.10 and Undertow 1.3.24
2016-08-09 11:30:59 +02:00
Rossen Stoyanchev
c7daa4e94c
Fix failing test
2016-08-08 21:43:42 -04:00
Rossen Stoyanchev
977b67e418
Protect sendHeartbeat from cancellation
...
Issue: SPR-14564
2016-08-08 17:33:57 -04:00
Juergen Hoeller
5c8573233a
ConfigurationClassParser uses unified ImportStack with chained import analysis
...
Issue: SPR-14517
(cherry picked from commit d96a66a )
(cherry picked from commit ff878ea )
2016-07-28 00:33:09 +02:00
Juergen Hoeller
4e94e848c9
JndiPropertySource defensively skips invalid JNDI lookup for property name with colon in resource-ref mode
...
Issue: SPR-14518
(cherry picked from commit 7021a4b )
2016-07-28 00:33:01 +02:00
Juergen Hoeller
f8abba0118
Upgrade to Netty 4.0.40
2016-07-27 17:05:26 +02:00
Juergen Hoeller
5f44d54d20
Polishing
...
(cherry picked from commit fbf3807 )
2016-07-27 17:03:15 +02:00
Juergen Hoeller
0464363ac0
Isolated circular import detection for scanned configuration classes
...
Issue: SPR-14517
(cherry picked from commit 703c37e )
2016-07-27 17:02:53 +02:00
Juergen Hoeller
fbc45ed7b6
Polishing
2016-07-27 12:51:24 +02:00
Juergen Hoeller
9789f00ad3
Fixed Quartz javadoc URL
2016-07-26 22:03:56 +02:00
Juergen Hoeller
74f64696b3
TransactionAspectSupport avoids hard references to transaction manager beans
...
Issue: SPR-14511
(cherry picked from commit 67176e2 )
2016-07-26 21:49:17 +02:00
Juergen Hoeller
442f89bfbd
Deprecate JpaSystemException(PersistenceException) constructor to prepare for removal in Spring 5
...
Issue: SPR-13827
(cherry picked from commit 9ee1dc7 )
2016-07-26 01:32:33 +02:00
Juergen Hoeller
23135b19b3
Fixed ConcurrentMap declaration
2016-07-26 00:27:42 +02:00
Juergen Hoeller
29e8ba3efc
Polishing
...
(cherry picked from commit cc93c2a )
2016-07-26 00:09:35 +02:00
Juergen Hoeller
dadd2c3709
LinkedCaseInsensitiveMap properly overrides HashMap.clone()
...
Issue: SPR-14509
(cherry picked from commit 6459559 )
2016-07-25 15:24:29 +02:00
Juergen Hoeller
f1fc74c4ec
ResourcePatternUtils.getResourcePatternResolver actually accepts null argument
...
Issue: SPR-14500
(cherry picked from commit 8ccfdbb )
2016-07-25 15:22:56 +02:00
Juergen Hoeller
a39276addc
Polishing
2016-07-20 23:22:06 +02:00
Juergen Hoeller
b5127dc152
Polishing
2016-07-20 22:16:35 +02:00
Rossen Stoyanchev
a9136d9638
Remove isAsyncStarted assertion
...
Issue: SPR-14444
2016-07-19 16:44:59 -04:00
Juergen Hoeller
5a479b8793
Upgrade to Netty 4.0.39
2016-07-15 23:01:41 +02:00
Juergen Hoeller
068186ca59
Polishing
...
(cherry picked from commit afe106e )
2016-07-15 23:01:20 +02:00
Juergen Hoeller
392f9c8deb
Javadoc fixes and pruning of deprecated references
...
(cherry picked from commit 69dd40e )
2016-07-15 23:01:14 +02:00
Juergen Hoeller
3500bdce0a
ConfigurationClassParser load annotations through source class loader
...
Issue: SPR-10343
(cherry picked from commit 9e93403 )
2016-07-15 17:09:26 +02:00
Juergen Hoeller
4be5541c0e
MessageHeaderAccessor properly removes header even in case of null value
...
Issue: SPR-14468
(cherry picked from commit 4ea5f07 )
2016-07-15 17:09:13 +02:00
Juergen Hoeller
44152ce401
CronSequenceGenerator prevents stack overflow in case of inverted range
...
Issue: SPR-14462
(cherry picked from commit da59b4d )
2016-07-15 17:08:59 +02:00
Juergen Hoeller
97d73eb70c
StandardTypeConverter initializes default ConversionService against volatile field
...
Issue: SPR-14465
(cherry picked from commit 0065a16 )
2016-07-15 17:08:42 +02:00
Juergen Hoeller
c627c408a0
Aspect actually applies in PersistenceExceptionTranslationPostProcessorTests
...
Issue: SPR-14457
(cherry picked from commit 52f46c7 )
2016-07-15 17:08:27 +02:00
Juergen Hoeller
e4179553b6
AbstractHandlerMethodMapping adds type+method info to getMappingForMethod exceptions
...
Issue: SPR-14452
(cherry picked from commit f0a826e )
2016-07-15 17:08:18 +02:00
Juergen Hoeller
82ca2011e3
Configurable UrlPathHelper in PathExtensionContentNegotiationStrategy
...
This commit also aligns ResourceUrlProvider's and RequestMappingInfo's UrlPathHelper setter/getter signatures.
Issue: SPR-14454
(cherry picked from commit 5c3c0f7 )
2016-07-15 17:08:06 +02:00
Juergen Hoeller
482dd2cf37
Fixed typo: "occured"->"occurred"
...
(cherry picked from commit be0b71c )
2016-07-15 17:07:37 +02:00
Juergen Hoeller
f51c90c1cc
DigestUtils processes InputStream with buffered read instead of full copy
...
Issue: SPR-14427
(cherry picked from commit a1b58ee )
2016-07-15 17:07:25 +02:00
Juergen Hoeller
b02744d42e
Polishing
...
(cherry picked from commit e304290 )
2016-07-15 17:07:12 +02:00
Juergen Hoeller
0445ce6c53
Polishing (backported from master)
...
(cherry picked from commit 92d78c1 )
2016-07-06 17:35:30 +02:00
Juergen Hoeller
2e075baede
Avoid canonicalName call for already-seen bean name
...
Issue: SPR-14433
(cherry picked from commit 52065a7 )
2016-07-06 17:35:20 +02:00
Stephane Nicoll
7dbb1ca466
Upgrade copyright
2016-07-04 12:46:04 +02:00
Spring Buildmaster
4b5eedfeb4
Next Development Version
2016-07-04 10:26:51 +00:00
Juergen Hoeller
a637213246
Aligned default Map capacity
2016-07-02 15:15:09 +02:00
Juergen Hoeller
6500018730
HtmlUnitRequestBuilder decodes request parameter names (backport)
...
Issue: SPR-14177
2016-07-02 14:08:24 +02:00
Juergen Hoeller
fa624cd095
Avoid wrapping in plain RuntimeException in favor of IllegalStateException
...
(cherry picked from commit e5122d0 )
2016-07-02 14:07:18 +02:00
Juergen Hoeller
cd37873971
Avoid stateful MethodParameter nesting level changes in MVC processing
...
(cherry picked from commit e7a53e3 )
2016-07-02 14:07:11 +02:00
Juergen Hoeller
4ddd9572f7
Leniently accept custom DeferredResult etc subclasses for null values
...
Issue: SPR-14423
(cherry picked from commit cfc560c )
2016-07-02 14:07:04 +02:00
Juergen Hoeller
3d106eb655
Upgrade to WebJars Locator 0.32
2016-07-01 15:51:40 +02:00
Juergen Hoeller
3dad61fbbf
Backported applicable beans chapter revisions
2016-07-01 15:40:45 +02:00
Stephane Nicoll
d73f91eaf0
Polish
...
Closes gh-1097
(cherry picked from commit 037746d )
2016-07-01 15:40:06 +02:00
Juergen Hoeller
db4882cea4
Polishing
2016-06-30 21:45:55 +02:00
Juergen Hoeller
833ed7168e
Add missing package-info files for common packages
...
Issue: SPR-14420
(cherry picked from commit 66ec1c1 )
2016-06-30 21:43:29 +02:00
Juergen Hoeller
09c7194c78
Polishing
...
(cherry picked from commit 232cfe5 )
2016-06-30 14:16:20 +02:00
Juergen Hoeller
a63247b281
Polishing
2016-06-29 16:07:03 +02:00
Juergen Hoeller
dd7ddc08ff
Polishing
2016-06-29 14:48:09 +02:00
Stephane Nicoll
3564616b7f
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
(cherry picked from commit 6cd85dd )
2016-06-29 14:47:39 +02:00
Juergen Hoeller
07c9c55fd3
PayloadArgumentResolver's MessageConversionException includes original payload type
...
Issue: SPR-14394
(cherry picked from commit f5282bc )
2016-06-29 14:47:20 +02:00
Juergen Hoeller
0d3a22c487
Avoid potential deadlock in AbstractBeanFactoryPointcutAdvisor
...
Issue: SPR-14388
(cherry picked from commit fd9d518 )
2016-06-29 14:46:41 +02:00
Juergen Hoeller
f19599884d
Fixed ambiguous sentence in conditional cache documentation
...
Issue: SPR-14399
(cherry picked from commit 4102c62 )
2016-06-29 14:46:23 +02:00
Juergen Hoeller
f60c6c90c1
Upgrade to CGLIB 3.2.4
...
Issue: SPR-14385
2016-06-29 14:46:15 +02:00
Rossen Stoyanchev
269742589b
Improve static resource path check
2016-06-28 16:50:32 -04:00
Rossen Stoyanchev
4c87167c98
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 17:10:49 -04:00
Juergen Hoeller
71df9cef80
ObjectUtils.nullSafeEquals allows for JVM method inlining (through reducing its bytecode size)
...
Issue: SPR-14349
(cherry picked from commit ca12e13 )
2016-06-09 22:42:05 +02:00
Juergen Hoeller
3680ec5a0d
Polishing
2016-06-09 17:21:23 +02:00
Juergen Hoeller
f9e8924b3d
Consistent processing of empty values and catching of RuntimeExceptions for Formatters
...
Issue: SPR-14345
(cherry picked from commit d51c22a )
2016-06-09 10:59:13 +02:00
Juergen Hoeller
367e663730
Assertions for error codes in case of formatting failures
...
Issue: SPR-14345
(cherry picked from commit c6f63bd )
2016-06-08 16:26:48 +02:00
Juergen Hoeller
9ac661df82
Polishing
2016-06-08 14:13:22 +02:00
Juergen Hoeller
57aa2afaa0
Upgrade to Jackson 2.6.7 and Netty 4.0.37
2016-06-08 10:06:26 +02:00
Juergen Hoeller
c349ac9d42
Upgrade to Groovy 2.4.7
...
(cherry picked from commit f5a9d5e )
2016-06-07 18:10:02 +02:00
Juergen Hoeller
7001707028
CorsFilter asserts presence of CorsConfigurationSource
...
(cherry picked from commit 31aed61 )
2016-06-07 16:50:24 +02:00
Juergen Hoeller
9a41774364
Fixed @since references after SPR-14080 backport
...
Issue: SPR-14305
2016-06-07 13:35:19 +02:00
Juergen Hoeller
d0b2fe5e8c
Allow JAXB to be registered next to plain Jackson
...
Issue: SPR-14336
(cherry picked from commit abcfffd )
2016-06-07 13:30:11 +02:00
Juergen Hoeller
e9ba64ae49
Upgrade to EhCache 3.0.2 and Castor 1.4.1
...
(cherry picked from commit 3c987b1 )
2016-06-06 22:23:39 +02:00
Juergen Hoeller
47c62fd173
Synchronized access to method overrides (in particular for @Lookup)
...
Issue: SPR-14333
(cherry picked from commit 9131ebb )
2016-06-06 17:45:21 +02:00
Juergen Hoeller
24b3525f8d
Upgrade to Undertow 1.3.23
2016-06-04 11:20:21 +02:00
Juergen Hoeller
e219576414
Defensive catching of any Throwable subclasses instead of just Error
...
Issue: SPR-14329
Issue: SPR-14323
(cherry picked from commit a9fda3e )
2016-06-04 00:27:24 +02:00
Juergen Hoeller
2fd691b340
EventListenerMethodProcessor defensively handles unresolvable method signatures
...
Issue: SPR-14330
(cherry picked from commit f657952 )
2016-06-04 00:22:46 +02:00
Juergen Hoeller
d467dc2a05
Avoid double getFlushMode call
2016-06-04 00:20:46 +02:00
Juergen Hoeller
24b9e3a0be
Latest applicable dependency updates (Commons FileUpload 1.3.2, Tomcat 8.0.35, HSQLDB 2.3.4, H2 1.4.192)
2016-06-02 17:14:29 +02:00
Juergen Hoeller
f36070b560
Polishing
...
(cherry picked from commit 521c41d )
2016-06-02 17:14:07 +02:00
Juergen Hoeller
899131997e
Less restrictive CORS origin comparison
...
UriComponentsBuilder allows more efficient (and less restrictive) CORS
origin comparison.
Also introduces a specifically narrowed cloneBuilder() method for
UriComponentsBuilders.
Cherry-picked from 9a52c8.
Issue: SPR-14080
2016-05-31 12:25:16 -04:00
Juergen Hoeller
a27200e753
Polishing
2016-05-31 13:27:34 +02:00
Juergen Hoeller
933bbf2de9
AbstractBeanFactory.markBeanAsCreated() reliably clears merged bean definition only once
...
Issue: SPR-14269
(cherry picked from commit 9064d38 )
2016-05-31 13:26:33 +02:00
Juergen Hoeller
1d0c305a25
BeanWrapper avoids StringIndexOutOfBoundsException for incompletely quoted keys
...
Issue: SPR-14293
(cherry picked from commit cf0a0cd )
2016-05-31 13:22:44 +02:00
Juergen Hoeller
62199e82ef
ConfigurationClassParser detects @Bean methods in interface hierarchies as well
...
Issue: SPR-14288
(cherry picked from commit 03affa0 )
2016-05-31 13:22:29 +02:00
Juergen Hoeller
7de2976c1e
Consistent meta-annotation attributes lookup through ASM
...
Issue: SPR-14257
(cherry picked from commit 24f5f36 )
2016-05-31 13:22:21 +02:00
Juergen Hoeller
cc7758869c
SettableListenableFuture properly rethrows Error
...
Issue: SPR-14298
(cherry picked from commit a979885 )
2016-05-31 13:22:16 +02:00
Juergen Hoeller
f64ed69280
ServletServerHttpRequest.getHeaders() ignores invalid content type
...
Issue: SPR-14309
(cherry picked from commit f7f2327 )
2016-05-31 13:21:46 +02:00
Juergen Hoeller
07b5763324
SpringTilesContainerFactory uses Tiles 3's createDecoratedContainer
...
Issue: SPR-14311
(cherry picked from commit 2d85acc )
2016-05-31 13:21:38 +02:00
Juergen Hoeller
7b73f23f43
For attribute is not actually required
...
Issue: SPR-14287
(cherry picked from commit dacc31e )
2016-05-31 13:21:06 +02:00
Juergen Hoeller
a0a2a3337a
@Bean's "autowire" attribute does not affect annotation-driven autowiring
...
Issue: SPR-14282
(cherry picked from commit 98eaf05 )
2016-05-31 13:21:00 +02:00
Juergen Hoeller
ad29db8675
Reference documentation updates
...
Issue: SPR-14087
Issue: SPR-14272
Issue: SPR-13535
Issue: SPR-13843
Issue: SPR-14164
Issue: SPR-14319
2016-05-31 13:20:33 +02:00
Juergen Hoeller
a2088c38ad
Latest applicable dependency updates (Joda-Time 2.9.4, Jetty 9.3.9, EhCache 3.0.1)
2016-05-31 13:19:52 +02:00
Rossen Stoyanchev
28321946bf
Remove unnecessary assertion
...
Issue: SPR-14279
2016-05-22 06:23:57 -04:00
Rossen Stoyanchev
b5022108c7
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-13 07:47:11 -04:00
Spring Buildmaster
6eba220d1b
Next Development Version
2016-05-06 07:56:13 +00:00
Juergen Hoeller
5fc0d43852
AsyncResult properly propagates execution exception
...
Issue: SPR-14249
(cherry picked from commit 1b1aac9 )
2016-05-05 20:57:42 +02:00
Juergen Hoeller
2dbc8b0381
Latest applicable dependency updates (EhCache 2.10.2, JRuby 1.7.25, Quartz 2.2.3, Undertow 1.3.22)
2016-05-04 18:44:11 +02:00
Juergen Hoeller
0f2bc3f6bf
AbstractRequestLoggingFilter ignores non-available query string
...
Issue: SPR-14244
(cherry picked from commit 08ddd1b )
2016-05-04 18:44:04 +02:00
Juergen Hoeller
1e491f11d7
Polishing
...
(cherry picked from commit 8c139ef )
2016-05-04 18:43:59 +02:00
Juergen Hoeller
68cdd5d358
LazySingletonAspectInstanceFactoryDecorator uses shared singleton mutex
...
Issue: SPR-14241
2016-05-04 09:13:09 +02:00
Juergen Hoeller
bf3dee9492
Polishing
2016-05-03 18:47:33 +02:00
Juergen Hoeller
a6563a3263
Explicit note on Java deserialization
...
(cherry picked from commit 76964e1 )
2016-05-03 18:46:40 +02:00
Juergen Hoeller
0589c1b4b5
Warn about non-static BeanDefinitionRegistryPostProcessor declarations on @Configuration classes
...
Issue: SPR-14234
(cherry picked from commit 7737c3c )
2016-05-02 15:20:15 +02:00
Juergen Hoeller
85675fbe2e
Consistent SmartLifecycle implementations
...
Issue: SPR-14233
(cherry picked from commit f83cbff )
2016-05-02 14:07:32 +02:00
Juergen Hoeller
85faeef816
DefaultMessageListenerContainer immediately invokes stop callback when not running
...
Issue: SPR-14233
(cherry picked from commit e45d33f )
2016-05-02 14:07:25 +02:00
Juergen Hoeller
d49ecab89a
Polishing
2016-04-29 11:12:20 +02:00
Rossen Stoyanchev
f7ace54488
Ensure Environment.shutdown() in Reactor2TcpClient
...
Issue: SPR-14229
2016-04-28 17:48:38 -04:00
Rossen Stoyanchev
d48eeb2c84
Reactor2TcpClient cleans up TcpClient instances
...
Issue: SPR-14231
2016-04-28 15:48:13 -04:00
Rossen Stoyanchev
a3da6b186f
Upgrade to Reactor 2.0.8
...
(cherry picked from commit 6e4e52b )
2016-04-27 21:57:16 +02:00
Juergen Hoeller
d66186a90b
Polishing
...
(cherry picked from commit 8ddb432 )
2016-04-27 21:42:01 +02:00
Juergen Hoeller
75a8f5b3ca
ApplicationListenerDetector explicitly prevents serialization of its ApplicationContext reference
...
Issue: SPR-14214
(cherry picked from commit e0734ae )
2016-04-27 21:41:55 +02:00
Juergen Hoeller
6a3d4940b5
SpringServletContainerInitializer does not log WebApplicationInitializer class names
...
Issue: SPR-14213
(cherry picked from commit f73df2e )
2016-04-27 21:41:44 +02:00
Juergen Hoeller
002d6d70a5
SocketUtils considers port range including maxPort
...
Issue: SPR-14211
(cherry picked from commit bf7b475 )
2016-04-27 21:41:36 +02:00
Juergen Hoeller
b9fa67e0e6
FastByteArrayInputStream returns correct count from read(byte[])
...
Issue: SPR-14209
(cherry picked from commit 9bf5a5c )
2016-04-27 21:41:30 +02:00
Rossen Stoyanchev
9fa061431c
XML config properly initialize WS message broker stats
...
Issue: SPR-14190
2016-04-26 17:24:48 -04:00
Rossen Stoyanchev
6314df367c
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 4.2.x branch.
Issue: SPR-14186
2016-04-21 14:07:27 -04:00
Venil Noronha
e67a274b32
Remove isOpen assertion when sending WebSocket message
...
Issue: SPR-14138
2016-04-18 09:45:01 -04:00
Venil Noronha
2eab3df4d1
Delegate sendMessage
...
Issue: SPR-14139
2016-04-18 09:29:33 -04:00
Juergen Hoeller
e205a1b30a
Upgrade to EhCache 3.0 GA
...
Issue: SPR-14185
2016-04-18 14:43:05 +02:00
Juergen Hoeller
4be22c4938
Consistent public constructors in ast package
...
Issue: SPR-14181
(cherry picked from commit e38bfb1 )
2016-04-15 22:30:36 +02:00
Rob Winch
9438c41853
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
(cherry picked from commit 970dc4a )
2016-04-15 22:30:11 +02:00
Rob Winch
0075240d8f
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.
(cherry picked from commit 6489a76 )
2016-04-15 22:30:03 +02:00
Juergen Hoeller
f83e149f8a
Strong Hibernate 5.1 recommendation
...
Issue: SPR-13480
Issue: SPR-14176
(cherry picked from commit 44a9c49 )
2016-04-15 12:11:25 +02:00
Juergen Hoeller
4c41b9d4b9
Polishing
...
(cherry picked from commit 3b44c47 )
2016-04-14 16:41:39 +02:00
Juergen Hoeller
1d39c97def
Downgrade to Protobuf Java Format 1.2
...
Issue: SPR-14171
2016-04-14 15:54:52 +02:00
Juergen Hoeller
fd954ef1d6
Upgrade to Jackson 2.6.6 and Protobuf Java Format 1.4
2016-04-14 14:48:57 +02:00
Juergen Hoeller
334b4a99b0
Jackson-based message converters consistently check media type first
...
Issue: SPR-14163
2016-04-14 14:22:23 +02:00
Juergen Hoeller
416a24c6bc
Avoid unnecessary GenericHttpMessageConverter re-declaration
...
(cherry picked from commit 96875fe )
2016-04-13 19:02:52 +02:00
Juergen Hoeller
7f438dc9aa
Consistent headers.getContentLength() checks
2016-04-13 18:44:56 +02:00
Juergen Hoeller
bf3cadb908
AbstractJackson2HttpMessageConverter's canRead/canWrite checks media type first before delegating to Jackson
...
Issue: SPR-14163
(cherry picked from commit e366746 )
2016-04-13 18:44:13 +02:00
Juergen Hoeller
863bae7d86
Drop outdated support for building on JDK 9 (not compatible with JDK 9 b111+)
2016-04-13 13:58:34 +02:00
Juergen Hoeller
09b7735b0f
Polishing
2016-04-13 13:33:39 +02:00
Juergen Hoeller
e6ae437038
Latest dependency updates (AspectJ 1.8.9, Rhino 1.7.7.1, WebJars Locator 0.30)
2016-04-13 13:13:11 +02:00
Juergen Hoeller
b1c70729c2
Polishing
2016-04-12 23:33:58 +02:00
Juergen Hoeller
33dcef3583
SpringCacheAnnotationParser properly accepts empty @Caching annotation
...
Issue: SPR-14162
(cherry picked from commit da11261 )
2016-04-12 23:32:42 +02:00
Juergen Hoeller
3829a77894
Polishing
...
(cherry picked from commit 74608e6 )
2016-04-12 16:09:48 +02:00
Juergen Hoeller
e9382b2c0b
SimpleTransactionScope properly suspends and resumes scoped objects
...
Issue: SPR-14148
(cherry picked from commit 831f09c )
2016-04-12 16:09:43 +02:00
Stephane Nicoll
e5477ea19d
Add interface-based detection test
...
Add a test that explicitely validates that `@ManagedResource` and friends
can be set on an interface.
Issue: SPR-13138
(cherry picked from commit eb49f3c )
2016-04-11 22:07:52 +02:00
Juergen Hoeller
b7890ca28e
Consistent license header
...
(cherry picked from commit 537193a )
2016-04-11 21:14:05 +02:00
Juergen Hoeller
b9fd8586ff
Fixed XML example for setup of scheduled tasks
...
Issue: SPR-14145
(cherry picked from commit 550a320 )
2016-04-11 20:52:54 +02:00
Juergen Hoeller
e0642c77c3
HttpHeaders consistently ignores invalid date header values
...
Issue: SPR-14144
(cherry picked from commit 448621a )
2016-04-11 20:52:43 +02:00
Juergen Hoeller
d303ac94dc
Polishing
2016-04-11 12:22:37 +02:00
Juergen Hoeller
053ebb180e
Polishing
2016-04-10 12:37:55 +02:00
Juergen Hoeller
2b6ec6a85e
Upgrade to CGLIB 3.2.2
...
Issue: SPR-13934
(cherry picked from commit dc7ec44 )
2016-04-09 23:13:30 +02:00
Juergen Hoeller
aa5c12c534
Polishing
2016-04-08 22:52:36 +02:00
Stephane Nicoll
67a65ea600
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
(cherry picked from commit 2970065 )
2016-04-08 22:52:29 +02:00
Rossen Stoyanchev
35f0fce2ae
Remove section on spring-framework-contrib group
2016-04-08 15:44:22 -04:00
Juergen Hoeller
9c30a1f8df
Latest dependency updates (EhCache 3.0 RC3, Undertow 1.3.21)
...
(cherry picked from commit e365ffb )
2016-04-08 16:51:18 +02:00
Juergen Hoeller
0864834077
Cleanup of remaining direct BeanWrapper usage
...
Issue: SPR-14121
(cherry picked from commit 157dcab )
2016-04-07 14:52:03 +02:00
Juergen Hoeller
7659101843
BeanDefinitionBuilder keeps providing addConstructorArg(Object) for Spring Security 2.x compatibility
...
Issue: SPR-14123
(cherry picked from commit 4ea4257 )
2016-04-07 14:51:57 +02:00
Juergen Hoeller
5f9113678f
Consistent use of LinkedHashMap in StaticListableBeanFactory
2016-04-05 15:57:05 +02:00
Juergen Hoeller
51f356f518
Quartz ResourceLoaderClassLoadHelper explicitly falls back to classpath lookup
...
Issue: SPR-13706
(cherry picked from commit 6db6f23 )
2016-04-05 12:23:44 +02:00
Juergen Hoeller
0ecbeafd2b
Polishing
...
(cherry picked from commit d2d528d )
2016-04-05 11:42:17 +02:00
Juergen Hoeller
6b0f26c335
StatementCreatorUtils handles Types.BOOLEAN through PreparedStatement.setBoolean
...
Issue: SPR-14116
(cherry picked from commit 797f5db )
2016-04-05 11:40:50 +02:00
Juergen Hoeller
2166f2060f
Latest applicable dependency updates (AspectJ 1.8.9, EhCache 3.0 RC2, Hibernate 5.0.9, Joda-Time 2.9.3, Netty 4.0.36, SLF4J 1.7.21, Tomcat 8.0.33, Undertow 1.3.20, Woodstox 5.0.2)
2016-04-05 11:38:51 +02:00
Rossen Stoyanchev
000a0a0006
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:33 -04:00
Juergen Hoeller
6d479b2060
Polishing
2016-04-04 20:59:40 +02:00
Stephane Nicoll
9443c1c5dd
Fix Auto-Startup for @JmsListener
...
Ignore container's auto-startup once the context is refreshed.
Issue: SPR-14015
(cherry picked from commit 996c1cc )
2016-04-04 20:59:33 +02:00
Rossen Stoyanchev
01d50e9bde
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:02:23 -04:00
Juergen Hoeller
d7fe92d022
Abstract(Stax)XMLReader recognizes standard features as not supported
...
Issue: SPR-14056
(cherry picked from commit 35eb52e )
2016-04-04 15:10:08 +02:00
Juergen Hoeller
3b7ca7e76a
Further tests for getBeanNamesForType(ResolvableType)
...
Issue: SPR-14097
(cherry picked from commit edea66a )
2016-04-04 15:10:02 +02:00
Juergen Hoeller
dc6e512275
EhCacheManagerFactoryBean logs cache manager name
...
Issue: SPR-14110
(cherry picked from commit 8bfba6a )
2016-04-04 15:09:57 +02:00
Juergen Hoeller
0ed7f9aebb
SimpleApplicationEventMulticaster leniently handles ClassCastException
...
Issue: SPR-14109
(cherry picked from commit 13f889e )
2016-04-04 15:09:52 +02:00
Juergen Hoeller
02a6f31807
ASM ClassReader leniently handles label offset mismatch
...
Issue: SPR-14089
(cherry picked from commit 3910350 )
2016-03-30 10:46:45 +02:00
Juergen Hoeller
8f6ede519d
RequestHeaderMapMethodArgumentResolver defensively checks for non-existing header values
...
Issue: SPR-14091
(cherry picked from commit b2a17ba )
2016-03-30 10:46:33 +02:00
Juergen Hoeller
756301b7c5
Polishing
...
(cherry picked from commit 94cb778 )
2016-03-25 23:38:23 +01:00
Juergen Hoeller
ccaa504378
Polishing
...
(cherry picked from commit 775bccc )
2016-03-24 21:47:56 +01:00
Juergen Hoeller
0891fbaf97
Consistent formatting
2016-03-24 19:54:28 +01:00
Juergen Hoeller
2ea7fcde3e
Polishing
...
(cherry picked from commit 9af12d2 )
2016-03-24 17:17:58 +01:00
Juergen Hoeller
7c5aac122a
Restored lazy resolution of default executor for AsyncAnnotationBeanPostProcessor
...
Issue: SPR-14030
(cherry picked from commit 155fa37 )
2016-03-24 17:17:52 +01:00
Juergen Hoeller
05ab769555
Bsh/GroovyScriptFactory reset script cache in case of compilation error
...
Issue: SPR-14007
(cherry picked from commit 0597ff1 )
2016-03-24 17:17:10 +01:00
Juergen Hoeller
a19be754c8
DefaultCorsProcessor checks for existing CORS response before attempting to compare origin
...
Issue: SPR-14080
(cherry picked from commit abe7345 )
2016-03-24 17:17:04 +01:00
Juergen Hoeller
8994498b44
Revised newline handling tests pass on Windows now
...
Issue: SPR-13503
(cherry picked from commit 311d4c9 )
2016-03-24 17:16:52 +01:00
Juergen Hoeller
fcd155a92c
Correct RFC 4648 references in method-level javadoc
...
Issue: SPR-14067
(cherry picked from commit ec7c3aa )
2016-03-24 17:16:41 +01:00
Juergen Hoeller
bfe8d15e97
Removed invalid quoting of message arguments from MessageSource examples
...
Issue: SPR-14003
(cherry picked from commit 100f3c5 )
2016-03-24 17:16:33 +01:00
Juergen Hoeller
a5904efbde
Upgrade to XStream 1.4.9
...
Issue: SPR-14084
(cherry picked from commit 7e4563a )
2016-03-24 17:16:24 +01:00
Brian Clozel
ed34ea4876
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
Cherry picked from 15fe8279e6
2016-03-23 16:35:53 +01:00
Kazuki Shimizu
2267b14055
Add newline at the beginning of textarea macro for FreeMarker and Velocity
...
Issue: SPR-13503
Cherry-picked from 9b2023111d
2016-03-23 11:56:28 +01:00
Stephane Nicoll
0c8a40bdbc
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:40 +01:00
Rossen Stoyanchev
d7062f6291
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:04:58 -04:00
Stephane Nicoll
bd82acbf99
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-10 09:51:43 +01:00
Brian Clozel
f76b38c506
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
Cherry-picked from 0a56667093
2016-03-08 18:01:29 +01:00
Brian Clozel
b88c39955b
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
Cherry picked from 44c32128
2016-03-03 16:52:16 +01:00
Brian Clozel
0ef90df120
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
Cherry-picked from 50bcd67fb6
2016-03-02 17:45:50 +01:00
Juergen Hoeller
8a44560d82
RequestMappingHandlerAdapter properly invokes handler method in case of no session as well
...
Issue: SPR-13999
(cherry picked from commit a02fd7c )
2016-02-29 15:08:00 +01:00
Juergen Hoeller
0349abc565
RequestMappingHandlerAdapter properly invokes handler method in synchronizeOnSession mode again
...
Issue: SPR-13999
(cherry picked from commit 1815a6a )
2016-02-29 11:46:16 +01:00
Juergen Hoeller
9129ec2623
LinkedCaseInsensitiveMap provides reliable getOrDefault implementation
...
Issue: SPR-13981
(cherry picked from commit 7a32ce3 )
2016-02-29 11:42:43 +01:00
Spring Buildmaster
2cbc5ff0c8
Next Development Version
2016-02-25 01:36:20 -08:00
Juergen Hoeller
cafb99a33d
Polishing
...
(cherry picked from commit 028a690 )
2016-02-24 17:59:15 +01:00
Juergen Hoeller
9c5cabf4ba
Refined ApplicationContextInitializer assignability exception
...
(cherry picked from commit ca19920 )
2016-02-24 17:58:29 +01:00
Juergen Hoeller
97b017781a
TimerScheduledFuture correctly calculates getDelay result
...
Issue: SPR-13977
(cherry picked from commit a68b910 )
2016-02-24 17:56:30 +01:00
Juergen Hoeller
9f2b3ca8b8
Polishing
...
(cherry picked from commit 1899fb3 )
2016-02-23 00:05:44 +01:00
Juergen Hoeller
3f795e64c6
Avoid NPE in case of @Lazy @Autowired(required=false)
...
Issue: SPR-13967
(cherry picked from commit b9fe6d8 )
2016-02-23 00:05:17 +01:00
Juergen Hoeller
99dc7769a6
Latest dependency updates (EhCache 3.0 M5, Groovy 2.4.6, Gson 2.6.1, Hibernate ORM 5.0.8, Hibernate Validator 5.2.4, SLF4J 1.7.16, SnakeYAML 1.17, Undertow 1.3.18)
2016-02-23 00:04:49 +01:00
Juergen Hoeller
a620770470
Polishing
2016-02-19 16:02:25 +01:00
Juergen Hoeller
167ba8387a
ScriptUtils.executeSqlScript logs SQLWarnings at debug level
...
Issue: SPR-13959
(cherry picked from commit 9235345 )
2016-02-19 15:59:47 +01:00
Juergen Hoeller
4320161172
Shared EntityManager Query unwrapping before passing it to addNamedQuery
...
Issue: SPR-13957
(cherry picked from commit 7fcb277 )
2016-02-19 15:59:24 +01:00
Juergen Hoeller
659e44146c
Consistent equals implementations across class hierarchies
...
Issue: SPR-13951
(cherry picked from commit ac44f9e )
2016-02-19 15:56:36 +01:00
Juergen Hoeller
08f2ab942c
DefaultMessageListenerContainer stops if recovery failed after interrupt signal
...
Issue: SPR-11787
(cherry picked from commit 1253b45 )
2016-02-19 15:54:52 +01:00
Juergen Hoeller
d2b9dbf181
BeanMethodInterceptor does not pass on null arguments for singleton beans
...
Issue: SPR-13887
(cherry picked from commit 5ed9046 )
2016-02-19 15:54:26 +01:00
Sebastien Deleuze
09db26af2b
Improve Jackson 2.7 compatibility
...
This commit introduces a conditional call in
AbstractJackson2HttpMessageConverter#getJavaType() in order to avoid
calling TypeFactory#constructType() with a null contextClass parameter,
since this is not supported by Jackson 2.7 anymore.
It allows to use Spring Framework 4.2.x with Jackson 2.7.1+ for most use
cases, but with some limitations. For example, with Jackson 2.7
TypeVariable resolution from method parameters does not work.
As a consequence, after this commit Spring Framework 4.2.x still fully
supports Jackson up to version 2.6, but improves Jackson 2.7 compatibility.
Full support for Jackson 2.7 is provided as of Spring Framework 4.3.x.
Issue: SPR-13853
2016-02-11 13:45:49 +01:00
Juergen Hoeller
19c5462b13
Polishing
2016-02-10 20:48:10 +01:00
Juergen Hoeller
5047e90625
AbstractMarshaller defensively uses DocumentBuilderFactory within synchronized block
...
Issue: SPR-13935
(cherry picked from commit f61b998 )
2016-02-10 20:47:54 +01:00
Juergen Hoeller
cf3e460a8b
ReflectiveMethodResolver lets local static methods override java.lang.Class methods
...
Issue: SPR-13918
(cherry picked from commit 43bcab9 )
2016-02-10 20:47:41 +01:00
Juergen Hoeller
c960d9733d
DisposableBeanAdapter ignores bridge method conflicts
...
Issue: SPR-13922
(cherry picked from commit 903ae48 )
2016-02-10 20:47:31 +01:00
Juergen Hoeller
9e7f6ba0b1
PathMatchingResourcePatternResolver consistently logs retrieval results
...
Issue: SPR-13923
(cherry picked from commit 449f704 )
2016-02-10 20:47:24 +01:00
Juergen Hoeller
d8a7b6f0f8
Latest dependency updates (Hibernate Validator 5.2.3, Joda-Time 2.9.2, OkHttp 2.7.4, SLF4J 1.7.15, Netty 4.0.34, Tomcat 8.0.32, Undertow 1.3.17)
2016-02-10 20:40:18 +01:00
Rossen Stoyanchev
6ef2d827c6
Reduce log level for @ExceptionHandler failure
...
Issue: SPR-13932
2016-02-09 12:58:08 -05:00
Rossen Stoyanchev
b1a46ccbd9
Fix NPE in InvocableHandlerMethod
...
Issue: SPR-13917
2016-02-04 23:33:04 -05:00
Rossen Stoyanchev
f053cdec51
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:22:36 -05:00
Rossen Stoyanchev
39c05c56c4
BufferedImage converter writes Content-Type again
...
Issue: SPR-13906
2016-02-04 15:01:13 -05:00
Juergen Hoeller
4418331429
Polishing
...
(cherry picked from commit e903106 )
2016-02-04 20:50:21 +01:00
Juergen Hoeller
e48315549e
AbstractXlsView does not explicitly flush (for compatibility with WebSphere Liberty)
...
Issue: SPR-13910
(cherry picked from commit 28e8af2 )
2016-02-04 20:49:48 +01:00
Sam Brannen
484dd96606
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
(cherry picked from commit 6d2b9a0136 )
2016-02-03 18:18:55 +01:00
Juergen Hoeller
bb12e0ea70
Latest dependency updates (AspectJ 1.8.8, Hibernate ORM 5.0.7, Jackson 2.6.5, Jetty 9.3.7, Undertow 1.3.14, SLF4J 1.7.14)
2016-01-26 22:25:22 +01:00
Juergen Hoeller
30ef893c28
Polishing
2016-01-26 22:23:56 +01:00
Juergen Hoeller
a58eee6ad1
RequestParamMethodArgumentResolver defensively handles MethodParameter nesting level and java.util.Optional access
...
Issue: SPR-13850
2016-01-26 22:07:27 +01:00
Juergen Hoeller
0866aa923a
LocalSessionFactoryBuilder provides ClassLoader to Hibernate BootstrapServiceRegistry
...
Issue: SPR-13879
2016-01-26 20:35:30 +01:00
Juergen Hoeller
d152259673
Clarify component scan include-filter semantics
...
Issue: SPR-13844
(cherry picked from commit 837cb75 )
2016-01-26 20:30:34 +01:00
Juergen Hoeller
14babb78b4
Clarify environment property precedence rules
...
Issue: SPR-13845
(cherry picked from commit ebad8db )
2016-01-26 20:30:05 +01:00
Juergen Hoeller
4fc6ead548
SessionDisconnectEvent actually preserves given session user
...
Issue: SPR-13871
(cherry picked from commit cdc9bf7 )
2016-01-26 20:29:08 +01:00
Juergen Hoeller
c1f233c787
Shared EntityManager does not insist on actualTransactionActive flag anymore
...
Issue: SPR-13838
(cherry picked from commit 50829c9 )
2016-01-26 20:28:07 +01:00
Juergen Hoeller
77b8f4d6af
ImportStack extends ArrayDeque instead of Stack and relies on standard contains implementation
...
Issue: SPR-13852
(cherry picked from commit e14c2de )
2016-01-26 20:27:28 +01:00
Juergen Hoeller
8516de62e3
FastByteArrayInputStream consistently returns -1 when no data available
...
Issue: SPR-13858
(cherry picked from commit 5d4547d )
2016-01-26 20:26:44 +01:00
Brian Clozel
bcebc9db7e
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
cherry-picked from 84fe46cd
2016-01-22 19:03:52 +01:00
Brian Clozel
fc34b0c592
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
cherry-picked from 8f1d06f19
2016-01-22 16:36:48 +01:00
Brian Clozel
a4cb3cf900
Fix OutOfBoundsException 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
cherry-picked from 2f6d86b7
2016-01-21 17:39:37 +01:00
Rossen Stoyanchev
33112df237
Fix second failing test
2016-01-20 23:13:34 -05:00
Rossen Stoyanchev
e159086201
Fix failing test
2016-01-20 21:39:41 -05:00
Rossen Stoyanchev
ab16adab2e
Avoid double encoding URI in ServletServerHttpRequest
...
Issue: SPR-13876
2016-01-20 17:58:07 -05:00
Ian Chan
29692fcc21
Catch RejectedExecutionException in WebAsyncManager
...
Issue: SPR-13836
2016-01-14 15:50:20 -05:00
Rossen Stoyanchev
73df50db3c
Fix javadoc issue in ResponseEntityExceptionHandler
...
Issue: SPR-13869
2016-01-14 14:28:15 -05:00
Brian Clozel
3af62bd0dd
Polish
...
Issue: SPR-13817
(cherry picked from d681f77d )
2016-01-05 17:33:04 +01:00
Brian Clozel
1581597092
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
(cherry picked from commit 473cf9c )
2016-01-05 15:04:05 +01:00
Juergen Hoeller
84e5234eb5
Avoid getTypeForFactoryBean warn logging for lazy-init beans
...
Issue: SPR-13833
(cherry picked from commit 04f3181 )
2015-12-31 11:52:55 +01:00
Juergen Hoeller
24e58c1ac3
Refined RequestMappingHandlerMapping bean definition
...
Issue: SPR-13832
(cherry picked from commit 9bffb9e )
2015-12-31 11:52:47 +01:00
holub
15da48eba5
Update SockJS client code snippet
2015-12-30 10:29:01 +01:00
Juergen Hoeller
342d760f70
Polishing
...
(cherry picked from commit 27c2e8c )
2015-12-29 21:51:04 +01:00
Juergen Hoeller
acecda7153
Avoid sensitive Proxy.getInvocationHandler call in synthesizeAnnotation
...
Issue: SPR-13829
(cherry picked from commit aecb8b6 )
2015-12-29 21:50:49 +01:00
Juergen Hoeller
4a863c9066
Upgrade to Undertow 1.3.11
...
(cherry picked from commit 873b173 )
2015-12-29 11:26:52 +01:00
Juergen Hoeller
35b8696523
Polishing
2015-12-29 11:24:56 +01:00
Juergen Hoeller
e1bdf5577e
StatementCreatorUtils always tries getParameterType on Oracle 12c driver
...
Issue: SPR-13825
(cherry picked from commit e48ec4f )
2015-12-29 11:23:49 +01:00
Juergen Hoeller
deae872912
Consistent use of varargs plus related polishing
2015-12-22 23:50:05 +01:00
Juergen Hoeller
36940e003d
Polishing
2015-12-21 22:38:25 +01:00
Juergen Hoeller
935d714333
SimpleNamespaceContext implements all subtleties of the NamespaceContext contract
...
Issue: SPR-13713
(cherry picked from commit f8860e2 )
2015-12-21 22:35:47 +01:00
Juergen Hoeller
9021f8fd71
Upgrade to JavaMail 1.5.5 and Hibernate ORM 5.0.6
...
(cherry picked from commit 06056e6 )
2015-12-21 22:35:23 +01:00
Juergen Hoeller
6f2f3595e9
Backported import and declaration cleanup
2015-12-18 00:18:09 +01:00
Juergen Hoeller
d59a97c101
Polishing
2015-12-18 00:02:48 +01:00
Juergen Hoeller
7344dd259c
Allow for explicit spring-websocket-4.2.xsd declarations
...
Issue: SPR-13804
2015-12-18 00:02:14 +01:00
Juergen Hoeller
f3ac64153e
Correct spring-websocket-4.2 versus spring-websocket-4.1 xsd declarations
...
Issue: SPR-13804
(cherry picked from commit 2fd48c9 )
2015-12-17 18:34:47 +01:00
Stephane Nicoll
7b35103135
Switch to 4.2.5.BUILD-SNAPSHOT
2015-12-17 12:53:44 +01: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
Juergen Hoeller
1cb6069734
Polishing
2015-11-14 23:52:39 +01:00
Sam Brannen
4b682275c9
Clean up warnings in spring-test
2015-11-14 22:57:33 +01:00
Juergen Hoeller
5b901852e6
Upgrade to HtmlUnit 2.19
...
This upgrade includes AutoCloseable support for HtmlUnit WebConnections as introduced in 2.19, while remaining compatible with 2.18.
Issue: SPR-13686
2015-11-14 15:32:42 +01:00
Juergen Hoeller
ce5887795b
Latest dependency updates (JasperReports 6.2, Jetty 9.3.6, Joda-Time 2.9.1, HttpAsyncClient 4.1.1)
2015-11-13 22:46:03 +01:00
Juergen Hoeller
6d5c646faf
Empty lists declared with element type (for javac to accept it)
...
Issue: SPR-13680
2015-11-13 21:18:28 +01:00
Juergen Hoeller
3cb926e01c
Task list getters never return null now
...
Issue: SPR-13680
2015-11-13 20:26:44 +01:00
Juergen Hoeller
55d20557e0
Task list getters explicitly check for null now
...
Issue: SPR-13680
2015-11-13 14:25:28 +01:00
Juergen Hoeller
4b2ce60d65
Polishing
2015-11-13 08:31:13 +01:00
Juergen Hoeller
98be36a306
Extended default collection size for common per-bean caches
...
Issue: SPR-13621
2015-11-13 08:31:00 +01:00
Juergen Hoeller
7b711c4aac
AbstractAutoProxyCreator uses prefixed bean name as cache key
...
Issue: SPR-13655
2015-11-13 08:26:43 +01:00
Juergen Hoeller
90c9d96a4d
Avoid exposeTargetClass attempt if bean name is null
...
Issue: SPR-13650
2015-11-13 08:23:15 +01:00
Johnny Lim
2defb6555e
Fix broken Javadoc related to < and >
2015-11-12 11:22:08 +01:00
Sebastien Deleuze
71e2d8e9de
Handle correctly * in CorsConfiguration#combine() other parameter
...
Issue: SPR-13674
2015-11-12 10:40:32 +01:00
Juergen Hoeller
e8a0ef0206
Polishing
2015-11-12 00:48:14 +01:00
Juergen Hoeller
cc06183668
SimpleJdbcCall reliably throws exception on missing stored procedure
...
Issue: SPR-13669
2015-11-12 00:47:46 +01:00
Juergen Hoeller
43d72e2079
Restored capacity check before trying output stream resize
...
Issue: SPR-13671
2015-11-12 00:47:33 +01:00
Rossen Stoyanchev
e707347474
Fix failing tests
2015-11-11 18:02:50 -05:00
Rossen Stoyanchev
3a919a48d6
Switch "attachment" to "inline" on Content-Disposition
...
Issue: SPR-13587, SPR-13643
2015-11-11 17:14:29 -05:00
Rossen Stoyanchev
8c127ad3c9
Property init HandlerMapping in standalone MockMvc
...
Issue: SPR-13637
2015-11-11 15:14:18 -05:00
Rossen Stoyanchev
62af99a21c
Add containsKey to ServletResponseHttpHeaders
...
Issue: SPR-13668
2015-11-11 14:22:26 -05:00
Rossen Stoyanchev
cf4a417f71
Upgrade to reactor 2.0.7
...
Issue: SPR-13665
2015-11-11 13:51:00 -05:00
Juergen Hoeller
e56c11c1e8
AbstractApplicationContext.isRunning() avoids IllegalStateException
...
Issue: SPR-13667
2015-11-11 00:10:02 +01:00
Juergen Hoeller
71a7b5d086
Fixed code examples
...
Issue: SPR-13666
2015-11-10 23:58:25 +01:00
Juergen Hoeller
2bf8c0bc42
Polishing
2015-11-10 23:47:46 +01:00
Juergen Hoeller
cdf6eb95ab
Reduced warn log entry without stacktrace for startup exceptions
...
Issue: SPR-13663
2015-11-10 23:45:45 +01:00
Juergen Hoeller
5d9d88c44d
CommonsMultipartFile removes mixed separator paths from original filename
...
Issue: SPR-13662
2015-11-10 23:43:40 +01:00
Phillip Webb
e6b1f0a139
Use constants when caching empty arrays
...
Reduce cache memory consumption by using a single constant for empty
arrays.
2015-11-09 09:38:48 -08:00
Juergen Hoeller
760bc719f2
Polishing
2015-11-09 15:03:14 +01:00
Juergen Hoeller
da9c80c604
Revised method selection for JMS listeners (and their parameters)
...
Issue: SPR-13576
2015-11-09 15:02:15 +01:00
Juergen Hoeller
d5efe4f983
Detect event listener methods behind interface proxies as well
...
Issue: SPR-13650
2015-11-09 15:00:03 +01:00
Juergen Hoeller
bc7bcab578
Consistent method selection for listeners and endpoint mappings
...
Issue: SPR-13654
2015-11-09 14:57:45 +01:00
Sam Brannen
5b06150096
Deprecate correct method in AnnotatedElementUtils
2015-11-09 12:05:28 +00:00
Stephane Nicoll
2a2a8d3f93
Allow null values to be cached with @CacheResult
...
Even though the JSR-107 spec forbids to store null values, our cache
abstraction allows that behaviour with a special handled (and this is
the default behaviour).
While this was working fine with our own set of annotations, the
JSR-107 interceptor counterpart was interpreting the spec sensu strictu.
We now allow for that special case as well.
Issue: SPR-13641
2015-11-09 13:04:40 +01:00
Juergen Hoeller
59b6600763
Class identity comparisons wherever possible
...
Issue: SPR-12926
2015-11-08 20:45:17 +01:00
Juergen Hoeller
ea2843ecc0
MethodInvokeTypeProvider lazily invokes target method (avoiding deserialization exploits)
...
Issue: SPR-13656
2015-11-08 20:27:06 +01:00
Juergen Hoeller
a1bf941ec4
CommonsFileUploadSupport applies maxUploadSizePerFile to FileUpload copy as well
...
Issue: SPR-13653
2015-11-08 20:21:39 +01:00
Rossen Stoyanchev
a3168fde18
Expand range of whitelisted extensions by media type
...
This commit expands the range of whitelisted extensions by checking
if an extension can be resolved to image/*, audo/*, video/*, as well
as any content type that ends with +xml.
Issue: SPR-13643
2015-11-06 16:45:41 -05:00
Rossen Stoyanchev
237439ef97
Whitelist extension if present in the request mapping
...
We know skip the Content-Disposition header for any extension if the
chosen request mapping explicitly contains the URl extension.
Issue: SPR-13629
2015-11-06 12:37:13 -05:00
Brian Clozel
889366320d
Do not process undefined conditional HTTP requests
...
Prior to this change, the HttpEntityMethodProcessor would try to process
conditional requests that are undefined by the spec, such as:
* an HTTP GET request with "If-None-Match:*"
* a request with both "If-None-Match" and "If-Match"
* a request with both "If-None-Match" and "If-Unmodified-Since"
This commit skips the processing of those requests as conditional
requests and continues with normal request handling.
Issue: SPR-13626
2015-11-06 17:59:41 +01:00
Juergen Hoeller
9f4c9d7f3c
Upgrade to Undertow 1.3.5
2015-11-06 17:54:53 +01:00
Rossen Stoyanchev
da707c15b3
Update Javadoc
...
Issue: SPR-13530
2015-11-05 22:15:09 -05:00
Rossen Stoyanchev
b7b8d854d9
Update reference for MediaType constants.
...
Issue: SPR-13531
2015-11-05 21:43:30 -05:00
Rossen Stoyanchev
ac975df448
Fix javadoc ambiguity
...
Issue: SPR-13642
2015-11-05 20:02:37 -05:00
Rossen Stoyanchev
f0464e8176
Add section on RFD + whitelist yml/properties/csv
...
Issue: SPR-13643
2015-11-05 19:31:29 -05:00
Juergen Hoeller
b46a301e8a
Latest dependency updates (Hibernate ORM 5.0.3, Netty 4.0.33, Selenium 2.48.2, TestNG 6.9.9)
2015-11-05 20:13:09 +01:00
Juergen Hoeller
b057e503ef
Adapted exception message expectations
...
Issue: SPR-13621
2015-11-05 18:06:14 +01:00
Juergen Hoeller
c88877f1c4
Polishing
2015-11-05 16:35:20 +01:00
Juergen Hoeller
9683da52b2
Avoid annotation synthesizing for getAnnotationAttributes retrieval
...
Issue: SPR-13621
2015-11-05 16:35:07 +01:00
Rossen Stoyanchev
971f046913
Replace NAMES_PATTERN in UriTemplate
...
The URI template is now manually parsed vs using a regex to extract
URI variable names and to create a pattern for matching to actual URLs.
This provides more control to deal with nested curly braces.
Issue: SPR-13627
2015-11-05 09:39:10 -05:00
Juergen Hoeller
2ba5cb2734
Polishing
2015-11-05 12:30:29 +01:00
Juergen Hoeller
6cedaa1091
Fixed order determination check to only kick in for actual configuration candidates
...
Issue: SPR-13621
2015-11-05 12:30:18 +01:00
Juergen Hoeller
e27df06f91
AnnotatedElementUtils consistently operates on actual annotation type if available (for performance reasons)
...
The goal is to avoid String name comparisons in favor of annotation type identity checks wherever possible. Also, we avoid double getDeclaredAnnotations/getAnnotations checks on anything other than Classes now, since we'd just get the same result in a fresh array.
Issue: SPR-13621
2015-11-05 12:29:29 +01:00
Juergen Hoeller
e35855f9b5
Avoid expensive annotation retrieval algorithm if no annotations present in the first place
...
Issue: SPR-13621
2015-11-05 12:26:54 +01:00
Phillip Webb
1733d0111d
Add shortcuts for elements with no annotations
...
Improve the performance of the `getMergedAnnotationAttributes` and
`isAnnotated` methods in `AnnotatedElementUtils` by returning
immediately when the element had no annotations.
Issue: SPR-13621
2015-11-04 22:42:34 -08:00
Juergen Hoeller
ce64761069
Optimized equals/hashCode handling in ResolvableType
...
Issue: SPR-13621
2015-11-03 16:56:43 +01:00
Sebastien Deleuze
09cb286c84
Add MediaType.APPLICATION_JSON_UTF8
...
Add new MediaType.APPLICATION_JSON_UTF8 and
MediaType.APPLICATION_JSON_UTF8_VALUE constants for
"application/json;charset=UTF-8" content type in order to make it
easier to override @RequestMapping "produces" attribute without
losing the default JSON charset (UTF-8).
Issue: SPR-13600
2015-11-03 12:20:39 +01:00
Juergen Hoeller
23c8f712c4
Polishing
2015-11-02 21:30:03 +01:00
Juergen Hoeller
c3dbaed4ce
AnnotationUtils caches findAnnotation results in pre-synthesized form
...
Issue: SPR-13621
2015-11-02 21:25:08 +01:00
Juergen Hoeller
4dc31667d4
AnnotationUtils defines synthesized proxy class in original annotation's ClassLoader
...
Issue: SPR-13634
2015-11-02 21:24:32 +01:00
Stephane Nicoll
77af692e5e
Polishing
...
Issue: SPR-13633
2015-11-02 20:35:41 +01:00
Rossen Stoyanchev
bdb71e91ad
No Content-Disposition if HTML in the request mapping
...
Issue: SPR-13629
2015-11-02 13:07:48 -05:00
Stephane Nicoll
1bc41bdf0f
Expose JMS message listener container ids
...
Issue: SPR-13633
2015-11-02 16:13:47 +01:00
Juergen Hoeller
cca037a74d
Polishing
2015-11-02 14:42:46 +01:00
Juergen Hoeller
6685c78cea
Avoid NPE for anonymous SqlParameter in CallMetaDataContext
...
Issue: SPR-13628
2015-11-02 14:27:33 +01:00
Juergen Hoeller
ce20268597
Consistent warn logging without stacktrace in Portlet HandlerExceptionResolver
...
Issue: SPR-13611
2015-11-02 14:19:58 +01:00
Sebastien Deleuze
76d7f4527a
Revert most SPR-13100 changes since SPR-13267 was a better fix
...
Issue: SPR-13596
2015-11-02 10:40:53 +01:00
Sebastien Deleuze
62cd6ad526
Add @RequestMapping produces documentation about charset
...
Issue: SPR-13600
2015-11-02 07:48:02 +01:00
Stephane Nicoll
4aedd92c3c
Merge pull request #908 from haisi/master
...
* pr/908:
Fix typo
2015-11-01 16:08:10 +01:00
Hasan Kara
ff4e48c7a1
Fix typo
...
Closes gh-908
2015-11-01 16:07:56 +01:00
Rossen Stoyanchev
598fafd957
Fix failing test
2015-10-29 21:02:45 -04:00
Rossen Stoyanchev
c5995149b3
Further improve detecttion of custom CNVR
...
Refine the approach of having <mvc:view-resolvers> detect and use the
ContentNegotiationManager instance registered with
<mvc:annotation-driven> introduced in the last commit.
Issue: SPR-13559
2015-10-29 20:58:31 -04:00
Rossen Stoyanchev
f84a0c914a
Detect custom ContentNegotiationViewResolver
...
The <mvc:annotation-driven> element now adds an alias when a
ContentNegotiationManager bean is registered with a custom name.
This helps <mvc:view-resolvers> to more reliably find such a custom
ContentNegotiationManager.
Issue: SPR-13559
2015-10-29 18:01:00 -04:00
Rossen Stoyanchev
3e807c297d
Update WebLogicRequestUpgradeStrategy for WLS 12.2.1
...
Issue: SPR-13234
2015-10-29 17:09:43 -04:00
Hronom
1d60a6a6af
Added strict compare mode for Json
...
Issue: SPR-13607
2015-10-29 17:05:37 +01:00
Brian Clozel
9334fabe26
Don't throw NPE when serving webjar directories
...
Prior to this change, serving resources with ResourceHttpRequestHandler
could result in NPE when requesting an existing folder located in a JAR.
This commit swallows those exceptions, as it is not possible to foresee
those cases without reading the actual resource. This result in a HTTP
200 response with a zero Content-Length instead of a HTTP 500 internal
exception.
Issue: SPR-13620
2015-10-29 16:10:27 +01:00
Rossen Stoyanchev
323fa8510d
Call complete() on MockAsyncContext after dispatch
...
Issue: SPR-13615
2015-10-29 10:12:47 -04:00
Brian Clozel
546efc2a91
Upgrade to Undertow 1.3.4.Final
2015-10-29 12:12:56 +01:00
Rossen Stoyanchev
5ac57e8ea6
Restore compatibility with WildFly
...
Issue: SPR-13619
2015-10-28 17:56:02 -04:00
Juergen Hoeller
baae8ddd3e
Upgrade to CGLIB 3.2
...
Issue: SPR-13353
2015-10-28 21:25:32 +01:00
Juergen Hoeller
081905d3b3
Latest dependency updates (Gson 2.4, Joda-Time 2.9, EhCache 2.10.1)
2015-10-28 20:34:44 +01:00
Juergen Hoeller
a778468771
Consistent JSP tag documentation
...
Issue: SPR-13520
2015-10-28 18:31:17 +01:00
Juergen Hoeller
1571829c34
Consistent bracket style in view chapter
2015-10-28 18:28:07 +01:00
Juergen Hoeller
a13a1eb1f1
Reference documentation for ObjectFactory and JSR-330's Provider
...
Issue: SPR-13117
2015-10-28 18:27:18 +01:00
Juergen Hoeller
a268cdb913
Fixed javadoc links to setCacheSeconds
2015-10-28 16:06:59 +01:00
Juergen Hoeller
68308c047e
Explicit notes on programmatic Executor setup in @Bean methods
...
Issue: SPR-8131
2015-10-28 16:06:35 +01:00
Juergen Hoeller
629e2a0396
Explicit notes on programmatic JNDI lookups in @Bean methods
...
Issue: SPR-8129
2015-10-28 16:06:10 +01:00
Stephane Nicoll
0579e61a65
Add API to register collection converters
...
Previously, the only way to add the collection converters to a registry
was to add *all* default converters. A new "addCollectionConverters"
public method is now available to only register them.
Issue: SPR-13618
2015-10-28 15:55:29 +01:00
Juergen Hoeller
91b3caf238
Fixed visibility of 4.2's additional default converters
...
Issue: SPR-12175
Issue: SPR-13020
2015-10-28 15:38:46 +01:00
Juergen Hoeller
93f77f5d51
Note on multiple @Bean methods for same bean
...
Issue: SPR-13438
2015-10-28 15:38:31 +01:00
Stephane Nicoll
48576f2815
Merge pull request #905 from ericbottard/patch-1
...
* pr/905:
Fix elvis operator example
2015-10-28 15:35:54 +01:00
Eric Bottard
bd4aa41fda
Fix elvis operator example
...
Closes gh-905
2015-10-28 15:35:45 +01:00
Juergen Hoeller
f6dd7e4df8
Fixed cron trigger example in reference documentation
...
Issue: SPR-10474
2015-10-28 14:30:26 +01:00
Juergen Hoeller
6d369308cc
Improved SessionLocaleResolver documentation
...
Issue: SPR-13505
2015-10-28 14:30:08 +01:00
Juergen Hoeller
bc1dc9a074
Removed outdated XmlBeanFactory references
...
Issue: SPR-13485
2015-10-28 14:29:48 +01:00
Juergen Hoeller
81342f14d4
Declared JDBC operation compiled flag as volatile
...
Issue: SPR-13617
2015-10-28 14:28:32 +01:00
Juergen Hoeller
c1c07bbeb2
AbstractDispatcherServletInitializer allows for registering any FrameworkServlet subclass
...
Issue: SPR-13616
2015-10-28 14:00:20 +01:00
Stephane Nicoll
9bed389d1f
Harmonize javadoc urls in developer guide
...
Issue: SPR-13613
2015-10-27 14:31:00 +01:00
Juergen Hoeller
400749667a
Polishing
2015-10-26 23:10:33 +01:00
Juergen Hoeller
64a8dfbd12
CharacterEncodingFilter provides convenience constructors for Servlet 3.0 style usage
...
Issue: SPR-13572
2015-10-26 22:48:54 +01:00
Juergen Hoeller
11d1f050e9
NamedParameterUtils skips Postgres-style ?? operator
...
Issue: SPR-13582
2015-10-26 22:47:12 +01:00
Juergen Hoeller
5386e8a9e9
DefaultListableBeanFactory skips resolvableDependencies check for null value
...
Issue: SPR-13599
2015-10-26 22:45:36 +01:00
Juergen Hoeller
8c4b8d253a
Auto-adapt reflective arguments in case of vararg array type mismatch
...
Issue: SPR-13328
2015-10-26 22:43:37 +01:00
Rossen Stoyanchev
1c382be00e
Expose build method in SseEventBuilder
...
Issue: SPR-13591
2015-10-26 16:19:10 -04:00
Rossen Stoyanchev
050e79e45e
Skip Content-Disposition header if status != 2xx
...
Issue: SPR-13588
2015-10-26 16:01:32 -04:00
Sebastien Deleuze
994a11da3e
Document default charset in Jackson message converters Javadoc
...
Issue: SPR-13600
2015-10-26 11:39:00 +01:00
Stephane Nicoll
0039c74649
Add a note on JmsListenerEndpointRegistry
...
Issue: SPR-13606
2015-10-25 09:18:39 +01:00
Stephane Nicoll
7ba67cc3dd
Merge pull request #895 from LinkedList/SPR-10448
...
* pr/895:
Fix missing @EnableScheduling in documentation
2015-10-22 20:07:54 +02:00
Martin Macko
37735b35fc
Fix missing @EnableScheduling in documentation
...
Issue: SPR-10448
2015-10-22 20:06:30 +02:00
Kazuki Shimizu
64790903e9
Add description for two exceptions which handled by DefaultHandlerExceptionResolver in reference document
...
* MissingPathVariableException (Available since 4.2)
* NoHandlerFoundException (Available since 4.0)
2015-10-19 17:00:33 -04:00
Sam Brannen
1bf7249d59
Suppress deprecation warning in HtmlUnitRequestBuilderTests
2015-10-16 19:15:29 +02:00
Sam Brannen
a58b685162
Polish formatting in Web MVC chapter
2015-10-16 16:33:13 +02:00
Sam Brannen
e7adc6810b
Fix broken link in Web MVC chapter
2015-10-16 16:32:30 +02:00
Sam Brannen
6a4cc7e681
Fix typos in Web MVC chapter
2015-10-16 16:31:54 +02:00
Sam Brannen
333cfeb6f0
Polish Testing chapter regarding @Commit
2015-10-16 16:08:42 +02:00
Sam Brannen
f5ee13c5da
Fix formatting in the Testing chapter
2015-10-16 01:48:04 +03:00
Spring Buildmaster
a53e2b0776
Next Development Version
2015-10-15 05:36:17 -07:00
Rossen Stoyanchev
2bd1daa75e
Protect against RFD exploits
...
Issue: SPR-13548
2015-10-15 10:33:27 +02:00
Juergen Hoeller
161fd98656
Upgrade to Apache HttpClient 4.5.1 and Derby 10.12.1.1
2015-10-15 00:22:21 +02:00
Juergen Hoeller
8ac3ec5cf7
Added missing @since tags to DeferredResult
...
(cherry picked from commit 5d36ac0 )
2015-10-14 17:15:09 +02:00
Sam Brannen
472d79fb4e
SpringSource CLA renamed to Spring ICLA
2015-10-14 17:30:58 +03:00
Sam Brannen
6ea407aa46
SpringSource CLA renamed to Spring ICLA
2015-10-14 17:22:34 +03:00
Sam Brannen
c2bc2b27ea
Suppress varargs warnings when compiling tests w/ Gradle
2015-10-14 02:00:08 +03:00
Juergen Hoeller
1c3a668370
AbstractFileResolvingResource uses extractArchiveURL for last-modified check
...
Issue: SPR-13393
(cherry picked from commit 302a069 )
2015-10-13 20:47:29 +02:00
Juergen Hoeller
8fbba84aca
Optimized support for GlassFish 4.1.1 (Tyrus 1.9 - 1.12)
...
Issue: SPR-13566
2015-10-13 20:42:47 +02:00
Brian Clozel
2e5ddef07d
Upgrade to Jetty 9.3.5
...
Issue: SPR-13564
2015-10-13 19:07:56 +02:00
Rossen Stoyanchev
922e6de788
Avoid filtering if selector header is not in use
2015-10-13 12:14:17 -04:00
Rossen Stoyanchev
7ff915a01a
Enforce cacheLimit in DefaultSubscriptionRegistry
...
When the cacheLimit is reached and there is an eviction from the
updateCache, the accessCache is now also updated.
This change also ensures that adding a destination to the cache is
protected with synchronization on the updateCache.
Issue: SPR-13555
2015-10-13 12:14:16 -04:00
Brian Clozel
0f70ac74cd
Polish
...
Constructor.getParameterCount is JDK8+ only!
2015-10-13 16:15:02 +02:00
Brian Clozel
b7e75c5db4
Fix websocket compatibility with Tyrus 1.9 - 1.12
...
As of Tyrus 1.9, `TyrusEndpointWrapper`'s constructor has a new Boolean
argument (which is mandatory).
This commit reflectively chooses the right constructor method for Tyrus
1.9+ versions.
Issue: SPR-13566
2015-10-13 16:05:57 +02:00
Juergen Hoeller
59637ee708
Support for Jackson's default typing via TypeResolverBuilder
...
Issue: SPR-13569
2015-10-13 15:06:23 +02:00
Juergen Hoeller
155bbf5057
ResourceUtils supports Tomcat's "war 🫙 " URL format
...
Issue: SPR-13393
2015-10-13 14:36:00 +02:00
Juergen Hoeller
b15f40472e
Updated compatibility statements in RequestUpgradeStrategy javadocs
2015-10-13 13:39:24 +02:00
Juergen Hoeller
357fab67a1
Upgrade to Tomcat 8.0.28 and Jackson 2.6.3
2015-10-13 13:34:08 +02:00
Juergen Hoeller
a5f81a0433
Clarified that getBody() never returns null
...
As the only place that historically differed, HttpComponents(Async)ClientHttpResponse returns an empty stream instead of null now.
Issue: SPR-13563
2015-10-12 22:26:11 +02:00
Juergen Hoeller
66177dfd8c
StreamUtils.emptyInput() for consistent empty InputStream exposure
...
Issue: SPR-13563
2015-10-12 22:25:40 +02:00
Juergen Hoeller
6256586047
Polishing
2015-10-12 18:12:31 +02:00
Juergen Hoeller
4391b299d9
Annotation-level javadoc for Model parameter on exception handler methods
...
Issue: SPR-13546
2015-10-12 18:11:48 +02:00
Stephane Nicoll
6210ab9208
Upgrade to Undertow 1.3.0.Final
2015-10-12 10:06:46 +02:00
Stephane Nicoll
02e583b1b1
Upgrade to H2 1.4.190
2015-10-12 09:16:40 +02:00
Stephane Nicoll
55f9384c6c
Merge pull request #887 from stoeckmann/master
...
* pr/887:
Fix typo
2015-10-11 16:56:01 +02:00
Tobias Stoeckmann
ed4197febb
Fix typo
...
Closes gh-887
2015-10-11 16:55:41 +02:00
Juergen Hoeller
21e0e27fcb
Removed superfluous ObjectStreamException declaration
2015-10-09 22:55:28 +02:00
Juergen Hoeller
112781fb47
Reliable null value handling in ConcurrentMapCache, GuavaCache, JCacheCache
...
The 4.2 variant of this fix includes a common AbstractValueAdaptingCache base class and a common NullValue holder class.
Issue: SPR-13553
2015-10-09 22:55:18 +02:00
Juergen Hoeller
1d59c5fd41
StandardScriptEvaluator uses same eval exception exposure as ScriptTemplateView
...
Issue: SPR-13557
2015-10-09 22:55:01 +02:00
Juergen Hoeller
92dc51f6a8
Shutdown hook triggers doClose within startupShutdownMonitor
...
Issue: SPR-13556
2015-10-09 22:54:44 +02:00
Juergen Hoeller
8b3b8d070e
Consistently detect spring-beans.dtd reference in last path segment
...
Issue: SPR-13549
2015-10-09 22:54:35 +02:00
Sam Brannen
1a227da19e
Polish AnnotatedElementUtilsTests
2015-10-09 22:51:27 +02:00
Sam Brannen
5e1d6e47a9
Introduced failing, @Ignored test for SPR-13554
...
Issue: SPR-13554
2015-10-09 22:23:49 +02:00
Rossen Stoyanchev
1e4f674db7
Polish
2015-10-09 12:34:30 -04:00
Sam Brannen
26798cc338
Polish testing chapter
2015-10-08 16:57:31 +02:00
Sam Brannen
2f4c0036cb
Dispel myth that Spring MVC Test requires JUnit
...
Issue: SPR-13552
2015-10-08 16:56:31 +02:00
Brian Clozel
6b34fe3dd4
Fix undertow httpClientConnect invoke signature
...
Issue: SPR-13551
2015-10-08 16:23:31 +02:00
Sam Brannen
f489e43d31
Polishing
2015-10-08 15:18:31 +02:00
Brian Clozel
01986ac73d
Upgrade to undertow 1.3.0.CR3
2015-10-08 11:39:19 +02:00
Brian Clozel
758ae98af2
Sanitize duplicate slashes in request path
...
This commit removes duplicate slashes in the resolved lookup path when
calling `UrlPathHelper.getLookupPathForRequest`. This is especially
necessary when the path is cleaned from semicolon content and leaves
duplicate slashes in the request path.
Issue: SPR-13455
2015-10-08 11:05:51 +02:00
Juergen Hoeller
15b88782f7
Polishing
2015-10-07 20:06:18 +02:00
Juergen Hoeller
44b76d39a4
ExceptionHandlerExceptionResolver allows for Model parameter
...
Issue: SPR-13546
2015-10-07 20:06:06 +02:00
Juergen Hoeller
966f95b9b5
Revised TransportHandlingSockJsService for defensive transport checking and consistent logging
...
Issue: SPR-13545
2015-10-07 13:25:52 +02:00
Juergen Hoeller
af213a09ee
Polishing
2015-10-07 13:25:41 +02:00
Juergen Hoeller
dbec2121a0
EventListenerMethodProcessor does not validate target classes behind proxies anymore
...
Issue: SPR-13526
Issue: SPR-13538
2015-10-07 13:25:14 +02:00
Sam Brannen
28c07a6d38
Polish Javadoc for MVC exception handling classes
2015-10-06 17:30:45 +02:00
Sam Brannen
3db62d5494
Remove MimeTypeResolver since JAF is part of Java SE 6+
...
The inner MimeTypeResolver class is no longer necessary in the
MockServletContext since the Java Activation Framework (JAF) is a
standard part of Java SE since Java 6.
2015-10-06 15:56:00 +02:00
Sam Brannen
da99897676
Remove spring-messaging's dependency on spring-test
2015-10-06 15:40:41 +02:00
Juergen Hoeller
6993a7d3d0
Polishing
2015-10-06 13:30:13 +02:00
Juergen Hoeller
9cf28950e5
PathResourceTests defensively compares last-modified timestamps at seconds precision
...
Issue: SPR-13542
2015-10-06 13:25:27 +02:00
Juergen Hoeller
181533c464
MessageHeaders serialization preserves non-serializable entries in original instance
...
Issue: SPR-13541
2015-10-06 13:24:05 +02:00
Sam Brannen
7ac6af0fb0
Polish Javadoc for AsyncHandlerInterceptor & RequestBodyAdvice
2015-10-06 09:35:24 +02:00
Juergen Hoeller
427767f21e
Fixed event listener caching through equals/hashCode on SyntheticParameterizedType
...
Issue: SPR-13540
2015-10-06 00:05:51 +02:00
Juergen Hoeller
668f5db582
Consistent use of UTC for DateTime tests
...
Issue: SPR-13536
2015-10-05 21:31:56 +02:00
Juergen Hoeller
1b31d39b60
Avoid hard reference to org.xnio.StreamConnection through reflection
...
Issue: SPR-13529
2015-10-05 20:58:36 +02:00
Juergen Hoeller
bb4e682a7e
Latest dependency updates (POI 3.13, Reactor 2.0.6, Netty 4.0.32, Tomcat 8.0.27)
2015-10-05 20:56:37 +02:00
Sam Brannen
61a46db101
Treat query param w/o "=" as empty string in HtmlUnitRequestBuilder
...
Prior to this commit, HtmlUnitRequestBuilder stored empty query
parameters declared without an equals sign as null (i.e., query
parameters such as 'error' in 'http://example.com/login?error ').
This commit addresses this issue by ensuring that
HtmlUnitRequestBuilder treats all empty query parameter values as empty
strings. Consequently, query strings such as '?error' and '?error=' now
both result in 'error' being stored as an empty string.
Issue: SPR-13524
2015-10-04 19:11:41 +02:00
Sam Brannen
c52f9d3524
Assert status quo & add TODO
...
Issue: SPR-13537
2015-10-04 18:16:50 +02:00
Sebastien Deleuze
1c6febc45c
Make UriComponentsBuilder.fromOriginHeader() IPv6 compliant
...
Issue: SPR-13525
2015-10-02 16:55:12 +02:00
Stephane Nicoll
b7c2881a4f
Clarify javadoc
...
The Javadoc wrongly referred to a behaviour that is not (and should not
be) implemented. List items are split into indexed keys and the
comma-separated value is not retained.
Issues: SPR-13257
2015-10-02 14:17:54 +02:00
Juergen Hoeller
20c4f82d6b
Upgrade to Hibernate ORM 5.0.2 and Hibernate Validator 5.2.2
2015-10-01 01:26:57 +02:00
Rossen Stoyanchev
8c316e1863
Avoid issue with switching from Reactor 2.0.5 to 2.0.6
...
We can't compile directly against NettyClientSocketOptions method which
changed signatures in 2.0.6. This change ensures the method is invoked
reflectively instead.
2015-09-30 18:43:07 -04:00
Sam Brannen
2dc4da3d4e
Link to AssertJ instead of Fest in testing chapter
2015-09-30 22:06:07 +02:00
Sam Brannen
283fc94572
Support null query param values in HtmlUnitRequestBuilder
...
Prior to this commit, HtmlUnitRequestBuilder would incorrectly attempt
to decode null values for query parameters (i.e., query parameters such
as 'error' in 'http://example.com/login?error ') which resulted in a
NullPointerException since URLDecoder.decode() does not support null
values.
This commit fixes this issue by ensuring that HtmlUnitRequestBuilder
only attempts to decode non-null query parameter values.
Issue: SPR-13524
2015-09-30 21:48:14 +02:00
Sam Brannen
d5b4685391
Polish HtmlUnitRequestBuilderTests
2015-09-30 21:48:13 +02:00
Rossen Stoyanchev
42e5ad4111
Polish
2015-09-30 14:05:08 -04:00
Brian Clozel
39726740e5
Guard against invalid response status
...
ServletWebRequest now guard against invalid HTTP response status when
processing conditional requests.
Issue: SPR-13516
2015-09-30 18:40:59 +02:00
Rossen Stoyanchev
24a91b43cc
Polish content negotiation
2015-09-29 17:08:37 -04:00
Rossen Stoyanchev
c75206f975
Prepare for Reactor 2.0.6
2015-09-29 10:42:44 -04:00
Sam Brannen
faa2f5cc50
Fix formatting in SpEL chapter
2015-09-28 22:44:31 +02:00
Sam Brannen
8d58f66c0f
Fix formatting in SpEL chapter
2015-09-28 22:23:12 +02:00
Juergen Hoeller
d3c539a9ab
Portlet MVC documentation consistently refers to Portlet 2.0 spec (JSR-286)
...
Issue: SPR-13513
2015-09-28 22:12:36 +02:00
Juergen Hoeller
a9fbbc55e6
Polishing
2015-09-28 22:11:10 +02:00
Sam Brannen
3845eb3cbc
Migrate Groovy tests to JUnit 4
...
Issue: SPR-13514
2015-09-28 21:19:53 +02:00
Sam Brannen
d883efcb2a
Throw meaningful exception if JUnit 4.9 is not present
...
SpringJUnit4ClassRunner, SpringClassRule, and SpringMethodRule now
throw an IllegalStateException with a meaningful message if JUnit 4.9
is not present in the classpath (specifically if
org.junit.runners.model.MultipleFailureException cannot be loaded).
Issue: SPR-13521
2015-09-28 20:15:40 +02:00
Sam Brannen
452b124ff6
Polish FreeMarker tests and suppress warnings
2015-09-28 19:33:49 +02:00
Sam Brannen
58c2990794
Reinstate and modernize Jasper Reports tests
2015-09-28 19:22:23 +02:00
Sebastien Deleuze
9c66dfa7b5
Avoid stacktrace for invalid Origin header values
...
This commit adds support for origins with a trailing slash or a path,
in order to avoid printing a stacktrace in the logs when
WebUtils#isSameOrigin(HttpRequest) parses such invalid Origin header
value.
Issue: SPR-13478
2015-09-28 11:03:51 +02:00
Sam Brannen
3dcf8c1712
Simplify legacy JUnit 3.8 based tests in spring-orm
...
This is in preparation for a migration from JUnit 3 to JUnit 4.
Issue: SPR-13514, SPR-13515
2015-09-28 01:19:27 +02:00
Sam Brannen
d5ee787e1e
Migrate JUnit 3 tests to JUnit 4
...
This commit migrates all remaining tests from JUnit 3 to JUnit 4, with
the exception of Spring's legacy JUnit 3.8 based testing framework that
is still in use in the spring-orm module.
Issue: SPR-13514
2015-09-27 21:17:51 +02:00
Sebastien Deleuze
1580288815
Improve error reporting in ScriptTemplateView
...
This commit introduces a new ScriptRenderException in order to:
- Print in the resulting error page the reason of the script failure
- Not print the whole stacktrace in the logs
The ScriptRenderException thrown in ScriptTemplateView#renderMergedOutputModel()
is wrapped into a ServletException in order to avoid printing 2 times the messages in
the logs (throwing directly a ScriptRenderException would make it wrapped in a
NestedServletException that contains a getMessage() override not needed in this
context)
Issue: SPR-13488
2015-09-26 10:30:48 +02:00
Rossen Stoyanchev
fdbe8dc4c1
ResponseBodyEmitter detects timeout/completion
...
ResponseBodyEmitter now registers by default to receive callbacks
on timeout/completion and sets its internal "complete" flag to true
in order to prevent proactively further use of the emitter.
Issue: SPR-13498
2015-09-25 14:06:33 -04:00
Juergen Hoeller
a6a6aed17f
StopWatch provides getId/currentTaskName accessors (plus further fine-tuning)
...
Issue: SPR-13509
2015-09-25 15:23:39 +02:00
Juergen Hoeller
097bcfb997
DefaultListableBeanFactory switches to thread-safe copying for names collections if necessary
...
Issue: SPR-13493
Issue: SPR-13123
Issue: SPR-12503
2015-09-25 15:20:40 +02:00
Juergen Hoeller
627393a155
Reverted StrictMapAppenderConstructor constructor back to public
...
Issue: SPR-13504
2015-09-24 22:51:30 +02:00
Juergen Hoeller
71dcd28c77
Upgrade to Groovy 2.4.5 (plus extracted guavaVersion and okhttpVersion)
2015-09-24 21:51:48 +02:00
Juergen Hoeller
75f473927f
Polishing
2015-09-24 21:36:42 +02:00
Juergen Hoeller
11b4e3be2c
Consistent HttpMethod resolution against underlying HttpServletRequest
2015-09-24 20:53:22 +02:00
Juergen Hoeller
90409cbe98
Renamed Undertow10BufferSupport to UndertowXnioBufferSupport
...
Issue: SPR-13366
2015-09-24 20:53:12 +02:00
Brian Clozel
7f700cc63e
Polish
2015-09-24 19:58:58 +02:00
Sam Brannen
d91806d7ab
Suppress warnings in Gradle build
2015-09-24 19:56:10 +02:00
Brian Clozel
55db4ae94b
Document that @ResponseStatus overrides redirect views
...
Issue: SPR-13439
2015-09-24 18:43:51 +02:00
Brian Clozel
583a48ab75
Do not process conditional requests for non-GET
...
Prior to this commit, HttpEntityMethodProcessor would process
conditional requests even if those aren't GET requests.
This is an issue for POST requests with "If-None-Match: *" headers and
many other use cases, which should not receive an HTTP 304 Not Modified
status in response.
This commit only triggers ETag/Last-Modified conditional requests bits
for GET requests.
Issue: SPR-13496
2015-09-24 17:49:20 +02:00
Juergen Hoeller
525d111210
Polishing
2015-09-24 16:43:26 +02:00
Juergen Hoeller
75ea6f564c
Revised AbstractCacheManager for consistent locking when caches get added
...
Issue: SPR-13492
2015-09-24 16:42:10 +02:00
Juergen Hoeller
1458c7ed43
UndertowRequestUpgradeStrategy auto-adapts to Undertow 1.3's different Pool API
...
Issue: SPR-13494
2015-09-24 16:41:56 +02:00
Brian Clozel
0510329b54
Support Undertow 1.3.0 in UndertowXhrTransport
...
As of Undertow 1.3.0, several APIs have been changed: replacing Xnio's
Pool/Pooled references to Undertow's new ByteBufferPool abstraction.
This move has been made, as part of
https://issues.jboss.org/browse/UNDERTOW-522 , to prepare deprecations in
the Xnio API.
This commit adds a new strategy to deal with both 1.0-1.2 and 1.3
Undertow generations.
Issue: SPR-13366
2015-09-24 16:17:20 +02:00
Juergen Hoeller
ebe128e940
Polishing
2015-09-24 00:33:14 +02:00
Juergen Hoeller
c34a62e141
LocaleChangeInterceptor allows for ignoring invalid locale values
...
Issue: SPR-9456
2015-09-24 00:32:45 +02:00
Rossen Stoyanchev
df171ff5bb
MockMvc request builder preserves double slashes
...
The MockHttpServletRequestBuilder now uses java.net.URI internally
rather than UriComponents.
This means that for the MockMvcRequestBuilders method variants that
accept a java.net.URI we can use it as is. The difference is almost
none but it does mean that you can create a URI with double slashes
(for testing purposes) and have it remain that way.
Issue: SPR-13435
2015-09-23 17:50:29 -04:00
Rossen Stoyanchev
fb3e054a31
Update Javadoc
...
Issue: SPR-13479
2015-09-23 17:29:21 -04:00
Rossen Stoyanchev
ffd9c62fc8
Translate IOException to HttpMessageNotReadableEx
...
Some converters (Jackson, Gson, Protobuf) already do this. It is now
also done in AbstractMessageConverterMethodArgumentResolver which
enforces a consistent behavior across controller method arguments.
Issue: SPR-12745
2015-09-23 17:22:37 -04:00
Rossen Stoyanchev
daa49c9bcd
StompDecoder handles partial headers correctly
...
Issue: SPR-13416
2015-09-23 16:51:55 -04:00
Juergen Hoeller
54d3d782a9
Polishing
2015-09-23 22:44:52 +02:00
Juergen Hoeller
a23629f60f
Context namespace exposes value-separator attribute for property-placeholder element
...
Issue: SPR-7794
2015-09-23 22:39:23 +02:00
Juergen Hoeller
c7fd4ccf48
StandardScriptUtils.retrieveEngineByName for lookup with descriptive exception message
...
Also revised StandardScriptFactory for finer-grained template methods, added further configuration variants to StandardScriptEvaluator, and identified thread-local ScriptEngine instances in ScriptTemplateView by appropriate key.
Issue: SPR-13491
Issue: SPR-13487
2015-09-23 22:37:35 +02:00
Juergen Hoeller
fe3aad4ab2
Latest dependency updates (H2 1.4.189, Underscore.js 1.8.3)
2015-09-23 22:03:08 +02:00
Sebastien Deleuze
cffad9d4b1
Limit the number of ScriptEngine instances to the number of threads
...
This commit makes ThreadLocal<ScriptEngine> engineHolder ScriptTemplateView
field static in order to limit the maximum number of ScriptEngine instances
to the number of threads, regardless of the number of view instances.
Issue: SPR-13487
2015-09-23 13:17:37 +02:00
Sam Brannen
54703bf3f8
Introduce ignored, failing tests for SPR-13475
...
This commit introduces ignored, failing tests that demonstrate that the
@Cache* annotations are not yet supported as merged composed annotations.
Issue: SPR-13475
2015-09-23 00:27:14 -04:00
Sam Brannen
d66f85bd66
Polishing
2015-09-22 15:57:32 -04:00
Sam Brannen
0ad59ddb7a
Merge pull request #877 from nithril/SPR-13468
...
* SPR-13468:
Support @CrossOrigin as a merged composed annotation
2015-09-22 15:24:09 -04:00
Nicolas Labrot
e4c0859d41
Support @CrossOrigin as a merged composed annotation
...
Issue: SPR-13468
2015-09-22 14:55:42 -04:00
Sam Brannen
74b05118eb
Polish RequestMappingHandlerMappingTests
2015-09-22 14:35:19 -04:00
Sebastien Deleuze
48b512c5f4
Update Jackson builder to set properly AUTO_DETECT_IS_GETTERS
...
Issue: SPR-13073
2015-09-22 11:41:31 +02:00
Sam Brannen
6a30d04d1e
Ensure all 4.2 XSDs reference beans & tool XSDs from 4.2
2015-09-22 01:15:30 -04:00
Sam Brannen
c866c172ec
Polish spring-context-4.2.xsd
2015-09-22 01:13:36 -04:00
Juergen Hoeller
f0ebddef1e
Latest dependency updates (AspectJ 1.8.7, Jackson 2.6.2, EhCache 3.0 M3)
2015-09-21 22:49:23 +02:00
Juergen Hoeller
df0b26f0e6
XhrTransport implementations do not need to redeclare interface when extending from AbstractXhrTransport
2015-09-21 20:48:29 +02:00
Juergen Hoeller
fbce18418a
Context namespace exposes null-value attribute for property-placeholder element
...
Issue: SPR-13461
2015-09-21 20:47:03 +02:00
Juergen Hoeller
b23c23279b
AbstractEmbeddedDatabaseConfigurer explicitly closes JDBC Connection on shutdown
...
Issue: SPR-13474
2015-09-21 20:42:50 +02:00
Sebastien Deleuze
299b7766fe
Allow same-origin WebSocket/SockJS requests once origin is set
...
Issue: SPR-13464
2015-09-21 17:08:58 +02:00
Stephane Nicoll
f60bd25666
Merge pull request #874 from kamilszymanski/fix-configuration-docs
...
* pr/874:
Fix `@Configuration` javadoc typo
2015-09-18 06:40:34 -04:00
Kamil Szymanski
6802504db0
Fix @Configuration javadoc typo
...
Closes gh-874
2015-09-18 06:39:57 -04:00
Stephane Nicoll
3b17de8ab2
Merge pull request #873 from izeye/patch-5
...
* pr/873:
Add a missing `@throws` in Javadoc
2015-09-15 06:30:10 -04:00
izeye
1aa77ef817
Add a missing @throws in Javadoc
...
Closes gh-873
2015-09-15 06:29:50 -04:00
Sam Brannen
e2bfbdcfd1
Support attribute overrides with @ResponseStatus
...
This commit introduces support for attribute overrides for
@ResponseStatus when @ResponseStatus is used as a meta-annotation on
a custom composed annotation.
Specifically, this commit migrates all code that looks up
@ResponseStatus from using AnnotationUtils.findAnnotation() to using
AnnotatedElementUtils.findMergedAnnotation().
Issue: SPR-13441
2015-09-11 21:05:30 +02:00
Sam Brannen
4a49ce9694
Polish Javadoc for @ResponseStatus
2015-09-11 16:40:55 +02:00
Sam Brannen
de2e201a2a
Refer to @Commit instead of @Rollback(false) in the reference manual
2015-09-10 19:35:17 +02:00
Juergen Hoeller
bc13cb2af5
Polishing
2015-09-10 14:05:06 +02:00
Juergen Hoeller
ae0d945a05
DeferredResult accessors based on volatile fields for proper visibility
...
Issue: SPR-13451
2015-09-10 14:04:35 +02:00
Juergen Hoeller
4dee9cbf62
ConcurrentMapCache.putIfAbsent properly supports nulls
...
Issue: SPR-13458
2015-09-10 14:02:18 +02:00
Sebastien Deleuze
f3b7e9ff2d
Expose view url to render function in ScriptTemplateView
...
After this change, with Nashorn it is possible to use either
render(template, model) or render(template, model, url).
With JRuby or Jython, specifying the 3 parameters is mandatory.
Issue: SPR-13453
2015-09-09 18:05:04 +02:00
Sebastien Deleuze
ff02ad47e0
Close properly the InputStream in ScriptTemplateView#getTemplate()
...
Issue: SPR-13445
2015-09-09 12:15:48 +02:00
Juergen Hoeller
f2c9838e95
Updated ContentNegotiatingViewResolver example towards ContentNegotiationManager
...
Issue: SPR-13431
2015-09-09 11:46:14 +02:00
Juergen Hoeller
99f72ce3db
Polishing
2015-09-09 11:45:12 +02:00
Juergen Hoeller
5f598586ea
SseEmitter exposes super constructor with timeout value
...
Issue: SPR-13446
2015-09-09 11:43:52 +02:00
Juergen Hoeller
c4f5a0fb10
MessagingException provides null description (instead of empty String) to NestedRuntimeException
...
Issue: SPR-13447
2015-09-09 11:42:59 +02:00
Sam Brannen
22e84a87f4
Polish proxy tests
2015-09-08 18:34:47 +02:00
Sam Brannen
ae8a341a55
Polishing
2015-09-08 18:34:47 +02:00
Juergen Hoeller
52fdfd59ab
Polishing
2015-09-08 18:11:30 +02:00
Juergen Hoeller
5c22002d21
Latest dependency updates (Undertow 1.2.12, WebJars Locator 0.28)
2015-09-08 18:04:56 +02:00
Juergen Hoeller
a8432bc8a1
Tests for enum array with varargs (and related refinements)
...
Issue: SPR-13328
2015-09-08 11:13:23 +02:00
Juergen Hoeller
1feb757c54
ResourceHttpMessageConverter allows for using InputStreamResource
...
Issue: SPR-13443
2015-09-08 11:04:34 +02:00
Juergen Hoeller
e393c7b1ee
AbstractEnvironment defensively synchronizes access to activeProfiles and defaultProfiles
...
Issue: SPR-13213
2015-09-08 11:03:15 +02:00
Juergen Hoeller
e214e64782
Latest dependency updates (Hibernate ORM 5.0.1, JasperReports 6.1.1, Joda-Time 2.8.2, SnakeYAML 1.16)
2015-09-04 15:11:19 +02:00
Juergen Hoeller
667fc7e4a9
Polishing
2015-09-04 14:38:47 +02:00
Juergen Hoeller
811de8e50b
AbstractApplicationContext allows for re-refresh and re-close
...
Issue: SPR-13425
2015-09-04 14:38:23 +02:00
Sam Brannen
c663fd551a
Polishing
2015-09-03 17:31:55 +02:00
Sam Brannen
734aecb15a
Polish "What's New" section in reference manual
2015-09-03 17:30:14 +02:00
Brian Clozel
d3d81c2864
Add MockHttpServletResponse.getDateHeader
...
This change adds a new `getDateHeader` method that converts date header
Strings to long values - making tests more readable.
This feature is also documented in the "what's new section" for 4.2.
2015-09-03 16:03:46 +02:00
Brian Clozel
e81a430e61
Fix @RequestBody(required=false) support
...
Prior to this commit, requests with an empty body and no Content-Type
header set would fail with a HttpMediaTypeNotSupportedException when
mapped to a Controller method argument annotated with
@RequestBody(required=false).
In those cases, the server implementation considers with an
"application/octet-stream" content type and polls messageconverters for
conversion. If no messageconverter is able to process this request, a
HttpMediaTypeNotSupportedException is thrown.
This change makes sure that such exceptions are not thrown if the
incoming request has:
* no body
* no content-type header
In this case, a null value is returned.
Issue: SPR-13147
2015-09-03 14:53:43 +02:00
Juergen Hoeller
eeab7f38a2
Fixed generateETagHeaderValue's IOException handling
...
Issue: SPR-12081
2015-09-02 19:43:15 +02:00
Sam Brannen
93f3b9cbe0
Polish Javadoc for @EnableAsync
2015-09-02 19:08:56 +02:00
Juergen Hoeller
ec741bd5ea
Latest dependency updates (Jetty 9.3.3, Netty 4.0.31, Undertow 1.2.11)
2015-09-02 16:56:04 +02:00
Juergen Hoeller
1ed1167153
Avoid ConcurrentModificationException in SingleConnectionFactory's AggregatedExceptionListener
...
Issue: SPR-13421
2015-09-02 16:55:09 +02:00
Sam Brannen
2caaa81afa
Polishing
2015-09-02 15:37:16 +02:00
Sam Brannen
21cfa0e4ba
Suppress warning in DefaultDeserializer
2015-09-02 15:25:10 +02:00
Sam Brannen
b9e461a54f
Polishing
2015-09-02 15:07:49 +02:00
Juergen Hoeller
2fa1caca0c
ServletWebRequest.checkNotModified avoids HttpServletResponse.getHeader calls on Servlet 2.5
...
Includes a revision for consistent and defensive Servlet 3.0 method calls across Spring's web abstraction (in particular, also working in debug mode where method references may get resolved early, so ternary expressions are to be avoided).
Issue: SPR-13420
2015-09-02 14:17:42 +02:00
Spring Buildmaster
d32ba954dc
Next Development Version
2015-09-01 02:28:34 -07:00
Juergen Hoeller
0867a5e67f
Polishing
2015-09-01 10:22:39 +02:00
Sebastien Deleuze
12937680b7
Add a section about message converters customization in the refdoc
...
Issue: SPR-13411
2015-09-01 00:58:29 +02:00
Sam Brannen
af905aaaea
Document HtmlUnit & WebDriver deps in reference manual
...
This commit improves the documentation in the reference manual for the
HtmlUnit & Selenium WebDriver integration in the Spring MVC Test
framework by mentioning the group and artifact IDs required for this
functionality.
Issue: SPR-13299
2015-09-01 00:53:00 +02:00
Sam Brannen
9b1178cf71
Document support for transitive implicit aliases in @AliasFor
...
Issue: SPR-13405
2015-09-01 00:30:33 +02:00
Sebastien Deleuze
542e21b3f6
Polish Jackson2ObjectMapperBuilder/FactoryBean javadoc
2015-08-31 21:18:08 +02:00
Juergen Hoeller
566ea30167
Polishing
2015-08-31 17:32:33 +02:00
Juergen Hoeller
2bb7164c64
AsyncRestTemplate and FutureAdapter consistently throw ExecutionException
...
Issue: SPR-13413
2015-08-31 17:31:52 +02:00
Juergen Hoeller
d99717c1cb
DefaultDeserializer and DeserializingConverter allow for specifying a ClassLoader
...
Issue: SPR-13409
2015-08-31 17:31:41 +02:00
Juergen Hoeller
d4a23b81e9
Properties values get properly converted to generic Map types (fixing 4.x regression without use of ConversionService)
...
Issue: SPR-13256
2015-08-31 17:20:05 +02:00
Sam Brannen
acc8c895bf
Make AnnotationUtils Java 6 source compatible
2015-08-31 15:54:46 +02:00
Sam Brannen
8e14520bf5
Merge from sbrannen/SPR-13405
...
* SPR-13405:
Support transitive implicit attribute aliases with @AliasFor
2015-08-31 15:48:44 +02:00
Sam Brannen
2a6716d380
Support transitive implicit attribute aliases with @AliasFor
...
This commit picks up where 3eacb837c2
(SPR-13345) left off by adding support for transitive implicit aliases
configured via @AliasFor.
Issue: SPR-13405
2015-08-31 15:46:12 +02:00
Sam Brannen
d899efd672
Fix typo in reference manual
2015-08-30 19:01:28 +02:00
Sam Brannen
a066143a5b
Polishing
...
This commit removes unnecessary not-null checks for annotation
attribute alias names.
2015-08-29 16:05:26 +02:00
Sam Brannen
164bed5c3f
Use implicit aliases in @TransactionalEventListener
2015-08-28 20:04:52 +02:00
Sam Brannen
3eacb837c2
Merge from sbrannen/SPR-13345
...
* SPR-13345:
Support implicit attribute aliases with @AliasFor
2015-08-28 18:58:38 +02:00
Sam Brannen
d40a35ba5c
Support implicit attribute aliases with @AliasFor
...
Spring Framework 4.2 introduced support for aliases between annotation
attributes that fall into the following two categories.
1) Alias pairs: two attributes in the same annotation that use
@AliasFor to declare that they are explicit aliases for each other.
2) Meta-annotation attribute overrides: an attribute in one annotation
uses @AliasFor to declare that it is an explicit override of an
attribute in a meta-annotation.
However, the existing functionality fails to support the case where two
attributes in the same annotation both use @AliasFor to declare that
they are both explicit overrides of the same attribute in the same
meta-annotation. In such scenarios, one would intuitively assume that
two such attributes would be treated as "implicit" aliases for each
other, analogous to the existing support for explicit alias pairs.
Furthermore, an annotation may potentially declare multiple aliases
that are effectively a set of implicit aliases for each other.
This commit introduces support for implicit aliases configured via
@AliasFor through an extensive overhaul of the support for alias
lookups, validation, etc. Specifically, this commit includes the
following.
- Introduced isAnnotationMetaPresent() in AnnotationUtils.
- Introduced private AliasDescriptor class in AnnotationUtils in order
to encapsulate the parsing, validation, and comparison of both
explicit and implicit aliases configured via @AliasFor.
- Switched from single values for alias names to lists of alias names.
- Renamed getAliasedAttributeName() to getAliasedAttributeNames() in
AnnotationUtils.
- Converted alias map to contain lists of aliases in AnnotationUtils.
- Refactored the following to support multiple implicit aliases:
getRequiredAttributeWithAlias() in AnnotationAttributes,
AbstractAliasAwareAnnotationAttributeExtractor,
MapAnnotationAttributeExtractor, MergedAnnotationAttributesProcessor
in AnnotatedElementUtils, and postProcessAnnotationAttributes() in
AnnotationUtils.
- Introduced numerous tests for implicit alias support, including
AbstractAliasAwareAnnotationAttributeExtractorTestCase,
DefaultAnnotationAttributeExtractorTests, and
MapAnnotationAttributeExtractorTests.
- Updated Javadoc in @AliasFor regarding implicit aliases and in
AnnotationUtils regarding "meta-present".
Issue: SPR-13345
2015-08-28 18:56:17 +02:00
Juergen Hoeller
ff9fb9aa88
BeanWrapperImpl.getPropertyDescriptor allows for nested paths again
...
Issue: SPR-13403
2015-08-28 11:17:42 +02:00
Sam Brannen
90f46f9327
Suppress warnings in tests in spring-orm-hibernate4
2015-08-27 22:52:21 +02:00
Sam Brannen
527b778bf9
Clean up warnings in spring-test
2015-08-27 22:12:14 +02:00
Juergen Hoeller
491adf1f2f
Polishing
2015-08-27 22:04:58 +02:00
Juergen Hoeller
0c2b787cb5
ASM fix #317578
...
http://forge.ow2.org/tracker/?func=detail&aid=317578&group_id=23&atid=100023
2015-08-27 22:03:36 +02:00
Brian Clozel
803d7b50b9
Skip HttpServletResponse.getStatus() on Servlet 2.5
...
Prior to this commit, ServletWebRequest would call
HttpServletResponse.getStatus(), which is a Servlet 3.x method.
This commit checks if this method is available before calling it, thus
keeping Servlet 2.5 compatibility.
Issue: SPR-13396
2015-08-27 20:55:50 +02:00
Juergen Hoeller
7118fcff0d
MethodValidationInterceptor falls back to invocation attempt with resolved bridge method (for Hibernate Validator 5.2 compatibility)
...
Issue: SPR-12237
2015-08-27 19:13:29 +02:00
Sam Brannen
8af0151f1b
Suppress recent deprecation warnings in tests
2015-08-27 17:57:50 +02:00
Sam Brannen
abc805819f
Polish Javadoc for EmbeddedDatabaseBuilder
2015-08-27 17:27:53 +02:00
Juergen Hoeller
a1107af06f
HibernateJpaDialect logs warning in case of Connection mismatch (e.g. configured release mode other than ON_CLOSE)
...
Related to that, HibernateTransactionManager specifically checks for active physical connections on reset as of Hibernate 5.
Issue: SPR-13269
Issue: SPR-13002
2015-08-27 16:41:41 +02:00
Juergen Hoeller
e553bb79e7
Latest dependency updates (Commons Pool 2.4.2, OkHttp 2.5)
2015-08-27 12:37:51 +02:00
Juergen Hoeller
5e43f9b88f
Deprecate Commons DBCP 1.x support along with Commons Pool 1.x
...
Issue: SPR-12532
2015-08-27 12:37:21 +02:00
Juergen Hoeller
e518d7dcc6
Mark log4j support classes as deprecated in favor of Apache Log4j 2 (following Apache's EOL declaration for log4j 1.x)
...
Issue: SPR-13400
2015-08-27 12:36:57 +02:00
Juergen Hoeller
b9d7913407
Deprecate XmlBeans support (following the XMLBeans retirement at Apache)
...
Issue: SPR-13399
2015-08-27 11:52:50 +02:00
Juergen Hoeller
eaba794823
Removed misleading note on readonly and disabled flags in spring-form.tld
...
Issue: SPR-13397
2015-08-27 11:50:10 +02:00
Sebastien Deleuze
63fe5b9069
Fix typo in reference documentation
2015-08-27 10:59:02 +02:00
Sam Brannen
7107c8cb05
Fix typo & grammar in MVC Test reference doc
2015-08-26 15:13:19 +02:00
Brian Clozel
42588cb03e
Prepare Undertow 1.3.0 compatibility
...
Xnio 3.4.0 will introduce a new source of ByteBuffers: ByteBufferPool.
Previously this feature was offered by Pooled/Pool/ByteBufferSlicePool;
those classes are now marked as deprecated.
As of 1.3.0.Beta9, Undertow still implements the following method in its
ClientConnection interface, using those deprecated types:
Pool<ByteBuffer> getBufferPool();
This commit prepares compatibility by suppressing warnings in order to
avoid build failures in our build. Once appropriate changes are made in
Undertow, a specific implementation with new types could be introduced.
Issue: SPR-13366
2015-08-26 14:33:25 +02:00
Juergen Hoeller
e05fb494f5
Polishing
2015-08-26 11:04:14 +02:00
Juergen Hoeller
91b473fec5
Latest dependency updates (Tomcat 8.0.26, JRuby 1.7.22, H2 1.4.188)
2015-08-26 11:00:58 +02:00
Rossen Stoyanchev
4ecb3d4f3f
Update WebSocket docs on proxying @Controller
...
Issue: SPR-13384
2015-08-25 22:14:36 -04:00
Rossen Stoyanchev
bdf735125f
Update javadoc for (Async)RestTemplate
...
Issue: SPR-13313
2015-08-25 22:03:26 -04:00
Rossen Stoyanchev
2e79a30fed
Properly expand URI vars with regex
...
Before this commit UriComponents was capable of expanding URI vars that
may have contained a regular expressions (as supported with
@RequestMapping for example). However if the regular expressions
contained any nested "{}" the expand did not work correctly.
This commit sanitizes a URI template source removing any content
between nested "{}" prior to expanding. This works since we only care
about the URI variable name.
Issue: SPR-13311
2015-08-25 21:48:02 -04:00
Rossen Stoyanchev
1a9e42b49d
Support multipart filename with charset
...
StandardMultipartHttpServletRequest now supports filenames with
charset information.
Issue: SPR-13319
2015-08-25 20:54:43 -04:00
Juergen Hoeller
4314da922a
RedirectView and RequestContext use RequestContextUtils.findWebApplicationContext
...
Issue: SPR-13346
2015-08-25 22:16:27 +02:00
Juergen Hoeller
7d30017429
StubWebApplicationContext supports AutowireCapableBeanFactory operations (as far as possible)
...
This is generally worthwhile but in particular fixes a regression with our Jackson SpringHandlerInstantiator in standalone MVC tests.
Issue: SPR-13375
2015-08-25 21:52:49 +02:00
Juergen Hoeller
3430f7623c
Consistent detection of meta-annotation attributes via ASM
...
Issue: SPR-13394
2015-08-25 21:52:11 +02:00
Juergen Hoeller
6aa9e0caf9
mvc:tiles-configurer supports preparer-factory and definitions-factory
...
Issue: SPR-13363
2015-08-25 18:10:27 +02:00
Juergen Hoeller
8cd283729b
MessageHeaders returns completely immutable entry set (no entry.setValue call allowed)
...
Issue: SPR-13385
2015-08-25 17:54:54 +02:00
Juergen Hoeller
5f3559fbad
Call statement support for SAP HANA
...
Issue: SPR-13381
2015-08-25 17:54:38 +02:00
Juergen Hoeller
35e1eca9e8
BeanPropertyRowMapper logs in case of no corresponding property as well
...
Issue: SPR-13323
2015-08-25 17:54:26 +02:00
Juergen Hoeller
74e6213baf
Lookup method definitions can be overridden in child beans
...
Issue: SPR-13388
2015-08-25 17:08:49 +02:00
Juergen Hoeller
b198cad58e
SimpleAliasRegistry detects circles between non-canonical aliases as well (through hasAlias)
...
Additionally, as an optimization, we skip the re-registration step for existing aliases now.
Issue: SPR-13390
2015-08-25 17:06:23 +02:00
Brian Clozel
190eb6ace1
Set ETag header with VersionResourceResolver
...
Prior to this change, VersionResourceResolver and VersionStrategy would
resolve static resources using version strings. They assist
ResourceHttpRequestHandler with serving static resources. The
RequestHandler itself can be configured with HTTP caching strategies to
set Cache-Control headers.
In order to have a complete strategy with Cache-Control and ETag
response headers, developers can't reuse that version string information
and have to rely on other mechanisms (like ShallowEtagHeaderFilter).
This commit makes VersionResourceResolver use that version string to set
it as a request attribute, which will be used by the
ResourceHttpRequestHandler to write an ETag response header.
Issue: SPR-13382
2015-08-25 16:49:10 +02:00
Brian Clozel
0b9c3de320
Sanitize request URL in ResourceUrlEncodingFilter
...
Prior to this change, ResourceUrlEncodingFilter and ResourceUrlProvider
would try to resolve the resource path using the full request URL (i.e.
request path and request parameters), whereas the request path is the
only information to consider.
This would lead to StringIndexOutOfBoundsExceptions when the path +
request params information was given to the AntPathMatcher.
This commit makes the appropriate change to both
ResourceUrlEncodingFilter and ResourceUrlProvider, in order to only
select the request path.
Issue: SPR-13374
2015-08-25 14:12:03 +02:00
Sebastien Deleuze
04cff89eb7
Update ScriptTemplateView to manage content type
...
This commit introduces the following changes:
- Content type can now be properly configured
- Default content type is "text/html"
- Content type and charset are now properly set in the response
Issue: SPR-13379
2015-08-25 01:02:12 +02:00
Brian Clozel
88405be8a5
Quote ETags set with ResponseEntity builder API
...
Prior to this change, trying to set an unquoted ETag with
`ResponseEntity`'s API would throw an `IllegalArgumentException`.
This commit automatically quotes ETag values set using ResponseEntity.
Issue: SPR-13378
2015-08-24 09:54:08 +02:00
Sam Brannen
2df3646e90
Let Jetty pick its own available port
...
In an attempt to make our Jetty-based integration tests more robust,
this commit discontinues use of SocketUtils for picking a random,
available port and instead lets the Jetty Server pick its own port.
2015-08-22 18:58:55 +02:00
Sam Brannen
6085be3a71
Assert status quo for finding annotations on bridged methods
2015-08-22 16:49:12 +02:00
Sam Brannen
914ba483b2
Clean up warnings in spring-websocket
2015-08-22 15:15:42 +02:00
Sam Brannen
732a655f82
Reinstate performance test group assumption in SockJS tests
2015-08-22 15:02:18 +02:00
Sam Brannen
a43d78ea55
Suppress warnings in tests in spring-jdbc
2015-08-21 23:56:01 +02:00
Juergen Hoeller
c685fd7c23
Polishing
2015-08-21 17:03:53 +02:00
Juergen Hoeller
6d1b8b5a31
SpringWebConstraintValidatorFactory for use with validation.xml
...
Issue: SPR-13327
2015-08-21 17:02:55 +02:00
Juergen Hoeller
79e24aeced
Upgrade to Hibernate ORM 5.0 GA
...
Issue: SPR-13002
2015-08-21 16:56:57 +02:00
Juergen Hoeller
05a16a1bfa
Avoid ambiguous property warning for methods with multiple parameters
...
Issue: SPR-13349
2015-08-21 16:55:04 +02:00
Rossen Stoyanchev
27899abcb6
Publish events only after successful channel send
...
The StompSubProtcolHandler now checks the outcome of the send to the
inbound client channel. If the message was prevented from being sent,
e.g. as part of authorization, events are not published
Issue: SPR-13339
2015-08-21 10:46:54 -04:00
Rossen Stoyanchev
473dd5e9e8
Unwrap if necessary for MultipartHttpServletRequest
...
Before this commit RequestPartServletServerHttpRequest simply did an
instanceof check for MultipartHttpServletRequest. That hasn't failed
because request wrapping typically happens in filters before the
DispatcherServlet calls the MultipartResolver.
With Spring MVC Test and the Spring Security integraiton however,
this order is reversed since there we prepare the multipart request
upfront, i.e. there is no actual parsing.
The commit unwraps the request if necessary.
Issue: SPR-13317
2015-08-21 10:28:08 -04:00
Stephane Nicoll
22948bd7f0
Add hook to create custom BeanPropertyBindingResult
...
Issue: SPR-13373
2015-08-20 19:50:37 +02:00
Sam Brannen
a3e7848a30
Clean up warnings and tests in spring-core
2015-08-20 15:49:33 +02:00
Sam Brannen
9ab4062317
Clean up warnings in tests in spring-jdbc
2015-08-19 23:29:57 +02:00
Sam Brannen
d54aab2338
Log connection URL for embedded databases
...
Prior to this commit, EmbeddedDatabaseFactory logged the name of an
embedded database just before it was created; however, the name alone
is not sufficient for connecting to the database via external tools
such as the H2 Web Console.
This commit updates EmbeddedDatabaseFactory to make it easier to
connect to embedded databases via external tools by logging the
complete connection URL for an embedded database as it's being created.
In addition, EmbeddedDatabaseFactory now logs when an embedded database
is being shut down.
Issue: SPR-13370
2015-08-19 22:22:11 +02:00
Sam Brannen
2025d5c35e
Polish Javadoc and log messages for embedded databases
2015-08-19 21:44:07 +02:00
Sam Brannen
0cd21aa55f
Fix typo in Javadoc for TestContextBootstrapper
2015-08-19 20:52:36 +02:00
Sebastien Deleuze
d4c74ad346
Add an ObjectMapper constructor to MappingJackson2(Json|Xml)View
...
Instead of having to use the default constructor then calling
setObjectMapper(ObjectMapper), these constructors allow
MappingJackson2JsonView and MappingJackson2XmlView to be created and
configured with the desired object mapper in one step.
2015-08-19 14:04:15 +02:00
xueyua
ddd6c9bea0
Fix typos in Web MVC documentation
2015-08-18 16:18:45 +02:00
Sebastien Deleuze
be7514f490
Polish Jackson2ObjectMapperBuilderTests
2015-08-18 14:28:16 +02:00
Craig Andrews
cccf5f65f5
Register jackson-datatype-jdk7 module when using Java 7
...
Issue: SPR-13354
2015-08-18 14:20:08 +02:00
Sebastien Deleuze
d53f0b995a
Polish GenericHttpMessageConverter
...
Issue: SPR-13318
2015-08-17 17:57:13 +02:00
Sebastien Deleuze
4338719d98
Serialize with type only collections in Jackson HttpMessageConverter
...
Issue: SPR-13318
2015-08-17 17:17:51 +02:00
Stephane Nicoll
71585c909a
Polish
2015-08-17 14:44:59 +02:00
Juergen Hoeller
3d2e2cb3ae
Upgrade to Reactor 2.0.5
2015-08-17 13:00:29 +02:00
Sam Brannen
94639d2dcf
Update @since tag in Eclipse code template to 4.2.1
2015-08-17 01:19:22 +02:00
Sam Brannen
68c39570fe
Revert "Increase randomness in SocketUtils"
...
This reverts commit d5944c4e39 .
2015-08-16 14:39:48 +02:00
Stephane Nicoll
21629d315c
Merge pull request #844 from paulvi/patch-1
...
* pr/844:
Add link to docs
2015-08-16 13:46:47 +02:00
Paul Verest
f486324b42
Add link to docs
...
Closes gh-844
2015-08-16 13:46:26 +02:00
Sam Brannen
d5944c4e39
Increase randomness in SocketUtils
2015-08-15 23:48:20 +02:00
Sam Brannen
1d3da12204
Clean up warnings
2015-08-15 21:30:32 +02:00
Sam Brannen
c572d0c469
Increase timeout in StompWebSocketIntegrationTests
...
... with hope of reducing the fragility of these tests on the CI server.
2015-08-15 21:30:17 +02:00
Sam Brannen
7a17abe448
Introduce empty & non-empty JsonPath matchers
...
This commit introduces new `isEmpty()` and `isNotEmpty()` methods in
`JsonPathResultMatchers` and `JsonPathRequestMatchers` which delegate
to the new `assertValueIsEmpty()` and `assertValueIsNotEmpty()` methods
in `JsonPathExpectationsHelper`, respectively.
Issue: SPR-13352
2015-08-15 19:28:09 +02:00
Sam Brannen
4799668a98
Introduce additional JsonPath RequestMatchers in Spring MVC Test
...
Commit fffdd1e9e9 introduced additional
JsonPath result matchers in JsonPathResultMatchers for server-side
testing of MVC controllers.
This commit introduces comparable methods in JsonPathRequestMatchers
for client-side testing with a RestTemplate.
- isString()
- isBoolean()
- isNumber()
- isMap()
Issue: SPR-13320
2015-08-15 14:56:57 +02:00
Sam Brannen
e4f386ae1e
Add regression test cases to JsonPathRequestMatchersTests
2015-08-15 14:15:13 +02:00
Sam Brannen
687af344de
Polishing
2015-08-15 14:13:52 +02:00
Sam Brannen
5ee24c8482
Polish Javadoc for JsonPathRequestMatchers, etc.
2015-08-15 13:55:30 +02:00
Sam Brannen
e7c95addeb
Rename test classes to avoid confusion
2015-08-15 13:33:26 +02:00
Stephane Nicoll
ae9b5c15c8
Merge pull request #857 from kazuki43zoo/SPR-12801
...
* pr/857:
Add missing @since tag
2015-08-15 09:08:01 +02:00
Kazuki Shimizu
93919204a1
Add missing @since tag
...
Issue: SPR-12801
2015-08-15 09:07:37 +02:00
Sam Brannen
d4d5e5ce40
Polishing
2015-08-14 22:45:10 +02:00
Sam Brannen
07bb0378b9
Differentiate b/t (in)definite results in JsonPath assertions
...
Prior to this commit, the exists() method in JsonPathExpectationsHelper
correctly asserted that the evaluated JsonPath expression resulted in a
value (i.e., that a non-null value exists); however, if the value was
an empty array, the exists() method always threw an AssertionError.
The existing behavior makes sense if the JsonPath expression is
'indefinite' -- for example, if the expression uses a filter to select
results based on a predicate for which there is no match in the JSON
document, but the existing behavior is illogical and therefore invalid
if the JsonPath expression is 'definite' (i.e., directly references an
array in the JSON document that exists but happens to be empty). For
example, prior to this commit, the following threw an AssertionError.
new JsonPathExpectationsHelper("$.arr").exists("{ 'arr': [] }");
Similar arguments can be made for the doesNotExist() method.
After thorough analysis of the status quo, it has become apparent that
the existing specialized treatment of arrays is a result of the fact
that the JsonPath library always returns an empty list if the path is
an 'indefinite' path that does not evaluate to a specific result.
Consult the discussion on "What is Returned When?" in the JsonPath
documentation for details:
https://github.com/jayway/JsonPath#what-is-returned-when
This commit addresses these issues by ensuring that empty arrays are
considered existent if the JsonPath expression is definite but
nonexistent if the expression is indefinite.
Issue: SPR-13351
2015-08-14 22:07:03 +02:00
Sam Brannen
d2503340e7
Polish assertion msgs in JsonPathExpectationsHelper
2015-08-14 20:38:50 +02:00
Sam Brannen
af8d9eab59
Polish Javadoc for JsonPathExpectationsHelper
2015-08-14 17:59:12 +02:00
Sam Brannen
5a05cdbedb
Consider empty arrays as existent in JsonPath assertions
...
Prior to this commit, a JsonPath assertion that a path expression
evaluated to an array in JsonPathExpectationsHelper (and therefore
indirectly in JsonPathResultMatchers in Spring MVC Test) would
incorrectly fail if the array was present in the JSON content but empty.
This commit fixes this issue by removing the "not empty" check for
arrays and lists.
Issue: SPR-13320
2015-08-14 17:20:07 +02:00
Sam Brannen
8afea1bc78
Add tests to JsonPathExpectationsHelperTests
2015-08-14 17:10:28 +02:00
Sam Brannen
0dbbbce8d5
Polish JsonPathResultMatchersTests
2015-08-14 17:07:23 +02:00
Sam Brannen
ecb15ac58b
Polish assertion msgs in JsonPathExpectationsHelper
2015-08-14 17:04:34 +02:00
Stephane Nicoll
bad57f752a
Merge pull request #856 from kazuki43zoo/SPR-13350
...
* pr/856:
Fix default value of CommonsPool2TargetSource#maxWait
2015-08-14 16:34:58 +02:00
Kazuki Shimizu
9524f96405
Fix default value of CommonsPool2TargetSource#maxWait
...
Issue: SPR-13350
2015-08-14 16:34:32 +02:00
Sam Brannen
44a7c78753
Overhaul CauchoRemotingTests & reinstate SimpleHessianServiceExporter test
2015-08-13 21:27:49 +02:00
Sam Brannen
2c120d0d28
Clean up warnings in spring-web tests
2015-08-13 16:04:52 +02:00
Sam Brannen
be2f56262b
Make FormHttpMessageConverterTests more robust
2015-08-13 15:06:39 +02:00
Rossen Stoyanchev
7defbfc18b
Ensure concurrent WebSocketSession wrapper is used
...
Issue: SPR-13326
2015-08-13 08:00:24 -04:00
Rossen Stoyanchev
257cc63141
Restore order in AllEncompassingFormHttpMessageConverter
...
Issue: SPR-13309
2015-08-13 07:45:25 -04:00
Rossen Stoyanchev
28a42d1482
Polish FromHttpMessageConverterTests
2015-08-13 07:30:09 -04:00
Juergen Hoeller
3a5cc3df80
JCacheEhCache3Tests enforces EhCache 3.0's CachingProvider
...
Issue: SPR-13342
2015-08-12 23:09:16 +02:00
Rossen Stoyanchev
f5210ce0c8
Ensure headers committed immediately for SseEmitter
...
Issue: SPR-13341
2015-08-12 15:05:29 -04:00
Juergen Hoeller
4dd6b789ef
Upgrade to Objenesis 2.2
...
Issue: SPR-13228
2015-08-12 19:54:43 +02:00
Sam Brannen
f47bbb0d9e
Polish tests
2015-08-12 19:35:45 +02:00
Gary Russell
f15140415a
Properly detect available port on localhost in SocketUtils
...
SocketUtils is used to find available ports on localhost; however,
prior to this commit, SocketUtils incorrectly reported a port as
available on localhost if another process was already bound to
localhost on the given port but not to other network interfaces. In
other words, SocketUtils determined that a given port was available for
some interface though not necessarily for the loopback interface.
This commit addresses this issue by refactoring SocketUtils so that it
tests the loopback interface to ensure that the port is actually
available for localhost.
Issue: SPR-13321
2015-08-12 18:45:52 +02:00
Juergen Hoeller
e0f012f32d
Removal of redundant JdkVersion checks in the test suite
...
Issue: SPR-13312
2015-08-12 18:42:36 +02:00
Rossen Stoyanchev
6e1567b4b0
Add WebSphereRequestUpgradeStrategy
...
Tested with Aug 2015 WAS Liberty Beta for the upcoming 8.5.5.7 release.
Issue: SPR-12367
2015-08-12 11:49:58 -04:00
Juergen Hoeller
a369fc8afd
Introduce SmartMessageConverter interface with conversionHint arguments
...
Issue: SPR-13343
2015-08-12 17:45:46 +02:00
Juergen Hoeller
5e9a96817b
Completely remove JdkVersion check from Jaxb2Marshaller
...
Issue: SPR-13312
2015-08-12 17:45:37 +02:00
Sam Brannen
acb44f9d46
Suppress warnings regarding deprecated JdkVersion
...
Issue: SPR-13312
2015-08-12 17:36:28 +02:00
Sam Brannen
27e9db8c8c
Fix regression in Jaxb2Marshaller regarding JdkVersion
...
Issue: SPR-13312
2015-08-12 17:35:03 +02:00
Juergen Hoeller
d8794a1edc
Test against EhCache 3.0 M2 (as a JCache provider)
...
Includes latest dependency updates (Jackson 2.6.1, Jetty 9.3.2, Undertow 1.2.10)
Issue: SPR-13342
2015-08-12 16:16:25 +02:00
Juergen Hoeller
bec3b0fa1a
Deprecate JdkVersion (for optimistic compatibility with newer JDK generations)
...
Issue: SPR-13312
2015-08-12 16:14:43 +02:00
Sam Brannen
e20b47c3bc
Ensure local aliases don't override meta-annotation
...
This commit introduces an additional test case to ensure that explicit
local attribute aliases (configured via @AliasFor) do not accidentally
override attributes of the same names in meta-annotations (i.e., by
convention).
Issue: SPR-13325
2015-08-12 14:38:01 +02:00
Sam Brannen
4317e76e79
Polish AnnotationUtilsTests
2015-08-12 14:36:54 +02:00
Sam Brannen
b5a6707137
Fix layout in What's New section
2015-08-11 23:48:15 +02:00
Juergen Hoeller
e841cad577
Deprecation polishing
2015-08-11 13:59:31 +02:00
Juergen Hoeller
f88ad8dd7a
Upgrade to Hibernate ORM 4.3.11 and 5.0 RC4
2015-08-11 13:58:42 +02:00
Sam Brannen
3cd5210b94
Polish usage of global versions in Gradle build
2015-08-10 17:41:26 +02:00
Sam Brannen
a22dd68646
Upgrade HSQL & Selenium dependencies
2015-08-10 17:26:05 +02:00
Sam Brannen
5deeaf348a
Polish SynthesizedAnnotation support classes
2015-08-10 15:40:25 +02:00
Sam Brannen
f17173f6d5
Synthesize nested maps into annotations
...
Prior to this commit, attempting to synthesize an annotation from a map
of annotation attributes that contained nested maps instead of nested
annotations would result in an exception.
This commit addresses this issue by properly synthesizing nested maps
and nested arrays of maps into nested annotations and nested arrays of
annotations, respectively.
Issue: SPR-13338
2015-08-10 14:55:54 +02:00
Sam Brannen
8289036165
Throw exception if required meta-annotation is not present
...
It is a configuration error if an alias is declared via @AliasFor for
an attribute in a meta-annotation and the meta-annotation is not
meta-present. However, prior to this commit, the support for validating
the configuration of @AliasFor in AnnotationUtils currently silently
ignored such errors.
This commit fixes this by throwing an AnnotationConfigurationException
whenever a required meta-annotation is not present or meta-present on
an annotation that declares an explicit alias for an attribute in the
meta-annotation.
Issue: SPR-13335
2015-08-09 19:14:29 +02:00
Sam Brannen
78ff4ff542
Polish AnnotationUtilsTests
2015-08-09 16:48:38 +02:00
Sam Brannen
f3da7b810b
Polish HtmlUnitRequestBuilder
2015-08-08 00:27:00 +02:00
Sam Brannen
93c07e76bc
Return null instead of empty cookies array in Spring MVC Test
...
Prior to this commit, MockHttpServletRequestBuilder always supplied an
array of cookies to the MockHttpServletRequest that it built, even if
the array was empty.
However, this violates the contract of HttpServletRequest. According to
the Servlet API, the getCookies() method "returns null if no cookies
were sent."
This commit ensures that MockHttpServletRequestBuilder no longer
configures an empty array of cookies in the mock request that it builds.
Issue: SPR-13314
2015-08-07 01:00:12 +02:00
Sam Brannen
35dd3078ef
Merge pull request #854 from candrews/SPR-13320
...
* SPR-13320:
Introduce additional JsonPath matchers in Spring MVC Test
2015-08-07 00:25:33 +02:00
Craig Andrews
fffdd1e9e9
Introduce additional JsonPath matchers in Spring MVC Test
...
This commit introduces the following methods in JsonPathResultMatchers
in the Spring MVC Test framework.
- isString()
- isBoolean()
- isNumber()
- isMap()
In addition, this commit overhauls the Javadoc in
JsonPathResultMatchers and JsonPathExpectationsHelper.
Issue: SPR-13320
2015-08-06 22:08:24 +02:00
Sam Brannen
48b965ad33
Improve performance of NumberUtils
...
This commit aims to improve the space and time performance of
NumberUtils by invoking valueOf() factory methods instead of the
corresponding constructors when converting a number to a target class.
2015-08-06 19:42:03 +02:00
Sam Brannen
e0392d9da5
Polish NumberUtilsTests
2015-08-06 19:31:44 +02:00
Sam Brannen
15033c1cc9
Polish Javadoc for NumberUtils
2015-08-06 19:21:02 +02:00
Sam Brannen
c8d604bf05
Ensure @AliasFor overrides attribute in correct meta-annotation
...
Prior to this commit, an explicit override for an attribute in a
meta-annotation configured via @AliasFor could potentially result in an
incorrect override of an attribute of the same name but in the wrong
meta-annotation.
This commit fixes the algorithm in getAliasedAttributeName(Method,
Class) in AnnotationUtils by ensuring that an explicit attribute
override is only applied to the configured target meta-annotation
(i.e., configured via the 'annotation' attribute in @AliasFor).
Issue: SPR-13325
2015-08-06 19:04:08 +02:00
Stephane Nicoll
1a659e3c1d
Polish
2015-08-05 08:36:01 +02:00
Juergen Hoeller
01bc2519c5
Upgrade to AspectJ 1.9 beta 2 (for build compatibility with JDK 9 build 74+)
...
Issue: SPR-13297
2015-08-03 21:35:57 +02:00
Stephane Nicoll
a3f39d5257
Add missing 4.2 XSDs
...
Issue: SPR-13300
2015-08-01 09:50:36 +02:00
Stephane Nicoll
92d266f489
Merge pull request #851 from making/patch-1
...
* pr/851:
Remove type parameter of ResponseBodyEmitter
2015-07-31 17:46:12 +02:00
Toshiaki Maki
1ef0015eb2
Remove type parameter of ResponseBodyEmitter
...
Closes gh-851
2015-07-31 17:45:53 +02:00
Spring Buildmaster
1a8e6653b8
Next Development Version
2015-07-31 02:03:23 -07:00
Sam Brannen
731eccf524
Link to Annotation Programming Model from What's New
...
Issue: SPR-11515
2015-07-30 23:43:02 +02:00
Sam Brannen
4d6f143f85
Add link to 'Spring Annotation Programming Model' Wiki page
...
Issue: SPR-11515
2015-07-30 22:33:13 +02:00
Juergen Hoeller
1a088f0957
Upgrade to Hibernate Validator 5.2.1
2015-07-30 22:09:13 +02:00
Sam Brannen
c91c93c816
Polish reference manual
2015-07-30 21:31:40 +02:00
Juergen Hoeller
8bc2bffa77
JSR-223 coverage in new-in-4.2
2015-07-30 19:36:38 +02:00
Juergen Hoeller
9ef38807e6
Polishing
2015-07-30 19:34:33 +02:00
Juergen Hoeller
2c2bed2adb
ResourceBundleMessageSource checks containsKey before calling getString
...
Issue: SPR-13295
2015-07-30 19:34:12 +02:00
Rossen Stoyanchev
27cd87926a
StandardServletAsyncWebRequest handling for onError
...
This change ensures that an onError outcome from an async request is
also routed to onCompletion handlers registered with
StandardServletAsyncWebRequest.
Issue: SPR-13292
2015-07-30 10:59:04 -04:00
Rossen Stoyanchev
24285956a5
Polish
2015-07-30 10:59:04 -04:00
Brian Clozel
80767ff6e9
Use sendError in ResponseStatusExceptionResolver
...
Prior to this commit, the `ResponseStatusExceptionResolver` would use:
* `HttpServletResponse.sendError` if both a status and a reason are set
on the `@ResponseStatus` annotation
* `HttpServletResponse.setStatus` if only a status is set on the
`@ResponseStatus` annotation
This is actually a change of behavior, since this Resolver was using
`sendError` in all cases previously.
Because this change can create issues such as
https://github.com/spring-projects/spring-boot/issues/3623
this commit rollbacks those changes and clarifies the behavior on the
javadoc of the annotation itself.
Issue: SPR-11193, SPR-13226
2015-07-30 16:10:01 +02:00
Sam Brannen
1ff3af6da3
Improve Javadoc for Ordered/@Order regarding sort semantics
2015-07-30 15:24:04 +02:00
Sam Brannen
a07ba695b0
Make @Order @Documented
2015-07-30 15:21:32 +02:00
Juergen Hoeller
e8ef3654c6
Polishing
2015-07-30 12:16:59 +02:00
Juergen Hoeller
04348901f8
Unified createRequestConfig(Object) method, avoiding getInternalRequestConfig()
...
Issue: SPR-13125
2015-07-30 12:15:37 +02:00
Juergen Hoeller
10a2f50130
Overridable invokeHandlerMethod and createInvocableHandlerMethod hooks
...
Issue: SPR-13293
2015-07-30 12:13:06 +02:00
Juergen Hoeller
b1d6ae77e1
Polishing
2015-07-30 00:08:36 +02:00
Juergen Hoeller
b35103cc5c
Latest dependency updates (Hibernate ORM 5.0 RC3, Netty 4.0.30, JOpt Simple 4.9)
2015-07-30 00:00:28 +02:00
Sam Brannen
72c4e6157c
Polish appendices in the reference manual
2015-07-29 22:26:56 +02:00
Sam Brannen
754b7672f4
Document Spring's JUnit Rules in the reference manual
...
Issue: SPR-13037
2015-07-29 22:03:44 +02:00
Sam Brannen
bfdf6b7b3a
Document unique names for embedded databases in reference manual
...
Issue: SPR-12839
2015-07-29 21:15:39 +02:00
Sam Brannen
fb07be55b5
Fix formatting and punctuation errors in reference manual
2015-07-29 21:14:16 +02:00
Sam Brannen
e0fbd2d5b9
Reorganize embedded database sections in reference manual
2015-07-29 20:43:30 +02:00
Sam Brannen
c5b9b396aa
Polish embedded database sections in reference manual
2015-07-29 20:35:59 +02:00
Sam Brannen
1c8ac2b2aa
Update @AliasFor Javadoc regarding new 'value' alias
...
Issue: SPR-13289
2015-07-29 16:08:42 +02:00
Sam Brannen
725292081e
Introduce 'value' alias for 'attribute' in @AliasFor
...
SPR-11512 introduced support for annotation attribute aliases via
@AliasFor, requiring the explicit declaration of the 'attribute'
attribute. However, for aliases within an annotation, this explicit
declaration is unnecessary.
This commit improves the readability of alias pairs declared within an
annotation by introducing a 'value' attribute in @AliasFor that is an
alias for the existing 'attribute' attribute. This allows annotations
such as @ContextConfiguration from the spring-test module to declare
aliases as follows.
public @interface ContextConfiguration {
@AliasFor("locations")
String[] value() default {};
@AliasFor("value")
String[] locations() default {};
// ...
}
Issue: SPR-13289
2015-07-29 15:27:06 +02:00
Juergen Hoeller
90493f49e6
Notes about autowiring in configuration classes and late registration scenarios
...
Issue: SPR-12970
Issue: SPR-13285
2015-07-29 13:18:15 +02:00
Juergen Hoeller
ff46cec58f
Polishing
2015-07-29 12:40:35 +02:00
Juergen Hoeller
e1a0c50046
Revised UriComponentsBuilder assertions
...
Issue: SPR-13257
2015-07-29 12:39:41 +02:00
Juergen Hoeller
291550a484
AntPathMatcher allows for case-insensitive matching
...
Issue: SPR-13286
2015-07-29 12:38:41 +02:00
Juergen Hoeller
965fca808a
Polishing
2015-07-29 01:08:16 +02:00
Juergen Hoeller
faab220946
Initial test for Jackson-based JMS reply
...
Issue: SPR-13237
2015-07-29 01:06:38 +02:00
Juergen Hoeller
02d05ed133
Consistent lookup of parameter-level JsonView annotation
...
Issue: SPR-13265
2015-07-29 01:05:25 +02:00
Rossen Stoyanchev
b7bdd724b2
Simplify use of headers for SockJsClient requests
...
Before this change, XhrTransport implementations had to be configured
with the headers to use for HTTP requests other than the initial
handshake.
After this change the handshake headers passed to SockJsClient by
default are used for all other HTTP requests related to the SockJS
connection (e.g. info request, xhr send/receive). A property on
SockJsClient allows restricting the headers to use for other HTTP
requests to a subset of the handshake headers.
Issue: SPR-13254
2015-07-28 14:22:33 -04:00
Rossen Stoyanchev
9f557cf930
Polish SockJS client
2015-07-28 14:22:33 -04:00
Sam Brannen
6a59d00576
Fix references and typos in Spring MVC Test Javadoc
...
This commit fixes numerous references to 'legacy' packages within the
Javadoc for the Spring MVC Test framework.
In addition, this commit improves examples in Javadoc, adds links to
related classes where appropriate, and removes unnecessary imports for
types that are only referenced within documentation.
Issue: SPR-13284
2015-07-28 19:44:47 +02:00
Sam Brannen
8de7848ab3
Polish HtmlUnit support in the reference manual
...
Issues SPR-13158
2015-07-28 18:46:18 +02:00
Juergen Hoeller
b74377932c
Deprecate native JRuby support
...
Issue: SPR-13283
2015-07-28 16:00:09 +02:00
Juergen Hoeller
d83735694e
Polishing
2015-07-28 12:15:48 +02:00
Juergen Hoeller
9e62c8efa1
DefaultHandlerExceptionResolver logs warn entries for conversion exceptions
...
Issue: SPR-13267
2015-07-28 12:14:42 +02:00
Juergen Hoeller
f0ac2784a4
Removed unused fields from ConfigurationClassBeanDefinitionReader
...
Issue: SPR-11740
Issue: SPR-13280
2015-07-28 12:08:54 +02:00
Rossen Stoyanchev
4b4efa9f6e
Placeholder support for STOMP @MessageMapping methods
...
Issue: SPR-13271
2015-07-27 16:54:21 -04:00
Rossen Stoyanchev
a65e0369f4
Polish SimpAnnotationMethodMessageHandlerTests
2015-07-27 16:54:21 -04:00
Sam Brannen
29e6272c6b
Polish
2015-07-27 22:44:42 +02:00
Sam Brannen
9023cf6ae0
Redesign MockMvcHtmlUnitDriverBuilder API
...
This commit introduces a dedicated build() method in
MockMvcHtmlUnitDriverBuilder to replace createDriver(). In addition,
the configureDriver() method has been renamed to withDelegate() and now
returns the builder for further customization.
This commit also overhauls the Javadoc for static factory methods and
the class-level Javadoc in MockMvcHtmlUnitDriverBuilder for greater
clarity to end users.
Issues SPR-13158
2015-07-27 22:41:22 +02:00
Sam Brannen
af73aae1d5
Polish & fix copy-n-paste errors in HtmlUnit reference
...
Issues SPR-13158
2015-07-27 22:32:37 +02:00
Sam Brannen
3b84a7e84d
Redesign MockMvcWebClientBuilder API
...
This commit introduces a dedicated build() method in
MockMvcWebClientBuilder to replace createWebClient(). In addition, the
configureWebClient() method has been renamed to withDelegate() and now
returns the builder for further customization.
This commit also overhauls the constructor and class-level Javadoc in
MockMvcWebClientBuilder for greater clarity to end users.
Issues SPR-13158
2015-07-27 19:48:01 +02:00
Sam Brannen
288d253b8b
Introduce support for conditional lambda execution in Spring's Assume
2015-07-27 19:48:01 +02:00
Sam Brannen
3d6f465625
Polish Javadoc in HtmlUnit support
2015-07-27 19:47:43 +02:00
Sam Brannen
680936f4a2
Rename configureWebClient() to modifyWebClientInternal() in HtmlUnit support
...
This commit renames the configureWebClient() method in
WebConnectionHtmlUnitDriver to modifyWebClientInternal() in order to
better convey the relationship to HtmlUnitDriver#modifyWebClient().
Issues SPR-13158
2015-07-27 18:04:13 +02:00
Rob Winch
484ac5e242
Polish Javadoc
...
Issue: SPR-13158
2015-07-27 10:39:15 -05:00
Rob Winch
e998c450e6
Add Assume PERFORMANCE to needed HtmlUnit Tests
...
Some of the HtmlUnit Tests required an internet connection. This
caused failures when running offline.
This commit adds Assume PERFORMANCE to those tests so they are
only ran when the PERFORMANCE group is selected.
Issue: SPR-13158
2015-07-27 10:29:30 -05:00
Juergen Hoeller
14f27bda37
Prefer use of "Java EE" over "J2EE"
2015-07-27 15:32:56 +02:00
Juergen Hoeller
e5a2b34829
Clarify acknowledge mode semantics and transaction recommendations
...
Issue: SPR-13278
2015-07-27 15:32:18 +02:00
Brian Clozel
0e2e6cf045
Polish WebJarsResourceResolver
...
Follow up to accb8519fd - same fix when resolving missing resources or
resolving a public URL for these resources.
2015-07-27 15:06:51 +02:00
Sam Brannen
0b0a5a9ed4
Polish tests for HtmlUnit support
2015-07-27 14:30:46 +02:00
Brian Clozel
accb8519fd
Polish WebJarsResourceResolver
...
Fix a potential NPE when trying to resolve non-existing webjars
resources in the resolver chain.
2015-07-27 14:16:09 +02:00
Sam Brannen
40ea9ffd63
Remove unnecessary imports
2015-07-27 13:06:54 +02:00
Sam Brannen
b6c0e7cba3
Remove trailing whitespace in Java source code
2015-07-27 12:40:54 +02:00
Sam Brannen
98c7a63bb7
Merge pull request #825 from rwinch/SPR-13158
...
* SPR-13158:
Polish MockMvc HtmlUnit Support
Ensure spring-test builds against HttpComponents 4.5
Upgrade to HtmlUnit 2.18 GA
Mention HtmlUnit support in the What's New section
Introduce support for HtmlUnit in Spring MVC Test
2015-07-27 12:07:30 +02:00
Sam Brannen
d21ad29982
Polish MockMvc HtmlUnit Support
...
- formatting
- code style
- organized imports
- precondition assertions
- suppressed warnings
- Javadoc enhancements
Issue: SPR-13158
2015-07-27 12:03:21 +02:00
Sam Brannen
8ff247b17a
Ensure spring-test builds against HttpComponents 4.5
...
This is necessary to ensure that the version of HtmlUnit that we use is
compatible with HttpComponents 4.5.
Issue: SPR-13158
2015-07-27 12:03:21 +02:00
Sam Brannen
7d16e3b97c
Upgrade to HtmlUnit 2.18 GA
...
Issue: SPR-13158
2015-07-27 12:03:21 +02:00
Sam Brannen
bc1f0d3bdc
Mention HtmlUnit support in the What's New section
...
Issue: SPR-13158
2015-07-27 12:03:21 +02:00
Rob Winch
b73e39423c
Introduce support for HtmlUnit in Spring MVC Test
...
This commit introduces integration between MockMvc and HtmlUnit, thus
simplifying end-to-end testing when using HTML-based views and enabling
developers to do the following.
- Easily test HTML pages using tools such as HtmlUnit, WebDriver, & Geb
without the need to deploy to a Servlet container
- Test JavaScript within pages
- Optionally test using mock services to speed up testing
- Share logic between in-container, end-to-end tests and
out-of-container integration tests
Issue: SPR-13158
2015-07-27 12:03:21 +02:00
Sam Brannen
c5a037a5cf
Delete unused Spring Security config file
2015-07-26 20:54:53 +02:00
Sam Brannen
5b8b1dd378
Clean up database tests in spring-test
2015-07-26 20:54:27 +02:00
Sam Brannen
aae0bd2fb4
Update TODO for SPR-13280
2015-07-25 21:53:09 +02:00
Sam Brannen
47e1724d0e
Deprecate TxConfigAttributes alongside @TxConfig
...
Since @TransactionConfiguration is now deprecated, this commit also
deprecates TransactionConfigurationAttributes with the intention of
completely removing TransactionConfigurationAttributes once
@TransactionConfiguration has been removed.
Issue: SPR-13277
2015-07-25 21:29:57 +02:00
Sam Brannen
d6bdfcaa6e
Introduce @Commit alias for @Rollback(false)
...
Due to common usage of @Rollback(false), this commit introduces a new
@Commit annotation that more clearly conveys the intent of the code
while retaining the run-time semantics.
@Commit is in fact meta-annotated with @Rollback(false).
Issue: SPR-13279
2015-07-25 21:09:32 +02:00
Sam Brannen
baa66f7bfa
Polishing
2015-07-25 18:43:47 +02:00
Sam Brannen
c4bbc9df33
Migrate @TxConfig usage to @Rollback & @Transactional qualifiers
...
Issue: SPR-13276, SPR-13277
2015-07-25 18:41:50 +02:00
Sam Brannen
3f8b51283e
Support @Rollback on classes & deprecate @TxConfig
...
Since Spring Framework 2.5, @Rollback has been supported on test
methods, with class-level rollback settings configured via
@TransactionConfiguration; however, allowing @Rollback to be declared
on test classes with method-level declarations overriding class-level
declarations would prove more intuitive than having to declare both
@TransactionConfiguration and @Rollback. Furthermore, the
transactionManager flag in @TransactionConfiguration was made
superfluous many years ago with the introduction of support for a
qualifier in @Transactional.
This commit enables @Rollback to be declared at the class level for
default rollback semantics within test class hierarchies and deprecates
@TransactionConfiguration in favor of @Rollback and @Transactional
qualifiers.
Issue: SPR-13276, SPR-13277
2015-07-25 18:22:26 +02:00
Juergen Hoeller
efd7f9bf72
Polishing
2015-07-24 18:24:19 +02:00
Juergen Hoeller
e1cce309ae
DispatcherServlet passes resolved multipart request into applyDefaultViewName
...
Issue: SPR-13272
2015-07-24 18:19:27 +02:00
Juergen Hoeller
0f54f686b2
PayloadArgumentResolver supports JsonView as well (through AbstractMessageConverter revision)
...
AbstractMessageConverter provides overloaded methods with a conversion hint, MappingJackson2MessageConverter takes that hint into account, and SimpMessagingTemplate transformes such a hint in the given headers map into an explicit argument invocation argument.
Issue: SPR-13265
2015-07-24 17:50:31 +02:00
Sam Brannen
24b1dc14d2
Reduce scope of suppressed deprecation warnings in SpringJUnit4ClassRunner
2015-07-24 16:51:41 +02:00
Sam Brannen
dede31eeed
Polish Javadoc in @Timed & @Repeat
2015-07-24 16:51:01 +02:00
Sebastien Deleuze
8e5244ac3d
Polish script templating documentation
2015-07-24 00:00:24 +02:00
Sam Brannen
2a995ae246
Polish syntax in build.gradle
2015-07-23 21:13:05 +02:00
Sam Brannen
0e67adb3a9
Update list of annotations supporting @AliasFor
2015-07-23 19:15:18 +02:00
Sam Brannen
2afbfb2c0d
Polishing
2015-07-23 13:32:26 +02:00
Brian Clozel
43e36e2dee
Improve DateHeaders in MockServletRequest/Response
...
Prior to this change, calling the `setDateHeader` method on a
Spring Test MockHttpServletResponse instance would just store the given
long value in a Map, not writing it as a formatted date String.
Also, calling `getDateHeader` on a MockHttpServletRequest would not
support date strings and could not parse those values.
This can be problematic when testing features related to date headers
such as "Expires", "If-Modified-Since", "Last-Modified", etc.
This commit adds formatting and parsing capabilities to Servlet Mocks
for date strings in HTTP headers.
When formatting dates to Strings, the date format used is the one
preferred by the HTTP RFC. When parsing date Strings, multiple date
formats are supported for better compatibility.
Issue: SPR-11912
2015-07-23 11:12:28 +02:00
Sam Brannen
3c799e6e05
Do not reuse mock requests in Spring MVC Test
...
SPR-13211 introduced support for reusing mock requests in Spring MVC
Test if the request was created by the the Spring TestContext
Framework. Unfortunately, that change makes it impossible for
MockMvc.perform() to be invoked multiple times within the same test
method without side effects. For example, session attributes and
request parameters are transparently and unexpectedly retained for
subsequent invocations of perform(), causing certain categories of
tests to fail.
This commit reverts the changes introduced in SPR-13211 and introduces
a new MockMvcReuseTests class to serve as regression tests within
Spring's test suite.
Issue: SPR-13260, SPR-13211
2015-07-22 17:50:05 +02:00
Sam Brannen
758a470d63
Include attribute/session name in assertions in RequestResultMatchers
2015-07-22 16:56:28 +02:00
Sam Brannen
bb51447860
Fix typos in RequestResultMatchers
2015-07-22 16:46:13 +02:00
Juergen Hoeller
f06581f5b8
Polishing
2015-07-22 14:20:12 +02:00
Juergen Hoeller
8196af4bc5
UriComponentsBuilder.fromUriString accepts empty URIs
...
Issue: SPR-13257
2015-07-22 14:17:16 +02:00
Brian Clozel
27bd8d0374
Polish documentation on HTTP date formats
2015-07-22 11:40:05 +02:00
Brian Clozel
cf2aed9d00
Add a dateValue HeaderResultMatcher
...
HTTP headers such as "Expires", "Last-Modified" all use date
strings like "Tue, 21 Jul 2015 10:00:00 GMT". Prior to this commit,
there was no way to match those header values, besides formatting dates
manually.
This commit introduces a new HeaderResultMatcher to test those date
headers using a long timestamp:
```
this.mockMvc.perform(get("/persons/1").header("If-Modified-Since", now))
.andExpect(status().isNotModified())
.andExpect(header().dateValue("Last-Modified", timestamp));
```
Issue: SPR-13263
2015-07-22 11:22:44 +02:00
Sam Brannen
ed20b3771c
Clean up warnings on Hibernate support code
2015-07-21 23:39:07 +02:00
Juergen Hoeller
edd6e76b9f
Polishing
2015-07-21 22:58:34 +02:00
Juergen Hoeller
1a636b1023
Polishing
2015-07-21 20:33:13 +02:00
Juergen Hoeller
7c22d60fd8
Streamlined WebContentGenerator API variants: checkRequest, prepareResponse, applyCacheControl, applyCacheSeconds
...
Issue: SPR-11792
2015-07-21 20:33:03 +02:00
Juergen Hoeller
b277c081e7
Upgrade to Hibernate Validator 5.2 GA and Jackson 2.6 GA
2015-07-21 20:20:45 +02:00
Sam Brannen
dd0966e1f5
Cross reference Servlet API mocks in Testing chapter
2015-07-21 18:26:03 +02:00
Sam Brannen
d67d8ddf2d
Fix formatting
2015-07-21 18:24:52 +02:00
Sam Brannen
2dfa1804f4
Document AopTestUtils in the reference manual
...
Issue: SPR-13006
2015-07-21 17:32:30 +02:00
Sam Brannen
420e8ca833
Sync Javadoc and reference manual regarding ReflectionTestUtils
2015-07-21 17:10:00 +02:00
Sam Brannen
6b84c332fd
Polishing
2015-07-21 15:13:21 +02:00
Brian Clozel
088a50c1fb
Improve setDateHeader impl in MockServletResponse
...
Prior to this change, calling the `setDateHeader` method on a
MockHttpServletResponse instance (internal implementation for testing
the spring-web module) would just store the given long value in a Map,
not writing it as a formatted date String.
This can be problematic when testing features related to date headers
such as "Expires", "If-Modified-Since", "Last-Modified", etc.
This commit formats long dates into date Strings using the date format
recommended by the RFC and the GMT time zone.
2015-07-21 14:28:44 +02:00
Brian Clozel
eef937e4f2
Rename <mvc:cachecontrol/> to <mvc:cache-control/>
2015-07-21 12:09:25 +02:00
Brian Clozel
9149bf7ad4
Polish
2015-07-21 11:57:02 +02:00
Brian Clozel
327785d19e
Fix typo in resource handling reference doc
2015-07-21 10:36:14 +02:00
Felix
09e3fc40e5
Reset Pragma header in WebContentGenerator
...
As filter-based libraries and projects (such as Spring Security) may
use the "Pragma" header in HTTP responses, WebContentGenerator should
make sure that such headers are overwritten to avoid clashes with
the HTTP caching headers set by the HTTP caching configuration.
Issue: SPR-13252
2015-07-21 10:08:04 +02:00
Sam Brannen
d8fb6c557d
Delete unused imports in HeaderAssertionTests
2015-07-20 23:57:46 +02:00
Brian Clozel
dba46c1358
Partial revert of SPR-13090
...
Use ServletHttpResponse.setDateHeader whenever possible and avoid using
SimpleDateFormat.
2015-07-20 22:48:20 +02:00
Sam Brannen
19fcb72d70
Polish Javadoc in the Spring MVC Test Framework
2015-07-20 22:41:30 +02:00
Sam Brannen
bf06bf33ab
Reuse mock request from the TCF in Spring MVC Test
...
Prior to this commit, the Spring MVC Test Framework always created a
new MockHttpServletRequest, disregarding any mock request already
present in Spring Web's RequestContextHolder -- for example, one
created by the ServletTestExecutionListener in the Spring TestContext
Framework (TCF).
This commit modifies MockHttpServletRequestBuilder so that it reuses a
mock request created by the TCF. However,
MockMultipartHttpServletRequestBuilder continues to always create a new
MockMultipartHttpServletRequest since a MockHttpServletRequest created
by the TCF is not directly compatible with a
MockMultipartHttpServletRequest. Furthermore, in order to avoid
unforeseen side effects, MockHttpServletRequestBuilder will always
create a new MockHttpServletRequest if a mock request is present in the
RequestContextHolder but not created by the TCF.
Issue: SPR-13211
2015-07-20 22:41:29 +02:00
Sam Brannen
24ff4f56e1
Introduce logging in TomcatWebSocketTestServer
...
This commit replaces calls to System.out.println() with explicit logging.
2015-07-20 17:03:44 +02:00
Sam Brannen
0153913ef4
Polish and simplify EnableSchedulingTests
2015-07-20 14:55:48 +02:00
Sam Brannen
c3e36ad960
Polish further resources section in Testing chapter
2015-07-20 14:39:35 +02:00
Juergen Hoeller
34a81b605a
PropertyOrFieldReference defensively catches Exception instead of just AccessException
...
Issue: SPR-13247
2015-07-20 13:04:34 +02:00
Juergen Hoeller
cad0665187
Fixed exception message expectation plus formatting
...
Issue: SPR-13236
2015-07-20 13:01:14 +02:00
Sebastien Deleuze
57d55ddd56
Polish CorsFilter Javadoc
2015-07-20 11:14:37 +02:00
Sebastien Deleuze
70a03ee2a4
Rename CorsConfigurationMapping to UrlBasedCorsConfigurationSource
...
Issue: SPR-13192
2015-07-20 10:47:24 +02:00
Sam Brannen
e9f64cf9ae
Sync Servlet mocks between spring-test & spring-web
2015-07-19 20:23:51 +02:00
Sam Brannen
6950d977c2
Polish and simplify DispatcherServletInitializerTests
2015-07-19 19:52:38 +02:00
Sam Brannen
9124907b29
Polish and simplify Jackson2ObjectMapperFactoryBeanTests
2015-07-19 19:29:12 +02:00
Sam Brannen
5f3506ae8f
Suppress build warnings in tests
2015-07-19 19:28:16 +02:00
Sam Brannen
0d0e879ed0
Upgrade to TestNG 6.9.6
2015-07-17 23:17:07 +03:00
Juergen Hoeller
c3e57dd245
AsyncAnnotationBeanPostProcessor tries to find TaskExecutor by type/name
...
Issue: SPR-13248
2015-07-17 18:55:46 +02:00
Juergen Hoeller
fca33f53e3
Ported test adaptations to JPA 2.1 variant
...
Issue: SPR-13243
2015-07-17 18:52:02 +02:00
Juergen Hoeller
8e55ad1c08
Polishing
2015-07-17 16:33:15 +02:00
Juergen Hoeller
66d8c2819f
ScheduledAnnotationBeanPostProcessor falls back to "taskScheduler" bean by name
...
Issue: SPR-13236
2015-07-17 16:29:48 +02:00
Juergen Hoeller
0cce41eb94
Fixed exception message expectation plus formatting
...
Issue: SPR-13067
2015-07-17 16:19:11 +02:00
Juergen Hoeller
cc0a4c1ea0
Upgrade to Jetty 9.3.1 and Undertow 1.2.9
2015-07-17 15:25:51 +02:00
Juergen Hoeller
203f1225c3
Polishing
2015-07-17 15:25:43 +02:00
Juergen Hoeller
7e2a662f63
Enforce TransactionRequiredException for pre-bound EntityManager without actual transaction active
...
Issue: SPR-13243
2015-07-17 15:25:29 +02:00
Juergen Hoeller
2f8ac91872
Only attempt to call joinTransaction in case of actual transaction active
...
Issue: SPR-13242
2015-07-17 15:24:52 +02:00
Juergen Hoeller
a8fb551b1c
Allow for overriding of computeTransactionAttribute
...
Issue: SPR-13246
2015-07-17 15:24:24 +02:00
Juergen Hoeller
9de824b73d
AllEncompassingFormHttpMessageConverter registers MappingJackson2XmlHttpMessageConverter and GsonHttpMessageConverter (for consistency with RestTemplate and WebMvcConfigurationSupport)
...
Issue: SPR-13240
2015-07-17 15:24:12 +02:00
Juergen Hoeller
aedef43a9a
Exception fine-tuning and general polishing
...
Issue: SPR-13067
2015-07-17 15:24:04 +02:00
Juergen Hoeller
9f15f347bf
Renamed 'name' attribute to 'scopeName' (in order to avoid common override conflicts)
...
Issue: SPR-13239
2015-07-17 15:23:47 +02:00
Brian Clozel
106cce58cc
Fix tests
...
Issue: SPR-13241
2015-07-17 13:32:38 +02:00
Brian Clozel
ec5019dbae
Upgrade to groovy 2.4.4
2015-07-17 11:09:56 +02:00
Brian Clozel
064abad9d8
PathResourceResolver should not resolve root path
...
When resolving resources, the PathResourceResolver creates a Resource
instance and checks whether this resource `exists()` and `isReadable()`.
While that last call returns false for folders on the file system, both
calls return true for folders located inside JARs.
If a JAR location is configured as a resource location, then
PathResourceResolver can resolve folders in JARs as valid locations and
candidates for paths resolution.
Prior to this change, the PathResourceResolver would resolve "" as a
valid resource path (here, the "/META-INF/resources/webjars" if
configured, for example) and return a "" path for this resource,
effectively turning all "/" URLs into empty ones "".
This commit fixes the resolveUrlPathInternal implementation by not
allowing empty paths as valid resource paths.
Issue: SPR-13241
2015-07-17 10:31:37 +02:00
Stephane Nicoll
8e479e28ce
Merge pull request #839 from michalkarolik/ResultActionsJavadocFix
...
* pr/839:
Fix package references
2015-07-16 11:28:38 +02:00
Michal Karolik
95fe5f9033
Fix package references
...
Closes gh-839
2015-07-16 11:28:12 +02:00
Stephane Nicoll
f120f22d51
Merge pull request #838 from mdeinum/SPR-13238
...
* pr/838:
Update book reference
2015-07-16 09:26:48 +02:00
Marten Deinum
92663ec27b
Update book reference
...
Closes gh-838
There is a new version of AspectJ in Action which is now mentioned in the
Further Resources section of the AOP chapter.
2015-07-16 09:25:39 +02:00
Juergen Hoeller
d183bbb667
Javadoc refinements, exception fine-tuning, general polishing
...
Issue: SPR-13034
2015-07-15 15:42:17 +02:00
Juergen Hoeller
2577ac300b
Refined spring-oxm test execution check for compatibility with the recently announced JDK 9 version scheme
...
Issue: SPR-13012
2015-07-15 15:21:37 +02:00
Sebastien Deleuze
34de167e59
Support non thread-safe ScriptEngine in ScriptTemplateView
...
This commit adds a new sharedEngine property to ScriptTemplateConfigurer
and ScriptTemplateView in order to support non thread-safe ScriptEngine
implementations like Nashorn.
When this flag is set to false, the engine is retrieved from a
ThreadLocal<ScriptEngine> field instead of a ScriptEngine one.
Also as part of this commit, all the initialization logic has been moved from
ScriptTemplateConfigurer to ScriptTemplateView since the script engine can
now be lazily initialized multiple time in the view when sharedEngine is
set to false.
Issue: SPR-13034
2015-07-15 13:39:33 +02:00
Juergen Hoeller
0783a1c667
SpEL selection/projection works with Iterable as well
...
Issue: SPR-13231
2015-07-15 11:22:52 +02:00
Juergen Hoeller
ea2a1d33d9
Javadoc fixes plus additional polishing
2015-07-15 02:19:46 +02:00
Juergen Hoeller
ef781b6353
Fixed default formatters test to reliably work with any system locale
...
Issue: SPR-13232
2015-07-15 02:18:04 +02:00
Juergen Hoeller
2934256257
Polishing
2015-07-15 00:08:11 +02:00
Juergen Hoeller
09eb492079
Merged bean definitions are now cached early and selectively evicted after post-processing and before actual bean creation
...
Issue: SPR-12236
2015-07-15 00:05:39 +02:00
Juergen Hoeller
37f74e76f6
TomcatInstrumentableClassLoader supports Tomcat 7.0.63+ as well
...
Issue: SPR-13210
2015-07-15 00:02:55 +02:00
Juergen Hoeller
f4f508d869
Revisit date-time tests for compatibility with JDK 9 build 72
...
Issue: SPR-13232
2015-07-14 23:58:30 +02:00
Juergen Hoeller
48f330dd31
AspectJ 1.9 beta 1 for ajc task (for JDK 9 build compatibility)
...
Plus latest dependency updates (Hibernate ORM 5.0 RC2, Jackson 2.6 RC4, Reactor 2.0.4, Tomcat 8.0.24, C3P0 0.9.5.1, Rome 1.5.1, FreeMarker 2.3.23, JRuby 1.7.21)
Issue: SPR-13012
2015-07-14 23:56:09 +02:00
Sam Brannen
649d145103
Merge pull request #835 from ndebeiss/master
...
* ndebeiss-master:
Support single quotes nested in double quotes in SQL scripts
2015-07-14 15:29:31 +03:00
ndebeiss
629bcb6599
Support single quotes nested in double quotes in SQL scripts
...
Some databases such as Oracle permit double quoted column aliases that
contain case-sensitive characters, single quotes, and other special
characters; however, prior to this commit, SqlScripts interpreted a
single quote nested within double quotes as the start of a string
literal resulting in improper parsing.
This commit addresses this issue by ensuring that double quoted strings
such as column aliases are properly parsed even when containing single
quotes.
Issue: SPR-13218
2015-07-14 15:01:01 +03:00
Stephane Nicoll
de6bbe7797
Handle null header value property
...
When using an Apache Http components based infrastructure, a null header
value is handled as the empty string. The exact same infrastructure using
HttpURLConnection generates a header with no colon. This is actually not
proper HTTP and some components fail to read such request.
We now make sure to call HttpURLConnection#addRequestProperty with the
empty String for a null header value.
Issue: SPR-13225
2015-07-14 10:34:28 +02:00
Juergen Hoeller
bdb63483df
Common DataWithMediaType class and common synchronization for ResponseBodyEmitter/SseEmitter
...
Issue: SPR-13223
Issue: SPR-13224
2015-07-14 00:08:40 +02:00
Juergen Hoeller
1fcd465f2d
DelegatingFilterProxy autodetects a unique DispatcherServlet context
...
Issue: SPR-13191
2015-07-13 21:34:07 +02:00
Juergen Hoeller
e0329306df
JdbcTemplate's queryForObject allows for specifying primitive types as well
...
Issue: SPR-13220
2015-07-13 21:30:57 +02:00
Juergen Hoeller
8fdbf4285b
Jackson2ObjectMapperBuilder prefers Jackson 2.6 JavaTimeModule over JSR310Module
...
Issue: SPR-13212
2015-07-13 17:41:57 +02:00
Juergen Hoeller
18c4671318
JAXB scan skips annotated interfaces
...
Issue: SPR-13221
2015-07-13 14:59:53 +02:00
Juergen Hoeller
41b58584ea
BeanPropertyRowMapper uses US locale for lower-case conversion by default
...
Issue: SPR-13216
2015-07-13 14:59:43 +02:00
Juergen Hoeller
c7fef87e76
ResourceBundleThemeSource exposes fallbackToSystemLocale and defaultEncoding
...
Issue: SPR-13209
2015-07-13 14:59:35 +02:00
Stephane Nicoll
d738dddd8f
Add createDispatcherServlet hook point
...
Add an extra hook point in `AbstractDispatcherServletInitializer` to
customize the `DispatcherServlet`.
Issue: SPR-13222
2015-07-13 14:43:06 +02:00
Sebastien Deleuze
84138abfd1
Avoid rejecting same-origin requests detected as CORS requests
...
Browsers like Chrome or Safari include an Origin header for same-origin
POST/PUT/DELETE requests, not only for cross-origin requests.
Before this commit, these same-origin requests would have been detected
as potential cross-origin requests, and rejected if the same-origin domain
is not part of the configured allowedOrigins.
This commit avoid to reject same-origin requests by reusing the logic
introduced in Spring 4.1 for detecting reliably Websocket/SockJS
same-origin requests with the WebUtils.isValidOrigin() method. This
logic has been extracted in a new WebUtils.isSameOrigin() method.
Issue: SPR-13206
2015-07-13 10:59:19 +02:00
Sebastien Deleuze
882fe129f3
Polish CORS support
2015-07-10 16:42:50 +02:00
Sam Brannen
9c46228a97
Populate RequestAttributes before invoking Filters in MockMvc
...
When using the Spring TestContext Framework (TCF) to load a
WebApplicationContext and the Spring MVC Test Framework (MockMvc) to
test a controller, two instances of MockHttpServletRequest will be
created. Due to an ordering issue with regard to population of the
RequestAttributes, it is therefore possible that a filter accesses the
mocked request managed by the TCF, while the controller accesses the
mocked request managed by MockMvc, and this leads to test failures if
the controller expects data from the filter to be present in the
request.
This commit fixes this bug by ensuring that the RequestAttributes
backed by the mocked request managed by MockMvc are stored in the
RequestContextHolder before any filters are invoked by MockMvc.
Issue: SPR-13217
2015-07-10 17:35:05 +03:00
Sam Brannen
3d951755fa
Improve documentation for @IfProfileValue precedence
...
Issue: SPR-11902
2015-07-10 02:38:54 +03:00
Sebastien Deleuze
cd9b3903a7
Introduce CorsFilter and CorsConfigurationMapping
...
This commit introduces the following changes:
- The new CorsConfigurationMapping class allows to share the mapped
CorsConfiguration logic between AbstractHandlerMapping and CorsFilter
- In AbstractHandlerMapping, the Map<String, CorsConfiguration>
corsConfiguration property has been renamed to corsConfigurations
- CorsFilter allows to process CORS requests at filter level, using any
CorsConfigurationSource implementation (for example
CorsConfigurationMapping)
Issue: SPR-13192
2015-07-09 22:19:46 +02:00
Sebastien Deleuze
df9290c00d
Improve DispatcherServlet diagrams
...
Issue: SPR-13120
2015-07-09 17:03:10 +02:00
Sam Brannen
c1b5262824
Upgrade to Gradle 2.5
...
Issue: SPR-13012
2015-07-09 17:18:56 +03:00
Brian Clozel
8e566026e0
RedirectViews should always use RESPONSE_STATUS_ATTRIBUTE
...
By default, RedirectViews have http10Compatible set to true, which means
that they use HTTP 302 as a default HTTP response status. Setting this
property to false make RedirectViews use HTTP 303 by default.
Now when set to false, RedirectViews also don't use the
RESPONSE_STATUS_ATTRIBUTE request attribute as a response HTTP if it is
available.
This commit makes both configuration choices behave the same regarding
this request attribute: use it as a response status if it's available.
Issue: SPR-13208
2015-07-09 12:11:22 +02:00
Stephane Nicoll
de6a649071
Polish
2015-07-09 11:29:48 +02:00
Sam Brannen
2e41c2e23d
Polish Javadoc in @EventListener
2015-07-08 18:40:08 +02:00
Sam Brannen
72f0ac7e5b
Polish Javadoc in @EventListener
2015-07-08 18:33:35 +02:00
Stephane Nicoll
fd2c0cc982
Polish
2015-07-08 18:09:16 +02:00
Sam Brannen
14e168f2dc
Fix typos in @EventListener
2015-07-08 15:19:47 +02:00
Sam Brannen
0940f43a47
Stop documenting annotations using @AliasFor in Javadoc
...
The removed listing will later be incorporated into the reference manual
in a dedicated section.
Issue: SPR-11515
2015-07-08 15:13:09 +02:00
Sam Brannen
f300325b1b
Polishing
2015-07-08 15:08:29 +02:00
Stephane Nicoll
e3bb06c878
Avoid Java8 API
2015-07-08 14:58:52 +02:00
Stephane Nicoll
bf786c3176
Support for multiple events per method
...
In addition to specifying the event type to listen to via a method
parameter, any @EventListener annotated method can now alternatively
define the event type(s) to listen to via the "classes" attributes (that
is aliased to "value").
Something like
@EventListener({FooEvent.class, BarEvent.class})
public void handleFooBar() { .... }
Issue: SPR-13156
2015-07-08 14:51:07 +02:00
Brian Clozel
ef0eb01f93
Fix backwards compatibility in WebContentInterceptor
...
As of SPR-11792, WebContentGenerator and WebContentInterceptor offer
new APIs and new behavior regarding HTTP caching, including the use of a
new CacheControl class.
Those changes broke part of the behavior in WebContentInterceptor. This
class allows to override the global Cache configuration at the Generator
level, using specific mappings. Prior to this change, those mappings
would not properly apply the HTTP caching configuration when using
deprecated configuration settings in WebContentGenerator.
This change fixes those backwards compatibility issues for
WebContentInterceptor users.
Issue: SPR-13207
2015-07-08 01:08:16 +02:00
Sam Brannen
3c2efeece4
Investigate claims raised in SPR-13211
...
This commit adds additional tests to RequestContextHolderTests that
verify proper support for the MockHttpServletRequest managed by Spring
MVC Test in the following scenarios:
- request-scoped service invoked by controller
- session-scoped service invoked by controller
- custom filter that sets request attributes
Issue: SPR-13211
2015-07-07 22:42:08 +02:00
Rossen Stoyanchev
6679120057
Improve STOMP section of documentation
...
Issue: SPR-12579
2015-07-07 16:17:37 -04:00
Juergen Hoeller
08fb62570e
Explicit notes for load-time weaving on Tomcat 7.0.63+ and WildFly 9
...
Issue: SPR-13210
2015-07-07 22:01:36 +02:00
Sam Brannen
5e24ee9b55
Update RequestContextHolderTests
...
This commit refactors RequestContextHolderTests in preparation for the
work to be done in SPR-13211.
Issue: SPR-13211
2015-07-07 21:37:46 +02:00
Sam Brannen
50bed38a85
Polishing
2015-07-07 21:23:02 +02:00
Rossen Stoyanchev
6890e65d2c
Suggest use of @Primary for JSR-303 with Spring MVC
...
A note is added to suggest the use of @Primary with a
LocalValidatorFactory bean next to the MVC Java config.
Issue: SPR-12194
2015-07-07 12:35:38 -04:00
Rossen Stoyanchev
726a47dd81
Refactor Spring MVC related conversion/validation docs
...
Conversion and validation documentation related to Spring MVC is now
consolidated in the Spring MVC chapter with references to and from
the Validation and Data Binding chapter.
Examples have been updated to include MVC Java config as well.
2015-07-07 12:35:38 -04:00
Stephane Nicoll
7cac5d60a1
Add documentation for @Primary
...
Issue: SPR-7301
2015-07-07 17:52:52 +02:00
Juergen Hoeller
f58e1db2e6
Explicit notes for @Bean on static methods, private methods, and Java 8 default methods
...
Also includes an explicit note on stop vs destroy callbacks for Lifecycle beans.
Issue: SPR-13118
Issue: SPR-12882
Issue: SPR-12345
Issue: SPR-11671
2015-07-07 16:49:26 +02:00
Juergen Hoeller
ca3ba7deb5
Extended/BindingAwareModelMap are not meant to be referred to in user code
...
Issue: SPR-12896
2015-07-07 16:44:46 +02:00
Juergen Hoeller
11ec9998ae
Note on 'generateDdl' versus JPA 2.1 schema generation
...
Issue: SPR-13040
2015-07-07 16:44:33 +02:00
Juergen Hoeller
2a36abcaea
Polishing
2015-07-07 16:44:19 +02:00
Sebastien Deleuze
97936140cc
Support HandlerMethod parameter in @MessageExceptionHandler
...
Issue: SPR-13196
2015-07-07 15:43:39 +02:00
Juergen Hoeller
f79a5c12d5
DefaultSubscriptionRegistry defensively checks for removal between keySet and get calls
...
Issue: SPR-13205
2015-07-07 11:11:56 +02:00
Sebastien Deleuze
dd16f64998
Polish @CrossOrigin javadoc
2015-07-07 10:01:22 +02:00
Sebastien Deleuze
8ee0e78980
Add Access-Control-Request-Method check for CORS preflight requests
...
Issue: SPR-13193
2015-07-07 09:34:39 +02:00
Sebastien Deleuze
aea23e42c7
Polish
2015-07-07 09:26:06 +02:00
Rossen Stoyanchev
0d1b7fd14f
Fix RequestPartServletServerHttpRequest encoding issue
...
When using Appache Commons FileUpload, multi parts with binary data
(i.e. that are not actual files) are saved and then accessed as
String request parameters.
Before this change however the RequestPartServletServerHttpRequest
used a fixed encoding (UTF-8) while the parsing code in
CommonsFileUploadSupport/Resolver used the encoding from the
content-type header, or the request, or the FileUpload component.
This change does a best effort to determine the encoding of the
request parameter using a similar algorithm as the parsing side
that should work the same unless the encoding comes from the
FileUpload component which is not accessible.
Issue: SPR-13096
2015-07-07 00:47:06 -04:00
Rossen Stoyanchev
dc715a0f19
Update Spring MVC Test reference
...
Add section on Spring MVC TEst vs full integation testing and provide
reference to Spring Boot's @WebIntegrationTest as an alternative.
Issue: SPR-13169
2015-07-06 23:06:40 -04:00
Rossen Stoyanchev
9bb29fbc34
Polish Spring MVC Test content
2015-07-06 22:27:19 -04:00
Juergen Hoeller
fefc4b478f
Polishing
2015-07-07 02:22:44 +02:00
Juergen Hoeller
145d88d152
Polishing
2015-07-07 00:26:31 +02:00
Juergen Hoeller
f0175bc42d
DefaultSubscriptionRegistry uses deep LinkedMultiValueMap copies between accessCache and updateCache
...
Issue: SPR-13185
2015-07-07 00:25:47 +02:00
Juergen Hoeller
df8e9638ee
LinkedMultiValueMap explicitly supports deep copies
...
Issue: SPR-13201
2015-07-07 00:24:39 +02:00
Rossen Stoyanchev
16cbfcfd2f
Add test to demonstrate 4.2 not affected by SPR-13185
...
Issue: SPR-13185
2015-07-06 17:32:55 -04:00
Rossen Stoyanchev
0b43e4e4f2
Add concurrent test and fix potential NPE
...
After SPR-12884 (4.2 RC1) introduced support for a selector header
expression on SUBSCRIBE frames, messages from the destination cache
are further filtered based on the selector expression. While adding a
test to find subscriptions at the same time as unsubscribing, a
potential NPE was exposed. This commit fixes the NPE.
Issue: SPR-13204
2015-07-06 17:07:20 -04:00
Rossen Stoyanchev
5dcbc5db29
Polish DefaultSubscriptionRegistryTests
2015-07-06 17:07:20 -04:00
Sam Brannen
0f7fc12569
Clean up warnings in spring-web
2015-07-06 18:30:20 +02:00
Sam Brannen
67ac675e9a
Polish AnnotationAttributes[Tests]
2015-07-06 14:41:52 +02:00
Juergen Hoeller
23124d106b
CommonsMultipartResolver allows for specifying max upload size per file
...
Issue: SPR-13200
2015-07-06 14:01:51 +02:00
Juergen Hoeller
f0c6bff82a
MultipartFile interface extends InputStreamSource
...
Issue: SPR-11861
2015-07-06 13:53:35 +02:00
Juergen Hoeller
b7acddbb19
AnnotationAttributes stores and re-throws resolution exceptions
...
Issue: SPR-13177
2015-07-06 13:35:16 +02:00
Sam Brannen
3f0a6e814c
Suppress warnings in spring-expression tests
2015-07-04 15:46:36 +02:00
Brian Clozel
85a80e2a94
Fix error message typo in ShallowEtagHeaderFilter
...
Issue: SPR-13194
2015-07-03 21:40:48 +02:00
Sam Brannen
ea0c37a535
Polishing
2015-07-03 18:38:20 +02:00
Sam Brannen
3c4ec9026a
Introduce test for DeferredResult w/ delayed error in MVC Test
...
This commit introduces a test that verifies the fix introduced in
6842fd7fb9 .
Issue: SPR-13079
2015-07-03 17:51:46 +02:00
Sam Brannen
0e70630ac4
Polish AsyncTests
2015-07-03 17:01:21 +02:00
Rossen Stoyanchev
05f163b37d
Avoid duplicates from <websocket:decorator-factory>
...
Before this change <websocket:decorator-factory> decorated to
the SubProtocolWebSocketHandler RootBeanDefinition rather than
using a RuntimeBeanReference, which led to a separate instance
of SubProtocolWebSocketHandler to be created.
Issue: SPR-13190
2015-07-02 16:09:39 -04:00
Sam Brannen
688014ad9d
Document MVC Test log()/print() variants in reference manual
...
Issue: SPR-13171
2015-07-02 21:47:14 +02:00
Sebastien Deleuze
79c7e30832
Fix SockJsServiceTests
...
Issue: SPR-12422
2015-07-02 16:35:32 +02:00
Sebastien Deleuze
6c58258d11
Update AbstractSockJsService and ref doc to SockJS client 1.0.0
...
Issue: SPR-12422
2015-07-02 15:38:36 +02:00
Sam Brannen
0aac02d649
Introduce DirtiesContextBeforeModesTestExecutionListener
...
SPR-12429 introduced various `BEFORE_*` modes in `@DirtiesContext`. To
support these new modes, `DirtiesContextTestExecutionListener` (DCTEL)
was updated to support both `BEFORE_*` and `AFTER_*` modes. However,
there is a problem with having DCTEL support `BEFORE_*` modes since it
is typically configured to execute after the
`DependencyInjectionTestExecutionListener` (DITEL), and this leads to
several undesired side effects:
- The test's `ApplicationContext` is closed by DCTEL *after*
dependencies have been injected into the test instance.
- Injected dependencies may therefore attempt to interact with an
`ApplicationContext` that is no longer _active_.
- If a test has its `ApplicationContext` injected as a dependency,
interaction with the context will likely fail since the context has
been closed.
- Any `TestExecutionListeners` registered after DCTEL will get a _new_
`ApplicationContext` if they invoke `getApplicationContext()` on the
`TestContext`.
This commit fixes these issues by introducing a new
`DirtiesContextBeforeModesTestExecutionListener` (DCBMTEL) that is
registered by default before DITEL. The previous support for `BEFORE_*`
modes has been moved from DCTEL to DCBMTEL. In addition, an
`AbstractDirtiesContextTestExecutionListener` has been extracted from
DCTEL in order to avoid code duplication.
Issue: SPR-13180
2015-07-01 20:55:12 +02:00
Rossen Stoyanchev
3272a3b8ba
Check HTTP method before raising 415
...
This commit moves the check whether an HTTP method supports request
body up to the base class so that all sub-classes can benefit (not just
@RequestBody).
Issue: SPR-13176
2015-06-30 15:24:01 -04:00
Brian Clozel
244c95b076
Fix @RequestBody argument processing for null Content-Type
...
Since the changes introduced in SPR-12778, some `@RequestBody` args
would not be properly processed in some cases:
* requests with an empty body
* no Content-Type header defined
This typically happens when GET requests are mapped on a handler dealing
with POST requests and HTTP bodies.
This change makes sure that the `RequestResponseBodyMethodProcessor` is
only involved for requests that:
* have a Content-Type defined
* OR are HTTP requests eligible for an HTTP body (PUT, POST, PATCH)
Issue: SPR-13176
Fixes spring-projects/spring-boot#3313
2015-06-30 19:13:34 +02:00
Rossen Stoyanchev
749bee4d58
Polish tests
2015-06-30 12:16:22 -04:00
Sam Brannen
df83196ad7
Update required email dependencies in reference manual
...
Beginning with Java 6, the JavaBeans Activation Framework (JAF) is part
of the JDK. Thus, there is no longer a need to explicitly include a
dependency on `activation.jar` when using Spring's email support in
Spring Framework 4.0 and higher which anyway requires Java 6 or higher.
This commit therefore removes the JAF requirement from the reference
manual.
2015-06-30 18:12:08 +02:00
Juergen Hoeller
265cd2ad1e
Javadoc fine-tuning for 4.2
2015-06-30 18:02:42 +02:00
Juergen Hoeller
0411435bac
XML parsing tests pass on non-English locales now, plus a revised exception message and some minor polishing
...
Issue: SPR-13136
(cherry picked from commit 38b8262e1e )
2015-06-30 17:16:45 +02:00
Rossen Stoyanchev
d79ec68db4
Disable DTD when parsing untrusted XML input
...
Issue: SPR-13136
2015-06-30 07:50:21 -04:00
Juergen Hoeller
2d6ec953e4
Latest dependency updates (Jackson 2.6 RC3, JavaMail 1.5.4, JRuby 1.7.20.1)
2015-06-30 12:46:04 +02:00
Juergen Hoeller
4facb2fc22
ContentCachingResponseWrapper defensively applies content length in case of sendError/sendRedirect
...
Issue: SPR-13004
2015-06-30 12:45:43 +02:00
Sam Brannen
49aabd5ac2
Polish Javadoc for (Synthesizing)MethodParameter
2015-06-30 00:30:42 +02:00
Juergen Hoeller
dc1f921f5c
Split between basic MethodParameter and SynthesizingMethodParameter
...
This split avoids a package tangle (between core and core.annotation) and also allows for selective use of raw annotation exposure versus synthesized annotations, with the latter primarily applicable to web and message handler processing at this point.
Issue: SPR-13153
2015-06-30 00:02:02 +02:00
Juergen Hoeller
26acb4887d
YamlProcessor explicitly closes UnicodeReader
...
Issue: SPR-13173
2015-06-29 23:47:37 +02:00
Sam Brannen
7c94c699df
Use annotation attribute aliases in examples
...
This commit updates examples in the reference manual to use annotation
attribute aliases.
2015-06-29 17:21:29 +02:00
Sam Brannen
595f9bfc41
Polish attribute alias examples in "what's new"
2015-06-29 17:07:48 +02:00
Sam Brannen
110ccaa721
Use annotation attribute aliases in examples
...
This commit updates examples in the reference manual to use annotation
attribute aliases.
2015-06-29 16:54:45 +02:00
Sam Brannen
a7d8103d64
Polish CORS documentation in the reference manual
2015-06-29 16:54:44 +02:00
Brian Clozel
39d689da0c
Fix conditional requests support for HttpEntity
...
Prior to this commit, `HttpEntityMethodProcessor` would rely on
`ServletWebRequest` to process conditional requests and with incoming
`"If-Modified-Since"` / `"If-None-Match"` request headers.
This approach is problematic since in that class:
* response is wrapped in a `ServletServerHttpResponse`
* this wrapped response does not write response headers right away
* `ServletWebRequest.checkNotModified` methods can't apply their
logic with incomplete response headers
This solution adds some minimal code duplication and applies
the conditional request logic within the Processor.
A possible alternative would be to improve the
`ServletServerHttpResponse$ServletResponseHttpHeaders` implementation
with write methods - but this solution would only work for Servlet 3.x
applications.
Issue: SPR-13090
2015-06-29 16:47:27 +02:00
Sebastien Deleuze
338a18ef99
Polish Web Improvements section
2015-06-29 16:37:58 +02:00
Sam Brannen
42424d6359
Document XML attributes in mvc:resource-chain in 4.1 XSD
...
Issue: SPR-12804
2015-06-29 16:21:32 +02:00
Sebastien Deleuze
b439402d57
Add CORS section to the ref doc
2015-06-29 16:02:58 +02:00
Sam Brannen
c9b26d80e1
Polish resource chain documentation
2015-06-29 15:57:58 +02:00
Brian Clozel
c61552b258
Document XML attributes in mvc:resource-chain
...
Issue: SPR-12804
2015-06-29 15:32:29 +02:00
Sebastien Deleuze
e0d0fc53a9
Update new features section in the reference doc
2015-06-29 11:31:10 +02:00
Sam Brannen
63a1348c32
Polish LoggingResultHandler in Spring MVC Test
...
Issue: SPR-13171
2015-06-27 22:44:42 +02:00
Sam Brannen
693dcba867
Introduce LoggingResultHandler in Spring MVC Test
...
Prior to this commit, the Spring MVC Test framework only provided
support for printing debug information about the MvcResult to STDOUT.
This commit introduces support for logging `MvcResult` details at
`DEBUG` level via the Apache Commons Logging API. In addition, this
commit introduces additional `print(..)` variants for printing debug
information to custom output streams and writers.
Specifically, `MockMvcResultHandlers` has been augmented with the
following new static methods:
- `log()`
- `print(OutputStream)`
- `print(Writer)`
Issue: SPR-13171
2015-06-27 21:53:19 +02:00
Sam Brannen
895d43a2b3
Print cookies in human-readable form in Spring MVC Test
...
Prior to this commit, when rendering cookies via `andDo(print())` in
Spring MVC Test, the output for the `MockHttpServletResponse` would
look something like the following:
Cookies = [javax.servlet.http.Cookie@25084a1e]
The reason is that the Cookie class in javax.servlet-api-3.0.1.jar does
not implement toString(). Consequently, nothing about the cookie's
name, value, etc., is displayed, thereby making the debug output for
cookies next to useless.
This commit improves on this by implementing custom toString() logic
for cookies in debug output in Spring MVC Test. For example, the output
now looks like this (without the newlines):
Cookies = [[Cookie@47faa49c name = 'enigma', value = '42', \\
comment = [null], domain = [null], maxAge = -1, \\
path = [null], secure = false, version = 0, \\
httpOnly = false]]
In addition, this commit fixes a minor bug for FlashMap debug output if
the FlashMap is empty.
Issue: SPR-13168
2015-06-27 02:54:42 +02:00
Juergen Hoeller
a2d3c27ed1
Allow MVC handler methods to return any CharSequence type as view name
...
Issue: SPR-13165
2015-06-26 22:17:53 +02:00
Juergen Hoeller
a5349eb2f8
Base64Utils falls back to JAXB DatatypeConverter for String-based encoding
...
Issue: SPR-12938
2015-06-26 22:06:13 +02:00
Brian Clozel
5b47504dd4
Document XsltView in reference doc
...
And delete all references to the deprecated AbstractXsltView.
Issue: SPR-6599
2015-06-26 18:51:15 +02:00
Sam Brannen
8416752645
Polish Javadoc for MVC parameter binding annotations
2015-06-26 16:14:06 +02:00
Sam Brannen
34204d27f3
Merge pull request #828 from Youmoo/Youmoo-patch-1
...
* Youmoo-Youmoo-patch-1:
Fix BeanWrapperImpl example code in ref. manual
2015-06-26 15:52:31 +02:00
youmoo
8d06b06a9b
Fix BeanWrapperImpl example code in ref. manual
2015-06-26 15:49:03 +02:00
Brian Clozel
776716087c
Merge pull request #827 from Youmoo/Youmoo-patch-1
...
fix typo in reference documentation
2015-06-26 11:59:14 +02:00
Brian Clozel
ba48d6489f
Mention Groovy Markup Templates in ref doc
...
Add a section on Groovy Markup Template support and
reorder sections in the View Technologies chapter, to have in order:
* Thymeleaf
* Groovy Markup Template
* Velocity and Freemarker
* JSPs
* Script Templates
* other views...
Issue: SPR-12829
2015-06-26 10:14:30 +02:00
Brian Clozel
e72b821a73
Mention WebJarsResourceResolver in ref doc
...
Issue: SPR-12323
2015-06-26 10:14:30 +02:00
youmoo
2fe6dddbf3
fix typo
2015-06-26 16:04:14 +08:00
Sebastien Deleuze
89cc8e0401
Restore compatibility with Jackson 2.1
...
Issue: SPR-12501
2015-06-26 02:18:29 +02:00
Sebastien Deleuze
3bff7bd895
Serialize with type only with jackson 2.6+
...
Previous Jackson versions do not serialize polymorphic collections correctly
when the type is specified.
Issue: SPR-12811
2015-06-26 02:15:37 +02:00
Rossen Stoyanchev
b542b52775
Update Javadoc on AntPathMatcher
2015-06-25 09:41:59 -04:00
Rossen Stoyanchev
6842fd7fb9
Ensure result ready in asyncDispatch in MockMvc
...
Issue: SPR-13079
2015-06-25 09:25:21 -04:00
Sebastien Deleuze
289f35da3a
Call type aware canWrite() when using a GenericHttpMessageConverter
...
This commit introduces the following changes:
- In AbstractMessageConverterMethodProcessor, the type aware variant of
canWrite() is now called when the converter implements
GenericHttpMessageConverter.
- The Javadoc has been updated in GenericHttpMessageConverter to make it clear
that the type aware canRead() and canWrite() methods should perform the same
checks than non type aware ones.
- AbstractGenericHttpMessageConverter now implements default type aware
canRead() and canWrite() methods than just call the non type aware variants.
Due to this, if subclasses just override the non type aware variants,
they still have the right behavior.
Issue: SPR-13161
2015-06-25 15:02:33 +02:00
Sam Brannen
51e30dd221
Polish MimeType
2015-06-24 23:59:22 +02:00
Sam Brannen
e8c8d2a6ad
Refactor WebSocket int. tests to work w/ Jetty 9.3
...
Recent builds of Jetty 9.3 require that Jetty's own ServletContext
implementation be supplied to WebSocketServerFactory's init() method.
Otherwise, the Jetty server will fail to start with the exception
message: "Not running on Jetty, WebSocket support unavailable".
This commit refactors AbstractWebSocketIntegrationTests,
AbstractSockJsIntegrationTests, and all WebSocketTestServer
implementations in order to support this new requirement.
Specifically:
- WebSocketTestServer defines a new getServletContext() method;
TomcatWebSocketTestServer, UndertowTestServer, and
JettyWebSocketTestServer have all been updated to return the
ServletContext created by the embedded server.
- The setup() methods in AbstractWebSocketIntegrationTests and
AbstractSockJsIntegrationTests have been updated so that the
WebApplicationContext is supplied the appropriate ServletContext,
after deployConfig() has been invoked on the WebSocketTestServer but
before the WebApplicationContext is refreshed.
Issue: SPR-13162
2015-06-24 20:16:25 +02:00
Rossen Stoyanchev
8b50750511
Fix failure in performance build
...
The JettySockJsIntegrationTests are enabled in the performance build
only. Following the upgrade to Jetty 9.3 where the
JettyRequestUpgradeStrategy is now Lifecycle as wel as
ServletContextAware, we need to make sure the ApplicationContext
refresh occurs after the ServletContext has been set. This change
removes the explicit .refresh() call in the test setup and instead
relies on the DispatcherServlet to do that, which ensures that the
ServletContext with which it is initialized by Jetty has been set
on the ApplicationContext before that.
2015-06-24 10:46:45 -04:00
Brian Clozel
7df9679399
Dependency upgrade webjars-locator 0.26
2015-06-24 16:13:29 +02:00
Stephane Nicoll
d32216a047
Add reference to Order for event listeners
2015-06-24 15:29:07 +02:00
Brian Clozel
0417b89a9d
Dependency update: Netty 4.0.29.Final
2015-06-24 11:08:10 +02:00
Sam Brannen
89e504c2f1
Uses Charset instead of String in MimeType.equals()
...
Prior to this commit, Spring's MimeType checked for equality between
two MIME types based on the equality of their properties maps; however,
the properties maps contain string representations of the "charset"
values. Thus, "UTF-8" is never equal to "utf-8" which breaks the
contract for character set names which must be compared in a
case-insensitive manner.
This commit addresses this issue by ensuring that "charset" properties
in MimeType instances are compared as Java Charset instances, thereby
ignoring case when checking for equality between charset names.
Issue: SPR-13157
2015-06-23 22:30:25 +02:00
Sam Brannen
f2f58f1677
Polish Javadoc in MimeType
2015-06-23 21:26:50 +02:00
Sam Brannen
10a691bd51
Support inlined SQL statements in @Sql
...
Prior to this commit, it was only possible to declare SQL statements
via @Sql within external script resources (i.e., classpath or file
system resources); however, many developers have inquired about the
ability to inline SQL statements with @Sql analogous to the support for
inlined properties in @TestPropertySource.
This commit introduces support for declaring _inlined SQL statements_
in `@Sql` via a new `statements` attribute. Inlined statements are
executed after statements in scripts.
Issue: SPR-13159
2015-06-23 20:45:00 +02:00
Sam Brannen
3da59178e5
Document attribute alias support in AnnotationUtils
2015-06-23 18:38:00 +02:00
Sam Brannen
2451594cdd
Synthesize annotation arrays within AnnotationUtils
...
Issue: SPR-11393
2015-06-23 18:30:47 +02:00
Sam Brannen
75fe61843a
Fix broken (Async)RestTemplate integration tests
...
Issue: SPR-13157
2015-06-23 15:15:09 +02:00
Rossen Stoyanchev
e083683f4f
Update WebSocket support for Jetty 9.3
...
Issue: SPR-13140
2015-06-22 22:30:44 -04:00
Rossen Stoyanchev
25ff34f3c7
JettyRequestUpgradeStrategy implements Lifecycle
...
After this change JettyRequestUpgradeStrategy implements Lifecyle,
which is used to init and cleanup the Jetty WebSocketServerFactory.
Since a RequestUpgradeStrategy is typically created reflectively
within DefaultHandshakeHandler, the Lifecycle events are propagated
from the top, i.e. the Spring MVC HandlerMapping through the
WebSocket/SockJsHttpRequestHandler.
Issue: SPR-13140
2015-06-22 22:30:44 -04:00
Rossen Stoyanchev
b6b76ad1b4
Polish WebMvcStompEndpointRegistry
2015-06-22 22:30:44 -04:00
Rossen Stoyanchev
d1cc8bac5c
Add config option for StompSubProtocolErrorHandler
...
Issue: SPR-13142
2015-06-22 22:30:44 -04:00
Sebastien Deleuze
31a5434ea4
Make @ResponseBody method return type available for message converters
...
This commit adds canWrite() and write() methods to the
GenericHttpMessageConverter interface. These are type aware variants
of the methods available in HttpMessageConverter, in order to keep
parametrized type information when serializing objects.
AbstractMessageConverterMethodProcessor now calls those type aware
methods when the message converter implements GenericHttpMessageConverter.
AbstractJackson2HttpMessageConverter and GsonHttpMessageConverter uses
these new methods to make @ResponseBody method return type available
for type resolution instead of just letting the JSON serializer trying
to guess the type to use from the object to serialize.
Issue: SPR-12811
2015-06-22 17:05:45 +02:00
Stephane Nicoll
04a7ed5f91
Update release note for @JmsListeners
2015-06-22 13:13:16 +02:00
Stephane Nicoll
4631add6cf
Add support for repeatable JmsListener
...
Previously, a method could only declare one Jms endpoint so if several
destinations share the exact same business logic, you'd still need one
separate method declaration per destination.
We now make sure that JmsListener is a repeatable annotation, introducing
JmsListeners for pre Java8 use cases.
Issue: SPR-13147
2015-06-22 13:01:42 +02:00
Brian Clozel
9ada55dc6b
Fix NPE in GzipResourceResolver
...
This change fixes a NullPointerException in GzipResourceResolver, which
assumed that calls to the `resolveResource` method were made with only
non-null values for request.
This is not the case for the VersionResourceResolver, which tries to
resolve resources that aren't requested per se by the HTTP request.
Issue: SPR-13149
2015-06-22 11:22:23 +02:00
Juergen Hoeller
3b6548f3c2
Tests for Base64Utils results between JDK 8 and Commons Codec
...
Issue: SPR-13146
2015-06-22 00:32:33 +02:00
Juergen Hoeller
dd4bc630c3
Common code in AsyncExecutionAspectSupport allows for CompletableFuture processing with AspectJ as well
...
Issue: SPR-13128
2015-06-22 00:29:44 +02:00
Sam Brannen
e134e3e51b
Fix formatting issues in the testing chapter
2015-06-21 16:25:00 +02:00
Sam Brannen
d0c0d9fc5a
Synthesize annotation from defaults
...
This commit introduces a convenience method in AnnotationUtils for
synthesizing an annotation from its default attribute values.
TransactionalTestExecutionListener has been refactored to invoke this
new convenience method.
Issue: SPR-13087
2015-06-20 18:27:36 +02:00
Sam Brannen
a0040245ca
Resolve @Repeatable container in AnnotationUtils
...
This commit introduces support for automatically resolving a container
annotation configured via @Repeatable in AnnotationUtils'
getRepeatableAnnotations() and getDeclaredRepeatableAnnotations()
methods.
Issue: SPR-13068
2015-06-20 18:05:04 +02:00
Sam Brannen
80622803b2
Fix error in HTML syntax in Javadoc
2015-06-20 17:01:03 +02:00
Sam Brannen
594c330205
Honor contract of @Repeatable in AnnotationUtils
...
This commit introduces a minor bug fix for getRepeatableAnnotations()
so that it fully complies with the contract of Java's
getAnnotationsByType() method with regard to repeatable annotations
declared on multiple superclasses.
Issue: SPR-13068
2015-06-20 16:53:46 +02:00
Sam Brannen
de9f27872e
Polish CORS support classes
...
- Simplified "check" algorithms in CorsConfiguration
- Improved robustness of setter methods in CorsConfiguration in order to
avoid attempts to modify immutable lists
- Improved CORS documentation and fixed typo
- Introduced constants in CorsConfiguration
- Removed auto-boxing in CorsRegistration
2015-06-20 16:12:18 +02:00
Sam Brannen
27d1ce84a3
Polishing
2015-06-20 01:45:46 +02:00
Sam Brannen
fb83e83e78
Honor contract of @Repeatable in AnnotationUtils
...
Prior to this commit, the implementation of getRepeatableAnnotation()
in Spring's AnnotationUtils complied neither with the contract of
getAnnotationsByType() nor with the contract of
getDeclaredAnnotationsByType() as defined in AnnotatedElement in Java 8.
Specifically, unexpected results can be encountered when using Spring's
support for @Repeatable annotations: either annotations show up in the
returned set in the wrong order, or annotations are returned in the set
that should not even be found based on the semantics of @Repeatable.
This commit remedies this problem by deprecating the existing
getRepeatableAnnotation() methods and replacing them with new
getRepeatableAnnotations() and getDeclaredRepeatableAnnotations()
methods that comply with the contracts of Java's getAnnotationsByType()
and getDeclaredAnnotationsByType(), respectively.
Issue: SPR-13068
2015-06-20 01:21:39 +02:00
Sam Brannen
6c530b7bfb
Delete trailing whitespace in XML files
2015-06-19 17:14:10 +02:00
Sam Brannen
078d252d1e
Delete trailing whitespace in Java source code
2015-06-19 17:09:52 +02:00
Sam Brannen
b36c9f9f23
Polish introspection failure handling in AnnotationUtils
2015-06-19 15:29:57 +01:00
Sam Brannen
23547a72f3
Clean up warnings and polish tests
2015-06-19 14:57:28 +01:00
Sam Brannen
20a1474554
Polishing
2015-06-19 14:40:01 +01:00
Sam Brannen
37d61375e2
Fix typo
2015-06-19 14:39:50 +01:00
Sam Brannen
ece12f9d37
Synthesize annotation from map w/ minimal attributes
...
The initial support for synthesizing an annotation from a Map (or
AnnotationAttributes) introduced in SPR-13067 required that the map
contain key-value pairs for every attribute defined by the supplied
annotationType. However, there are use cases that would benefit from
being able to supply a reduced set of attributes and still have the
annotation synthesized properly.
This commit refines the validation mechanism in
MapAnnotationAttributeExtractor so that a reduced set of attributes may
be supplied. Specifically, if an attribute is missing in the supplied
map the attribute will be set either to value of its alias (if an alias
value configured via @AliasFor exists) or to the value of the
attribute's default value (if defined), and otherwise an exception will
be thrown.
Furthermore, TransactionalTestExecutionListener has been refactored to
take advantage of this new feature by synthesizing an instance of
@TransactionConfiguration solely from the default values of its
declared attributes.
Issue: SPR-13087
2015-06-19 14:27:23 +01:00
Sebastien Deleuze
1e39a18819
Polish
2015-06-18 18:04:29 +02:00
Juergen Hoeller
7025cd74ec
Upgrade to Woodstox 5.0.1 (and Undertow 1.2.8)
2015-06-18 01:22:58 +02:00
Juergen Hoeller
f1c7dc4f4b
Introduced SimpleTransactionScope (analogous to SimpleThreadScope)
...
Issue: SPR-13085
2015-06-18 00:29:46 +02:00
Rossen Stoyanchev
042519043f
Update Javadoc on @ResponseStatus
...
Issue: SPR-11193
2015-06-17 17:23:31 -04:00
Rossen Stoyanchev
0ef8af4798
Use .setStatus in ResponseStatusExceptionResolver
...
Before this change ResponseStatusExceptionResolver always used
.sendError despite the javadoc on @ResponseStatus#code. This was
perhaps justifiable from a HandlerExceptionResolver. Nevertheless
.setStatus should be more REST API friendly while still marking
the response as an error.
Issue: SPR-11193
2015-06-17 17:16:52 -04:00
Rossen Stoyanchev
8d7812b1b6
Raise IAE when no converter matches return type
...
Before this change the AbstractMessageConverterMethodProcessor always
raised a 406 if it couldn't find a converter. However if the reason
for not finding it is because there is simply no converter for the
return value type (i.e. programming error) and doesn't have anything to
do with content negotiation, then we should raise a 500 instead and
make it easier to figure out what's wrong.
Issue: SPR-13135
2015-06-17 17:03:36 -04:00
Sam Brannen
7c09c2d562
Update "what's new" re: @ActiveProfiles ordering
2015-06-17 21:41:08 +01:00
Sam Brannen
0e00f5bbaa
Update "what's new" re: synthesizing maps into annotations
2015-06-17 21:36:13 +01:00
Sam Brannen
b65c277fc6
Update list of annotations using @AliasFor
2015-06-17 21:30:02 +01:00
Martin Lippert
63f01c851f
Fix exception in AntPathMatcher for leading *
...
Issue: SPR-13139
2015-06-17 16:15:59 -04:00
Stephane Nicoll
be4329545a
Update doc for JmsResponse
...
Issue: SPR-13133
2015-06-17 17:43:27 +02:00
Juergen Hoeller
600e5915b4
ObjenesisCglibAopProxy defensively catches Throwable
...
Issue: SPR-13131
2015-06-17 17:03:01 +02:00
Juergen Hoeller
9f64230131
TransactionAttributeSourcePointcut pointcut skips target classes with TransactionalProxy marker (e.g. Spring Data proxies)
...
This 4.2 commit also makes TransactionProxyFactoryBean expose the TransactionalProxy marker and refines SpringProxy marker handling.
Issue: SPR-13109
2015-06-17 13:02:26 +02:00
Brian Clozel
f988151163
Improve charset management in XpathResultMatchers
...
Prior to this change, `XpathResultMatchers` and more generally the
`MockHttpServletResponse` would default to ISO-8859-1 encoding even when
it's not supposed to. The Servlet/HTTP specs mention this encoding
for all `text/*` mime types when decoding bodies to Strings, but this
issue is about XML Parsers.
XML Parsers should use the encoding:
* defined in the `Content-Type` response header (if available)
* written in the XML declaration of the document
* "guessed" by a built-in auto-detection mechanism
This commit changes the following:
* XPathMatchers now feed the XML parser with byte arrays instead of
decoded Strings
* the response should be written to `MockHttpServletResponse` using
its OutputStream, and not a PrintWriter which defaults to ISO-8859-1
Issue: SPR-12676
2015-06-17 10:09:54 +02:00
Brian Clozel
a421bd2c27
Avoid duplicate Etag/Last-Modified header values
...
This commit improves SPR-13090 and avoids adding duplicate ETag and
Last-Modified headers in HTTP responses.
Previously, those were added twice to the response since:
* we're adding all ResponseEntity headers to the response
* the `checkNotModified` methods automatically add those headers
Issue: SPR-13090
2015-06-17 10:08:58 +02:00
Sam Brannen
8743b6bb30
Simplify AnnotatedElementUtils.searchWithFindSemantics()
2015-06-16 22:04:16 +01:00
Sam Brannen
913d0bcf24
Add missing @since tags to AnnotatedElementUtils
2015-06-16 21:45:17 +01:00
Sam Brannen
d9f18f7355
Polish AnnotationTransactionAttributeSourceTests
2015-06-16 21:36:13 +01:00
Juergen Hoeller
d7f8fa50be
Polishing
2015-06-16 22:01:58 +02:00
Juergen Hoeller
92f1754b1e
Fixed fallback mode in ObjenesisCglibAopProxy, plus consistent support for bypassing Objenesis (e.g. on Google App Engine)
...
This 4.2 commit revises SpringObjenesis towards a smart delegate, including support for a "spring.objenesis.ignore" system property.
Issue: SPR-13131
2015-06-16 22:01:37 +02:00
Juergen Hoeller
581ab18b85
Test for Java 8's CompletableFuture with Spring's async execution aspect
...
Issue: SPR-13128
2015-06-16 21:56:17 +02:00
Stephane Nicoll
c8fcdadbae
Polish
...
Review bd093eb to provide a generic type on `JmsResponse`
Issue: SPR-13133
2015-06-16 15:33:50 +02:00
Stephane Nicoll
75c88ffbeb
Remove deprecated warnings
2015-06-16 15:23:56 +02:00
Stephane Nicoll
bd093eb6bf
Runtime resolution of JMS reply destination
...
Add JmsResponse that can be used as return type of any JMS listener
method to indicate not only the response but also the actual destination
to which the reply should be sent.
Issue: SPR-13133
2015-06-16 15:02:22 +02:00
Rossen Stoyanchev
210e10c657
Add AsyncHandlerMethodReturnValueHandler
...
Before this change HandlerMethodReturnValueHandler's were invoked in a
specific order (type-based, annotation-based, custom). However handlers
that deal with asynchronous return value handling need to always be
considered first. This affects custom handlers in particular since they
are normally ordered last.
This change introduces an AsyncHandlerMethodReturnValueHandler
sub-interface with a single method to determine if the return value is
asynchronous and if it is to look for a matching handler only among
those that are of type AsyncHandlerMethodReturnValueHandler.
Issue: SPR-13083
2015-06-16 08:48:56 -04:00
Sebastien Deleuze
8187833502
Change default JSON prefix from "{} && " to ")]}', "
...
Issue: SPR-13078
2015-06-16 11:30:07 +02:00
Sebastien Deleuze
a08c9f3137
Polish serialization/deserialization exception logging
...
This commit introduces the following changes in AbstractHandlerExceptionResolver:
- warnLogger used to log exception is enabled by default
- the exception message is now logged instead of the whole exception stacktrace
- warn logging is only performed if doResolveException() returns a non-null
ModelAndView, in order to avoid logging multiple times the error
Issue: SPR-13100
2015-06-16 10:27:52 +02:00
Juergen Hoeller
ce7cc79e9f
Polishing
2015-06-16 00:18:45 +02:00
Juergen Hoeller
b7d3a2a25b
ResourceHttpRequestHandlerTests avoids millisecond-level comparisons
2015-06-16 00:18:22 +02:00
Juergen Hoeller
371ea79b5f
Latest dependency updates (OkHttp 2.4, H2 1.4.187, Joda-Time 2.8.1)
2015-06-16 00:17:16 +02:00
Juergen Hoeller
2bed89340b
Supply body for POST/PUT/PATCH tests (for OkHttp 2.4 compatibility)
2015-06-16 00:16:33 +02:00
Rossen Stoyanchev
4b05bda0bf
Missing path variable is now a 500 error
...
Before this change a missing path variable value resulted in a 400
error where in fact the error is due to a mismatch between the
declared @PathVariable and the URI template, i.e. a 500 error.
This change introduced a MissingPathVariableException as a sub-class
of ServletRequestBindingException (the exception previously thrown)
and results in a response status code of 500 by default.
Issue: SPR-13121
2015-06-15 16:09:19 -04:00
Rossen Stoyanchev
7b365583e3
Merge pull request from jking-roar/SPR-13111
2015-06-15 14:57:34 -04:00
Rossen Stoyanchev
1153969ea2
Polish
2015-06-15 14:56:56 -04:00
Josh King
11824893a9
Header values are optional in Stomp 1.1 and 1.2
2015-06-15 14:56:56 -04:00
Juergen Hoeller
c41779f895
AsyncExecutionInterceptor supports Java 8's CompletableFuture as a return type
...
Issue: SPR-13128
2015-06-15 20:35:48 +02:00
Juergen Hoeller
06a5ed9cae
AbstractApplicationContext resets common introspection caches after refresh
...
Issue: SPR-13093
2015-06-15 20:34:46 +02:00
Stephane Nicoll
f1d0368dd2
Merge pull request #814 from izeye/patch-3
...
* patch-3:
Add missing super in test
2015-06-15 18:18:02 +02:00
izeye
bd0ca70a2c
Add missing super in test
...
Closes gh-814
2015-06-15 18:16:10 +02:00
Stephane Nicoll
5236eb6b63
Allow default settings of a custom HttpAsyncClient to apply
...
This is a rework of 71783c5 for SPR-12540 for the async extension that
was not merging the internal RequestConfig as it should.
Issue: SPR-13125
2015-06-15 18:13:07 +02:00
Juergen Hoeller
10cb80a500
Removed superfluous @Ignore import
...
Issue: SPR-11807
2015-06-15 15:57:10 +02:00
Juergen Hoeller
7987f80866
GenericConversionService uses ConcurrentReferenceHashMap instead of ConcurrentHashMap
...
Issue: SPR-13099
2015-06-15 15:55:53 +02:00
Juergen Hoeller
1c01f575c2
ConfigurationClassParser ignores unresolvable member classes
...
Issue: SPR-13115
2015-06-15 15:46:14 +02:00
Stephane Nicoll
95acf8c989
Remove references to codehaus.org
...
Issue: SPR-13129
2015-06-15 15:44:29 +02:00
Sam Brannen
68a704373d
Retain order of active profiles in the TCF
...
Ever since @ActiveProfiles was introduced, the declared active profiles
for integration tests have been sorted in order to support unique cache
key generation; however, there are use cases for which the original
ordering should be retained.
For example, Spring Boot's ConfigFileApplicationListener loads
configuration files for active profiles in the order returned by
Environment.getActiveProfiles(), with the assumption that the ordering
matches the order in which the developer declared the active profiles.
This commit maintains the uniqueness of active profiles declared via
@ActiveProfiles but no longer sorts them.
Issue: SPR-12492
2015-06-15 14:25:06 +01:00
Stephane Nicoll
aed523c112
Upgrade reference to castor website
...
Issue: SPR-12991
2015-06-15 15:17:32 +02:00
Stephane Nicoll
c111ea89cf
Add reference to AutoCloseable and Closeable
...
Issue: SPR-13041
2015-06-15 15:10:43 +02:00
Stephane Nicoll
06a0dfa682
Update ApplicationEvent doc for generics event
...
Issue: SPR-13069
2015-06-15 14:37:44 +02:00
Sam Brannen
ea9d7aa337
Polish Javadoc for @TransactionConfiguration
2015-06-14 15:24:20 +02:00
Sam Brannen
32c17bf540
Revise method and parameter names in annotation support
...
In AnnotatedElementUtils, all methods pertaining to merging annotation
attributes have been renamed to "getMerged*()" and "findMerged*()"
accordingly. Existing methods such as getAnnotationAttributes(..) have
been deprecated in favor of the more descriptive "merged" variants.
This aligns the naming conventions in AnnotatedElementUtils with those
already present in AnnotationReadingVisitorUtils.
The use of "annotationType" as a variable name for the fully qualified
class name of an annotation type has been replaced with
"annotationName" in order to improve the readability and intent of the
code base.
In MetaAnnotationUtils.AnnotationDescriptor, getMergedAnnotation() has
been renamed to synthesizeAnnotation(), and the method is now
overridden in UntypedAnnotationDescriptor to always throw an
UnsupportedOperationException in order to avoid potential run-time
ClassCastExceptions.
Issue: SPR-11511
2015-06-14 00:34:40 +02:00
Sam Brannen
2b339db53b
Polish @CrossOrigin
...
- origin --> origins
- method --> methods
- constants are now actually constant (i.e., static final)
2015-06-13 17:09:58 +02:00
Sam Brannen
60cdfa535e
Polish ComponentScanParserScopedProxyTests
2015-06-13 16:09:03 +02:00
Sam Brannen
d49bf01c4a
Polish Javadoc for AbstractBeanDefinition
2015-06-13 16:08:29 +02:00
Sam Brannen
2d23f42609
Introduce alias for 'value' attribute in @Scope
...
Issue: SPR-11393
2015-06-13 16:07:29 +02:00
Sam Brannen
6b7c1d72e8
Introduce alias for 'value' attribute in @Transactional
...
Issue: SPR-11393
2015-06-12 22:35:20 +02:00
Sam Brannen
6fc388315e
Polish Javadoc for @Transactional
2015-06-12 21:59:44 +02:00
Sam Brannen
31c547456a
Introduce getAliasedString() in AnnotationAttributes
...
Issue: SPR-11393
2015-06-12 21:09:33 +02:00
Sam Brannen
05de9a8c4a
Introduce general purpose isEmpty() method in ObjectUtils
...
Prior to this commit, there existed several isEmpty() methods scattered
across various utilities such as ObjectUtils, CollectionUtils, and
StringUtils; however, each of these methods requires a cast to the type
supported for that particular variant.
This commit introduces a general-purpose isEmpty(Object) method in
ObjectUtils that transparently supports multiple object types in a
central location without the need for casts or juggling multiple
utility classes.
Issue: SPR-13119
2015-06-12 19:19:22 +02:00
Sam Brannen
e7f4544248
Polish ObjectUtilsTests
2015-06-12 19:19:22 +02:00
Sam Brannen
f6d2fe471a
Proper support for Root WAC in Spring MVC Test
...
The modifications to DefaultMockMvcBuilder performed in conjunction
with SPR-12553 introduced a breaking change: the WebApplicationContext
supplied to DefaultMockMvcBuilder's constructor was *always* stored in
the ServletContext as the root WebApplicationContext, overwriting a
root WebApplicationContext that had been set by the user or by the
Spring TestContext Framework (TCF) -- for example, in
AbstractGenericWebContextLoader. Consequently, the changes in SPR-12553
cause tests that use @ContextHierarchy to fail if web components rely
on the correct WebApplicationContext being stored under the
WebApplicationContext#ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE key.
This commit reverts the breaking changes introduced in SPR-12553: if
the root WebApplicationContext has already been set in the
ServletContext of the WebApplicationContext supplied to
DefaultMockMvcBuilder, no action is taken.
Furthermore, this commit introduces new code to address the initial
intent of SPR-12553. Specifically, if the root WebApplicationContext
has NOT been set in the ServletContext of the WebApplicationContext
supplied to DefaultMockMvcBuilder, the application context hierarchy
will be traversed in search of the root WebApplicationContext, and the
root WebApplicationContext will then be stored under the
ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE key.
Issue: SPR-13075, SPR-12553
2015-06-11 19:54:25 +02:00
Brian Clozel
e2c8d3762f
Fix tests for SPR-13090
2015-06-11 16:34:33 +02:00
Brian Clozel
0175068cab
Improve Last-Modified & ETag support
...
Prior to this change, the `"Last-Modified"` and "`Etag`" support had
been improved with SPR-11324: HTTP response headers are now
automatically added for conditional requests and more.
This commit fixes the format of the "`Last-Modified`" and "`ETag`"
values, which were using an epoch timestamp rather than an HTTP-date
format defined in RFC 7231 section 7.1.1.1.
Also, Conditional responses are only applied when the given response
applies, i.e. when it has an compatible HTTP status (2xx).
Issue: SPR-13090
2015-06-11 14:46:14 +02:00
Juergen Hoeller
75edb3979e
AspectJExpressionPointcut defensively catches exceptions thrown from ShadowMatch.matchesJoinPoint
...
Issue: SPR-13102
2015-06-11 14:44:19 +02:00
Juergen Hoeller
ad55687627
Polishing
2015-06-11 12:33:30 +02:00
Juergen Hoeller
32b9ea9e9f
WebAsyncUtils avoids reflection for creating StandardServletAsyncWebRequest
...
Issue: SPR-13112
2015-06-11 10:13:51 +02:00
Juergen Hoeller
4eea675c15
Stronger warning about lookup methods not working with @Bean
...
Issue: SPR-13108
2015-06-11 09:58:10 +02:00
Juergen Hoeller
e97506be55
Member classes get exposed to the import stack now
...
Issue: SPR-13101
2015-06-11 09:56:03 +02:00
Rossen Stoyanchev
9712a32c46
Allow setting timeout in ResponseBodyEmitter
...
Issue: SPR-13104
2015-06-10 14:47:24 -04:00
Arjen Poutsma
4611d058c8
Support Forwarded-Header in UriComponentsBuilder
...
This commit introduces support for RFC 7239: Forwarded HTTP Extension in
the UriComponentsBuilder. Unfortunately, RFC 7239 is not a complete
replacement for the X-Forwarded-* headers: specifically, there is not
direct replacement for X-Forwarded-Port. The JIRA contains more
information.
Issue: SPR-11856
2015-06-10 11:48:12 -04:00
Juergen Hoeller
b02352d30f
Enabled test for AspectJ pointcut matching against lambda-defined bean
...
Issue: SPR-11807
2015-06-10 15:03:06 +02:00
Juergen Hoeller
a239116b76
Latest dependency updates (AspectJ 1.8.6, Jackson 2.6 RC2, Joda-Time 2.8, JDO 3.1)
2015-06-10 15:02:01 +02:00
Stephane Nicoll
b87816ed20
Add ResolvableTypeProvider
...
Provide a mean to detect the actual ResolvableType based on a instance as
a counter measure to type erasure.
Upgrade the event infrastructure to detect if the event (or the payload)
implements such interface. When this is the case, the return value of
`getResolvableType` is used to validate its generic type against the
method signature of the listener.
Issue: SPR-13069
2015-06-09 10:57:31 +02:00
Juergen Hoeller
a7aaf313d7
Updated CGLIB AOP proxy note on constructor invocations
...
Issue: SPR-13103
2015-06-08 18:12:58 +02:00
Juergen Hoeller
0b2c3dafca
Upgrade to Apache HttpClient 4.5 and HttpAsyncClient 4.1
2015-06-08 18:11:20 +02:00
Sebastien Deleuze
0c3b34f7d5
Polish CORS global configuration
...
This commit introduces the following changes:
- configureCors(CorsConfigurer configurer) is renamed to
addCorsMappings(CorsRegistry registry)
- enableCors(String... pathPatterns) is renamed to
addMapping(String pathPattern)
- <cors /> element must have at least one <mapping /> child
element in order to be consistent with XML based configuration
and have more explicit configuration
Issues: SPR-12933, SPR-13046
2015-06-05 16:55:15 +02:00
Stephane Nicoll
e8441edcb7
Remove commons pool 2.x workaround
...
While working on SPR-12532, an extra IdentityWrapper was added to work
around a backward compatible issue between commons pool 1.x and 2.x. This
issue (POOL-283) has actually been fixed in 2.4 and their IdentityWrapper
is using object equality so our wrapper is in the way.
Looking retrospectively, the code looks all fine without the workaround
and commons pool 2.4 or later so it has been removed.
2015-06-05 16:41:21 +02:00
Sebastien Deleuze
15da5efc86
Fix combining class and method level @CrossOrigin attributes
...
Issue: SPR-13097
2015-06-05 15:32:58 +02:00
Brian Clozel
0a439f096f
Upgrade to undertow 1.2.7.Final
2015-06-05 09:38:37 +02:00
Juergen Hoeller
5964e15421
Latest dependency updates (Commons Pool 2.4.1, POI 3.12)
2015-06-05 00:11:09 +02:00
Juergen Hoeller
869b0bc7ee
Create enhanced FactoryBean instance before applying method interceptor (preferably via Objenesis)
...
Also removes "throws Exception" declaration from ThreadPoolExecutorFactoryBean's getObject method.
Issue: SPR-13095
2015-06-05 00:09:42 +02:00
Juergen Hoeller
d195ad216a
Polishing
2015-06-04 23:27:40 +02:00
Juergen Hoeller
9410dff99c
AsyncResult allows for exposing an execution exception
...
Issue: SPR-13076
2015-06-04 23:25:18 +02:00
Sam Brannen
0db948e72d
Polish Javadoc for @Scope
2015-06-04 15:42:15 -04:00
Sam Brannen
ff8597fa80
Introduce alias for 'value' attribute in @ComponentScan.Filter
...
Issue: SPR-11393
2015-06-04 15:25:20 -04:00
Sam Brannen
384ee69300
Introduce getAliasedClassArray() in AnnotationAttributes
...
Issue: SPR-11393
2015-06-04 15:23:53 -04:00
Sam Brannen
39e820b4bf
Polish Javadoc for @ComponentScan
2015-06-04 15:20:37 -04:00
Sam Brannen
d4ee75ddf0
Log correct class name for introspection failure
...
Issue: SPR-13091
2015-06-03 21:31:12 -04:00
Sam Brannen
d3b5aeb768
Introduce alias for 'value' attribute in @ImportResource
...
Issue: SPR-11393
2015-06-03 21:26:43 -04:00
Sam Brannen
e5dc6e964c
Introduce getAliasedStringArray() in AnnotationAttributes
...
Issue: SPR-11393
2015-06-03 21:26:43 -04:00
Stephane Nicoll
08c032d9fd
Allow Cache annotations to not specify any cache name
...
Since Spring 4.1, a CacheResolver may be configured to customize the way
the cache(s) to use for a given cache operation are retrieved. Since a
CacheResolver implementation may not use the cache names information at
all, this attribute has been made optional.
However, a fix was still applied, preventing a Cache operation without a
cache name to be defined properly. We now allow this valid use case.
Issue: SPR-13081
2015-06-03 11:42:49 +02:00
Stephane Nicoll
d6056182aa
Polish ConditionalGenericConverter documentation
...
Issue: SPR-13071
2015-06-03 10:31:55 +02:00
Sebastien Deleuze
e5f76af193
Support CORS global configuration in XML namespace
...
This commit introduces support for this kind of CORS XML namespace configuration:
<mvc:cors>
<mvc:mapping path="/api/**"
allowed-origins="http://domain1.com , http://domain2.com "
allowed-methods="GET, PUT"
allowed-headers="header1, header2, header3"
exposed-headers="header1, header2" allow-credentials="false"
max-age="123" />
<mvc:mapping path="/resources/**" allowed-origins="http://domain1.com " />
</mvc:cors>
Issue: SPR-13046
2015-06-02 19:14:12 +02:00
Juergen Hoeller
4f1286a4c3
Lite configuration candidate check defensively handles method introspection failure
...
Issue: SPR-13091
2015-06-02 14:18:00 +02:00
Juergen Hoeller
8c337a48a9
SpringSessionSynchronization's beforeCompletion unbinds after disconnect failure as well
...
Issue: SPR-13089
2015-06-01 20:34:14 +02:00
Juergen Hoeller
11401bd5e4
Upgrade to Hibernate ORM 5.0 RC1 and Hibernate Validator 5.2 RC1
...
Includes other recent dependency updates (JRuby 1.7.20, Jetty 9.2.11, Tomcat 8.0.23, Reactor 2.0.3)
Issue: SPR-13088
2015-06-01 18:35:57 +02:00
Esko Luontola
89c1674b89
Fix missing space in assertion message
2015-06-01 10:56:53 -04:00
Rossen Stoyanchev
4297612e4c
Merge pull request #808 from litpho/SPR-13080
2015-06-01 10:03:49 -04:00
Jasper de Vries
ec4783400c
SPR-13080 SseEventBuilder needs event rather than name
2015-06-01 10:02:28 -04:00
Rossen Stoyanchev
3e74476c11
Polish
2015-06-01 09:48:06 -04:00
Sam Brannen
ab24592662
Introduce alias for 'value' attribute in @SendToUser
...
Issue: SPR-11393
2015-06-01 14:14:23 +02:00
Sam Brannen
53d095aa28
Polish Javadoc for @SubscribeMapping
2015-06-01 13:56:44 +02:00
Sam Brannen
a6f53ef2a7
Polish Javadoc for @MessageMapping
2015-06-01 13:37:08 +02:00
Stephane Nicoll
4ecb8611bc
Merge pull request #811 from izeye/patch-2
...
* patch-2:
Fix typo
2015-06-01 09:21:57 +02:00
izeye
b8d7d46da7
Fix typo
2015-06-01 09:21:38 +02:00
Sam Brannen
81844191f8
Polish Javadoc for @ImportResource
2015-05-31 23:06:15 +02:00
Sam Brannen
4dffeeee64
Introduce alias for 'value' attribute in caching annotations
...
This commit introduces new 'cacheNames' attributes (analogous to the
existing attribute of the same name in @CacheConfig) as aliases for the
'value' attributes in @Cacheable, @CachePut, and @CacheEvict.
In addition, SpringCacheAnnotationParser.getAnnotations() has been
refactored to support synthesized annotations.
Issue: SPR-11393
2015-05-31 22:52:01 +02:00
Sam Brannen
de06f422f3
Polish Javadoc for caching annotations
2015-05-31 22:51:53 +02:00
Sam Brannen
485790dc0e
Introduce alias for 'value' attribute in @RenderMapping
...
Issue: SPR-11393
2015-05-31 21:24:32 +02:00
Sam Brannen
0d6b01b694
Introduce alias for 'value' attribute in @ActionMapping
...
Issue: SPR-11393
2015-05-31 21:08:26 +02:00
Sam Brannen
1a56b47502
Introduce alias for 'value' attribute in @MatrixVariable
...
Issue: SPR-11393
2015-05-31 18:50:35 +02:00
Sam Brannen
60eb9e9ca2
Introduce 'value' alias for 'origin' in @CrossOrigin
...
Issue: SPR-11393
2015-05-31 18:34:01 +02:00
Sam Brannen
f0c0813011
Change semantics of @CrossOrigin's maxAge regarding negative values
2015-05-31 18:20:52 +02:00
Sam Brannen
72b44af862
Introduce test for invalid @CrossOrigin.allowCredentials()
2015-05-31 18:17:52 +02:00
Sam Brannen
891d41c005
Fix typo in Javadoc
2015-05-31 18:13:57 +02:00
Sam Brannen
1b5947bf88
Polish Javadoc for @CrossOrigin
2015-05-31 17:44:45 +02:00
Sam Brannen
9ce7485237
Introduce alias for 'value' attribute in @SessionAttributes
...
Issue: SPR-11393
2015-05-31 17:21:03 +02:00
Sam Brannen
6a5b2672e7
Introduce alias for 'value' attribute in @ResponseStatus
...
Issue: SPR-11393
2015-05-31 17:00:23 +02:00
Sam Brannen
c55486d5d5
Introduce alias for 'value' attribute in @RequestPart
...
Issue: SPR-11393
2015-05-31 16:32:45 +02:00
Sam Brannen
034e0e2cf4
Introduce alias for 'value' attribute in @RequestParam
...
Issue: SPR-11393
2015-05-31 16:20:38 +02:00
Sam Brannen
25a5d9d759
Introduce alias for 'value' attribute in @RequestHeader
...
Issue: SPR-11393
2015-05-31 16:20:33 +02:00
Sam Brannen
c4c3ce796a
Introduce alias for 'value' attribute in @CookieValue
...
Issue: SPR-11393
2015-05-31 16:07:27 +02:00
Sam Brannen
845f4f2bb7
Improve attribute alias support in @ComponentScan
...
Prior to this commit, @ComponentScan already had a value/basePackages
alias pair; however, the semantics were not properly enforced.
This commit addresses this issue by refactoring
ComponentScanAnnotationParser to ensure that it is not possible to
declare both of the aliased attributes. In addition, the 'value' and
'basePackages' attributes are now annotated with @AliasFor in order to
make the semantics clearer.
Issue: SPR-11393
2015-05-31 15:39:15 +02:00
Sam Brannen
94aa90646b
Polish Javadoc for @ComponentScan
2015-05-31 15:32:56 +02:00
Sam Brannen
7b10dc6e93
Fix typo in Javadoc
2015-05-29 23:24:09 +02:00
Sam Brannen
60a5ec87d0
Introduce alias for 'value' attribute in @Header
...
This commit introduces 'name' as an alias for 'value' in @Header.
Issue: SPR-11393
2015-05-29 23:23:52 +02:00
Sam Brannen
35c3e7c0f3
Polishing
2015-05-29 23:10:25 +02:00
Sam Brannen
250787a35a
Introduce alias for 'value' attribute in @Payload
...
This commit introduces 'expression' as an alias for 'value' in @Payload.
Issue: SPR-11393
2015-05-29 22:58:55 +02:00
Sam Brannen
518c85b107
Support synthesized annotations in MethodParameter
2015-05-29 22:48:55 +02:00
Sam Brannen
1afc938da1
Introduce synthesizeAnnotationArray() in AnnotationUtils
2015-05-29 22:45:34 +02:00
Sam Brannen
9f717871e6
Introduce getAnnotation() in AnnotatedElementUtils
...
This commit introduces a "synthesized annotation" alternative to
getAnnotationAttributes() in AnnotatedElementUtils, analogous to the
recently introduced findAnnotation() methods.
Issue: SPR-13082
2015-05-29 22:04:10 +02:00
Sam Brannen
9afcd17c71
Introduce getAnnotationAttributes(..,Class) in AnnoElUtils
2015-05-29 21:36:00 +02:00
Sam Brannen
46be176875
Allow AnnoConfigEx to propagate from getRepeatableAnnotation()
...
Issue: SPR-13084
2015-05-29 21:17:33 +02:00
Sam Brannen
8f233786ed
Polishing
2015-05-29 02:05:44 +02:00
Sam Brannen
7018747cec
Remove trailing whitespace in Java source code
2015-05-29 02:03:44 +02:00
Sam Brannen
a31d1bdf60
Merge from sbrannen/SPR-13067
...
* SPR-13067:
Synthesize annotation from a map of attributes
2015-05-29 01:43:50 +02:00
Sam Brannen
e30c9b2ef3
Synthesize annotation from a map of attributes
...
Spring Framework 4.2 RC1 introduced support for synthesizing an
annotation from an existing annotation in order to provide additional
functionality above and beyond that provided by Java. Specifically,
such synthesized annotations provide support for @AliasFor semantics.
As luck would have it, the same principle can be used to synthesize an
annotation from any map of attributes, and in particular, from an
instance of AnnotationAttributes.
The following highlight the major changes in this commit toward
achieving this goal.
- Introduced AnnotationAttributeExtractor abstraction and refactored
SynthesizedAnnotationInvocationHandler to delegate to an
AnnotationAttributeExtractor.
- Extracted code from SynthesizedAnnotationInvocationHandler into new
AbstractAliasAwareAnnotationAttributeExtractor and
DefaultAnnotationAttributeExtractor implementation classes.
- Introduced MapAnnotationAttributeExtractor for synthesizing an
annotation that is backed by a map or AnnotationAttributes instance.
- Introduced a variant of synthesizeAnnotation() in AnnotationUtils
that accepts a map.
- Introduced findAnnotation(*) methods in AnnotatedElementUtils that
synthesize merged AnnotationAttributes back into an annotation of the
target type.
The following classes have been refactored to use the new support for
synthesizing AnnotationAttributes back into an annotation.
- ApplicationListenerMethodAdapter
- TestAnnotationUtils
- AbstractTestContextBootstrapper
- ActiveProfilesUtils
- ContextLoaderUtils
- DefaultActiveProfilesResolver
- DirtiesContextTestExecutionListener
- TestPropertySourceAttributes
- TestPropertySourceUtils
- TransactionalTestExecutionListener
- MetaAnnotationUtils
- MvcUriComponentsBuilder
- RequestMappingHandlerMapping
In addition, this commit also includes changes to ensure that arrays
returned by synthesized annotations are properly cloned first.
Issue: SPR-13067
2015-05-29 01:38:51 +02:00
Sam Brannen
f41de12cf6
Ensure synthesized nested annotation arrays retain correct type
...
Prior to this commit, when a nested array of annotations was
synthesized while adapting values within an AnnotationAttributes map,
the array was improperly replaced with an array of type Annotation[]
instead of an array of the concrete annotation type, which can lead to
unexpected run-time exceptions.
This commit fixes this bug by replacing annotations in the existing
array with synthesized versions of those annotations, thereby retaining
the original array's component type.
Issue: SPR-13077
2015-05-27 17:55:10 +02:00
Sam Brannen
a2f152ce8b
Support nested annotations in AnnotationAttributes
...
This commit introduces support in AnnotationAttributes for retrieving
nested annotations that is on par with the existing type-safe support
for retrieving nested AnnotationAttributes.
Issue: SPR-13074
2015-05-27 17:03:01 +02:00
Sam Brannen
0ac0e2ce20
Document public API in AnnotationAttributes
...
AnnotationAttributes has existed for several years, but none of the
"get" methods that make up its public API are documented. In many
cases, the behavior can be inferred from the name of the method, but
for some methods there are "hidden gems" and unexpected behavior
lurking behind the scenes.
This commit addresses this issue by documenting all public methods. In
addition, the hidden support for converting single elements into
single-element arrays has also been documented and tested.
Issue: SPR-13072
2015-05-27 16:15:25 +02:00