Commit Graph
88 Commits
Author SHA1 Message Date
Costin Leau 810bb4a441 SPR-7703
- minor performance improvements to servlet and portlet handlers


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3792 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-31 17:46:15 +00:00
Arjen Poutsma 3f2b200e64 SPR-7695 - Add ETag version of WebRequest.checkNotModified()
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3787 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-29 10:28:47 +00:00
Chris Beams 45e5b46fc2 Merge 3.1.0 development branch into trunk
Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
git-svn repository with:

    git merge -s recursive -Xtheirs --no-commit env

No merge conflicts, but did need to

    git rm spring-build

prior to committing.

With this change, Spring 3.1.0 development is now happening on SVN
trunk. Further commits to the 3.0.x line will happen in an as-yet
uncreated SVN branch.  3.1.0 snapshots will be available
per the usual nightly CI build from trunk.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3782 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-25 19:48:20 +00:00
Juergen Hoeller b0c441b810 DispatcherPortlet's default resource serving explicitly prevents access to WEB-INF and META-INF (SPR-7540)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3708 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-02 00:03:09 +00:00
Juergen Hoeller 77e16a1a89 fixed Portlet UnavailableException tests (SPR-7542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3696 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:45:50 +00:00
Juergen Hoeller 8a8a6dee7e fixed Portlet UnavailableException tests (SPR-7542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3695 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:31:53 +00:00
Juergen Hoeller a0c93b7e91 DispatcherPortlet throws custom NoHandlerFoundException instead of misleading UnavailableException (SPR-7542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3684 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 06:43:53 +00:00
Juergen Hoeller 4f829f3ae2 added MockMultipartFile to web-portlet module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3651 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 23:22:03 +00:00
Juergen Hoeller 9bb2251455 reverted shortening of action exception parameter value; fixed multipart test (SPR-7495)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3650 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 23:11:11 +00:00
Juergen Hoeller 669f846b8d fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3649 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:56:18 +00:00
Juergen Hoeller 6dbe912b13 copy event parameters to render parameters in case of an action exception as well (SPR-7495)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3648 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:56:05 +00:00
Juergen Hoeller f569ebfb52 DispatcherPortlet copies all action parameters to render parameters in case of an action exception (SPR-7495); shortened Portlet MVC's action exception render parameter value to "true"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3647 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:45:31 +00:00
Juergen Hoeller 2b9c71d317 removed unused HandlerExecutionChain caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3646 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:44:06 +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
Juergen Hoeller 25a6ffa75f polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3644 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:20:03 +00:00
Juergen Hoeller ba1e4c2d10 extended synchronization for methodResolverCache (SPR-7525)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3643 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 20:41:50 +00:00
Juergen Hoeller 99143de03f Servlet/PortletContextResource inherit isReadable, contentLength and lastModified from AbstractFileResolvingResource
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3590 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:57:37 +00:00
Juergen Hoeller ce3326a617 CommonsMultipartResolver cleans up all multipart files in case of multiple files for same name as well (SPR-2784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3589 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:52:54 +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 93fb8760ff consistent mocks between modules
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3586 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:02:40 +00:00
Juergen Hoeller 034859d900 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3583 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:26:43 +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 b4f2d35b49 PortletWrappingController supports Portlet 2.0 resource and event requests as well (SPR-7430)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3525 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:47:32 +00:00
Juergen Hoeller 104afdec3f Portlet AbstractController consistently uses session mutex if "synchronizeOnSession" is active
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3524 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:46:15 +00:00
Juergen Hoeller 9a30fdb3b5 @ExceptionHandler works for inherited method and CGLIB proxies on Portlet controllers as well (SPR-7337)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3475 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-08 11:45:35 +00:00
Juergen Hoeller 0afe9a20fd Portlet @MVC's implicit render model will be updated at the end of the event phase
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3445 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 17:24:28 +00:00
Juergen Hoeller c5dcc2c88c @MVC handler methods reliably resolve MultipartRequest arguments with HiddenHttpMethodFilter (SPR-7296)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3431 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:45:42 +00:00
Juergen Hoeller b012508bdf revised Portlet SessionStatus.setComplete() to avoid re-exposure of attributes in render phase (SPR-6126); shortened implicit model render parameter name to "implicitModel" (SPR-7149)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3407 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-09 20:09:53 +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 3f56ed93db DispatcherPortlet passes handler instance into HandlerExceptionResolver for action exception; DispatcherPortlet applies preHandleRender callbacks in case of action exception as well (SPR-6959)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3197 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 21:17:31 +00:00
Juergen Hoeller 5c701c63ed use simple type name in "missing parameter" exception text
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3196 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 21:13:12 +00:00
Juergen Hoeller 6132e318b1 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3195 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 21:12:40 +00:00
Juergen Hoeller 2ec66b066b NativeWebRequest detects native MultipartRequest even when decorated (SPR-6594)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3189 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 10:24:39 +00:00
Juergen Hoeller 79fc317d2e WebRequest is a resolvable dependency in Servlet/Portlet web application contexts (SPR-6727)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2845 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 22:09:13 +00:00
Juergen Hoeller cb2adcaa8d removed MultipartRequest mixin interface again (avoiding a package dependency cycle)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2663 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 00:51:32 +00:00
Juergen Hoeller 00dc3b04a1 reintroduced createBinder template method in Servlet/Portlet AnnotationMethodHandlerAdapter (SPR-6534)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2614 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 22:29:43 +00:00
Juergen Hoeller 88667350e5 added order property to AnnotationMethodHandlerAdapter (SPR-6516)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2587 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 09:42:44 +00:00
Arjen Poutsma 1d9da4191e SPR-5802 - NullPointerException when using @CookieValue annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2544 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 10:16:14 +00:00
Juergen Hoeller 39bf8dc02e added chaining-capable "add" method to MutablePropertyValues
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00
Chris Beams 2d0a6d1db8 SPR-5529: removed package.html files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2280 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 23:15:35 +00:00
Chris Beams 68ddf0e1dc SPR-5523: converted a few additional package.html artifacts to package-info.java
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2279 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 23:13:15 +00:00
Arjen Poutsma fb61fda316 SPR-6301 - Support @RequestHeader on HttpHeaders parameters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2267 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 15:42:24 +00:00
Juergen Hoeller 215f0f6841 reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2172 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-23 17:46:16 +00:00
Juergen Hoeller 1edefe991a fixed getBean signature ambiguity in tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2165 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 20:14:49 +00:00
Juergen Hoeller af32913f07 revised version checks and exception signatures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2160 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 16:53:24 +00:00
Juergen Hoeller ef6ad7fd7d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2096 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:49:34 +00:00
Juergen Hoeller 3608581a42 @Event/ResourceMapping uniquely mapped to through event/resource id, even across controllers (SPR-6062); type-level @RequestMapping header conditions validated in Portlet environments as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2020 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 14:45:35 +00:00
Juergen Hoeller f752ccbe91 all @SessionAttributes get exposed to the model before handler method execution; MultipartRequest is available as a mixin interface on (Native)WebRequest as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2013 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 10:46:38 +00:00
Juergen Hoeller 599910699a fixed overview files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Juergen Hoeller 65c6ec8a82 do not check for action exception in resource phase (SPR-6129)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1944 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-20 21:12:41 +00:00