Class WebSocketCoreClient
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.websocket.core.client.WebSocketCoreClient
- All Implemented Interfaces:
Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,LifeCycle
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWebSocketCoreClient
(HttpClient httpClient, WebSocketComponents webSocketComponents) WebSocketCoreClient
(WebSocketComponents webSocketComponents) -
Method Summary
Modifier and TypeMethodDescriptionconnect
(CoreClientUpgradeRequest request) connect
(FrameHandler frameHandler, URI wsUri) void
setClassLoader
(ClassLoader classLoader) Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeans
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListeners
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Field Details
-
WEBSOCKET_CORECLIENT_ATTRIBUTE
-
-
Constructor Details
-
WebSocketCoreClient
public WebSocketCoreClient() -
WebSocketCoreClient
-
WebSocketCoreClient
-
-
Method Details
-
getClassLoader
-
setClassLoader
-
connect
public CompletableFuture<CoreSession> connect(FrameHandler frameHandler, URI wsUri) throws IOException - Throws:
IOException
-
connect
- Throws:
IOException
-
getExtensionRegistry
-
getHttpClient
-
getObjectFactory
-
getWebSocketComponents
-