@ManagedObject(value="Identity Extension") public class IdentityExtension extends AbstractExtension
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
IdentityExtension() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The
Sec-WebSocket-Extensions name for this extension. |
String |
getParam(String key) |
void |
incomingError(Throwable e) |
void |
incomingFrame(Frame frame)
Process the incoming frame.
|
void |
outgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode)
A frame, and optional callback, intended for the network layer.
|
void |
setConfig(ExtensionConfig config) |
String |
toString() |
dump, dumpWithHeading, getBufferPool, getConfig, getConnection, getNextIncoming, getNextOutgoing, getPolicy, isRsv1User, isRsv2User, isRsv3User, nextIncomingError, nextIncomingFrame, nextOutgoingFrame, setBufferPool, setConnection, setNextIncomingFrames, setNextOutgoingFrames, setPolicyaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic String getName()
ExtensionSec-WebSocket-Extensions name for this extension.
Also known as the extension-token per Section 9.1. Negotiating Extensions.
getName in interface ExtensiongetName in class AbstractExtensionpublic void incomingError(Throwable e)
incomingError in interface IncomingFramesincomingError in class AbstractExtensionpublic void incomingFrame(Frame frame)
IncomingFramesNote: if you need to hang onto any information from the frame, be sure to copy it, as the information contained in the Frame will be released and/or reused by the implementation.
frame - the frame to processpublic void outgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
OutgoingFramesframe - the frame to eventually write to the network layer.callback - the callback to notify when the frame is written.batchMode - the batch mode requested by the sender.public void setConfig(ExtensionConfig config)
setConfig in class AbstractExtensionpublic String toString()
toString in class AbstractExtensionCopyright © 1995-2015 Webtide. All Rights Reserved.