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(jakarta.websocket.server.ServerEndpointConfig endpoint) addEndpoint(Class<?> annotated) 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<jakarta.websocket.server.ServerEndpointConfig> programaticEndpoints) clone()io.undertow.connector.ByteBufferPoolList<io.undertow.websockets.extensions.ExtensionHandshake>List<jakarta.websocket.server.ServerEndpointConfig>Supplier<org.xnio.XnioWorker>booleansetBuffers(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<jakarta.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 newExtensionHandshakeinstance- 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
-