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 ByteBufferPool getBuffers()
@Deprecated public WebSocketDeploymentInfo setBuffers(org.xnio.Pool<ByteBuffer> buffers)
public WebSocketDeploymentInfo setBuffers(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(ExtensionHandshake extension)
extension
- a new ExtensionHandshake
instancepublic List<ExtensionHandshake> getExtensions()
public String getClientBindAddress()
public void setClientBindAddress(String clientBindAddress)
public WebSocketReconnectHandler getReconnectHandler()
public WebSocketDeploymentInfo setReconnectHandler(WebSocketReconnectHandler reconnectHandler)
Copyright © 2017 JBoss by Red Hat. All rights reserved.