java.lang.Object
swim.http.HttpPart
swim.http.HttpHeader
swim.http.header.AcceptHeader
- All Implemented Interfaces:
Comparable<HttpHeader>
,Debug
-
Method Summary
Modifier and TypeMethodDescriptionstatic AcceptHeader
static AcceptHeader
create
(FingerTrieSeq<MediaRange> mediaRanges) static AcceptHeader
create
(MediaRange... mediaRanges) <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.static AcceptHeader
empty()
boolean
int
hashCode()
name()
static Parser<AcceptHeader>
parseHeaderValue
(Input input, HttpParser http) Writer<?,
?> writeHeaderValue
(Output<?> output, HttpWriter http) Methods inherited from class swim.http.HttpHeader
compareTo, httpWriter, isBlank, parseHttp, toString, value, writeHttp
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
Method Details
-
lowerCaseName
- Specified by:
lowerCaseName
in classHttpHeader
-
name
- Specified by:
name
in classHttpHeader
-
mediaRanges
-
writeHeaderValue
- Specified by:
writeHeaderValue
in classHttpHeader
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.- Specified by:
debug
in interfaceDebug
- Specified by:
debug
in classHttpHeader
- Returns:
- the continuation of the
output
.
-
empty
-
create
-
create
-
create
-
parseHeaderValue
-