Package io.undertow.websockets.jsr
Class WebSocketDeploymentInfo
java.lang.Object
io.undertow.websockets.jsr.WebSocketDeploymentInfo
- All Implemented Interfaces:
Cloneable
Web socket deployment information
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotatedEndpoints
(Collection<Class<?>> annotatedEndpoints) addEndpoint
(Class<?> annotated) addEndpoint
(javax.websocket.server.ServerEndpointConfig endpoint) addExtension
(io.undertow.websockets.extensions.ExtensionHandshake extension) Add a new WebSocket Extension into this deployment info.addExtensions
(Collection<io.undertow.websockets.extensions.ExtensionHandshake> extensions) addProgramaticEndpoints
(Collection<javax.websocket.server.ServerEndpointConfig> programaticEndpoints) clone()
io.undertow.connector.ByteBufferPool
List<io.undertow.websockets.extensions.ExtensionHandshake>
List<javax.websocket.server.ServerEndpointConfig>
Supplier<org.xnio.XnioWorker>
boolean
setBuffers
(io.undertow.connector.ByteBufferPool buffers) setBuffers
(org.xnio.Pool<ByteBuffer> buffers) Deprecated.setClientBindAddress
(String clientBindAddress) setDispatchToWorkerThread
(boolean dispatchToWorkerThread) setReconnectHandler
(WebSocketReconnectHandler reconnectHandler) setWorker
(org.xnio.XnioWorker worker)
-
Field Details
-
ATTRIBUTE_NAME
- See Also:
-
-
Constructor Details
-
WebSocketDeploymentInfo
public WebSocketDeploymentInfo()
-
-
Method Details
-
getWorker
-
setWorker
-
setWorker
-
getBuffers
public io.undertow.connector.ByteBufferPool getBuffers() -
setBuffers
Deprecated. -
setBuffers
-
addEndpoint
-
addAnnotatedEndpoints
-
addEndpoint
-
addProgramaticEndpoints
public WebSocketDeploymentInfo addProgramaticEndpoints(Collection<javax.websocket.server.ServerEndpointConfig> programaticEndpoints) -
getAnnotatedEndpoints
-
getProgramaticEndpoints
-
addListener
-
addListeners
public WebSocketDeploymentInfo addListeners(Collection<WebSocketDeploymentInfo.ContainerReadyListener> listeners) -
getListeners
-
isDispatchToWorkerThread
public boolean isDispatchToWorkerThread() -
setDispatchToWorkerThread
-
addExtension
public WebSocketDeploymentInfo addExtension(io.undertow.websockets.extensions.ExtensionHandshake extension) Add a new WebSocket Extension into this deployment info.- Parameters:
extension
- a newExtensionHandshake
instance- Returns:
- current deployment info
-
addExtensions
public WebSocketDeploymentInfo addExtensions(Collection<io.undertow.websockets.extensions.ExtensionHandshake> extensions) -
getExtensions
- Returns:
- list of extensions available for this deployment info
-
getClientBindAddress
-
setClientBindAddress
-
getReconnectHandler
-
setReconnectHandler
-
clone
-