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 Supplier<org.xnio.XnioWorker> getWorker()
public WebSocketDeploymentInfo setWorker(Supplier<org.xnio.XnioWorker> worker)
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 addAnnotatedEndpoints(Collection<Class<?>> annotatedEndpoints)
public WebSocketDeploymentInfo addEndpoint(javax.websocket.server.ServerEndpointConfig endpoint)
public WebSocketDeploymentInfo addProgramaticEndpoints(Collection<javax.websocket.server.ServerEndpointConfig> programaticEndpoints)
public List<javax.websocket.server.ServerEndpointConfig> getProgramaticEndpoints()
public WebSocketDeploymentInfo addListener(WebSocketDeploymentInfo.ContainerReadyListener listener)
public WebSocketDeploymentInfo addListeners(Collection<WebSocketDeploymentInfo.ContainerReadyListener> listeners)
public List<WebSocketDeploymentInfo.ContainerReadyListener> getListeners()
public boolean isDispatchToWorkerThread()
public WebSocketDeploymentInfo setDispatchToWorkerThread(boolean dispatchToWorkerThread)
public WebSocketDeploymentInfo addExtension(ExtensionHandshake extension)
extension
- a new ExtensionHandshake
instancepublic WebSocketDeploymentInfo addExtensions(Collection<ExtensionHandshake> extensions)
public List<ExtensionHandshake> getExtensions()
public String getClientBindAddress()
public WebSocketDeploymentInfo setClientBindAddress(String clientBindAddress)
public WebSocketReconnectHandler getReconnectHandler()
public WebSocketDeploymentInfo setReconnectHandler(WebSocketReconnectHandler reconnectHandler)
public WebSocketDeploymentInfo clone()
Copyright © 2020 JBoss by Red Hat. All rights reserved.