java.lang.Object
swim.http.HttpPart
swim.http.ContentCoding
- All Implemented Interfaces:
Debug
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentCoding
compress()
static ContentCoding
static ContentCoding
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.static ContentCoding
deflate()
boolean
static ContentCoding
gzip()
int
hashCode()
Writer<?,
?> httpWriter
(HttpWriter http) static ContentCoding
identity()
boolean
boolean
boolean
isGzip()
boolean
boolean
isStar()
name()
static ContentCoding
static ContentCoding
star()
toString()
float
weight()
weight
(float weight) Writer<?,
?> writeHttp
(Output<?> output, HttpWriter http) Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
Method Details
-
name
-
weight
public float weight() -
weight
-
isStar
public boolean isStar() -
isIdentity
public boolean isIdentity() -
isCompress
public boolean isCompress() -
isDeflate
public boolean isDeflate() -
isGzip
public boolean isGzip() -
httpWriter
- Specified by:
httpWriter
in classHttpPart
-
writeHttp
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
star
-
identity
-
compress
-
deflate
-
gzip
-
create
-
create
-
parse
-