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.
|
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.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.