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
15 years ago
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
15 years ago
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
15 years ago
Rossen Stoyanchev
9f57017842
Extract base class from RequestMappingHandlerMapping, one that allows for discovering request mappings from something other than annotations
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4533 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Juergen Hoeller
bbeed23f94
added further conversion tests (triggered by 3.0.6 backports)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4526 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
6ecdc6ea2d
SPR-8430 Rename WebMvcConfiguration to DelegatingWebMvcConfiguration, make it public and make delegation methods final
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4519 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
17a83ffec6
SPR-8430
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4509 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
83a5f0bb4a
Introduce base class for WebMvcConfiguration
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4503 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
David Syer
0905eb333d
SPR-5937: add param map to freemarker url macro
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4467 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
David Syer
24b857ac2c
Add ignorable log file to .gitignore
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4466 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
b585202eb8
SPR-6709 Update changelog and add one test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4433 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
5d69429178
SPR-6709 Handle RequestBodyNotValidException and update reference docs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4423 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
da6976b562
SPR-6709 Support @Valid with @RequestBody method arguments
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4418 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
ac9a3d0541
SPR-8059 fix issue with != param condition
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4408 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
2e8c494824
Added tests for @RequestMaping produces and consumes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4362 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
af8f63fa65
SPR-7353 Use canWrite to narrow down list of producible types
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4357 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
c0b7d175e9
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
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4353 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
1b48f26900
SPR-7353 Respect 'produces' condition in ContentNegotiatingViewResolver, improve selection of more specific media type in a pair
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4340 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
f30ae5abc8
SPR-8352 Init and apply MappedInterceptors from AbstractHandlerMapping
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4331 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
408be8082a
SPR-8350 ContentNegotiatingViewResolver initialization for nested ViewResolvers
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4328 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
66e1c8c743
@RequestMapping.consumes() and produces() now default to an empty array, instead of */*
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4324 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
76abf77077
Use request attribute to check producible media types when writing to the response body
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4314 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
7b6c98ac9b
SPR-7353 - @ResponseBody and returned HttpEntity now respect @RequestMapping.produces()
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4311 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
f4bfd5766a
SPR-6996 Add mvc:interceptor bean references
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4307 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
461c3dd1a6
SPR-8289 Ensure BeanNameUrlHandlerMapping and default HandlerAdapters are never 'turned off' through the MVC namespaces
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4304 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
3f9a857d4c
SPR-7353 - Added equivalent of JAX-RS @Produces to Spring MVC
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4301 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
4e0594afaf
Rename EnableMvcConfiguration->EnableWebMvc, refine method names in WebMvcConfigurer, fix issue with MappedInterceptors
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4290 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
f01ba3249f
Make HTTP methods a RequestCondition
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4287 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
5d10187239
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4279 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
da3ad5623b
Refine HandlerMethod registration to allow detection by handler instance as well as by bean name
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4276 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
fc3ccd1052
Expose return-value-handlers in mvc namespace
...
Mirroring the MvcConfigurer#addCustomReturnValueHandlers callback which
allows for providing a list of HandlerMethodReturnValueHandler types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4271 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
9e0b7303b4
Rename RequestMapping types for concision
...
Remove 'Method' from RequestMappingHandlerMethodMapping and
RequestMappingHandlerMethodAdapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4270 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
210e278ce0
Rename DataBinderFactory subtypes for concision
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4269 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
078222d807
Introduce @EnableMvcConfiguration
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4268 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
c892028705
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
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4255 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
4bb26a9878
Resolve custom args after annotated args, set PATH_WITHIN_HANDLER_MAPPING attribute, and rename resolver for @ExceptionHandler methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4242 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
18e98329db
SPR-6909 Include URI template vars in data binding
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4241 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
99a4e3bc0e
SPR-7543 Add @PathVariables to the model
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4236 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
ef6efa3f6f
Remove consumes from @RequestMapping
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4234 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
ff1b05cd94
SPR-8247 review changes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4233 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
4992938ee4
SPR-8247
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4229 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
6aaff404ab
SPR-8255
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4228 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
aae28ee298
SPR-8214 review unit tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4227 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
6f8fa24e59
SPR-8248
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4226 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
1660ec4b0e
SPR-8214 Javadoc and polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4224 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
148a1378af
Add UriTemplateServletHandlerMethodTests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4214 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
8246d7023d
Add UriTemplateServletHandlerMethodTests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4213 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
68a7e5b3e2
SPR-8234 Switch to strongly typed custom argument resolvers property
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4212 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
69189ef12b
SPR-8234 Argument resolver and return value handler configuration improvements
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4210 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
238a2bc815
Fix issues encountered in Greenhouse
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4208 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago