Class DelegatedContainerScope
java.lang.Object
org.eclipse.jetty.websocket.common.scopes.DelegatedContainerScope
- All Implemented Interfaces:
WebSocketContainerScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WebSocketContainerScope
private final WebSocketPolicy
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatedContainerScope
(WebSocketPolicy policy, WebSocketContainerScope parentScope) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSessionListener
(WebSocketSessionListener listener) org.eclipse.jetty.io.ByteBufferPool
The configured Container Buffer Pool.Executor in use by the container.org.eclipse.jetty.util.DecoratedObjectFactory
Object Factory used to create objects.The policy the container is running on.org.eclipse.jetty.util.ssl.SslContextFactory
The SslContextFactory in use by the container.boolean
Test for if the container has been started.void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope
getClassLoader
-
Field Details
-
policy
-
delegate
-
-
Constructor Details
-
DelegatedContainerScope
-
-
Method Details
-
getBufferPool
public org.eclipse.jetty.io.ByteBufferPool getBufferPool()Description copied from interface:WebSocketContainerScope
The configured Container Buffer Pool.- Specified by:
getBufferPool
in interfaceWebSocketContainerScope
- Returns:
- the buffer pool (never null)
-
getExecutor
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 org.eclipse.jetty.util.DecoratedObjectFactory getObjectFactory()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
Description copied from interface:WebSocketContainerScope
The policy the container is running on.- Specified by:
getPolicy
in interfaceWebSocketContainerScope
- Returns:
- the websocket policy
-
getSslContextFactory
public org.eclipse.jetty.util.ssl.SslContextFactory getSslContextFactory()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()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
- Specified by:
addSessionListener
in interfaceWebSocketContainerScope
-
removeSessionListener
- Specified by:
removeSessionListener
in interfaceWebSocketContainerScope
-
getSessionListeners
- Specified by:
getSessionListeners
in interfaceWebSocketContainerScope
-