1. 20 7月, 2015 2 次提交
  2. 14 7月, 2015 1 次提交
  3. 10 7月, 2015 1 次提交
    • S
      Introduce CorsFilter and CorsConfigurationMapping · cd9b3903
      Sebastien Deleuze 提交于
      This commit introduces the following changes:
       - The new CorsConfigurationMapping class allows to share the mapped
         CorsConfiguration logic between AbstractHandlerMapping and CorsFilter
       - In AbstractHandlerMapping, the Map<String, CorsConfiguration>
         corsConfiguration property has been renamed to corsConfigurations
       - CorsFilter allows to process CORS requests at filter level, using any
         CorsConfigurationSource implementation (for example
         CorsConfigurationMapping)
      
      Issue: SPR-13192
      cd9b3903
  4. 04 7月, 2015 1 次提交
  5. 04 5月, 2015 1 次提交
  6. 25 3月, 2015 1 次提交
  7. 20 1月, 2015 1 次提交
  8. 08 1月, 2015 1 次提交
    • C
      Performance improvements in ShallowEtagHeaderFilter · 213a3fd7
      Craig Andrews 提交于
      Prior to this change, the ShallowEtagHeaderFilter would use a
      ResizableByteArrayOutputStream to internally write data and calculate
      the ETag. While that implementation is faster than the regular
      ByteArrayOutputStream (since it has a better strategy for growing the
      internal buffer), a lot of buffer copying/writing still happens.
      
      This change adds a new FastByteArrayOutputStream implementation that
      internally uses a LinkedList<Byte[]> to store the content. So when
      writing bytes to that OutputStream implementation, new byte[] are
      added to the list when the previous ones are full. This saves most
      of the instantiating/copying operations.
      
      Note that new methods were added in DigestUtils to allow usage of
      Streams instead of byte[], which is more efficient in our case.
      
      Fixes #653
      
      Issue: SPR-12081
      213a3fd7
  9. 29 11月, 2014 1 次提交
  10. 07 11月, 2014 1 次提交
  11. 21 10月, 2014 1 次提交
  12. 20 8月, 2014 1 次提交
  13. 18 7月, 2014 1 次提交
  14. 17 5月, 2014 1 次提交
  15. 28 4月, 2014 1 次提交
  16. 24 4月, 2014 1 次提交
  17. 23 4月, 2014 1 次提交
  18. 03 4月, 2014 1 次提交
  19. 25 3月, 2014 1 次提交
  20. 24 3月, 2014 1 次提交
    • B
      ShallowEtagHeaderFilter use specified contentlength · ae012ae6
      Brian Clozel 提交于
      Prior to this commit, the ShallowEtagHeaderFilter did not use the
      content length given by the content generator to set the
      ByteArrayOutputStream's buffer size.
      This can lead to performance issues for large content since the buffer
      grows as the content is being written.
      
      This commit adds a new ByteArrayOutputStream variant called
      ResizableByteArrayOutputStream. This implementation has public methods
      for modifying the internal buffer size and does not synchronize on
      buffer access.
      This commit also make use of this new variant in
      ShallowEtagHeaderFilter.
      
      Issue: SPR-8271
      ae012ae6
  21. 14 3月, 2014 1 次提交
  22. 14 2月, 2014 1 次提交
    • B
      Restrict ETag generation in ShallowEtagHeaderFilter · 6fba8292
      Brian Clozel 提交于
      Prior to this commit, all 2xx HTTP responses were eligible for ETag
      generation in ShallowEtagHeaderFilter. In some cases, this would use
      CPU resources for no reason since HTTP clients would not use ETags.
      
      This commit is an optimization and restricts ETags generation in cases
      where (all conditions must be met):
      - response has a 2xx status
      - request is a GET
      - response does not contain "no-store" in its "Cache-Control" header
      
      Issue: SPR-11110
      6fba8292
  23. 12 2月, 2014 1 次提交
  24. 26 11月, 2013 1 次提交
    • E
      Fix various typos · e9f78f60
      Eric Dahl 提交于
      Fix a variety of typos throughout the project, primarily in
      comments (javadoc or otherwise) but also in a handful of log messages
      and a couple exception messages.
      
      ISSUE: SPR-11123
      e9f78f60
  25. 03 8月, 2013 1 次提交
  26. 14 5月, 2013 1 次提交
  27. 02 1月, 2013 1 次提交
  28. 29 12月, 2012 7 次提交
  29. 08 12月, 2012 1 次提交
    • R
      Fix package cycle among http message converters · 85a552da
      Rossen Stoyanchev 提交于
      This change introduces a new AllEncompassingFormHttpMessageConverter
      class that adds JSON and XML converters for individual mime parts of
      a multi-part request. The new converter is used in place of the
      previously used XmlAwareFormHttpMessageConverter.
      
      Issue: SPR-10055
      85a552da
  30. 29 10月, 2012 2 次提交
  31. 18 9月, 2012 1 次提交
    • R
      Polish async support · 97f97c4e
      Rossen Stoyanchev 提交于
      Added handler argument to the signature of
      AsyncHandlerInterceptor.afterConcurrentHandlingStarted(..).
      
      Renamed AsyncWebUtils to WebAsyncUtils.
      97f97c4e
  32. 11 9月, 2012 1 次提交