- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.LanguageRange
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LanguageRangecreate(String tag)static LanguageRangecreate(String tag, float weight)static LanguageRangecreate(String tag, String subtag)static LanguageRangecreate(String tag, String subtag, 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)static LanguageRangeparse(String string)static LanguageRangestar()Stringsubtag()Stringtag()StringtoString()floatweight()LanguageRangeweight(float weight)Writer<?,?>writeHttp(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
tag
public String tag()
-
subtag
public String subtag()
-
weight
public float weight()
-
weight
public LanguageRange weight(float weight)
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriterin classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
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 LanguageRange star()
-
create
public static LanguageRange create(String tag, String subtag, float weight)
-
create
public static LanguageRange create(String tag, String subtag)
-
create
public static LanguageRange create(String tag, float weight)
-
create
public static LanguageRange create(String tag)
-
parse
public static LanguageRange parse(String string)
-
-