1. 25 1月, 2017 5 次提交
  2. 24 1月, 2017 7 次提交
  3. 23 1月, 2017 6 次提交
  4. 21 1月, 2017 6 次提交
  5. 20 1月, 2017 7 次提交
  6. 19 1月, 2017 9 次提交
    • K
      Add "Problem Details for HTTP APIs" media types · 053ac641
      Kazuki Shimizu 提交于
      See RFC 7807: Problem Details for HTTP APIs
      
      * application/problem+json
      * application/problem+xml
      
      Issue: SPR-15110
      053ac641
    • S
      Upgrade to Kotlin 1.1-beta-17 · 35d5dca5
      Sebastien Deleuze 提交于
      Spring Framework 5.0 now requires Kotlin 1.1+. This commit
      also re-enable Kotlin JSR 223 unit tests.
      
      Issue: SPR-15100
      35d5dca5
    • A
      Map to UnsupportedMediaTypeStatusException · b77e03b1
      Arjen Poutsma 提交于
      This commit maps the UnsupportedMediaTypeException, used by both client
      and server, to a server-side UnsupportedMediaTypeStatusException in the
      functional web framework.
      b77e03b1
    • A
      Added FormHttpMessage[Reader|Writer] to functional config · b39ebfd6
      Arjen Poutsma 提交于
      This commit adds the FormHttpMessageReader and FormHttpMessageWriter to
      the server and client default configuration respectively.
      b39ebfd6
    • S
      Improve initialization of Assume class · 264edb3f
      Sam Brannen 提交于
      Prior to this commit, the org.springframework.tests.Assume class could
      fail to load resulting in a NoClassDefFoundError if parsing of the
      'testGroups' system property failed. This is because the parsing took
      place while initializing a static field.
      
      This commit addresses this issue by moving the 'testGroups' system
      property lookup to a dedicated method that is lazily invoked upon
      demand instead of eagerly when loading the Assume class itself.
      
      In addition, when an error occurs, TestGroup.parse() now logs the
      complete original value of the supplied test groups string instead of
      potentially omitting the "all-" prefix. This results in more
      informative error messages similar to the following.
      
        java.lang.IllegalStateException: Failed to parse 'testGroups' system
        property: Unable to find test group 'bogus' when parsing testGroups
        value: 'all-bogus'. Available groups include:
        [LONG_RUNNING,PERFORMANCE,JMXMP,CI]
      
      Issue: SPR-15163
      264edb3f
    • R
      Additional convenience methods in UriUtils · bb3b1f2f
      Rossen Stoyanchev 提交于
      The generic encode method in UriUtils that encodes any character
      outside the reserved character set for a URI is meant for "strict"
      encoding of URI variable values. This commit adds a couple more
      conveninence methods that accept a Map or array of URI variable
      values to encode.
      
      This facilitates the use case where the URI template is assumed to
      be encoded while URI variables are encoded strictly to avoid any
      possibility for unwanted reserved characters:
      
      Map<String, ?> encodedUriVars = UriUtils.encodeUriVariables(uriVars);
      uriComponentsBuilder.build(true).expand(encodedUriVars).toUri();
      
      Issue: SPR-14970
      bb3b1f2f
    • R
      UriComponents allows "+" in a query param · f2e293aa
      Rossen Stoyanchev 提交于
      Issue: SPR-14828
      f2e293aa
    • R
      ResponseStatusExceptionHandler is ordered at 0 · 8703cdd9
      Rossen Stoyanchev 提交于
      Issue: SPR-15134
      8703cdd9
    • R
      WebHttpHandlerBuilder supports @order on beans · b609f3a5
      Rossen Stoyanchev 提交于
      Issue: SPR-15074
      b609f3a5