- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpCharset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpCharsetcreate(String name)static HttpCharsetcreate(String name, float weight)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)inthashCode()Writer<?,?>httpWriter(HttpWriter http)booleanisStar()booleanmatches(HttpCharset that)Stringname()static HttpCharsetparse(String string)static HttpCharsetstar()StringtoString()floatweight()HttpCharsetweight(float weight)Writer<?,?>writeHttp(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
isStar
public boolean isStar()
-
name
public String name()
-
weight
public float weight()
-
weight
public HttpCharset weight(float weight)
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriterin classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
matches
public boolean matches(HttpCharset that)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
star
public static HttpCharset star()
-
create
public static HttpCharset create(String name, float weight)
-
create
public static HttpCharset create(String name)
-
parse
public static HttpCharset parse(String string)
-
-