- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- swim.http.header.RawHeader
-
- All Implemented Interfaces:
Debug
public final class RawHeader extends HttpHeader
-
-
Method Summary
Modifier and Type Method Description void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static RawHeader
from(String name, String value)
static RawHeader
from(String lowerCaseName, String name, String value)
int
hashCode()
boolean
isBlank()
String
lowerCaseName()
String
name()
static Parser<RawHeader>
parseHttpValue(Input input, HttpParser http, String lowerCaseName, String name)
String
value()
Writer<?,?>
writeHttpValue(Output<?> output, HttpWriter http)
-
Methods inherited from class swim.http.HttpHeader
httpWriter, parseHttp, toString, writeHttp
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
parseHttpValue
public static Parser<RawHeader> parseHttpValue(Input input, HttpParser http, String lowerCaseName, String name)
-
isBlank
public boolean isBlank()
- Overrides:
isBlank
in classHttpHeader
-
lowerCaseName
public String lowerCaseName()
- Specified by:
lowerCaseName
in classHttpHeader
-
name
public String name()
- Specified by:
name
in classHttpHeader
-
value
public String value()
- Overrides:
value
in classHttpHeader
-
writeHttpValue
public Writer<?,?> writeHttpValue(Output<?> output, HttpWriter http)
- Specified by:
writeHttpValue
in classHttpHeader
-
-