Class WebSocketExtensionFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
-
- org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description WebSocketExtensionFactory(WebSocketContainerScope container)
WebSocketExtensionFactory(WebSocketContainerScope container, InflaterPool inflaterPool, DeflaterPool deflaterPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLifeCycleListener(LifeCycle.Listener listener)
java.lang.String
dump()
void
dump(java.lang.Appendable out, java.lang.String indent)
java.lang.String
dumpSelf()
DeflaterPool
getDeflaterPool()
InflaterPool
getInflaterPool()
boolean
isFailed()
boolean
isRunning()
boolean
isStarted()
boolean
isStarting()
boolean
isStopped()
boolean
isStopping()
Extension
newInstance(ExtensionConfig config)
void
removeLifeCycleListener(LifeCycle.Listener listener)
void
start()
void
stop()
java.lang.String
toString()
void
unmanage(java.lang.Object object)
-
Methods inherited from class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
getAvailableExtensions, getExtension, getExtensionNames, isAvailable, iterator, register, unregister
-
-
-
-
Constructor Detail
-
WebSocketExtensionFactory
public WebSocketExtensionFactory(WebSocketContainerScope container)
-
WebSocketExtensionFactory
public WebSocketExtensionFactory(WebSocketContainerScope container, InflaterPool inflaterPool, DeflaterPool deflaterPool)
-
-
Method Detail
-
unmanage
public void unmanage(java.lang.Object object)
-
getInflaterPool
public InflaterPool getInflaterPool()
-
getDeflaterPool
public DeflaterPool getDeflaterPool()
-
newInstance
public Extension newInstance(ExtensionConfig config)
- Specified by:
newInstance
in classExtensionFactory
-
start
public void start() throws java.lang.Exception
-
stop
public void stop() throws java.lang.Exception
-
isStarting
public boolean isStarting()
- Specified by:
isStarting
in interfaceLifeCycle
-
isStopping
public boolean isStopping()
- Specified by:
isStopping
in interfaceLifeCycle
-
addLifeCycleListener
public void addLifeCycleListener(LifeCycle.Listener listener)
- Specified by:
addLifeCycleListener
in interfaceLifeCycle
-
removeLifeCycleListener
public void removeLifeCycleListener(LifeCycle.Listener listener)
- Specified by:
removeLifeCycleListener
in interfaceLifeCycle
-
dump
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-