Package org.eclipse.jetty.websocket.core
Class Negotiated
java.lang.Object
org.eclipse.jetty.websocket.core.Negotiated
-
Constructor Summary
ConstructorDescriptionNegotiated
(URI requestURI, String subProtocol, boolean secure, ExtensionStack extensions, String protocolVersion) -
Method Summary
Modifier and TypeMethodDescriptionstatic Negotiated
from
(ExtensionStack extensions) boolean
isSecure()
toString()
static URI
toWebsocket
(URI uri) Convert to WebSocketws
orwss
scheme URIs
-
Constructor Details
-
Negotiated
public Negotiated(URI requestURI, String subProtocol, boolean secure, ExtensionStack extensions, String protocolVersion)
-
-
Method Details
-
getRequestURI
-
getParameterMap
-
getSubProtocol
-
isSecure
public boolean isSecure() -
getExtensions
-
getProtocolVersion
-
toString
-
from
-
toWebsocket
Convert to WebSocketws
orwss
scheme URIsConverting
http
andhttps
URIs to their WebSocket equivalent- Parameters:
uri
- the input URI- Returns:
- the WebSocket scheme URI for the input URI.
-