1. 09 12月, 2015 5 次提交
  2. 08 12月, 2015 4 次提交
  3. 07 12月, 2015 5 次提交
  4. 05 12月, 2015 2 次提交
  5. 04 12月, 2015 5 次提交
  6. 03 12月, 2015 3 次提交
  7. 02 12月, 2015 9 次提交
    • J
      Polishing · a9e5e9ec
      Juergen Hoeller 提交于
      a9e5e9ec
    • J
      Documented units for send-time limit and buffer-size limit · 747863d5
      Juergen Hoeller 提交于
      Issue: SPR-13753
      747863d5
    • J
      Fixed formatting in AOP documentation · 3fec802b
      Juergen Hoeller 提交于
      Issue: SPR-13750
      3fec802b
    • J
      a4f5c46f
    • R
      Merge pull request #928 from mhartsock/SPR-13747 · 4d4d2e29
      Rossen Stoyanchev 提交于
      4d4d2e29
    • R
      Polish · b3f0ab52
      Rossen Stoyanchev 提交于
      b3f0ab52
    • M
      Fix media type lookup case sensitivity · b077b4dd
      mhartsock Melissa Hartsock 提交于
      Fixed a bug where the URL content negotiation "format" parameter values
      were case sensitive and only lowercase values were accepted. For
      example, URL query parameter format=json returned the appropriate JSON
      response but format=JSON resulted in a
      HttpMediaTypeNotAcceptableException and returned:
      
      406 - The resource identified by this request is only capable of
      generating responses with characteristics not acceptable according to
      the request "accept" headers.
      
      When the MappingMediaTypeFileExtensionResolver is constructed, it is
      passed a map containing the media type key to MediaType mappings
      defined in the ContentNegotiationConfigurer. In the constructor of
      MappingMediaTypeFileExtensionResolver, the keys are converted to
      lowercase and the mappings of keys to MediaTypes are added to the
      ConcurrentMap<String, MediaType> mediaTypes using the lowercase
      version of the keys. However, when retrieving the MediaType from a key
      in the lookupMediaType method, no conversion to lowercase is performed
      so any value for the URL "format" parameter other than the lowercase
      version will not return the proper MediaType result.
      
      On May 1st, 2014, a change was made to
      ParameterContentNegotiationStrategy to handle cases where the content
      negotiation format URL parameter does not result in a match for a
      MediaType. If no match is found, a HttpMediaTypeNotAcceptableException
      is thrown resulting in the 406 response above. Prior to this commit, a
      null was returned instead of throwing an exception so this issue was
      hidden and appeared to function correctly.
      
      To make the media type lookup case insensitive, added a line to the
      lookupMediaType method in MediaTypeFileExtensionResolver to first
      convert the extension (media type key) to lowercase prior to attempting
      to retrieve it from the mediaTypes map.
      
      Issue: SPR-13747
      b077b4dd
    • R
      Update Javadoc on UriComponentsBuilder.query · dacbf4cb
      Rossen Stoyanchev 提交于
      dacbf4cb
    • J
      Polishing · e7842510
      Juergen Hoeller 提交于
      e7842510
  8. 01 12月, 2015 7 次提交