public final class WebSocketRequest
extends java.lang.Object
implements scala.Product, java.io.Serializable
Constructor and Description |
---|
WebSocketRequest(Uri uri,
scala.collection.immutable.Seq<HttpHeader> extraHeaders,
scala.Option<java.lang.String> subprotocol) |
Modifier and Type | Method and Description |
---|---|
static WebSocketRequest |
apply(Uri uri,
scala.collection.immutable.Seq<HttpHeader> extraHeaders,
scala.collection.immutable.Seq<java.lang.String> subprotocols) |
scala.collection.immutable.Seq<HttpHeader> |
extraHeaders() |
static WebSocketRequest |
fromTargetUri(Uri uri) |
static WebSocketRequest |
fromTargetUriString(java.lang.String uriString) |
scala.Option<java.lang.String> |
subprotocol() |
Uri |
uri() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public WebSocketRequest(Uri uri, scala.collection.immutable.Seq<HttpHeader> extraHeaders, scala.Option<java.lang.String> subprotocol)
public static WebSocketRequest fromTargetUri(Uri uri)
public static WebSocketRequest fromTargetUriString(java.lang.String uriString)
public static WebSocketRequest apply(Uri uri, scala.collection.immutable.Seq<HttpHeader> extraHeaders, scala.collection.immutable.Seq<java.lang.String> subprotocols)
public Uri uri()
public scala.collection.immutable.Seq<HttpHeader> extraHeaders()
public scala.Option<java.lang.String> subprotocol()