Top Fields Constructors Methods
org.eclipse.jetty.websocket.core.client

public Class WebSocketCoreClient

extends ContainerLifeCycle
Class Inheritance
Imports
java.io.IOException, java.net.URI, java.util.Objects, java.util.concurrent.CompletableFuture, org.eclipse.jetty.client.HttpClient, .Request, org.eclipse.jetty.util.DecoratedObjectFactory, org.eclipse.jetty.util.component.ContainerLifeCycle, org.eclipse.jetty.websocket.core.CoreSession, .ExtensionConfig, .FrameHandler, .WebSocketComponents, .WebSocketExtensionRegistry, org.eclipse.jetty.websocket.core.client.internal.HttpClientProvider, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private ClassLoader
private final HttpClient
private final WebSocketComponents
private static final Logger
public static final String

Constructor Summary

AccessConstructor and Description
public
public
public
WebSocketCoreClient(HttpClient httpClient, WebSocketComponents webSocketComponents)

Method Summary

Modifier and TypeMethod and Description
public CompletableFuture<CoreSession>
connect(FrameHandler frameHandler, URI wsUri)

public CompletableFuture<CoreSession>
public ClassLoader
public WebSocketExtensionRegistry
public HttpClient
public DecoratedObjectFactory
public WebSocketComponents
public void
Inherited from org.eclipse.jetty.util.component.ContainerLifeCycle:
addBeanaddBeanaddEventListeneraddManagedcontainsdestroydoStartdoStopdumpdumpdumpdumpObjectsdumpStdErrgetBeangetBeansgetBeansgetContainedBeansgetContainedBeansisAutoisManagedisUnmanagedmanageremoveBeanremoveBeansremoveEventListenersetBeansstartstopunmanageupdateBeanupdateBeanupdateBeansupdateBeans

Field Detail

classLoaderback to summary
private ClassLoader classLoader
clientback to summary
private final HttpClient client
componentsback to summary
private final WebSocketComponents components
LOGback to summary
private static final Logger LOG

Hides org.eclipse.jetty.util.component.ContainerLifeCycle.LOG.

WEBSOCKET_CORECLIENT_ATTRIBUTEback to summary
public static final String WEBSOCKET_CORECLIENT_ATTRIBUTE

Constructor Detail

WebSocketCoreClientback to summary
public WebSocketCoreClient()
WebSocketCoreClientback to summary
public WebSocketCoreClient(WebSocketComponents webSocketComponents)
WebSocketCoreClientback to summary
public WebSocketCoreClient(HttpClient httpClient, WebSocketComponents webSocketComponents)

Method Detail

connectback to summary
public CompletableFuture<CoreSession> connect(FrameHandler frameHandler, URI wsUri) throws IOException
connectback to summary
public CompletableFuture<CoreSession> connect(CoreClientUpgradeRequest request) throws IOException
getClassLoaderback to summary
public ClassLoader getClassLoader()
getExtensionRegistryback to summary
public WebSocketExtensionRegistry getExtensionRegistry()
getHttpClientback to summary
public HttpClient getHttpClient()
getObjectFactoryback to summary
public DecoratedObjectFactory getObjectFactory()
getWebSocketComponentsback to summary
public WebSocketComponents getWebSocketComponents()
setClassLoaderback to summary
public void setClassLoader(ClassLoader classLoader)