Class DelegatedContainerScope
java.lang.Object
org.eclipse.jetty.websocket.common.scopes.DelegatedContainerScope
- All Implemented Interfaces:
WebSocketContainerScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WebSocketContainerScopeprivate final WebSocketPolicy -
Constructor Summary
ConstructorsConstructorDescriptionDelegatedContainerScope(WebSocketPolicy policy, WebSocketContainerScope parentScope) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSessionListener(WebSocketSessionListener listener) org.eclipse.jetty.io.ByteBufferPoolThe configured Container Buffer Pool.Executor in use by the container.org.eclipse.jetty.util.DecoratedObjectFactoryObject Factory used to create objects.The policy the container is running on.org.eclipse.jetty.util.ssl.SslContextFactoryThe SslContextFactory in use by the container.booleanTest for if the container has been started.voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface WebSocketContainerScope
getClassLoader
-
Field Details
-
policy
-
delegate
-
-
Constructor Details
-
DelegatedContainerScope
-
-
Method Details
-
getBufferPool
public org.eclipse.jetty.io.ByteBufferPool getBufferPool()Description copied from interface:WebSocketContainerScopeThe configured Container Buffer Pool.- Specified by:
getBufferPoolin interfaceWebSocketContainerScope- Returns:
- the buffer pool (never null)
-
getExecutor
Description copied from interface:WebSocketContainerScopeExecutor in use by the container.- Specified by:
getExecutorin interfaceWebSocketContainerScope- Returns:
- the Executor in use by the container.
-
getObjectFactory
public org.eclipse.jetty.util.DecoratedObjectFactory getObjectFactory()Description copied from interface:WebSocketContainerScopeObject Factory used to create objects.- Specified by:
getObjectFactoryin interfaceWebSocketContainerScope- Returns:
- Object Factory used to create instances of objects.
-
getPolicy
Description copied from interface:WebSocketContainerScopeThe policy the container is running on.- Specified by:
getPolicyin interfaceWebSocketContainerScope- Returns:
- the websocket policy
-
getSslContextFactory
public org.eclipse.jetty.util.ssl.SslContextFactory getSslContextFactory()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()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
- Specified by:
addSessionListenerin interfaceWebSocketContainerScope
-
removeSessionListener
- Specified by:
removeSessionListenerin interfaceWebSocketContainerScope
-
getSessionListeners
- Specified by:
getSessionListenersin interfaceWebSocketContainerScope
-