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