Apache CXF API

org.apache.cxf.transport.websocket.atmosphere
Class AtmosphereWebSocketStreamHandler

java.lang.Object
  extended by org.apache.cxf.transport.websocket.atmosphere.AtmosphereWebSocketHandler
      extended by org.apache.cxf.transport.websocket.atmosphere.AtmosphereWebSocketStreamHandler
All Implemented Interfaces:
org.atmosphere.websocket.WebSocketProtocol, org.atmosphere.websocket.WebSocketProtocolStream

public class AtmosphereWebSocketStreamHandler
extends AtmosphereWebSocketHandler
implements org.atmosphere.websocket.WebSocketProtocolStream


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.websocket.atmosphere.AtmosphereWebSocketHandler
AtmosphereWebSocketHandler.AtmosphereWebSocketServletHolder
 
Field Summary
 
Fields inherited from class org.apache.cxf.transport.websocket.atmosphere.AtmosphereWebSocketHandler
destination
 
Constructor Summary
AtmosphereWebSocketStreamHandler()
           
 
Method Summary
 List<org.atmosphere.cpr.AtmosphereRequest> onBinaryStream(org.atmosphere.websocket.WebSocket webSocket, InputStream stream)
           
 List<org.atmosphere.cpr.AtmosphereRequest> onTextStream(org.atmosphere.websocket.WebSocket webSocket, Reader r)
           
 
Methods inherited from class org.apache.cxf.transport.websocket.atmosphere.AtmosphereWebSocketHandler
configure, createServletRequest, createServletRequest, createServletResponse, getDestination, onClose, onError, onMessage, onMessage, onOpen, setDestination
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atmosphere.websocket.WebSocketProtocol
configure, onClose, onError, onMessage, onMessage, onOpen
 

Constructor Detail

AtmosphereWebSocketStreamHandler

public AtmosphereWebSocketStreamHandler()
Method Detail

onTextStream

public List<org.atmosphere.cpr.AtmosphereRequest> onTextStream(org.atmosphere.websocket.WebSocket webSocket,
                                                               Reader r)
Specified by:
onTextStream in interface org.atmosphere.websocket.WebSocketProtocolStream

onBinaryStream

public List<org.atmosphere.cpr.AtmosphereRequest> onBinaryStream(org.atmosphere.websocket.WebSocket webSocket,
                                                                 InputStream stream)
Specified by:
onBinaryStream in interface org.atmosphere.websocket.WebSocketProtocolStream

Apache CXF API

Apache CXF