Rossen Stoyanchev
|
91251812b1
|
Polish @ExceptionHandler method resolution. Allow subclasses to plug in additional @ExceptionHandler methods.
|
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 |
Rossen Stoyanchev
|
37d22ad039
|
SPR-8611 Add detection of RedirectView when selecting the best view in ContentNegotiatingViewResolver.
|
13 years ago |
Arjen Poutsma
|
4a669d1a0a
|
Removed UrlPathHelper, as it's provided by the superclass
|
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 |
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
|
baea01ac90
|
SPR-6464 Add RedirectAttributes and SmartView interfaces.
|
13 years ago |
Chris Beams
|
7d177ecfd4
|
Update Servlet 3.0 dependency in webmvc pom
|
13 years ago |
Chris Beams
|
1b176db8e7
|
Remove obsolete taglibs dependency from webmvc pom
|
13 years ago |
Sam Brannen
|
87dad65ff0
|
[SPR-8622] Upgraded to JUnit 4.8.2
|
13 years ago |
Rossen Stoyanchev
|
152add37d5
|
SPR-6464 Add getInputFlashMap and getOutputFlashMap methods to RequestContextUtils
|
13 years ago |
Rossen Stoyanchev
|
aa46d18125
|
SPR-6464 FlashMap polish
|
13 years ago |
Rossen Stoyanchev
|
224bce1b64
|
SPR-8612 Allow explicit status code in HTTP 1.0 compatibility mode
|
13 years ago |
Rossen Stoyanchev
|
936c83b030
|
SPR-6464 Add RedirectModel
|
13 years ago |
Rossen Stoyanchev
|
45efe6184c
|
SPR-6464 FlashMap polish
|
13 years ago |
Rossen Stoyanchev
|
c97257b16f
|
SPR-6464 Fix minor issue
|
13 years ago |
Rossen Stoyanchev
|
6f1818a604
|
SPR-6464 Use the redirect URL and its request parameters (if any), instead of a synthetic key, to match a FlashMap instance to its intended recepient request. This should help to prevent conflicts in most cases transparently. Only if necessary a controller can add extra request parameters to distinguish the request even more uniquely.
|
13 years ago |
Rossen Stoyanchev
|
1df0cd9f20
|
SPR-6464 Drop @FlashAttributes, add ResponseContext, ViewResponse, and RedirectResponse types for annotated controllers to use to prepare a redirect response with flash attributes; Add FlashMap and FlashMapManager and update DispatcherServlet to discover and invoke the FlashMapManager.
|
13 years ago |
Rossen Stoyanchev
|
fc4ea16ba0
|
Replace RequestBodyNotValidException and RequestPartNotValidException with MethodArgumentNotValidException and add MethodParameter information to the exception message.
|
13 years ago |
Rossen Stoyanchev
|
3c7e44ada4
|
SPR-8536 When two methods match a request for any content type (i.e. Accept=*/* or no Accept header), choose the one that doesn't define any 'Accept' media types by default. This addresses an important use case where methods serving browsers typically don't specify Accept media types.
|
13 years ago |
Juergen Hoeller
|
8745024969
|
added getContentAsByteArray() and getContentAsString() methods (SPR-8575); actually implemented forward, include and handlePageException methods
|
13 years ago |
Juergen Hoeller
|
df1f3d40bd
|
polishing
|
13 years ago |
Juergen Hoeller
|
0a48936f4f
|
ContentNegotiatingViewResolver properly handles invalid accept headers (SPR-7712)
|
13 years ago |
Rossen Stoyanchev
|
3fb753bc0c
|
SPR-8448 Use URI template vars rather than path vars in RedirectView
|
13 years ago |
Rossen Stoyanchev
|
98ad8633bd
|
SPR-8524 Add flag to AbstractCachingViewResolver to suppress subsequent resolution of unresolved view names.
|
13 years ago |
Juergen Hoeller
|
fad865fbad
|
polishing
|
13 years ago |
Juergen Hoeller
|
4385367f2d
|
optimized getMethodResolver implementation to actually benefit from ConcurrentHashMap
|
13 years ago |
Juergen Hoeller
|
19c2672dc3
|
polishing
|
13 years ago |
Rossen Stoyanchev
|
f4adf227be
|
SPR-6464 Add @FlashAttributes annotation and FlashStatus method argument
|
13 years ago |
Juergen Hoeller
|
2c504012ad
|
HtmlUtils properly escapes single quotes as well
|
13 years ago |
Rossen Stoyanchev
|
9347ac358c
|
SPR-8540 Minor Freemarker import related documentation fix
|
13 years ago |
Rossen Stoyanchev
|
38a6660777
|
SPR-8543 Fix issue in AnnotationMethodHandlerAdapter with extracting URI template variable from URL with file extension
|
13 years ago |
Juergen Hoeller
|
ff8ebbb9c4
|
moved OpenSessionInViewTests back to orm module
|
13 years ago |
Juergen Hoeller
|
83df082930
|
moved OpenSessionInViewTests back to orm module
|
13 years ago |
Juergen Hoeller
|
d7cd11a48c
|
consistent update of HeaderValueHolder class
|
13 years ago |
Juergen Hoeller
|
bbab294116
|
added Jetty dependency
|
13 years ago |
Juergen Hoeller
|
2218cdb16f
|
polishing
|
13 years ago |
Rossen Stoyanchev
|
fd7e0b405b
|
SPR-8515 Check for traversal to parent directory via ../ in resource requests
|
13 years ago |
Rossen Stoyanchev
|
3363d05879
|
SPR-8483 Add integration test for accessing multipart request parts with @RequestPart
|
13 years ago |
Juergen Hoeller
|
2d7af57149
|
fixed DispatcherServletTests breakage
|
13 years ago |
Juergen Hoeller
|
571535352b
|
revised Servlet 3.0 based StandardServletMultipartResolver for correct param/file distinction; added multipart content type and headers access to MultipartRequest (dropping the previous header access solution on MultipartFile); MultipartFilter uses a Servlet 3.0 based StandardServletMultipartResolver by default
|
13 years ago |
Rossen Stoyanchev
|
e787887f46
|
SPR-8532 Exclude Tiles transitive deps on 'com.springsource.javax.servlet' from 'com.springsource.org.apache.tiles.jsp' and 'com.springsource.org.apache.tiles.servlet' only.
|
13 years ago |
Juergen Hoeller
|
7e4982d6ae
|
updated dependencies
|
13 years ago |
Rossen Stoyanchev
|
2568a3c2c6
|
SPR-8001 Recognize case when MultipartRequest is null and argument is of type MultipartFile and raise helpful exception.
|
13 years ago |
Rossen Stoyanchev
|
b8c723d080
|
SPR-8532 Upgrade org.springframework.web.servlet to Servlet 3.0 (as provided dependency) and add support for javax.servlet.Part parameter
|
13 years ago |
Juergen Hoeller
|
6cd55b7986
|
ContextLoader and FrameworkServlet support "contextId" parameter for custom serialization id
|
13 years ago |
Sam Brannen
|
e94d1e314f
|
fixed typo and formatting in Javadoc
|
13 years ago |
Rossen Stoyanchev
|
e0d2e20fc4
|
8483 Add support for MultipartFile arg type in RequestPartMethodArgumentResolver
|
13 years ago |
Rossen Stoyanchev
|
a58bd3073d
|
SPR-8431 Extract RedirectView URL creation into separate method available for subclasses to use
|
13 years ago |