Rossen Stoyanchev
fa0b683161
Extract base class from RequestMappingHandlerMapping, one that allows for discovering request mappings from something other than annotations
14 years ago
Juergen Hoeller
6c3cc786d0
added further conversion tests (triggered by 3.0.6 backports)
14 years ago
Rossen Stoyanchev
883ac319bc
SPR-8430 Rename WebMvcConfiguration to DelegatingWebMvcConfiguration, make it public and make delegation methods final
14 years ago
Chris Beams
9b45d50b9b
Add missing isDebugEnabled guard in FrameworkServlet
...
Issue: SPR-8085
14 years ago
Chris Beams
2d68b726b5
Add syntax highlighting to Javadoc where necessary
...
Issue: SPR-8426
14 years ago
Rossen Stoyanchev
fdeeeac5d0
SPR-8430
14 years ago
Rossen Stoyanchev
00d57907a3
Introduce base class for WebMvcConfiguration
14 years ago
Juergen Hoeller
c60511bf04
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
14 years ago
David Syer
32ebf18429
SPR-5937: add param map to freemarker url macro
14 years ago
David Syer
c2e62f098a
Add ignorable log file to .gitignore
14 years ago
Rossen Stoyanchev
f1ad53d570
SPR-6709 Update changelog and add one test
14 years ago
Rossen Stoyanchev
9d2ee7061c
SPR-6709 Handle RequestBodyNotValidException and update reference docs
14 years ago
Rossen Stoyanchev
18f5d90235
SPR-6709 Support @Valid with @RequestBody method arguments
14 years ago
Chris Beams
cee9da36eb
Mention code alternatives in context and mvc XSDs
14 years ago
Rossen Stoyanchev
ce78a519f6
SPR-8059 fix issue with != param condition
14 years ago
Chris Beams
2b4328023e
Improve ApplicationContextInitializer sorting
...
ContextLoader and FrameworkServlet now use
AnnotationAwareOrderComparator to support @Order usage; previously
supported only implementation of the Ordered interface.
14 years ago
Chris Beams
2eea63eec5
Introduce Framework/DispatcherServlet constructors
...
Constructors have been added to both FrameworkServlet and
DispatcherServlet to support instance-based programmatic registration
of Servlets within ServletContainerInitializer implementations in
Servlet 3.0+ environments, and more particularly when using Spring 3.1's
WebApplicationInitializer SPI.
This change also renames the method added to FrameworkServlet in
SPR-8185 from #initializeWebApplicationContext to #applyInitializers.
The reason being that a method named #initWebApplicationContext was
already present and the names overlapped confusingly.
Issue: SPR-7672, SPR-8185
14 years ago
Chris Beams
c4d98278e9
Fix DispatcherServlet warnings
14 years ago
Arjen Poutsma
37d955b35b
Added tests for @RequestMaping produces and consumes
14 years ago
Rossen Stoyanchev
c5833b192e
SPR-7353 Use canWrite to narrow down list of producible types
14 years ago
Chris Beams
c4363673dc
Delegate parent environment to child app contexts
...
Calls to AbstractApplicationContext#setParent delegate the parent
context environment to the child.
This ensures that any property sources added to the parent are available
to the child as well as ensuring that any profiles activated are
activated everywhere.
Child contexts may still choose to replace their environment (through an
ApplicationContextInitializer, for example). In any case, however, in
the root/child web application context relationship established by
ContextLoader + DispatcherServlet, the child is guaranteed to have
already been given the parent environment by the time it is delegated
to any ACIs.
See AbstractApplicationContext#setParent for implementation
See FrameworkServlet#createWebApplicationContext for order in which
setParent then initializeWebApplicationContext are called.
Issue: SPR-8185
14 years ago
Chris Beams
56720fc42c
Support "contextInitializerClasses" init-param
...
FrameworkServlet now has support equivalent to ContextLoader and its
"contextInitializerClasses" context-param introduced in 3.1 M1.
This allows users to specify ApplicationContextInitializers at the root
(ContextLoader) level and/or at the DispatcherServlet level.
Issue: SPR-8366
14 years ago
Chris Beams
3c6254df90
Polish FrameworkServlet Javadoc; fix warnings
14 years ago
Rossen Stoyanchev
5fa7f24794
SPR-7353 Respect 'produces' condition in ContentNegotiatingViewResolver, improve selection of more specific media type in a pair
14 years ago
Chris Beams
f893b62a9b
Rename {DefaultWeb=>StandardServlet}Environment
...
Issue: SPR-8348
14 years ago
Rossen Stoyanchev
0bf92782ea
SPR-8352 Init and apply MappedInterceptors from AbstractHandlerMapping
14 years ago
Rossen Stoyanchev
5ac2e4418f
SPR-8350 ContentNegotiatingViewResolver initialization for nested ViewResolvers
14 years ago
Arjen Poutsma
1eaca65720
@RequestMapping.consumes() and produces() now default to an empty array, instead of */*
14 years ago
Rossen Stoyanchev
af1dfd3577
Use request attribute to check producible media types when writing to the response body
14 years ago
Arjen Poutsma
1bbdb0d2ff
minor fix.
14 years ago
Arjen Poutsma
b0a4be7cd1
Only respect RequestMappingInfos that have a pattern match in handleNoMatch
14 years ago
Arjen Poutsma
ad2e0d4587
SPR-7353 - @ResponseBody and returned HttpEntity now respect @RequestMapping.produces()
14 years ago
Rossen Stoyanchev
57c757afc5
SPR-2692 Update mvc chapter with URI template support in redirect: view names
14 years ago
Rossen Stoyanchev
1784df8d3e
SPR-6996 Add mvc:interceptor bean references
14 years ago
Rossen Stoyanchev
5c0e22e7a8
SPR-8289 Ensure BeanNameUrlHandlerMapping and default HandlerAdapters are never 'turned off' through the MVC namespaces
14 years ago
Arjen Poutsma
bb2cc8457f
SPR-7353 - Added equivalent of JAX-RS @Produces to Spring MVC
14 years ago
Rossen Stoyanchev
b46598965e
Add method to allow further validation of request mapping infos at startup + other minor javadoc updates.
14 years ago
Rossen Stoyanchev
726e920857
Rename EnableMvcConfiguration->EnableWebMvc, refine method names in WebMvcConfigurer, fix issue with MappedInterceptors
14 years ago
Arjen Poutsma
9b0c66dc6c
Make HTTP methods a RequestCondition
14 years ago
Arjen Poutsma
71aae405d5
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
14 years ago
Rossen Stoyanchev
8d0ab1d2e5
Refine HandlerMethod registration to allow detection by handler instance as well as by bean name
14 years ago
Chris Beams
b7f4f2b546
Expose return-value-handlers in mvc namespace
...
Mirroring the MvcConfigurer#addCustomReturnValueHandlers callback which
allows for providing a list of HandlerMethodReturnValueHandler types
14 years ago
Chris Beams
1efb82d7cb
Rename RequestMapping types for concision
...
Remove 'Method' from RequestMappingHandlerMethodMapping and
RequestMappingHandlerMethodAdapter
14 years ago
Chris Beams
2092a31f9d
Rename DataBinderFactory subtypes for concision
14 years ago
Chris Beams
446dfdbff2
Introduce @EnableMvcConfiguration
14 years ago
Chris Beams
111fb71fe1
Remove "Feature" support introduced in 3.1 M1
...
Feature-related support such as @Feature , @FeatureConfiguration ,
and FeatureSpecification types will be replaced by framework-provided
@Configuration classes and convenience annotations such as
@ComponentScan (already exists), @EnableAsync , @EnableScheduling ,
@EnableTransactionManagement and others.
Issue: SPR-8012,SPR-8034,SPR-8039,SPR-8188,SPR-8206,SPR-8223,
SPR-8225,SPR-8226,SPR-8227
14 years ago
Rossen Stoyanchev
c91ab1ad6e
Resolve custom args after annotated args, set PATH_WITHIN_HANDLER_MAPPING attribute, and rename resolver for @ExceptionHandler methods
14 years ago
Rossen Stoyanchev
50117dce40
SPR-6909 Include URI template vars in data binding
14 years ago
Rossen Stoyanchev
ed9d9a402b
SPR-7543 Add @PathVariables to the model
14 years ago
Rossen Stoyanchev
945cf43e2d
Remove consumes from @RequestMapping
14 years ago