|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientEndpointConfiguration
The ClientEndpointConfiguration is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints.
Method Summary | |
---|---|
void |
afterResponse(HandshakeResponse hr)
This method is called by the implementation after it has received a handshake response from the server as a result of a handshake interaction it initiated. |
void |
beforeRequest(Map<String,List<String>> headers)
This method is called by the implementation after it has formulated the handshake request that will be used to initiate the connection to the server, but before it has sent any part of the request. |
List<Extension> |
getExtensions()
Return the list of all the extensions that this client supports, the empty list if there are none. |
List<String> |
getPreferredSubprotocols()
The ordered list of sub protocols a client endpoint would like to use, the empty list if there are none. |
Methods inherited from interface javax.websocket.EndpointConfiguration |
---|
getDecoders, getEncoders |
Method Detail |
---|
List<String> getPreferredSubprotocols()
List<Extension> getExtensions()
void beforeRequest(Map<String,List<String>> headers)
headers
- the mutable map of handshake request headers the implementation is about to send to
start the handshake interaction.void afterResponse(HandshakeResponse hr)
hr
- the handshake response sent by the server.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |