- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- swim.http.header.ExpectHeader
-
- All Implemented Interfaces:
Comparable<HttpHeader>,Debug
public final class ExpectHeader extends HttpHeader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpectHeadercreate(String value)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)inthashCode()booleanis100Continue()booleanisBlank()StringlowerCaseName()Stringname()static Parser<ExpectHeader>parseHeaderValue(Input input, HttpParser http)Stringvalue()Writer<?,?>writeHeaderValue(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpHeader
compareTo, httpWriter, parseHttp, toString, 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
-
value
public String value()
- Overrides:
valuein classHttpHeader
-
is100Continue
public boolean is100Continue()
-
writeHeaderValue
public Writer<?,?> writeHeaderValue(Output<?> output, HttpWriter http)
- Specified by:
writeHeaderValuein 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 ExpectHeader create(String value)
-
parseHeaderValue
public static Parser<ExpectHeader> parseHeaderValue(Input input, HttpParser http)
-
-