1. 05 10月, 2013 2 次提交
  2. 03 10月, 2013 2 次提交
    • B
      Add Jackson's Modules registration in Jackson2OMFactoryBean · a5e39167
      Brian Clozel 提交于
      Prior to this commit, one couldn't configure Jackson's ObjectMapper
      with (De)SerializerModifiers or advanced configuration features
      using XML configuration.
      
      This commit updates the FactoryBean and adds a setModule method
      that will register Modules with the ObjectMapper.
      
      Note that this commit is only about XML configuration, since
      this feature was already available with JavaConfig.
      
      Issue: SPR-10429
      a5e39167
    • 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 2 次提交
  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. 29 8月, 2013 1 次提交
  8. 28 8月, 2013 4 次提交
    • 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
    • R
      Restore method signatures on MediaType · 00bc54dc
      Rob Winch 提交于
      Previously the method signatures for includes and isCompatibleWith were
      incompatible with Spring 3.2.x since the argument was now MimeType.
      This caused NoSuchMethodError to be thrown when a class was compiled
      against MediaType from Spring 3.2.x and ran against MediaType
      from Spring 4.x.
      
      This commit restores the signatures and implements each method by
      invoking the super class method.
      
      Issue: SPR-10860
      00bc54dc
    • 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
  9. 23 8月, 2013 4 次提交
  10. 14 8月, 2013 4 次提交
  11. 08 8月, 2013 4 次提交
    • 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
      Fix bug that ignored custom json prefix · ead0124b
      Rossen Stoyanchev 提交于
      Issue: SPR-10817
      ead0124b
    • 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
  12. 07 8月, 2013 1 次提交
  13. 06 8月, 2013 3 次提交
  14. 03 8月, 2013 6 次提交
  15. 01 8月, 2013 1 次提交
  16. 31 7月, 2013 2 次提交
  17. 24 7月, 2013 1 次提交