Class DelegatedJettyClientUpgradeResponse
java.lang.Object
org.eclipse.jetty.ee8.websocket.client.impl.DelegatedJettyClientUpgradeResponse
- All Implemented Interfaces:
UpgradeResponse
Representing the Jetty
Response
in the UpgradeResponse interface.-
Constructor Summary
Constructors -
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
-
Constructor Details
-
DelegatedJettyClientUpgradeResponse
-
-
Method Details
-
getAcceptedSubProtocol
Description copied from interface:UpgradeResponseGet the accepted WebSocket protocol.- Specified by:
getAcceptedSubProtocolin interfaceUpgradeResponse- Returns:
- the accepted WebSocket protocol.
-
getHeader
Description copied from interface:UpgradeResponseGet a header value- Specified by:
getHeaderin interfaceUpgradeResponse- Parameters:
name- the header name- Returns:
- the value (null if header doesn't exist)
-
getHeaderNames
Description copied from interface:UpgradeResponseGet the header names- Specified by:
getHeaderNamesin interfaceUpgradeResponse- Returns:
- the set of header names
-
getHeaders
Description copied from interface:UpgradeResponseGet the multi-value header value- Specified by:
getHeadersin interfaceUpgradeResponse- Parameters:
name- the header name- Returns:
- the list of values (null if header doesn't exist)
-
getHeaders
Description copied from interface:UpgradeResponseGet the headers map- Specified by:
getHeadersin interfaceUpgradeResponse- Returns:
- the map of headers
-
getStatusCode
public int getStatusCode()Description copied from interface:UpgradeResponseGet the HTTP Response Status Code- Specified by:
getStatusCodein interfaceUpgradeResponse- Returns:
- the status code
-
getExtensions
Description copied from interface:UpgradeResponseGet the list of extensions that should be used for the websocket.- Specified by:
getExtensionsin interfaceUpgradeResponse- Returns:
- the list of negotiated extensions to use.
-