Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client
and server side.
|
javax.websocket.server |
This package contains all the WebSocket APIs used only by server side
applications.
|
org.glassfish.tyrus.core | |
org.glassfish.tyrus.core.coder |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientEndpointConfig
The ClientEndpointConfig is a special kind of endpoint configuration object that contains
web socket configuration information specific only to client endpoints.
|
Modifier and Type | Method and Description |
---|---|
void |
Encoder.init(EndpointConfig config)
This method is called with the endpoint configuration object of the
endpoint this encoder is intended for when
it is about to be brought into service.
|
void |
Decoder.init(EndpointConfig config)
This method is called with the endpoint configuration object of the
endpoint this decoder is intended for when
it is about to be brought into service.
|
abstract void |
Endpoint.onOpen(Session session,
EndpointConfig config)
Developers must implement this method to be notified when a new conversation has
just begun.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ServerEndpointConfig
The ServerEndpointConfig is a special kind of endpoint configuration object that contains
web socket configuration information specific only to server endpoints.
|
Modifier and Type | Method and Description |
---|---|
EndpointConfig |
TyrusEndpointWrapper.getEndpointConfig()
Get Endpoint configuration.
|
EndpointConfig |
AnnotatedEndpoint.getEndpointConfig() |
Modifier and Type | Method and Description |
---|---|
<T> Object |
ComponentProviderService.getCoderInstance(Class<T> c,
Session session,
EndpointConfig endpointConfig,
ErrorCollector collector)
|
void |
AnnotatedEndpoint.onOpen(Session session,
EndpointConfig configuration) |
Constructor and Description |
---|
TyrusEndpointWrapper(Class<? extends Endpoint> endpointClass,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
String contextPath,
ServerEndpointConfig.Configurator configurator)
Create
TyrusEndpointWrapper for class that extends Endpoint . |
TyrusEndpointWrapper(Endpoint endpoint,
EndpointConfig configuration,
ComponentProviderService componentProvider,
WebSocketContainer container,
String contextPath,
ServerEndpointConfig.Configurator configurator,
TyrusEndpointWrapper.OnCloseListener onCloseListener,
ClusterContext clusterContext)
|
Modifier and Type | Method and Description |
---|---|
void |
CoderAdapter.init(EndpointConfig config)
This method does nothing.
|
Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.