Add a header value to the response.
Get the accepted WebSocket protocol.
Get the list of extensions that should be used for the websocket.
Get a header value
Get the header names
Get the headers map
Get the multi-value header value
Get the HTTP Response Status Code
Get the HTTP Response Status Reason
Test if upgrade response is successful. !(p) Merely notes if the response was sent as a WebSocket Upgrade, or was failed (resulting in no upgrade handshake)
Issue a forbidden upgrade response. !(p) This means that the websocket endpoint was valid, but the conditions to use a WebSocket resulted in a forbidden access. !(p) Use this when the origin or authentication is invalid.
Set the accepted WebSocket Protocol.
Set the list of extensions that are approved for use with this websocket. !(p) Notes: !(ul) !(li)Per the spec you cannot add extensions that have not been seen in the {@link UpgradeRequest}, just remove entries you don't want to use!(/li) !(li)If this is unused, or a null is passed, then the list negotiation will follow default behavior and use the complete list of extensions that are available in this WebSocket server implementation.!(/li) !(/ul)
Set a header !(p) Overrides previous value of header (if set)
Set the HTTP Response status code
Set the HTTP Response status reason phrase !(p) Note, not all implementation of UpgradeResponse can support this feature
Set the success of the upgrade response. !(p)
The HTTP Upgrade to WebSocket Response