1. 06 5月, 2015 3 次提交
    • S
      Overhaul AnnotatedElementUtils · ba84458c
      Sam Brannen 提交于
       - Methods which search for a specific annotation now properly ensure
         that the sought annotation was actually found.
      
       - Both the "get" and the "find" search algorithms no longer needlessly
         traverse meta-annotation hierarchies twice.
      
       - Both the "get" and the "find" search algorithms now properly
         increment the metaDepth when recursively searching within the
         meta-annotation hierarchy.
      
       - Redesigned getMetaAnnotationTypes() so that it doesn't needlessly
         search irrelevant annotations.
      
       - Documented and tested hasMetaAnnotationTypes().
      
       - Documented isAnnotated().
      
      Issue: SPR-11514
      ba84458c
    • R
      Find CORS config by HandlerMethod · 8853107f
      Rossen Stoyanchev 提交于
      Before this change AbstractHandlerMethodMapping used a map from Method
      to CorsConfiguration. That works for regular @RequestMapping methods.
      However frameworks like Spring Boot and Spring Integration may
      programmatically register the same Method under multiple mappings,
      i.e. adapter/gateway type classes.
      
      This change ensures that CorsConfiguraiton is indexed by HandlerMethod
      so that we can store CorsConfiguration for different handler instances
      even when the method is the same.
      
      In order for to make this work, HandlerMethod now provides an
      additional field called resolvedFromHandlerMethod that returns the
      original HandlerMethod (with the String bean name). This makes it
      possible to  perform reliable lookups.
      
      Issue: SPR-11541
      8853107f
    • R
      Improve MappingRegistry tests and polish · 4a8baebf
      Rossen Stoyanchev 提交于
      Issue: SPR-11541
      4a8baebf
  2. 05 5月, 2015 17 次提交
  3. 04 5月, 2015 16 次提交
  4. 03 5月, 2015 2 次提交
  5. 02 5月, 2015 1 次提交
  6. 30 4月, 2015 1 次提交