Commit Graph

659 Commits

Author SHA1 Message Date
Juergen Hoeller 87af61b877 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4808 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-27 22:38:59 +00:00
Juergen Hoeller 904a1314b5 optimized getMethodResolver implementation to actually benefit from ConcurrentHashMap
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4805 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-27 22:26:05 +00:00
Juergen Hoeller d618b98919 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4803 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-27 21:52:18 +00:00
Rossen Stoyanchev 43c8c79815 SPR-6464 Add @FlashAttributes annotation and FlashStatus method argument
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4802 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-27 21:46:36 +00:00
Juergen Hoeller 35fab2c621 HtmlUtils properly escapes single quotes as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4800 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-27 21:22:04 +00:00
Rossen Stoyanchev f4f4bfb904 SPR-8540 Minor Freemarker import related documentation fix
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4797 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-27 11:14:31 +00:00
Rossen Stoyanchev 7a2747becc SPR-8543 Fix issue in AnnotationMethodHandlerAdapter with extracting URI template variable from URL with file extension
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4788 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-26 08:26:09 +00:00
Juergen Hoeller d1874aa592 moved OpenSessionInViewTests back to orm module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4784 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-26 01:07:59 +00:00
Juergen Hoeller bf72c02ed7 moved OpenSessionInViewTests back to orm module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4780 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-26 00:46:07 +00:00
Juergen Hoeller 6063c3aa34 consistent update of HeaderValueHolder class
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4778 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-26 00:39:01 +00:00
Juergen Hoeller a464865201 added Jetty dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4773 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-25 12:27:49 +00:00
Juergen Hoeller dbf2f44e9b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4767 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-25 10:57:50 +00:00
Rossen Stoyanchev b4187f716b SPR-8515 Check for traversal to parent directory via ../ in resource requests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4764 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-22 16:27:33 +00:00
Rossen Stoyanchev f90400f2b6 SPR-8483 Add integration test for accessing multipart request parts with @RequestPart
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4757 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-21 16:24:33 +00:00
Juergen Hoeller d8497f7c23 fixed DispatcherServletTests breakage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4737 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-20 21:04:29 +00:00
Juergen Hoeller d3a7fdadb0 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
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4736 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-20 20:46:53 +00:00
Rossen Stoyanchev 6f7ce59870 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.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4727 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-19 11:04:27 +00:00
Juergen Hoeller 43cad2c65d updated dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4723 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-18 21:41:21 +00:00
Rossen Stoyanchev f05fbf3ec2 SPR-8001 Recognize case when MultipartRequest is null and argument is of type MultipartFile and raise helpful exception.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4714 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-18 13:49:47 +00:00
Rossen Stoyanchev 89d7bf8dab SPR-8532 Upgrade org.springframework.web.servlet to Servlet 3.0 (as provided dependency) and add support for javax.servlet.Part parameter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4713 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-18 12:06:11 +00:00
Juergen Hoeller df7a5c8d6f ContextLoader and FrameworkServlet support "contextId" parameter for custom serialization id
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4659 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-03 22:36:42 +00:00
Sam Brannen a912a86667 fixed typo and formatting in Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4645 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-01 17:33:13 +00:00
Rossen Stoyanchev 326503eac2 8483 Add support for MultipartFile arg type in RequestPartMethodArgumentResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4642 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-30 21:04:23 +00:00
Rossen Stoyanchev 783d4077a6 SPR-8431 Extract RedirectView URL creation into separate method available for subclasses to use
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4640 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-30 09:13:51 +00:00
Rossen Stoyanchev 09197872e9 SPR-8447 Provide sufficient contextwherever possible when exceptions are raised in new @MVC classes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4638 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-29 15:36:18 +00:00
Rossen Stoyanchev 538364c966 SPR-8483 Add support for @RequestPart annotated method parameters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4637 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-28 19:22:33 +00:00
Juergen Hoeller b0383f9080 fixed getHeaderNames signature
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4636 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-28 14:08:47 +00:00
Juergen Hoeller 30f9c3c937 added headers support to MultipartFile abstraction
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4635 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-27 23:02:13 +00:00
Rossen Stoyanchev 75d036f82e SPR-8487 Ensure setters for argument resolvers and return value handlers replace the defaults completely.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4634 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-27 22:23:10 +00:00
Rossen Stoyanchev d6cb75f2de SPR-7608 Add fallback mechanism for instantiating a model attribute from a path variable
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4621 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-24 17:18:53 +00:00
Rossen Stoyanchev 166ad38200 SPR-6909 Improve extension hooks in DefaultDataBinderFactory and subclasses.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4620 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-24 12:04:16 +00:00
Rossen Stoyanchev 78796d4ea9 SPR-8484 Add path variables to the model via AbstractView.render(..) rather than HandlerMethodArgumentResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4619 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-24 10:09:28 +00:00
Rossen Stoyanchev 591f19c4cf SPR-7746 Add examples of using regex in URI template vars and working with 'Last-Modified' HTTP requests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4618 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-23 15:28:57 +00:00
Rossen Stoyanchev f265f8797a Add boolean flag in RequestMappingHandlerMapping to indicate if type- or method-level @RequestMapping annotation is being introspected
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4615 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-22 22:29:26 +00:00
Rossen Stoyanchev 71e32d3261 SPR-8452 Provide getter for statusCodes property of SimpleMappingExceptionResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4605 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-22 19:29:35 +00:00
Rossen Stoyanchev bb5ea0a8aa SPR-7210 Add setModelKey and setModelKeys to MappingJacksonJsonView for consistency with MarshallingView.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4604 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-22 19:08:44 +00:00
Rossen Stoyanchev d8b8f91046 SPR-8444 Added MapAccessor and EnvironmentAccessor to EL context in the eval tag
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4602 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-21 16:50:00 +00:00
Rossen Stoyanchev a9c7d0b32b SPR-8429 Return 400 instead of 500 for required header/cookie/pathvar. This is also more in line with jax-rs.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4601 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-21 15:03:12 +00:00
Rossen Stoyanchev 58727ac9c6 SPR-6164 Add option to disable '.*' pattern matching in RequestMappingHandlerMapping and PatternsRequestCondition
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4599 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-21 11:29:44 +00:00
Rossen Stoyanchev 1f81b4e277 SPR-8464 Fix problem in test with date formatting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4597 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-20 20:51:26 +00:00
Rossen Stoyanchev ee6900c19b SPR-8464 Fix bug with detecting annotations on handler method arguments and consolidate anotation detection tests.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4595 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-20 19:32:27 +00:00
Rossen Stoyanchev aa00728440 SPR-8462
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4590 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-20 11:46:43 +00:00
Rossen Stoyanchev e6bd842bd5 SPR-7812 Add CustomRequestCondition, PatternsRequestCondition, and other condition related tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4586 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-19 22:52:52 +00:00
Rossen Stoyanchev e1ca59e9a3 SPR-7812 Move condition package under mvc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4576 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-17 23:26:21 +00:00
Rossen Stoyanchev 29c2207c2e SPR-7812 Add CustomRequestCondition
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4575 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-17 23:19:14 +00:00
Rossen Stoyanchev 82339ea9bf SPR-7278 extension hook to extend the @ExceptionHandler methods for a controller
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4571 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-17 13:14:34 +00:00
Rossen Stoyanchev 6f537ca74b SPR-7812 RequestCondition refactoring with the possibility for custom request conditions in mind.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4566 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-17 09:39:49 +00:00
Rossen Stoyanchev b8ada5e596 SPR-8448 Remove URI template vars from the model before appending to query string in RedirectView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4557 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-15 21:07:37 +00:00
Rossen Stoyanchev c4605e91b6 SPR-8454 Introduce Registration style objects, rename several Spring MVC *Configurer helpers to *Registry, add more tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4545 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-15 08:06:42 +00:00
Juergen Hoeller bfa4db9fcb consistent dependency on Hibernate Validator 4.1.0.GA
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4542 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-14 21:39:17 +00:00