| Package | Description |
|---|---|
| javax.websocket |
This package contains all the 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.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(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path)
Connect the supplied programmatic endpoint to its server with the given
configuration.
|
Session |
WebSocketContainer.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path)
Connect the supplied programmatic client endpoint instance to its server
with the given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Future<Session> |
ClientManager.asyncConnectToServer(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path)
Non-blocking version of
WebSocketContainer.connectToServer(Class, javax.websocket.ClientEndpointConfig,
java.net.URI). |
Future<Session> |
ClientManager.asyncConnectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path)
|
Session |
ClientManager.connectToServer(Class<? extends Endpoint> endpointClass,
ClientEndpointConfig cec,
URI path) |
Session |
ClientManager.connectToServer(Endpoint endpointInstance,
ClientEndpointConfig cec,
URI path) |
| Modifier and Type | Method and Description |
|---|---|
void |
GrizzlyClientContainer.openClientSocket(ClientEndpointConfig cec,
Map<String,Object> properties,
ClientEngine clientEngine) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientContainer.openClientSocket(ClientEndpointConfig cec,
Map<String,Object> properties,
ClientEngine clientEngine)
Open client socket - connect to endpoint specified with
url parameter. |
Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.