Rossen Stoyanchev
416c282609
Add method to allow further validation of request mapping infos at startup + other minor javadoc updates.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4297 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
19fdaaa74a
SWF-8214 javadoc updates
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4218 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
ef1ce7d990
SPR-8094
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4216 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
Arjen Poutsma
ca89d6e123
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4198 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
a37c85f4fc
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4197 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
adc5aa7a69
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4196 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
7717b8cb5a
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4195 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Arjen Poutsma
16bae7e143
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4194 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
bdc1544091
Javadoc updates
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4193 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
c0692e2ddf
ModelAndViewContainer related refinements
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4192 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
cf6046e2dc
SPR-8217 adding one class missed on last checkin
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4190 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
64fbd3740d
SPR-8217 update MVC namespace to use HandlerMethod infrastructure
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4189 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
5338b4f012
Configurable arg resolvers and return value handlers
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4188 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
bc794c1304
Replace ModelAndViewContainer parameter with Object
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4187 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
26f332b600
SPR-8216 Replicate ServletAnnotationControllerTests for HandlerMethod infrastructure
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4186 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
674fd869b5
SPR-8215 Fix issue with tests compiling
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4185 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
cd93c27598
SPR-8215 Move HandlerMethod code into trunk
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4184 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
9156a9d8f6
Polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4076 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
8f5dc17ebc
SPR-6932 Add option to extract value from single-key models in MappingJacksonJsonView
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4058 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
ffb76a6046
SPR-2692 Add URI template support to RedirectView
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4057 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
a9ddca1100
Improve docs for MvcDefaultServletHandler container feature.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4056 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Rossen Stoyanchev
00fde776d2
SPR-7976 Add MvcInterceptors features.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4030 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
3fbe9d5a55
Fix STS compatibility issues; other improvements
...
Revert changes to ParserContext, ReaderContext, and XmlReaderContext
These changes cause cross-version incompatibilities at tooling time
-- for instance, an STS version that ships with Spring 3.0.5
classloads the ParserContext defined in that version, whereas it
classloads NamespaceHandlers and BeanDefinitionParsers (by default)
from the user application classpath, which may be building against
3.1.0. If so, the changes introduced to these types in 3.1.0 are
incompatible with expectations in the 3.0.5 world and cause all
manner of problems. In this case, it was NoSuchMethodError due to
the newly-added XmlReaderContext.getProblemReporter() method; also
IncompatibleClassChangeError due to the introduction of the
ComponentRegistrar interface on ParserContext.
Each of these problems have been mitigated, though the solutions
are not ideal. The method mentioned has been removed, and instead
the problemReporter field is now accessed reflectively.
ParserContext now no longer implements ComponentRegistrar, and
rather a ComponentRegistrarAdapter class has been introduced that
passes method calls through to a ParserContext delegate.
Introduce AbstractSpecificationBeanDefinitionParser
AbstractSpecificationBeanDefinitionParser has been introduced in
order to improve the programming model for BeanDefinitionParsers
that have been refactored to the new FeatureSpecification model.
This new base class and it's template method implementation of
parse/doParse ensure that common concerns like (1) adapting a
ParserContext into a SpecificationContext, (2) setting source and
source name on the specification, and (3) actually executing the
specification are all managed by the base class. The subclass
implementation of doParse need only actually parse XML, populate
and return the FeatureSpecification object. This change removed
the many duplicate 'createSpecificationContext' methods that had
been lingering.
Minor improvement to BeanDefinitionReaderUtils API
Introduced new BeanDefinitionReaderUtils#registerWithGeneratedName
variant that accepts BeanDefinition as opposed to
AbstractBeanDefinition, as BeanDefinition is all that is actually
necessary to satisfy the needs of the method implementation. The
latter variant accepting AbstractBeanDefinition has been deprecated
but remains intact and delegates to the new variant in order to
maintain binary compatibility.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3980 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
adc9400905
Include license.txt and notice.txt in module JARs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3967 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
f8a4dfa5da
Rename ExecutorContext => SpecificationContext
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3961 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Chris Beams
9fd86f589f
Extract ProblemCollector interface
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3959 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago