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 void
addSessionListener(WebSocketSessionListener listener)
Deprecated.ByteBufferPool
getBufferPool()
Deprecated.The configured Container Buffer Pool.java.util.concurrent.Executor
getExecutor()
Deprecated.Executor in use by the container.DecoratedObjectFactory
getObjectFactory()
Deprecated.Object Factory used to create objects.WebSocketPolicy
getPolicy()
Deprecated.The policy the container is running on.java.util.Collection<WebSocketSessionListener>
getSessionListeners()
Deprecated.SslContextFactory
getSslContextFactory()
Deprecated.The SslContextFactory in use by the container.boolean
isRunning()
Deprecated.Test for if the container has been started.void
removeSessionListener(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:WebSocketContainerScope
The configured Container Buffer Pool.- Specified by:
getBufferPool
in interfaceWebSocketContainerScope
- Returns:
- the buffer pool (never null)
-
getExecutor
public java.util.concurrent.Executor getExecutor()
Deprecated.Description copied from interface:WebSocketContainerScope
Executor in use by the container.- Specified by:
getExecutor
in interfaceWebSocketContainerScope
- Returns:
- the Executor in use by the container.
-
getObjectFactory
public DecoratedObjectFactory getObjectFactory()
Deprecated.Description copied from interface:WebSocketContainerScope
Object Factory used to create objects.- Specified by:
getObjectFactory
in interfaceWebSocketContainerScope
- Returns:
- Object Factory used to create instances of objects.
-
getPolicy
public WebSocketPolicy getPolicy()
Deprecated.Description copied from interface:WebSocketContainerScope
The policy the container is running on.- Specified by:
getPolicy
in interfaceWebSocketContainerScope
- Returns:
- the websocket policy
-
getSslContextFactory
public SslContextFactory getSslContextFactory()
Deprecated.Description copied from interface:WebSocketContainerScope
The SslContextFactory in use by the container.- Specified by:
getSslContextFactory
in 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:WebSocketContainerScope
Test for if the container has been started.- Specified by:
isRunning
in interfaceWebSocketContainerScope
- Returns:
- true if container is started and running
-
addSessionListener
public void addSessionListener(WebSocketSessionListener listener)
Deprecated.- Specified by:
addSessionListener
in interfaceWebSocketContainerScope
-
removeSessionListener
public void removeSessionListener(WebSocketSessionListener listener)
Deprecated.- Specified by:
removeSessionListener
in interfaceWebSocketContainerScope
-
getSessionListeners
public java.util.Collection<WebSocketSessionListener> getSessionListeners()
Deprecated.- Specified by:
getSessionListeners
in interfaceWebSocketContainerScope
-
-