1. 21 3月, 2014 11 次提交
    • R
      Remove synchronized block around WebSocketSession.send · 299be082
      Rossen Stoyanchev 提交于
      Since we now wrap the WebSocketSession with a concurrent decorator, the
      synchronized keyword around message sending needed to be removed.
      
      Issue: SPR-11586
      299be082
    • S
      Polish ASM-based annotation processing · 796af90b
      Sam Brannen 提交于
      - AnnotationAttributesReadingVisitor no longer processes annotations
        from the java.lang.annotation package.
      
      - Simplified logic in AnnotationReadingVisitorUtils
        getMergedAnnotationAttributes().
      
      Issue: SPR-11574
      796af90b
    • J
      BufferedImageHttpMessageConverter ignores empty MIME types · 90e3dbb0
      Juergen Hoeller 提交于
      Issue: SPR-11581
      90e3dbb0
    • J
      Javadoc: @ComponentScan is subject to @Conditional as well · 3aff973d
      Juergen Hoeller 提交于
      Issue: SPR-11579
      3aff973d
    • R
      Raise MessageConversionException in @Payload resolver · 929e9ca4
      Rossen Stoyanchev 提交于
      If a payload is present but conversion returns null (meaning no
      converter knows how to convert), raise a MessageConversionException
      that provides information about the type we were trying to convert
      to and the message itself whose headers (namely content-type) contain
      crucial information required to debug the problem.
      
      Issue: SPR-11577
      929e9ca4
    • B
      Set custom handshakeHandler for XML sockjs config · 26309838
      Brian Clozel 提交于
      Prior to this commit, configuring a custom handshakeHandler when setting
      up a stomp-endpoint with SockJS would not be taken into account:
      
        <websocket:stomp-endpoint path="/foo">
          <websocket:handshake-handler ref="customHandler"/>
          <websocket:sockjs/>
        </websocket:stomp-endpoint>
      
      This commit fixes this by creating and registering a
      WebsocketTransportHandler (with this handshakeHandler) as a
      transportHandler override for the SockJSService.
      
      Issue: SPR-11568
      26309838
    • R
      Add concurrent WebSocket session decorator (temp commit) · b7a97411
      Rossen Stoyanchev 提交于
      Issue: SPR-11586
      b7a97411
    • R
      ac968e94
    • R
      Ensure default value of @Payload required is enforced · d4782647
      Rossen Stoyanchev 提交于
      When no @Payload is provided, it is equivalent to @Payload with default
      attribute values. Since the default value of required=true, then
      an argument that's not annotated is required.
      d4782647
    • S
      Fix handling of required payload. · 52c3f713
      Stephane Nicoll 提交于
      A payload that is required will now throw an appropriate exception
      regardless of if a conversion is required or not.
      
      isEmptyPayload now takes the payload instead of the message
      so that both the original payload and the converted payload, if
      necessary, share the same logic.
      
      JSR-303 validation is now consistently applied.
      
      Issue: SPR-11577
      52c3f713
    • S
      Harmonize log configuration · 4cd818b9
      Stephane Nicoll 提交于
      Prior to this commit, the codebase was using a mix of log4j.xml
      and log4j.properties for test-related logging configuration. This
      can be an issue as log4j takes the xml variant first when looking
      for a default bootstrap configuration.
      
      In practice, some modules declaring the properties variant were
      taking the xml variant configuration from another module.
      
      The general structure of the configuration has also been
      harmonized to provide a standard console output as well as an
      easy way to enable trace logs for the current module.
      4cd818b9
  2. 20 3月, 2014 6 次提交
  3. 19 3月, 2014 9 次提交
  4. 18 3月, 2014 10 次提交
  5. 17 3月, 2014 4 次提交