Class Negotiated
java.lang.Object
org.eclipse.jetty.websocket.core.internal.Negotiated
-
Constructor Summary
ConstructorsConstructorDescriptionNegotiated(URI requestURI, String subProtocol, boolean secure, ExtensionStack extensions, String protocolVersion) -
Method Summary
Modifier and TypeMethodDescriptionstatic Negotiatedfrom(ExtensionStack extensions) booleanisSecure()toString()static URItoWebsocket(URI uri) Convert to WebSocketwsorwssscheme 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 WebSocketwsorwssscheme URIsConverting
httpandhttpsURIs to their WebSocket equivalent- Parameters:
uri- the input URI- Returns:
- the WebSocket scheme URI for the input URI.
-