Class Negotiated

java.lang.Object
org.eclipse.jetty.websocket.core.Negotiated

public class Negotiated extends Object
  • Constructor Details

  • Method Details

    • getRequestURI

      public URI getRequestURI()
    • getParameterMap

      public Map<String,List<String>> getParameterMap()
    • getSubProtocol

      public String getSubProtocol()
    • isSecure

      public boolean isSecure()
    • getExtensions

      public ExtensionStack getExtensions()
    • getProtocolVersion

      public String getProtocolVersion()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • from

      public static Negotiated from(ExtensionStack extensions)
    • toWebsocket

      public static URI toWebsocket(URI uri)
      Convert to WebSocket ws or wss scheme URIs

      Converting http and https URIs to their WebSocket equivalent

      Parameters:
      uri - the input URI
      Returns:
      the WebSocket scheme URI for the input URI.