| Package | Description | 
|---|---|
| jakarta.websocket | This package contains all the Jakartq WebSocket APIs common to both the client and server side. | 
| org.glassfish.tyrus.client | Common Client. | 
| org.glassfish.tyrus.container.grizzly.client | Grizzly Client container. | 
| org.glassfish.tyrus.server | Server implementation. | 
| org.glassfish.tyrus.spi | Tyrus SPI. | 
| Modifier and Type | Method and Description | 
|---|---|
| ClientEndpointConfig | ClientEndpointConfig.Builder. build()Builds a configuration object using the attributes set on this builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| Session | WebSocketContainer. connectToServer(java.lang.Class<? extends Endpoint> endpointClass,
               ClientEndpointConfig cec,
               java.net.URI path)Connect the supplied programmatic endpoint to its server with the given configuration. | 
| Session | WebSocketContainer. connectToServer(Endpoint endpointInstance,
               ClientEndpointConfig cec,
               java.net.URI path)Connect the supplied programmatic client endpoint instance to its server with the given configuration. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.concurrent.Future<Session> | ClientManager. asyncConnectToServer(java.lang.Class<? extends Endpoint> endpointClass,
                    ClientEndpointConfig cec,
                    java.net.URI path)Non-blocking version of  WebSocketContainer.connectToServer(Class, jakarta.websocket.ClientEndpointConfig,
 java.net.URI). | 
| java.util.concurrent.Future<Session> | ClientManager. asyncConnectToServer(Endpoint endpointInstance,
                    ClientEndpointConfig cec,
                    java.net.URI path) | 
| Session | ClientManager. connectToServer(java.lang.Class<? extends Endpoint> endpointClass,
               ClientEndpointConfig cec,
               java.net.URI path) | 
| Session | ClientManager. connectToServer(Endpoint endpointInstance,
               ClientEndpointConfig cec,
               java.net.URI path) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GrizzlyClientContainer. openClientSocket(ClientEndpointConfig cec,
                java.util.Map<java.lang.String,java.lang.Object> properties,
                ClientEngine clientEngine) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.concurrent.Future<Session> | TyrusServerContainer. asyncConnectToServer(java.lang.Class<? extends Endpoint> endpointClass,
                    ClientEndpointConfig cec,
                    java.net.URI path)Non-blocking version of  WebSocketContainer.connectToServer(Class,
 jakarta.websocket.ClientEndpointConfig, java.net.URI). | 
| java.util.concurrent.Future<Session> | TyrusServerContainer. asyncConnectToServer(Endpoint endpointInstance,
                    ClientEndpointConfig cec,
                    java.net.URI path) | 
| Session | TyrusServerContainer. connectToServer(java.lang.Class<? extends Endpoint> endpointClass,
               ClientEndpointConfig cec,
               java.net.URI path) | 
| Session | TyrusServerContainer. connectToServer(Endpoint endpointInstance,
               ClientEndpointConfig cec,
               java.net.URI path) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ClientContainer. openClientSocket(ClientEndpointConfig cec,
                java.util.Map<java.lang.String,java.lang.Object> properties,
                ClientEngine clientEngine)Open client socket - connect to endpoint specified with  urlparameter. | 
Copyright © 2012–2020 Oracle Corporation. All rights reserved.