Class WebSocketServerProtocolHandshakeHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandshakeHandler
- All Implemented Interfaces:
ChannelHandler,ChannelUpstreamHandler
Handles the HTTP handshake (the HTTP Upgrade request)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketServerProtocolHandshakeHandler(String websocketPath, String subprotocols, boolean allowExtensions) -
Method Summary
Modifier and TypeMethodDescriptionvoidexceptionCaught(ChannelHandlerContext ctx, Throwable cause) voidInvoked when a message object (e.g:ChannelBuffer) was received from a remote peer.Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, writeComplete
-
Constructor Details
-
WebSocketServerProtocolHandshakeHandler
-
-
Method Details
-
messageReceived
Description copied from class:SimpleChannelUpstreamHandlerInvoked when a message object (e.g:ChannelBuffer) was received from a remote peer.- Overrides:
messageReceivedin classSimpleChannelUpstreamHandler- Throws:
Exception
-
exceptionCaught
- Throws:
Exception
-