- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.WebSocketExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebSocketExtension
create(String name)
static WebSocketExtension
create(String name, FingerTrieSeq<WebSocketParam> params)
static WebSocketExtension
create(String name, WebSocketParam... params)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
int
hashCode()
Writer<?,?>
httpWriter(HttpWriter http)
String
name()
WebSocketExtension
param(String key)
WebSocketExtension
param(String key, String value)
WebSocketExtension
param(WebSocketParam param)
FingerTrieSeq<WebSocketParam>
params()
static WebSocketExtension
parse(String string)
static WebSocketExtension
permessageDeflate(boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits)
String
toString()
Writer<?,?>
writeHttp(Output<?> output, HttpWriter http)
static WebSocketExtension
xWebkitDeflateFrame(boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits)
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
name
public String name()
-
params
public FingerTrieSeq<WebSocketParam> params()
-
param
public WebSocketExtension param(WebSocketParam param)
-
param
public WebSocketExtension param(String key, String value)
-
param
public WebSocketExtension param(String key)
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriter
in classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
permessageDeflate
public static WebSocketExtension permessageDeflate(boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits)
-
xWebkitDeflateFrame
public static WebSocketExtension xWebkitDeflateFrame(boolean serverNoContextTakeover, boolean clientNoContextTakeover, int serverMaxWindowBits, int clientMaxWindowBits)
-
create
public static WebSocketExtension create(String name, FingerTrieSeq<WebSocketParam> params)
-
create
public static WebSocketExtension create(String name, WebSocketParam... params)
-
create
public static WebSocketExtension create(String name)
-
parse
public static WebSocketExtension parse(String string)
-
-