Class AbstractSubprotocolHandler
- java.lang.Object
-
- org.wso2.carbon.inbound.endpoint.protocol.websocket.AbstractSubprotocolHandler
-
- Direct Known Subclasses:
EchoSubprotocolHandler
public abstract class AbstractSubprotocolHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractSubprotocolHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getSubprotocolIdentifier()
abstract boolean
handle(io.netty.channel.ChannelHandlerContext context, io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String subscriberPath)
void
setSubprotocolIdentifier(String subprotocolIdentifier)
-
-
-
Method Detail
-
handle
public abstract boolean handle(io.netty.channel.ChannelHandlerContext context, io.netty.handler.codec.http.websocketx.WebSocketFrame frame, String subscriberPath)
-
setSubprotocolIdentifier
public void setSubprotocolIdentifier(String subprotocolIdentifier)
-
getSubprotocolIdentifier
public String getSubprotocolIdentifier()
-
-