1. 11 1月, 2017 4 次提交
  2. 10 1月, 2017 6 次提交
  3. 09 1月, 2017 1 次提交
  4. 07 1月, 2017 5 次提交
  5. 05 1月, 2017 3 次提交
    • B
      Disable streaming when reading to Resources in RestTemplate · afd93a0b
      Brian Clozel 提交于
      Prior to this commit, the `ResourceHttpMessageConverter` would support
      converting from an `HttpInputMessage` to a `InputStreamResource`. This
      is valid when reading resources on the server side, but it's not
      compatible with the way `RestTemplate` works.
      
      The API exposed by `RestOperations` imply that the HTTP server response
      should be fully consumed and properly closed by the time the `exchange`
      method returns. In other words, this HTTP client does not support
      streaming the HTTP response.
      
      This commit allows the `ResourceHttpMessageConverter` to be configured
      to disable read streaming when used in `RestTemplate`.
      
      Issue: SPR-14882
      afd93a0b
    • S
      Merge pull request #1284 from garyrussell:SPR-15091 · 848a2b2e
      Stephane Nicoll 提交于
      * pr/1284:
        Implement MessagingException.toString()
      848a2b2e
    • G
      Implement MessagingException.toString() · 80bc8fc5
      Gary Russell 提交于
      Issue: SPR-15091
      Closes gh-1284
      80bc8fc5
  6. 04 1月, 2017 8 次提交
  7. 03 1月, 2017 1 次提交
    • B
      Fix default content-type for ResourceRegion HTTP responses · 1ab0916b
      Brian Clozel 提交于
      Prior to this commit, the `ResourceRegionHttpMessageConverter` would
      rely on the default implementation of `getDefaultContentType` to guess
      the default Content-Type of the resource region to be written to the
      HTTP response. That implementation fetches the first media type
      provided in the HTTP request "Accept" header.
      
      This behavior is not correct when converting resources and this commits
      aligns this converter with the `ResourceHttpMessageConverter` which uses
      JAF to guess the correct Content-Type of the given resource, or just
      returns "application/octet-stream" as a default value.
      
      Issue: SPR-15041
      1ab0916b
  8. 01 1月, 2017 2 次提交
    • S
      Add Kotlin based ScriptTemplateView rendering test · badde3a4
      Sebastien Deleuze 提交于
      Kotlin JSR 223 support currently requires kotlin-script-util
      dependency (jcabi-aether, maven-core and aether-api can be
      excluded since they are only used for live import of
      dependencies and bring a lot of JARs in the classpath) and a
      /META-INF/services/javax.script.ScriptEngineFactory
      file specifying the ScriptEngineFactory to use, in that case
      org.jetbrains.kotlin.script.jsr223.KotlinJsr223JvmLocalScriptEngineFactory.
      
      Issue: SPR-15059
      badde3a4
    • S
      Upgrade to Kotlin 1.1-M04 · ef434006
      Sebastien Deleuze 提交于
      Needed for Kotlin script and JSR 223 support, and a good target
      for Spring Framework 5.0 since it will allow features like generating
      Java 8 bytecode, JDK 9 support, annotation array attribute single
      value without arrayOf(), etc.
      
      We ensure Kotlin 1.0 compatibility by setting apiVersion and
      languageVersion compiler options to 1.0.
      
      Issue: SPR-15059
      ef434006
  9. 30 12月, 2016 10 次提交