1. 18 9月, 2018 1 次提交
  2. 07 9月, 2018 1 次提交
    • S
      Fix Kotlin inner class nested configuration handling · 8d45e3e7
      Sebastien Deleuze 提交于
      Before this commit, Kotlin inner class nested configuration
      handling thrown an IndexOutOfBoundsException due to bogus filtering
      of its constructor parameter reference to an instance of the outer
      class.
      
      This commit keep constructor parameter of type INSTANCE in order to
      throw a more meaningful NoSuchBeanDefinitionException.
      
      Issue: SPR-17222
      8d45e3e7
  3. 06 9月, 2018 1 次提交
    • R
      Refine ReactorResourceFactory · d537a1cf
      Rossen Stoyanchev 提交于
      1. Rename globalResources to useGlobalResources.
      2. Use of global resources is mutually exlusive with explicit config.
      3. Allow Consumer<HttpResources> to configure global resources.
      4. Allow ConnectionProvider + LoopResources Supplier to customize
         creation and initialization.
      5. Do not manage externally provided ConnectionProvider + LoopResources
         instances.
      
      Issue: SPR-17243
      d537a1cf
  4. 23 8月, 2018 1 次提交
  5. 20 8月, 2018 1 次提交
  6. 17 8月, 2018 1 次提交
    • S
      Introduce JettyResourceFactory · 1eb06fcd
      Sebastien Deleuze 提交于
      JettyResourceFactory, similar to ReactorResourceFactory, allows
      to share resources (Executor, ByteBufferPool, Scheduler) between
      Jetty clients and servers.
      
      Issue: SPR-17179
      1eb06fcd
  7. 16 8月, 2018 2 次提交
  8. 15 8月, 2018 5 次提交
    • S
      Fix merge conflict in reference manual · 4d7b2652
      Sam Brannen 提交于
      4d7b2652
    • B
      Revert "Infer HTTP 404 from empty Optional/Publisher types" · f2506ca7
      Brian Clozel 提交于
      This reverts commit 7e917335.
      f2506ca7
    • 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
    • J
      Revised documentation for PDF, Excel and JSON views · c0c9e08b
      Juergen Hoeller 提交于
      Issue: SPR-17180
      Issue: SPR-17182
      c0c9e08b
  9. 14 8月, 2018 2 次提交
  10. 12 8月, 2018 1 次提交
  11. 10 8月, 2018 1 次提交
  12. 09 8月, 2018 3 次提交
  13. 08 8月, 2018 3 次提交
  14. 03 8月, 2018 2 次提交
  15. 01 8月, 2018 2 次提交
  16. 28 7月, 2018 1 次提交
  17. 27 7月, 2018 2 次提交
  18. 26 7月, 2018 1 次提交
  19. 25 7月, 2018 3 次提交
    • S
      Support Protobuf serialization in WebFlux · 36a07aa8
      sdeleuze 提交于
      This commit introduces Protobuf support in WebFlux via dedicated
      codecs.
      
      Flux<Message> are serialized/deserialized using delimited Protobuf
      messages with the size of each message specified before the message
      itself. In that case, a "delimited=true" parameter is added to the
      content type.
      
      Mono<Message> are expected to use regular Protobuf message
      format (without the size prepended before the message).
      
      Related HttpMessageReader/Writer are automatically registered when the
      "com.google.protobuf:protobuf-java" library is detected in the classpath,
      and can be customized easily if needed via CodecConfigurer, for example
      to specify protocol extensions via the ExtensionRegistry based
      constructors.
      
      Both "application/x-protobuf" and "application/octet-stream" mime types
      are supported.
      
      Issue: SPR-15776
      36a07aa8
    • R
      Update STOMP section on working with subscriptions · 2fdb8c9c
      Rossen Stoyanchev 提交于
      1. Revise @SubscribeMapping to address common points of confusion.
      2. Add ExecutorSubsribableChannel.
      3. Split Events and Interception in two.
      
      Issue: SPR-16950
      2fdb8c9c
    • R
      "Order of messages" in STOMP section of reference docs · 9b2c8404
      Rossen Stoyanchev 提交于
      Issue: SPR-13989
      9b2c8404
  20. 20 7月, 2018 1 次提交
    • R
      Minor fixes: UriComponentsBuilder, UriComponents, docs · 28cd6978
      Rossen Stoyanchev 提交于
      After the latest changes, two small fixes in the clone method to copy
      the encode flag, and in the encodeUriTemplate method to account for
      possible null query params.
      
      Improvements in the URI encoding section.
      
      Issue: SPR-17039, SPR-17027
      28cd6978
  21. 18 7月, 2018 5 次提交