@ManagedObject(value="Abstract Extension") public abstract class AbstractExtension extends ContainerLifeCycle implements Extension
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
AbstractExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(Appendable out,
String indent) |
protected void |
dumpWithHeading(Appendable out,
String indent,
String heading,
Object bean) |
ByteBufferPool |
getBufferPool() |
ExtensionConfig |
getConfig() |
LogicalConnection |
getConnection() |
String |
getName() |
IncomingFrames |
getNextIncoming() |
OutgoingFrames |
getNextOutgoing() |
WebSocketPolicy |
getPolicy() |
void |
incomingError(Throwable e) |
boolean |
isRsv1User()
Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing.
|
boolean |
isRsv2User()
Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing.
|
boolean |
isRsv3User()
Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing.
|
protected void |
nextIncomingError(Throwable e) |
protected void |
nextIncomingFrame(Frame frame) |
protected void |
nextOutgoingFrame(Frame frame,
WriteCallback callback,
BatchMode batchMode) |
void |
setBufferPool(ByteBufferPool bufferPool) |
void |
setConfig(ExtensionConfig config) |
void |
setConnection(LogicalConnection connection) |
void |
setNextIncomingFrames(IncomingFrames nextIncoming) |
void |
setNextOutgoingFrames(OutgoingFrames nextOutgoing) |
void |
setPolicy(WebSocketPolicy policy) |
String |
toString() |
addBean, 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, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitincomingFrameoutgoingFramepublic void dump(Appendable out, String indent) throws IOException
dump in interface Dumpabledump in class ContainerLifeCycleIOExceptionprotected void dumpWithHeading(Appendable out, String indent, String heading, Object bean) throws IOException
IOExceptionpublic ByteBufferPool getBufferPool()
public ExtensionConfig getConfig()
public LogicalConnection getConnection()
@ManagedAttribute(name="Next Incoming Frame Handler", readonly=true) public IncomingFrames getNextIncoming()
@ManagedAttribute(name="Next Outgoing Frame Handler", readonly=true) public OutgoingFrames getNextOutgoing()
public WebSocketPolicy getPolicy()
public void incomingError(Throwable e)
incomingError in interface IncomingFramespublic boolean isRsv1User()
This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV1.
isRsv1User in interface Extensionpublic boolean isRsv2User()
This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV2.
isRsv2User in interface Extensionpublic boolean isRsv3User()
This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV3.
isRsv3User in interface Extensionprotected void nextIncomingError(Throwable e)
protected void nextIncomingFrame(Frame frame)
protected void nextOutgoingFrame(Frame frame, WriteCallback callback, BatchMode batchMode)
public void setBufferPool(ByteBufferPool bufferPool)
public void setConfig(ExtensionConfig config)
public void setConnection(LogicalConnection connection)
public void setNextIncomingFrames(IncomingFrames nextIncoming)
setNextIncomingFrames in interface Extensionpublic void setNextOutgoingFrames(OutgoingFrames nextOutgoing)
setNextOutgoingFrames in interface Extensionpublic void setPolicy(WebSocketPolicy policy)
Copyright © 1995-2016 Webtide. All Rights Reserved.