1. 15 3月, 2016 2 次提交
    • R
      Ensure RedirectModel is initialized · 58286480
      Rossen Stoyanchev 提交于
      This commit fixes an old bug in ModelAndViewContainer where getModel
      returns a new ModelMap instance that isn't saved and re-used.
      
      Issue: SPR-14045
      58286480
    • R
      DeferredResult/ResponseBodyEmitter adapter mechanism · 971ccab0
      Rossen Stoyanchev 提交于
      The DeferredResult~ and the ResponseBodyEmitterReturnValueHandler now
      each expose an adapter mechanism for plugging in other async return
      value types. As a result the ListenableFutureReturnValueHandler and
      CompletionStageReturnValueHandler are no longer needed and are now
      deprecated.
      
      Issue: SPR-14046
      971ccab0
  2. 14 3月, 2016 1 次提交
  3. 12 3月, 2016 8 次提交
  4. 11 3月, 2016 14 次提交
  5. 10 3月, 2016 2 次提交
    • P
      Support servlet listener activate attribute · bb590db3
      Phillip Webb 提交于
      Add a ServletTestExecutionListener.ACTIVATE_LISTENER attribute which
      can be set on the TestContext to trigger activation of the listener
      even if a `@WebAppConfiguration` is not present.
      
      Issue: SPR-14035
      bb590db3
    • B
      Allow Validator config in XML websocket namespace · 8ca6a18d
      Brian Clozel 提交于
      This commit adds a new "validator" XML attribute to the
      `<websocket:message-broker/>` element. This allows configuring a
      specific Validator to be used for payload validation.
      
      Issue: SPR-13996
      8ca6a18d
  6. 09 3月, 2016 5 次提交
    • S
      Support ResolvableTypeProvider on simple event pojo · 8e24a415
      Stephane Nicoll 提交于
      Previously, the generic type of a simple pojo event implementing
      ResolvableTypeProvider wasn't detected properly. This commit fixes the
      logic when the generic type is not provided to reuse what
      PayloadApplicationEvent is already doing anyway.
      
      Issue: SPR-14029
      8e24a415
    • S
      Merge pull request #992 from coryfklein/master · ed341695
      Stephane Nicoll 提交于
      * pr/992:
        Fix typo
      ed341695
    • C
      Fix typo · 71cf7b40
      Cory Klein 提交于
      Closes gh-992
      71cf7b40
    • P
      Allow @ContextConfiguration to be omitted · 22444617
      Phillip Webb 提交于
      Prior to this commit, the @ContextConfiguration annotation was required
      to be present even if default XML files, Groovy scripts, or
      @Configuration classes were detected; however, in such cases the
      @ContextConfiguration was typically declared empty and therefore
      seemingly unnecessary boilerplate.
      
      This commit permits @ContextConfiguration to be omitted whenever it can
      be reasonably deduced. Consequently, integration tests such as the
      following are now supported.
      
          @RunWith(SpringRunner.class)
          public class MyTest {
      
              @Autowired String myBean;
      
              @test public void example() { /* ... */ }
      
              @Configuration
              static class Config {
      
                  @Bean String myBean() {
                      return "Hello";
                  }
              }
          }
      
      Issue: SPR-13955
      22444617
    • B
      Fix SpringUrl Velocity macro URI encoding · 0a566670
      Brian Clozel 提交于
      Prior to this commit, the springUrl Velocity macro would only prepend
      the context to the given URL; this means that the
      ServletHttpResponse.encodeUri method is not called and neither the
      ResourceUrlProvider.
      
      This commit changes this macro to use RequestContext.getContextUrl which
      prepends the context and encodes the URI.
      
      Issue: SPR-14027
      0a566670
  7. 08 3月, 2016 8 次提交