public class DefaultWebSocketClientSslProvider extends Object implements WebsocketClientSslProvider
setSslContext(javax.net.ssl.SSLContext)
method can be invoked before connecting, and this context will be used for the next client connection from this thread, or alternatively the io.undertow.websocket.SSL_CONTEXT property can be set in the user properties of the ClientEndpointConfig.Modifier and Type | Field and Description |
---|---|
static String | SSL_CONTEXT |
Constructor and Description |
---|
DefaultWebSocketClientSslProvider() |
Modifier and Type | Method and Description |
---|---|
org.xnio.ssl.XnioSsl | getSsl(org.xnio.XnioWorker worker, Class<?> annotatedEndpoint, URI uri) |
org.xnio.ssl.XnioSsl | getSsl(org.xnio.XnioWorker worker, javax.websocket.Endpoint endpoint, javax.websocket.ClientEndpointConfig cec, URI uri) |
org.xnio.ssl.XnioSsl | getSsl(org.xnio.XnioWorker worker, Object annotatedEndpointInstance, URI uri) |
static void | setSslContext(SSLContext context) |
public static final String SSL_CONTEXT
public org.xnio.ssl.XnioSsl getSsl(org.xnio.XnioWorker worker, Class<?> annotatedEndpoint, URI uri)
getSsl
in interface WebsocketClientSslProvider
public org.xnio.ssl.XnioSsl getSsl(org.xnio.XnioWorker worker, Object annotatedEndpointInstance, URI uri)
getSsl
in interface WebsocketClientSslProvider
public org.xnio.ssl.XnioSsl getSsl(org.xnio.XnioWorker worker, javax.websocket.Endpoint endpoint, javax.websocket.ClientEndpointConfig cec, URI uri)
getSsl
in interface WebsocketClientSslProvider
public static void setSslContext(SSLContext context)
Copyright © 2017 JBoss by Red Hat. All rights reserved.