1. 15 8月, 2018 7 次提交
    • S
      Polishing · 1b54d211
      Sam Brannen 提交于
      1b54d211
    • S
      Polishing · a87b319a
      Sam Brannen 提交于
      a87b319a
    • B
      Infer HTTP 404 from empty Optional/Publisher types · 7e917335
      Brian Clozel 提交于
      This commit handles "empty" cases for `ResponseEntity` controller
      handler return types when wrapped with a `java.util.Optional` in Spring
      MVC or a single `Publisher` like `Mono`.
      
      Given the following example for Spring MVC:
      
      ```
      @GetMapping("/user")
      public Optional<ResponseEntity<User>> fetchUser() {
      	Optional<User> user = //...
      	return user.map(ResponseEntity::ok);
      }
      ```
      
      If the resulting `Optional` is empty, Spring MVC will infer a
      `ResponseEntity` with an empty body and a 404 HTTP response status.
      
      The same reasoning is applied to Spring WebFlux with Publisher types:
      
      ```
      @GetMapping("/user")
      public Mono<ResponseEntity<User>> fetchUser() {
      	Mono<User> user = //...
      	return user.map(ResponseEntity::ok);
      }
      ```
      
      This feature is only valid for `HttpEntity` return types and does not
      apply to `@ResponseBody` controller handlers.
      
      Issue: SPR-13281
      7e917335
    • R
      Consistent logging of resolved exceptions · 04141dee
      Rossen Stoyanchev 提交于
      Issue: SPR-17178
      04141dee
    • J
      Polishing · 6027cf22
      Juergen Hoeller 提交于
      6027cf22
    • J
      Revised documentation for PDF, Excel and JSON views · c0c9e08b
      Juergen Hoeller 提交于
      Issue: SPR-17180
      Issue: SPR-17182
      c0c9e08b
    • J
      Upgrade to JUnit Jupiter 5.3 RC1 (and Jetty 9.4.12 RC1) · de38af68
      Juergen Hoeller 提交于
      Includes Groovy 2.5.2, Undertow 2.0.12, Hibernate Validator 6.0.12.
      
      Issue: SPR-17129
      de38af68
  2. 14 8月, 2018 4 次提交
  3. 13 8月, 2018 16 次提交
  4. 12 8月, 2018 6 次提交
  5. 11 8月, 2018 3 次提交
  6. 10 8月, 2018 4 次提交