1. 05 5月, 2015 7 次提交
    • S
      Consistently supply test name to @Parameters · 572cbb08
      Sam Brannen 提交于
      572cbb08
    • B
      77937c5b
    • S
      Polish HandlerMethodAnnotationDetectionTests · 3fb26457
      Sam Brannen 提交于
      3fb26457
    • S
      Polish script based view tests · 7919364d
      Sebastien Deleuze 提交于
      Issue: SPR-12266
      7919364d
    • R
      Encapsulate CORS checking within CorsConfiguration · e3060981
      Rossen Stoyanchev 提交于
      CorsConfiguration now provides methods to check and determine the
      allowed origin, method, and headers according to its own configuration.
      
      This simplifies significantly the work that needs to be done from
      DefaultCorsProcessor. However an alternative CorsProcessor can still
      access the raw CorsConfiguration and perform its own checks.
      
      Issue: SPR-12885
      e3060981
    • S
      Make DefaultCorsProcessor Servlet 2.5 compliant · 83f269b5
      Sebastien Deleuze 提交于
      This commit adds CORS related headers to HttpHeaders
      and update DefaultCorsProcessor implementation to
      use ServerHttpRequest and ServerHttpResponse instead
      of HttpServletRequest and HttpServletResponse. Usage
      of ServerHttpResponse allows to avoid using Servlet 3.0
      specific methods in order keep CORS support Servlet 2.5
      compliant.
      
      Issue: SPR-12885
      83f269b5
    • R
      Fix regressions from 8f558e7c · 71683c5f
      Rossen Stoyanchev 提交于
      The change to provide public register/unregister methods in
      AbstractHandlerMethodMapping assumed that a single method cannot be
      mapped more than once. This is not the case with the MvcEndpoints and
      EndpointHandlerMapping from Spring Boot which wrap one or more
      non-web Endpoint types with an MvcEndpointAdapter in order to expose
      them for use over the web. In effect Spring MVC sees a single handler
      method mapped many times.
      
      This change removes that assumption so rather than unregistering with
      a HandlerMethod, which is not necessarily unique, the unregister method
      now takes the actual mapping, which is the only thing that should actually
      be unique.
      
      Issue: SPR-11541
      71683c5f
  2. 04 5月, 2015 16 次提交
  3. 03 5月, 2015 2 次提交
  4. 02 5月, 2015 1 次提交
  5. 30 4月, 2015 2 次提交
  6. 27 4月, 2015 4 次提交
  7. 26 4月, 2015 2 次提交
    • S
      Document return values in AnnotatedElementUtils · 99cc7d56
      Sam Brannen 提交于
      This commit documents return values throughout AnnotatedElementUtils and
      improves the documentation for the internal Processor API.
      
      Issue: SPR-11514
      99cc7d56
    • S
      Fail if multiple @BootstrapWith's are present · e85e9768
      Sam Brannen 提交于
      Prior to this commit it was possible for two @BootstrapWith annotations
      to be 'present' on a test class -- for example, via competing custom
      composed annotations. However, only one of the annotations will ever be
      used to bootstrap the TestContext Framework. Thus, in such scenarios
      one of the annotations will be silently ignored.
      
      This commit introduces a check for such scenarios. BootstrapUtils'
      resolveTestContextBootstrapper() method now throws an
      IllegalStateException if more than one @BootstrapWith annotation is
      'present' on a given test class.
      
      Issue: SPR-12602
      e85e9768
  8. 25 4月, 2015 4 次提交
  9. 24 4月, 2015 2 次提交