public class WebSocketDeploymentInfo extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
WebSocketDeploymentInfo.ContainerReadyListener |
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_NAME |
Constructor and Description |
---|
WebSocketDeploymentInfo() |
public static final String ATTRIBUTE_NAME
public org.xnio.XnioWorker getWorker()
public WebSocketDeploymentInfo setWorker(org.xnio.XnioWorker worker)
public io.undertow.connector.ByteBufferPool getBuffers()
@Deprecated public WebSocketDeploymentInfo setBuffers(org.xnio.Pool<ByteBuffer> buffers)
public WebSocketDeploymentInfo setBuffers(io.undertow.connector.ByteBufferPool buffers)
public WebSocketDeploymentInfo addEndpoint(Class<?> annotated)
public WebSocketDeploymentInfo addEndpoint(javax.websocket.server.ServerEndpointConfig endpoint)
public List<javax.websocket.server.ServerEndpointConfig> getProgramaticEndpoints()
public WebSocketDeploymentInfo addListener(WebSocketDeploymentInfo.ContainerReadyListener listener)
public boolean isDispatchToWorkerThread()
public WebSocketDeploymentInfo setDispatchToWorkerThread(boolean dispatchToWorkerThread)
public WebSocketDeploymentInfo addExtension(io.undertow.websockets.extensions.ExtensionHandshake extension)
extension
- a new ExtensionHandshake
instancepublic List<io.undertow.websockets.extensions.ExtensionHandshake> getExtensions()
public String getClientBindAddress()
public void setClientBindAddress(String clientBindAddress)
public WebSocketReconnectHandler getReconnectHandler()
public WebSocketDeploymentInfo setReconnectHandler(WebSocketReconnectHandler reconnectHandler)
Copyright © 2017. All rights reserved.