1. 05 10月, 2013 1 次提交
  2. 03 10月, 2013 1 次提交
    • B
      Add javax.servlet.http.Part support for data binding · e91ce23c
      Brian Clozel 提交于
      Prior to this commit, Multipart databinding would only support
      MultiPartFile databinding using commons-multipart.
      
      Now the WebRequestDataBinder supports Part and List<Part>
      databinding for Servlet 3.0 compliant containers.
      
      Issue: SPR-10591
      e91ce23c
  3. 26 9月, 2013 1 次提交
  4. 25 9月, 2013 1 次提交
    • B
      Add IPv6 support in RestTemplate · 2dd44801
      Brian Clozel 提交于
      Prior to this commit, RestTemplate would not would
      not accept IPv6 raw addresses in URLs because UriComponentsBuilder
      would not parse/encode the Host part correctly.
      
      The UriComponentsBuilder now parses and encode raw IPv6 addresses
      in the "[1abc:2abc:3abc::5ABC:6abc]" format and also supports the
      use of IPv6 scope_ids (see JDK8 java.net.Inet6Address),
      like "[1abc:2abc:3abc::5ABC:6abc%eth0]".
      
      Issue: SPR-10539
      2dd44801
  5. 04 9月, 2013 1 次提交
    • A
      Added ListenableFuture interface · d0aa158a
      Arjen Poutsma 提交于
      Added extension to Future with capabilities for registering callbacks
      when the future is complete.
      
      - Added ListenableFuture, ListenableFutureCallback,
        ListenableFutureCallbackRegistry, and ListenableFutureTask.
      - Using ListenableFuture in AsyncRestOperations/AsyncRestTemplate.
      - Added AsyncListenableTaskExecutor, implemented in
        SimpleAsyncTaskExecutor.
      - Added FutureAdapter and ListenableFutureAdapter.
      d0aa158a
  6. 02 9月, 2013 1 次提交
  7. 28 8月, 2013 3 次提交
    • J
      Turned AsyncRequestCallbackAdapter into a private inner class · 38c8c6d0
      Juergen Hoeller 提交于
      Issue: SPR-8804
      38c8c6d0
    • J
      AnnotationConfigWebApplicationContext allows for repeated register/scan calls · 01b8d932
      Juergen Hoeller 提交于
      Restoring consistency with AnnotationConfigApplicationContext.
      
      Issue: SPR-10852
      01b8d932
    • A
      Add AsyncRestTemplate · ebcee26d
      Arjen Poutsma 提交于
      Added AsyncRestTemplate, the asynchronous counterpart to the
      RestTemplate that was introduced in Spring 3. All methods on the
      AsyncRestTemplate are similar to those found on the synchronous
      RestTemplatem, except that they return Future wrappers instead of
      concrete results.
      
      To enable this, this commit introduces the AsyncClientHttpRequest and
      AsyncClientHttpRequestFactory, similar to the ClientHttpRequest and
      ClientHttpRequestFactory, except that ClientHttpRequest returns a
      Future<ClientHttpResponse> for the execute method. Two implementations
      of these interfaces are provided, one based on the HttpURLConnection
      incombination with a Spring AsyncTaskExecutor and one based on Apache
      HttpComponents HttpAsyncClient.
      
      Issue: SPR-8804
      ebcee26d
  8. 23 8月, 2013 1 次提交
  9. 08 8月, 2013 3 次提交
    • J
      Introduced DefaultParameterNameDiscoverer which checks JDK 8's standard... · 1420b970
      Juergen Hoeller 提交于
      Introduced  DefaultParameterNameDiscoverer which checks JDK 8's standard reflection first and then falls back to ASM-based debug symbol analysis
      
      Also, StandardReflectionParameterNameDiscoverer calls "Parameter.isNamePresent()" now to return null (and pass on to the next discoverer) if no JDK 8 parameters are available. Note that this requires OpenJDK 8 b100 or higher to compile now.
      
      Issue: SPR-10532
      1420b970
    • R
      Allow @ResponseBody on the type level · 82a26024
      Rossen Stoyanchev 提交于
      This change enables having @ResponseBody on the type-level in which
      case it inherited and does not need to be added on the method level.
      
      For added convenience, there is also a new @RestController annotation,
      a meta-annotation in turn annotated with @Controller and @ResponseBody.
      Classes with the new annotation do not need to have @ResponseBody
      declared on the method level as it is inherited.
      
      Issue: SPR-10814
      82a26024
    • R
      Extract MimeType as a base class of MediaType · eb4579b4
      Rossen Stoyanchev 提交于
      MimeType is available in core-spring and does not include support
      for quality parameters and media used in HTTP content negotiation.
      The MediaType sub-class in org.springframework.http adds q-parameters.
      eb4579b4
  10. 06 8月, 2013 1 次提交
  11. 03 8月, 2013 1 次提交
  12. 31 7月, 2013 2 次提交
  13. 19 7月, 2013 1 次提交
  14. 18 7月, 2013 1 次提交
  15. 17 7月, 2013 1 次提交
  16. 27 6月, 2013 1 次提交
  17. 21 6月, 2013 2 次提交
  18. 20 6月, 2013 1 次提交
    • R
      Add @MessageExceptionHandler · 55a212d4
      Rossen Stoyanchev 提交于
      Similar to @ExceptionHandler but for message processing. Such a method
      can send messages to both the message broker channel and the client
      channel provided the client is subscribed to the target destination.
      55a212d4
  19. 16 5月, 2013 2 次提交
  20. 15 5月, 2013 2 次提交
    • R
      Make removal of jsessionid case insensitive · a86283eb
      Rossen Stoyanchev 提交于
      Issue: SPR-10398
      a86283eb
    • R
      Fix deadlock issue in DeferredResult · db596d23
      Rossen Stoyanchev 提交于
      Previously DeferredResult locked around the setting of the result
      including handling up to the part of submitting a dispatch. This
      can cause a deadlock if a timeout occurs at the same time since
      the Tomcat timeout thread has its own locking that permits only
      one thread to do timeout or dispatch processing.
      
      The fix reduces the locking to cover only the attempt to set the
      DeferredResult but not the dispatching.
      
      Issue: SPR-10485
      db596d23
  21. 14 5月, 2013 1 次提交
  22. 11 5月, 2013 2 次提交
  23. 10 5月, 2013 1 次提交
    • R
      Improve default content type selection · aaded7e3
      Rossen Stoyanchev 提交于
      Previously ContentNegotiationManager continued with the next
      ContentNegotiationStrategy only if the current one returned an empty
      list. Now it also does that if the current ContentNegotiationStrategy
      returns "*/*". Since the absence of an Accept header and "*/*" have
      the same meaning, this allows a default content type to be used in
      either case.
      
      Issue: SPR-10513
      aaded7e3
  24. 09 5月, 2013 1 次提交
    • P
      Allow late binding ServletContextAwareProcessor · e9a2e688
      Phillip Webb 提交于
      Update ServletContextAwareProcessor to allow subclasses to support late
      binding of the ServletConfig and/or ServletContext. Allows for the
      post-processor to be registered before the servlet environment has been
      initialized.
      
      Issue: SPR-10381
      e9a2e688
  25. 08 5月, 2013 1 次提交
  26. 03 5月, 2013 3 次提交
  27. 02 5月, 2013 1 次提交
  28. 23 4月, 2013 1 次提交
    • J
      Consistent Map/Set ordering · 9c09a0a0
      Juergen Hoeller 提交于
      Use LinkedHashMaps/Sets wherever exposed to users, and code tests defensively in terms of expected Map/Set ordering. Otherwise, there'll be runtime order differences between JDK 7 and JDK 8 due to internal HashMap/Set implementation differences.
      
      Issue: SPR-9639
      9c09a0a0
  29. 30 3月, 2013 1 次提交