Interface UpgradeResponse
- All Known Subinterfaces:
 JettyServerUpgradeResponse
- All Known Implementing Classes:
 DelegatedJettyClientUpgradeResponse
public interface UpgradeResponse
The HTTP Upgrade to WebSocket Response
- 
Method Summary
Modifier and TypeMethodDescriptionGet the accepted WebSocket protocol.Get the list of extensions that should be used for the websocket.Get a header valueGet the header namesGet the headers mapgetHeaders(String name) Get the multi-value header valueintGet the HTTP Response Status Code 
- 
Method Details
- 
getAcceptedSubProtocol
String getAcceptedSubProtocol()Get the accepted WebSocket protocol.- Returns:
 - the accepted WebSocket protocol.
 
 - 
getExtensions
List<ExtensionConfig> getExtensions()Get the list of extensions that should be used for the websocket.- Returns:
 - the list of negotiated extensions to use.
 
 - 
getHeader
 - 
getHeaderNames
 - 
getHeaders
 - 
getHeaders
 - 
getStatusCode
int getStatusCode()Get the HTTP Response Status Code- Returns:
 - the status code
 
 
 -