- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- swim.http.header.AcceptLanguage
-
- All Implemented Interfaces:
Debug
public final class AcceptLanguage extends HttpHeader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcceptLanguagecreate(String... languageStrings)static AcceptLanguagecreate(FingerTrieSeq<LanguageRange> languages)static AcceptLanguagecreate(LanguageRange... languages)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)inthashCode()booleanisBlank()FingerTrieSeq<LanguageRange>languages()StringlowerCaseName()Stringname()static Parser<AcceptLanguage>parseHttpValue(Input input, HttpParser http)Writer<?,?>writeHttpValue(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpHeader
httpWriter, parseHttp, toString, value, writeHttp
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
isBlank
public boolean isBlank()
- Overrides:
isBlankin classHttpHeader
-
lowerCaseName
public String lowerCaseName()
- Specified by:
lowerCaseNamein classHttpHeader
-
name
public String name()
- Specified by:
namein classHttpHeader
-
languages
public FingerTrieSeq<LanguageRange> languages()
-
writeHttpValue
public Writer<?,?> writeHttpValue(Output<?> output, HttpWriter http)
- Specified by:
writeHttpValuein classHttpHeader
-
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.- Specified by:
debugin interfaceDebug- Specified by:
debugin classHttpHeader- Returns:
- the continuation of the
output.
-
create
public static AcceptLanguage create(FingerTrieSeq<LanguageRange> languages)
-
create
public static AcceptLanguage create(LanguageRange... languages)
-
create
public static AcceptLanguage create(String... languageStrings)
-
parseHttpValue
public static Parser<AcceptLanguage> parseHttpValue(Input input, HttpParser http)
-
-