- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.ContentCoding
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentCodingcompress()voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.static ContentCodingdeflate()booleanequals(Object other)static ContentCodingfrom(String name)static ContentCodingfrom(String name, float weight)static ContentCodinggzip()inthashCode()Writer<?,?>httpWriter(HttpWriter http)static ContentCodingidentity()booleanisCompress()booleanisDeflate()booleanisGzip()booleanisIdentity()booleanisStar()Stringname()static ContentCodingparse(String string)static ContentCodingstar()StringtoString()floatweight()ContentCodingweight(float weight)Writer<?,?>writeHttp(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
star
public static ContentCoding star()
-
identity
public static ContentCoding identity()
-
compress
public static ContentCoding compress()
-
deflate
public static ContentCoding deflate()
-
gzip
public static ContentCoding gzip()
-
from
public static ContentCoding from(String name, float weight)
-
from
public static ContentCoding from(String name)
-
parse
public static ContentCoding parse(String string)
-
name
public String name()
-
weight
public float weight()
-
weight
public ContentCoding weight(float weight)
-
isStar
public boolean isStar()
-
isIdentity
public boolean isIdentity()
-
isCompress
public boolean isCompress()
-
isDeflate
public boolean isDeflate()
-
isGzip
public boolean isGzip()
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriterin classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-