Class DelegatedContainerScope
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.scopes.DelegatedContainerScope
-
- All Implemented Interfaces:
WebSocketContainerScope
@Deprecated(since="2021-05-27") public class DelegatedContainerScope extends java.lang.Object implements WebSocketContainerScope
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description DelegatedContainerScope(WebSocketPolicy policy, WebSocketContainerScope parentScope)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddSessionListener(WebSocketSessionListener listener)Deprecated.ByteBufferPoolgetBufferPool()Deprecated.The configured Container Buffer Pool.java.util.concurrent.ExecutorgetExecutor()Deprecated.Executor in use by the container.DecoratedObjectFactorygetObjectFactory()Deprecated.Object Factory used to create objects.WebSocketPolicygetPolicy()Deprecated.The policy the container is running on.java.util.Collection<WebSocketSessionListener>getSessionListeners()Deprecated.SslContextFactorygetSslContextFactory()Deprecated.The SslContextFactory in use by the container.booleanisRunning()Deprecated.Test for if the container has been started.voidremoveSessionListener(WebSocketSessionListener listener)Deprecated.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope
getClassLoader
-
-
-
-
Constructor Detail
-
DelegatedContainerScope
public DelegatedContainerScope(WebSocketPolicy policy, WebSocketContainerScope parentScope)
Deprecated.
-
-
Method Detail
-
getBufferPool
public ByteBufferPool getBufferPool()
Deprecated.Description copied from interface:WebSocketContainerScopeThe configured Container Buffer Pool.- Specified by:
getBufferPoolin interfaceWebSocketContainerScope- Returns:
- the buffer pool (never null)
-
getExecutor
public java.util.concurrent.Executor getExecutor()
Deprecated.Description copied from interface:WebSocketContainerScopeExecutor in use by the container.- Specified by:
getExecutorin interfaceWebSocketContainerScope- Returns:
- the Executor in use by the container.
-
getObjectFactory
public DecoratedObjectFactory getObjectFactory()
Deprecated.Description copied from interface:WebSocketContainerScopeObject Factory used to create objects.- Specified by:
getObjectFactoryin interfaceWebSocketContainerScope- Returns:
- Object Factory used to create instances of objects.
-
getPolicy
public WebSocketPolicy getPolicy()
Deprecated.Description copied from interface:WebSocketContainerScopeThe policy the container is running on.- Specified by:
getPolicyin interfaceWebSocketContainerScope- Returns:
- the websocket policy
-
getSslContextFactory
public SslContextFactory getSslContextFactory()
Deprecated.Description copied from interface:WebSocketContainerScopeThe SslContextFactory in use by the container.- Specified by:
getSslContextFactoryin interfaceWebSocketContainerScope- Returns:
- the SslContextFactory in use by the container (can be null if no SSL context is defined)
-
isRunning
public boolean isRunning()
Deprecated.Description copied from interface:WebSocketContainerScopeTest for if the container has been started.- Specified by:
isRunningin interfaceWebSocketContainerScope- Returns:
- true if container is started and running
-
addSessionListener
public void addSessionListener(WebSocketSessionListener listener)
Deprecated.- Specified by:
addSessionListenerin interfaceWebSocketContainerScope
-
removeSessionListener
public void removeSessionListener(WebSocketSessionListener listener)
Deprecated.- Specified by:
removeSessionListenerin interfaceWebSocketContainerScope
-
getSessionListeners
public java.util.Collection<WebSocketSessionListener> getSessionListeners()
Deprecated.- Specified by:
getSessionListenersin interfaceWebSocketContainerScope
-
-