Class Negotiated

  • public class Negotiated
    extends java.lang.Object
    • Constructor Detail

      • Negotiated

        public Negotiated​( requestURI,
                          java.lang.String subProtocol,
                          boolean secure,
                          ExtensionStack extensions,
                          java.lang.String protocolVersion)
    • Method Detail

      • getRequestURI

        public getRequestURI()
      • getParameterMap

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getParameterMap()
      • getSubProtocol

        public java.lang.String getSubProtocol()
      • isSecure

        public boolean isSecure()
      • getProtocolVersion

        public java.lang.String getProtocolVersion()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • toWebsocket

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

        Converting http and https URIs to their WebSocket equivalent

        uri - the input URI
        the WebSocket scheme URI for the input URI.