Arjen Poutsma
f0ed37c233
SPR-5973: UriUtils.parse returns UriComponents
13 years ago
Arjen Poutsma
65baafa032
SPR-5973: Made UriComponent enum inner type of UriComponents
13 years ago
Arjen Poutsma
6c58da0e55
SPR-5973: Added UriComponents type
13 years ago
Rossen Stoyanchev
56c8c69c4c
SPR-8642 IMPROVE ERROR REPORTING WHEN RESOLVING MULTIPART REQUEST METHOD ARGUMENTS
...
Separate client from server errors as much as possible in this order:
- raise MultipartException when resolving a multipart arg and the
request is not a multipart request (400)
- raise IllegalArgumentException when the arg type is MultipartFile
but the request is not of type MultipartHttpServletRequest (500)
- raise MissingServletRequestPartException when a MultipartResolver
is in use but the part is not found (400)
- detect presence of Servlet 3.0 before using standard multipart
parsing to find a request part or raise
IllegalArgumentException (500)
Unfortunately it is not always possible to separate client from
server errors mainly because the Servlet 3.0 API does not
distinguish between the case of 0 request parts vs multipart
processing not being configured.
13 years ago
Arjen Poutsma
b6c1e88e4a
SPR-5973: Cleaning it up
13 years ago
Arjen Poutsma
5f208936ec
Added parse methods
13 years ago
Arjen Poutsma
99f68d3620
SPR-5973: javadoc
13 years ago
Arjen Poutsma
420d11911b
SPR-5973: Extract UriComponentTemplate out of UriTemplate
13 years ago
Arjen Poutsma
1d75e1b250
SPR-5973: Changed UriComponent from inner type to top-level enum
13 years ago
Arjen Poutsma
6b7e7d9b5c
SPR-5973: UriBuilder
13 years ago
Arjen Poutsma
f1c68f243e
Changed ClientHttpRequestInterceptor array to List
13 years ago
Chris Beams
49b38190ee
Fix typo in cache abstraction reference doc
...
Issue: SPR-8670
13 years ago
Arjen Poutsma
9a25efbbda
SPR-5973: UriBuilder
13 years ago
Rossen Stoyanchev
498d81f696
SPR-8646 Encode URI template variables in the target URL of RedirectView.
13 years ago
Chris Beams
8759b20e46
Include javax.jdo 3.x in spring-orm template.mf
...
Prior to this change, spring-orm/template.mf was exclusive of javax.jdo
3.0.0. Now, after local testing against the newly-released jdo-api 3.0
jar, the template has been updated to allow for use in OSGi containers.
Note that actually updating build dependency descriptors to JDO 3.0 such
that the framework is continually tested against this version is covered
by a separate issue (SPR-8668).
Issue: SPR-8667, SPR-8655
13 years ago
Chris Beams
2e5f3559d3
Fix handling of @EnableLoadTimeWeaving AUTODETECT
...
Issue: SPR-8643
13 years ago
Chris Beams
4e522c0cc3
Fix Javadoc error in JdbcOperations
...
Issue: SPR-8664
13 years ago
Costin Leau
d9de19d7b3
SPR-8653
...
+ refactor a bit the internals of CacheAspect to allow invocations that do not throw any exceptions (AspectJ)
13 years ago
Rossen Stoyanchev
91251812b1
Polish @ExceptionHandler method resolution. Allow subclasses to plug in additional @ExceptionHandler methods.
13 years ago
Costin Leau
04bcd77520
+ temporarily revert change
13 years ago
Rossen Stoyanchev
b6d7c85f6e
SPR-7812 Provide separate methods for type and method-level custom request conditions. Polish javadoc in RequestMappingInfo and related HandlerMapping classes
13 years ago
Costin Leau
ddfb2d3c58
+ remove unneeded catch for exceptions inside AbstractCacheAspect.aj
13 years ago
Rossen Stoyanchev
37d22ad039
SPR-8611 Add detection of RedirectView when selecting the best view in ContentNegotiatingViewResolver.
13 years ago
Rossen Stoyanchev
7bf44f06a0
SPR-8596 Detect case in UriPathHelper where originating request query (before forwarding) is null.
13 years ago
Costin Leau
ce70c985b4
+ add documentation on declarative XML
13 years ago
Arjen Poutsma
b06de49c72
Changed ClientHttpRequestInterceptor array to List
13 years ago
Arjen Poutsma
4a669d1a0a
Removed UrlPathHelper, as it's provided by the superclass
13 years ago
Sam Brannen
1a34f6459d
[SPR-8644][SPR-8633] introduced failing (ignored) test regarding support for invoking methods that accept var-args.
13 years ago
Sam Brannen
16fb3cb4b3
[SPR-8644] Introduced a failing (ignored) test that demonstrates that findMethod() does not currently support var-args.
13 years ago
Sam Brannen
1de71c6e37
[SPR-8222] Upgraded to JUnit 4.9.
13 years ago
Rossen Stoyanchev
6a06a17c47
SPR-6464 Add target request matching logic to DefaultFlashMapManager.
13 years ago
Chris Beams
71984b8038
Fix ExtendedBeanInfo indexed write method edge case
...
See comments at ExtendedBeanInfo#reproSpr8522
Issue: SPR-8522
13 years ago
Sam Brannen
2fc78fb8fd
[SPR-8240] cleaned up and formatted the testing chapter.
13 years ago
Sam Brannen
7908d05c71
[SPR-8627] Deprecated @ExpectedException .
...
[SPR-8240] cleaned up and formatted the testing chapter.
13 years ago
Rossen Stoyanchev
0460a5eceb
SPR-8536 Add exact matches when comparing 'produces' conditions (e.g. given Accept: text/*, method with text/* is preferred over text/plain). Also pick a media type alphabetically when two 'produces' condition media types match equally (e.g. given Accept: text/* method with text/plain is chosen over text/xhtml)
13 years ago
Rossen Stoyanchev
00ff018b39
SPR-6464 Uncommitted file from the last commit.
13 years ago
Rossen Stoyanchev
baea01ac90
SPR-6464 Add RedirectAttributes and SmartView interfaces.
13 years ago
Chris Beams
bd7fd57ad2
Fix cache ref doc typo: Eh{c=>C}acheCacheManager
...
Issue: SPR-8632, SPR-8635
13 years ago
Chris Beams
7d177ecfd4
Update Servlet 3.0 dependency in webmvc pom
13 years ago
Sam Brannen
7a1553472d
[SPR-8633] Introduced generic invokeMethod() in ReflectionTestUtils.
13 years ago
Sam Brannen
4d99ddba8a
[SPR-8633] Introduced generic invokeMethod() in ReflectionTestUtils.
13 years ago
Sam Brannen
72da569aa3
[SPR-8386][SPR-8387] Revised Javadoc in the TestContext framework regarding changes in 3.1.
13 years ago
Sam Brannen
1c7cc172d9
[SPR-8627] Deprecated @ExpectedException .
13 years ago
Sam Brannen
381ab6fcc2
[SPR-8627] Deprecated @ExpectedException .
13 years ago
Sam Brannen
960082dbb0
[SPR-8541] Oops! Fixed a minor logic error in DelegatingSmartContextLoader.
13 years ago
Sam Brannen
8ccedd452e
[SPR-8541] Documented DelegatingSmartContextLoader.
13 years ago
Sam Brannen
466c3b4b2a
[SPR-8541] Documented DelegatingSmartContextLoader.
13 years ago
Sam Brannen
0a88d4bae1
Fixed broken test: now verifying that an attempt to set a null active profile throws an IllegalArgumentException.
13 years ago
Chris Beams
2c239e30d5
Update spring-webmvc-portlet template.mf
...
Add Import-Template entry for org.spring-framework.jndi
Issue: SPR-8038
13 years ago
Chris Beams
f0460ce6fd
Register JndiPropertySource by default in portlet environments
...
Issue: SPR-8038, SPR-8545, SPR-8490
13 years ago