Package javax.websocket
Class ClientEndpointConfig.Configurator
- java.lang.Object
- 
- javax.websocket.ClientEndpointConfig.Configurator
 
- 
- Enclosing interface:
- ClientEndpointConfig
 
 public static class ClientEndpointConfig.Configurator extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description Configurator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterResponse(HandshakeResponse handshakeResponse)Provides the client with a mechanism to inspect the handshake response that is returned from the server.voidbeforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)Provides the client with a mechanism to inspect and/or modify the headers that are sent to the server to start the WebSocket handshake.
 
- 
- 
- 
Method Detail- 
beforeRequestpublic void beforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers) Provides the client with a mechanism to inspect and/or modify the headers that are sent to the server to start the WebSocket handshake.- Parameters:
- headers- The HTTP headers
 
 - 
afterResponsepublic void afterResponse(HandshakeResponse handshakeResponse) Provides the client with a mechanism to inspect the handshake response that is returned from the server.- Parameters:
- handshakeResponse- The response
 
 
- 
 
-