Juergen Hoeller
fe72fcede5
Polishing
...
(cherry picked from commit ede2150 )
2014-07-02 18:18:21 +02:00
Juergen Hoeller
c033f889bf
Polishing (backported from master)
...
(cherry picked from commit 48f753f )
2014-07-01 14:28:05 +02:00
Juergen Hoeller
44c61e5d5f
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
(cherry picked from commit c16032b )
2014-07-01 14:22:56 +02:00
Juergen Hoeller
247771ce91
UriComponentBuilder allows for multiple independent build() calls on same builder instance
...
Issue: SPR-11885
(cherry picked from commit c73ac07 )
2014-07-01 14:20:11 +02:00
Juergen Hoeller
d96550898f
HttpHeaders fails getAllow if set to EmptyCollection
...
Prior to this commit, calls to getAllow would fail is setAllow was set
to an EmptyCollection right before.
java.lang.IllegalArgumentException: No enum constant
org.springframework.http.HttpMethod
This commit fixes this by testing the header value for an empty value
before trying to use it to get a value from the Enum.
Issue: SPR-11917
(cherry picked from commit 9054f4f )
2014-07-01 14:17:55 +02:00
Juergen Hoeller
8aabc43dad
Servlet 3 multipart request implements getParameterMap defensively as well
...
Issue: SPR-11074
(cherry picked from commit c7d1c49 )
2014-05-20 11:28:57 +02:00
Juergen Hoeller
4d3aa59028
Polishing
...
(cherry picked from commit 6fef8b9 )
2014-05-20 11:27:55 +02:00
Rossen Stoyanchev
c6503ebbf7
Disable URL resolution in DTD declarations
...
Issue: SPR-11768
2014-05-19 22:43:14 -04:00
Juergen Hoeller
f42f2231a4
Minor UriComponentsBuilder javadoc revision
...
(cherry picked from commit 545c28f )
2014-05-20 01:06:01 +02:00
Juergen Hoeller
0313222bc7
Consistent use of IllegalStateException instead of InternalError for UnsupportedEncodingException cause
...
(cherry picked from commit d9b39ad )
2014-05-20 01:05:55 +02:00
Juergen Hoeller
c7b2ac7bac
Backported proper updateAccessedAttributes test
...
Issue: SPR-11738
(cherry picked from commit 1bbc032 )
2014-05-19 17:40:11 +02:00
Juergen Hoeller
cbff8b01bb
Javadoc fixes
2014-05-18 23:55:57 +02:00
Juergen Hoeller
faaf43677d
Servlet 3 multipart request implements getParameterNames defensively (for WebLogic 12 compatibility)
...
This commit also includes lazy resolution support for StandardServletMultipartResolver, along the lines of existing lazy mode in CommonsMultipartResolver.
Issue: SPR-11074
Issue: SPR-11730
(cherry picked from commit 82336c3 )
2014-05-18 20:51:39 +02:00
Juergen Hoeller
a5606a6c46
Polishing
2014-04-29 23:39:17 +02:00
Juergen Hoeller
779a6b79eb
Polishing
2014-04-27 22:52:51 +02:00
Juergen Hoeller
5d5f70473a
checkNotModified leniently handles IE-10-style If-Modified-Since values and silently proceeds if header value cannot be parsed at all
...
Issue: SPR-11727
(cherry picked from commit 794e859 )
2014-04-25 23:33:10 +02:00
Juergen Hoeller
ffaac0ecf3
Polishing
2014-04-18 13:23:05 +02:00
Juergen Hoeller
99a3e9cacb
Revised ByteArrayOutputStream handling in MarshallingView and co
...
Issue: SPR-11646
(cherry picked from commit 8006696 )
2014-04-02 22:56:34 +02:00
Juergen Hoeller
b80dc9d642
Polishing
...
Issue: SPR-11262
(cherry picked from commit d628025 )
2014-04-02 22:55:33 +02:00
Juergen Hoeller
623b1fc0d5
Polishing
2014-03-25 00:37:01 +01:00
Juergen Hoeller
dbd5f67498
Consistently applied appropriate ByteArrayOutputStream initial capacities across the codebase
...
Issue: SPR-11594
(cherry picked from commit dd7f54c )
2014-03-25 00:35:33 +01:00
Juergen Hoeller
ab85aa2096
BufferedImageHttpMessageConverter ignores empty MIME types
...
Issue: SPR-11581
(cherry picked from commit 90e3dbb )
2014-03-25 00:34:53 +01:00
Juergen Hoeller
9585752693
Polishing
2014-03-11 21:36:10 +01:00
Juergen Hoeller
4c9c7634d0
Log4jWebConfigurer does not try to parse empty "log4jRefreshInterval" context-param
...
Issue: SPR-11507
(cherry picked from commit 9b77157 )
2014-03-07 14:55:44 +01:00
Rossen Stoyanchev
fb0683c066
Add processExternalEntities support to OXM
...
Update OXM AbstractMarshaller to support processing of external
XML entities. By default external entities will not be processed.
Issue: SPR-11376
2014-02-18 16:01:20 -08:00
Juergen Hoeller
4886bf0708
Polishing
2014-02-14 23:46:22 +01:00
Juergen Hoeller
5da79ebca6
Related polishing
...
Issue. SPR-11428
(cherry picked from commit 9c6df76 )
2014-02-14 23:21:29 +01:00
Sam Brannen
27ad1990e3
Fix imports in SourceHttpMessageConverterTests
...
Replaced static import of org.junit.Assert.* with implicit imports in
order to avoid ambiguity between JUnit's static Assert methods and those
in org.custommonkey.xmlunit.XMLAssert.
2014-02-13 00:45:40 +01:00
Juergen Hoeller
4ac4630b0b
Polishing
2014-02-12 15:15:05 +01:00
Juergen Hoeller
29b40b9d0e
Revised InvocableHandlerMethod exception handling
...
Issue: SPR-11281
(cherry picked from commit 1a1c72c )
2014-02-12 15:13:28 +01:00
Juergen Hoeller
85e336e6da
Consistently avoid close() call on Servlet OutputStream
...
Issue: SPR-11413
(cherry picked from commit 5f1592a )
2014-02-12 15:12:43 +01:00
Juergen Hoeller
d55a173e2e
Fix issue w/ use of UrlPathHelper's urlDecode property
...
Before this change the getPathWithinServletMapping method of
UrlPathHelper could not work properly when a default servlet mapping
(i.e. "/") was used in combination with urlDecode=false. The fact that
the getServletPath() method of HttpServletRequest always returns a
decoded path was getting in the way.
Although there is no way to check Servlet mappings through the Servlet
API, this change aims to detect the given scenario and returns the full
path following the context path thus avoiding URL decoding.
Note that the same can be achieved by setting urlDecode=false and
alwaysUseFullPath=true. However this change ensures that urlDecode
works properly without having to know that.
Issue: SPR-11101
(cherry picked from commit 12598f8 )
2014-02-12 15:06:00 +01:00
Juergen Hoeller
61ab40cd7a
Upgraded to Commons FileUpload 1.3.1, TestNG 6.8.7, Hibernate 4.2.8, Joda-Time 2.2, Jackson 1.7.9
2014-02-09 00:45:07 +01:00
Juergen Hoeller
b3fb81bf72
Defensively handle ServletRequestAttributes casting in requestDestroyed callback
...
Issue: SPR-11378
(cherry picked from commit 5f24294 )
2014-02-01 11:07:33 +01:00
Juergen Hoeller
36ab65ace7
Dropped explicit paragraph on web.xml version declaration
...
Issue: SPR-11364
2014-01-28 17:32:08 +01:00
Brian Clozel
1cb9b9cf52
Add RestTemplate constructor with custom converters
...
Prior to this commit, RestTemplate's constructors were all initializing
default HTTPMessageConverters. Its API provides a way to replace
those converters with custom ones, but default converters are already
defined and initialized at that point, which can be an issue in some
cases (performance, classpath...).
This commits adds a new constructor for RestTemplate with a list
of message converters as argument. With this new constructor,
default message converters are never initialized.
Issue: SPR-11351
(cherry picked from commit 425e5a0 )
2014-01-28 12:41:36 +01:00
Juergen Hoeller
5307a87d1a
Polishing
...
Issue: SPR-11357
2014-01-24 19:19:32 +01:00
Juergen Hoeller
341d645d09
Polishing
...
Issue: SPR-11357
2014-01-24 17:46:56 +01:00
Juergen Hoeller
edb660863b
Polishing
2014-01-24 16:59:42 +01:00
Juergen Hoeller
fc361844ec
Polishing
...
Issue: SPR-11297
2014-01-22 23:57:48 +01:00
Juergen Hoeller
09c9137b75
Removed accidental backport of StAX code in 3.2.5 (restoring Java 5 compatibility)
...
Issue: SPR-11341
2014-01-21 17:12:22 +01:00
Juergen Hoeller
1f60738431
checkNotModified needs to consider HEAD as well
...
Issue: SPR-11317
(cherry picked from commit 17cc63e )
2014-01-15 23:47:16 +01:00
Juergen Hoeller
68b1eb1aba
Polishing
2014-01-15 23:46:52 +01:00
Juergen Hoeller
5fb2665d1c
Introduced "globalInitializerClasses" next to the existing "contextInitializerClasses", applying to FrameworkServlets as well
...
Issue: SPR-11314
(cherry picked from commit 91881ff )
2014-01-15 23:46:04 +01:00
Juergen Hoeller
b35050caf2
Fixed Jackson2ObjectMapperFactoryBean class name in javadoc examples
2014-01-05 02:24:13 +01:00
Juergen Hoeller
72a5737ab9
Polishing
2014-01-05 00:02:54 +01:00
Juergen Hoeller
d4b0751626
Polishing
2013-12-09 00:12:03 +01:00
Juergen Hoeller
25c7e3645b
Polishing (including removal of javadoc imports that show as package cycles in IntelliJ)
...
(cherry picked from commit 2a52dec )
2013-12-03 00:00:31 +01:00
Rossen Stoyanchev
7387cb990e
Disable ext entities in SourceHttpMessageConverter
...
This change disables the processing of external entities in
SourceHttpMessageConverter by default and provides an option to enable
it if required.
2013-11-05 09:49:13 -05:00
Rossen Stoyanchev
f9081bedb4
Add timeout async request handling to OSIV components
...
This change adds async web request timeout handling to OSIV filters
and interceptors to ensure the session or entity manager is released.
Issue: SPR-10874
2013-10-30 23:12:09 -04:00