- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- swim.http.header.Allow
-
- All Implemented Interfaces:
Debug
public final class Allow extends HttpHeader
-
-
Method Summary
Modifier and Type Method Description voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static Allowfrom(String... methodStrings)static Allowfrom(FingerTrieSeq<HttpMethod> methods)static Allowfrom(HttpMethod... methods)inthashCode()booleanisBlank()StringlowerCaseName()FingerTrieSeq<HttpMethod>methods()Stringname()static Parser<Allow>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
-
from
public static Allow from(FingerTrieSeq<HttpMethod> methods)
-
from
public static Allow from(HttpMethod... methods)
-
parseHttpValue
public static Parser<Allow> parseHttpValue(Input input, HttpParser http)
-
isBlank
public boolean isBlank()
- Overrides:
isBlankin classHttpHeader
-
lowerCaseName
public String lowerCaseName()
- Specified by:
lowerCaseNamein classHttpHeader
-
name
public String name()
- Specified by:
namein classHttpHeader
-
methods
public FingerTrieSeq<HttpMethod> methods()
-
writeHttpValue
public Writer<?,?> writeHttpValue(Output<?> output, HttpWriter http)
- Specified by:
writeHttpValuein classHttpHeader
-
-