|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Extension
The Extension interface represents a web socket extension. Extensions are added to a web socket endpoint by
adding them to its EndpointConfiguration. The extension consists of a name, a collection of
extension parameters and a pair of ExtensionHandlers, one that handles all the frames the web socket implementation
uses for representing incoming web socket events and messages, and the other that handles all the frames the web socket
implementation uses for representing outgoing web socket events and messages.
| Method Summary | |
|---|---|
FrameHandler |
createIncomingFrameHandler(FrameHandler downstream)
The FrameHandler that is invoked for any incoming Frames. |
FrameHandler |
createOutgoingFrameHandler(FrameHandler upstream)
The FrameHandler that is invoked for any outgoing Frames. |
String |
getName()
The name of this extension. |
Map<String,String> |
getParameters()
The map name value pairs that are the web socket extension parameters for this extension. |
| Method Detail |
|---|
String getName()
Map<String,String> getParameters()
FrameHandler createIncomingFrameHandler(FrameHandler downstream)
FrameHandler createOutgoingFrameHandler(FrameHandler upstream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||