Class WebSocketExtensionFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
-
- org.eclipse.jetty.websocket.common.extensions.WebSocketExtensionFactory
-
@Deprecated(since="2021-05-27") public class WebSocketExtensionFactory extends ExtensionFactory implements LifeCycle, Dumpable
Deprecated.
-
-
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)Deprecated.WebSocketExtensionFactory(WebSocketContainerScope container, org.eclipse.jetty.util.compression.InflaterPool inflaterPool, org.eclipse.jetty.util.compression.DeflaterPool deflaterPool)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddLifeCycleListener(LifeCycle.Listener listener)Deprecated.Stringdump()Deprecated.voiddump(Appendable out, String indent)Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines.StringdumpSelf()Deprecated.The description of this/self found in the dump.org.eclipse.jetty.util.compression.DeflaterPoolgetDeflaterPool()Deprecated.org.eclipse.jetty.util.compression.InflaterPoolgetInflaterPool()Deprecated.booleanisFailed()Deprecated.booleanisRunning()Deprecated.booleanisStarted()Deprecated.booleanisStarting()Deprecated.booleanisStopped()Deprecated.booleanisStopping()Deprecated.ExtensionnewInstance(ExtensionConfig config)Deprecated.voidremoveLifeCycleListener(LifeCycle.Listener listener)Deprecated.voidstart()Deprecated.Starts the component.voidstop()Deprecated.Stops the component.StringtoString()Deprecated.voidunmanage(Object object)Deprecated.-
Methods inherited from class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
getAvailableExtensions, getExtension, getExtensionNames, isAvailable, iterator, register, unregister
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
WebSocketExtensionFactory
public WebSocketExtensionFactory(WebSocketContainerScope container)
Deprecated.
-
WebSocketExtensionFactory
public WebSocketExtensionFactory(WebSocketContainerScope container, org.eclipse.jetty.util.compression.InflaterPool inflaterPool, org.eclipse.jetty.util.compression.DeflaterPool deflaterPool)
Deprecated.
-
-
Method Detail
-
unmanage
public void unmanage(Object object)
Deprecated.
-
getInflaterPool
public org.eclipse.jetty.util.compression.InflaterPool getInflaterPool()
Deprecated.
-
getDeflaterPool
public org.eclipse.jetty.util.compression.DeflaterPool getDeflaterPool()
Deprecated.
-
newInstance
public Extension newInstance(ExtensionConfig config)
Deprecated.- Specified by:
newInstancein classExtensionFactory
-
start
public void start() throws ExceptionDeprecated.Description copied from interface:LifeCycleStarts the component.- Specified by:
startin interfaceLifeCycle- Throws:
Exception- If the component fails to start- See Also:
LifeCycle.isStarted(),LifeCycle.stop(),LifeCycle.isFailed()
-
stop
public void stop() throws ExceptionDeprecated.Description copied from interface:LifeCycleStops the component. The component may wait for current activities to complete normally, but it can be interrupted.- Specified by:
stopin interfaceLifeCycle- Throws:
Exception- If the component fails to stop- See Also:
LifeCycle.isStopped(),LifeCycle.start(),LifeCycle.isFailed()
-
isRunning
public boolean isRunning()
Deprecated.
-
isStarted
public boolean isStarted()
Deprecated.- Specified by:
isStartedin interfaceLifeCycle- Returns:
- true if the component has been started.
- See Also:
LifeCycle.start(),LifeCycle.isStarting()
-
isStarting
public boolean isStarting()
Deprecated.- Specified by:
isStartingin interfaceLifeCycle- Returns:
- true if the component is starting.
- See Also:
LifeCycle.isStarted()
-
isStopping
public boolean isStopping()
Deprecated.- Specified by:
isStoppingin interfaceLifeCycle- Returns:
- true if the component is stopping.
- See Also:
LifeCycle.isStopped()
-
isStopped
public boolean isStopped()
Deprecated.- Specified by:
isStoppedin interfaceLifeCycle- Returns:
- true if the component has been stopped.
- See Also:
LifeCycle.stop(),LifeCycle.isStopping()
-
isFailed
public boolean isFailed()
Deprecated.
-
addLifeCycleListener
public void addLifeCycleListener(LifeCycle.Listener listener)
Deprecated.- Specified by:
addLifeCycleListenerin interfaceLifeCycle
-
removeLifeCycleListener
public void removeLifeCycleListener(LifeCycle.Listener listener)
Deprecated.- Specified by:
removeLifeCycleListenerin interfaceLifeCycle
-
dumpSelf
public String dumpSelf()
Deprecated.Description copied from interface:DumpableThe description of this/self found in the dump. Allows for alternative representation of Object other then .toString() where the long form output of toString() is represented in a cleaner way within the dump infrastructure.
-
dump
public void dump(Appendable out, String indent) throws IOException
Deprecated.Description copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
dumpin interfaceDumpable- Parameters:
out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
IOException- if unable to write to Appendable
-
-