- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- swim.http.header.Allow
-
- All Implemented Interfaces:
swim.codec.Debug
public final class Allow extends HttpHeader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(swim.codec.Output<?> output)booleanequals(Object other)static Allowfrom(String... methodStrings)static Allowfrom(swim.collections.FingerTrieSeq<HttpMethod> methods)static Allowfrom(HttpMethod... methods)inthashCode()booleanisBlank()StringlowerCaseName()swim.collections.FingerTrieSeq<HttpMethod>methods()Stringname()static swim.codec.Parser<Allow>parseHttpValue(swim.codec.Input input, HttpParser http)swim.codec.Writer<?,?>writeHttpValue(swim.codec.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(swim.collections.FingerTrieSeq<HttpMethod> methods)
-
from
public static Allow from(HttpMethod... methods)
-
parseHttpValue
public static swim.codec.Parser<Allow> parseHttpValue(swim.codec.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 swim.collections.FingerTrieSeq<HttpMethod> methods()
-
writeHttpValue
public swim.codec.Writer<?,?> writeHttpValue(swim.codec.Output<?> output, HttpWriter http)- Specified by:
writeHttpValuein classHttpHeader
-
debug
public void debug(swim.codec.Output<?> output)
-
-