Commit Graph
247 Commits
Author SHA1 Message Date
Arjen Poutsma bcad0df063 SPR-7707 - Unexpected behavior with class-level @RequestMappings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3793 50f2f4bb-b051-0410-bef5-90022cba6387
2010-11-08 14:56:35 +00:00
Arjen Poutsma ff620e1f60 SPR-5367 - PathVariable mappings are greedy over hard coded mappings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3750 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-13 12:03:26 +00:00
Juergen Hoeller 33c4c04276 made ResourceHttpRequestHandlerTests more reliable (SPR-7565)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3693 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:14:18 +00:00
Juergen Hoeller 9e04940e1c fixed @MVC processing of parameter-level annotations to work with interface-based proxies again (SPR-7483)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3658 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 14:45:00 +00:00
Juergen Hoeller f835d5f604 revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3657 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 13:56:42 +00:00
Juergen Hoeller ea2bbbb3be allow for writing the response directly in a Portlet @ExceptionHandler method (like in the Servlet equivalent)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3645 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:43:26 +00:00
Arjen Poutsma 2d3eeeb4ea SPR-7471 - Regression in redirect URL encoding
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3607 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 08:54:42 +00:00
Juergen Hoeller fded7496d5 renamed "mapping-order" to "order"; added "cache-period"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3598 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-16 19:04:51 +00:00
Juergen Hoeller e39f0704a2 WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3588 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:51:02 +00:00
Juergen Hoeller 29c3bb3152 MockMultipartHttpServletRequest pre-defines method "POST" and content type "multipart/form-data"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3587 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:46:15 +00:00
Juergen Hoeller 3f7c46e16d revised handler method resolution, in particular with respect to generic interfaces (SPR-7355)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3579 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:12:54 +00:00
Juergen Hoeller 7fa2da7e9a revised DispatcherServlet's last-modified handling to properly work with scoped controllers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3575 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 23:32:53 +00:00
Juergen Hoeller 39787d0745 fixed JSP EvalTag to render null result as empty String instead of "null" String (SPR-7459)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3568 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 18:41:24 +00:00
Arjen Poutsma 2dccb96f85 SPR-7427 - URL in a redirect is not escaped by RedirectView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3564 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 11:44:44 +00:00
Juergen Hoeller 3f23b8f258 revised ResourceHttpRequestHandler (SPR-7116)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3548 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-08 23:25:49 +00:00
Jeremy Grelle c7f1a2fd76 SPR-7116 - Simplified (removed gzip and white-listing) and completed XML namespace config.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3516 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-31 01:09:40 +00:00
Jeremy Grelle 9406f95807 SPR-7116 further work in progress. Added white-listing by media type, checking MIME type from the ServletContext, and some additional validations.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3512 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-29 00:01:13 +00:00
Jeremy Grelle 5e2f7c9c6f SPR-7116 work in progress. ResourceHttpRequestHandler is now functionally equivalent to the Spring JS ResourceServlet, with the exception of the resource concatenation feature (which will be deferred for reconsideration in 3.1).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3510 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-27 04:45:43 +00:00
Juergen Hoeller db2a10a1eb avoid double ConversionFailedException nesting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3505 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:33:34 +00:00
Arjen Poutsma df00d608e2 SPR-7381 - HTTP headers returned as part of ResponseEntity(MultiValueMap<String, String> headers, HttpStatus statusCode) are ignored when using this constructor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3488 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-16 13:47:19 +00:00
Arjen Poutsma 5592c72b25 SPR-7345 - HTTP 405 (Method not supported) returned when 404 Status (Not Found) was expected
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3487 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-16 10:06:19 +00:00
Arjen Poutsma 4852217b79 SPR-7346 - @RequestHeader negation expressions (e.g. !Accept=text/plain) are not applied
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3484 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-15 08:49:18 +00:00
Juergen Hoeller 6b55137d3e JSP EvalTag resolves "@myBeanName" references in expressions against the WebApplicationContext (SPR-7312); for consistency, expressions in an ApplicationContext support the same syntax against the local BeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3479 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:36:26 +00:00
Keith Donald f586cec9c3 mvc resources handler initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3443 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 21:36:45 +00:00
Keith Donald 407b1bb354 mvc resources handler initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3442 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 21:26:03 +00:00
Arjen Poutsma 675067544a SPR-7263 - TypeMismatchException instead of IllegalArgumentException: argument type mismatch for wrong RequestBody
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3406 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-09 10:37:17 +00:00
Juergen Hoeller 8e090e5fc4 fixed JSP ErrorsTag to avoid invalid "*.errors" id, using form object name as id prefix instead (SPR-7258)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3384 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 19:22:53 +00:00
Arjen Poutsma e294752987 SPR-7259 - ResponseStatus.reason() ignored for @ExceptionHandler methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3381 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 13:33:43 +00:00
Juergen Hoeller de0d62ce93 added convenient "checkRefresh" bean property to TilesConfigurer (SPR-7225)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3357 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-20 16:49:53 +00:00
Juergen Hoeller 220d5a0e15 MockHttpServletResponse supports multiple includes (SPR-7188)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3324 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-12 14:07:25 +00:00
Arjen Poutsma dbe18ddfe0 SPR-7117 - Add ability for CNVR to search view names that use file extensions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3304 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-29 11:06:31 +00:00
Arjen Poutsma 1b40c30d46 SPR-7145 - NullPointerException in AnnotationMethodHandlerAdapter if HttpHeaders in ResponseEntity are empty
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3302 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-29 08:04:36 +00:00
Juergen Hoeller 359680a2df remove trailing servlet path slash on WebSphere only (SPR-7064)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3275 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-20 11:43:20 +00:00
Juergen Hoeller 21be98a8b5 fixed @ExceptionHandler resolution in case of multiple matches at different inheritance levels (SPR-7085)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3264 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 18:48:24 +00:00
Juergen Hoeller b2f470b6f9 fixed canRead breakage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3249 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 16:13:50 +00:00
Arjen Poutsma 8879140e4a SPR-7081 - Add ignoreJafMediaTypes to ContentNegotiatingViewResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3239 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-13 08:37:59 +00:00
Arjen Poutsma 3b6c2c0012 SPR-7060 - @ResponseStatus: The reason value is not used.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3222 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-02 08:39:26 +00:00
Arjen Poutsma b77698ec67 Introduced ResponseEntity, for access to the response status code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3210 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:08:51 +00:00
Juergen Hoeller b9bc32b103 UrlPathHelper cuts off trailing servlet-path slashes for root mappings (on WebSphere; SPR-7052)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3205 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-31 14:02:27 +00:00
Arjen Poutsma 16078ccec9 SPR-7047 - XML MarshallingView assumes non-null value for object to be marshalled.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3187 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 08:34:29 +00:00
Juergen Hoeller b61dd8b434 refined use of generics
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3186 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-29 23:08:32 +00:00
Arjen Poutsma 50a9c059a2 SPR-7000 - AnnotationMethodHandlerAdapter gives priority to media type order over quality when selecting a method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3174 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 12:29:52 +00:00
Juergen Hoeller d434a950ba fixed collection element conversion using ConversionService (SPR-6950)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3173 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 11:53:41 +00:00
Arjen Poutsma 78f69618f5 SPR-7031 - MappingJacksonJsonView should add headers for no-caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3169 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 10:14:11 +00:00
Arjen Poutsma da62a2f3df SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3140 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 09:50:47 +00:00
Arjen Poutsma abd1deb383 Revert: SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3139 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 08:52:59 +00:00
Arjen Poutsma 55c74841f2 SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3130 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 14:31:27 +00:00
Arjen Poutsma 2c3fd51243 SPR-6978 - Dispatcher fails to invoke handler method when request method conflicts with request path
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3126 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 14:12:32 +00:00
Arjen Poutsma d2983d90b7 SPR-7018 - Support for HttpEntity<?> in @MVC
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3119 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 10:23:39 +00:00
Arjen Poutsma cd5f2d1b3a SPR-6973 - SimpleUrlHandlerMapping wildcards cannot handle escaped newline characters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3094 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 16:56:16 +00:00