1. 18 8月, 2017 3 次提交
  2. 17 8月, 2017 5 次提交
  3. 16 8月, 2017 5 次提交
  4. 15 8月, 2017 6 次提交
  5. 14 8月, 2017 6 次提交
  6. 08 8月, 2017 4 次提交
  7. 04 8月, 2017 3 次提交
  8. 03 8月, 2017 2 次提交
  9. 02 8月, 2017 6 次提交
    • R
      PathPattern#matchAndExtract minor refactoring · 62fa20fd
      Rossen Stoyanchev 提交于
      Consistent behavior with matches(PathContainer), the two had slightly
      different logic for handling of empty paths.
      
      Make matchAndExtract independantly usable without the need to call
      matches(PathContainer) first. Essentially no longer raising ISE if the
      pattern doesn't match but simply returning null.
      62fa20fd
    • R
      Minor refactoring in PathPattern · dccedd5a
      Rossen Stoyanchev 提交于
      Rename getPathRemaining to matchStartOfPath since the method does
      match and to be more clear about what the method and the return value
      intuitively follows.
      
      Remove matchStart which matches the start of the pattern (rather than
      the start of the path). It is a use case that does not come up in
      request mapping.
      dccedd5a
    • R
      Polish PathPattern and parser · c060f4f6
      Rossen Stoyanchev 提交于
      Updates to Javadoc
      Consistent and separator type neutral naming for trailing slash
      PathPattern extracts options from the parser instance
      c060f4f6
    • A
      WebClientException should allow access to status code of the response · 5394cc0c
      Arjen Poutsma 提交于
      This commit changes the WebClient so that it now throws a
      `WebClientResponseException` for `ResponseSpec.bodyTo`. This newly
      introduces exception contains the status code, headers, and body of the
      response message.
      
      As a consequence of the above, we had to change `onStatus` so that the
      `exceptionFunction` now returns a `Mono<Throwable>` rather than a
      `Throwable`, which it was before. The Mono allows for asynchronous
      operations, such as reading the contents of the body.
      
      Issue: SPR-15824
      5394cc0c
    • R
      Minor refactoring in PathPatternParser · b6d1fd9d
      Rossen Stoyanchev 提交于
      Remove the separator constructor argument (but preserve internal
      functionality) now that PathPatternParser is more explicitly purposed
      for URL paths and in any case the use of an alternate separator would
      also requires a similar input option on the PathContainer parsing side.
      b6d1fd9d
    • R
      Polish path pattern parsing javadoc · 1794f1ce
      Rossen Stoyanchev 提交于
      Emphasize specific purpose for URL path matching.
      1794f1ce