java.lang.Object
swim.http.HttpPart
swim.http.HttpHeader
swim.http.header.ContentTypeHeader
- All Implemented Interfaces:
Comparable<HttpHeader>,swim.codec.Debug
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentTypeHeaderstatic ContentTypeHeaderstatic ContentTypeHeaderstatic ContentTypeHeader<T> swim.codec.Output<T>debug(swim.codec.Output<T> output) booleaninthashCode()name()params()static swim.codec.Parser<ContentTypeHeader>parseHeaderValue(swim.codec.Input input, HttpParser http) subtype()type()swim.codec.Writer<?,?> writeHeaderValue(swim.codec.Output<?> output, HttpWriter http) Methods inherited from class swim.http.HttpHeader
compareTo, httpWriter, isBlank, parseHttp, toString, value, writeHttpMethods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
Method Details
-
lowerCaseName
- Specified by:
lowerCaseNamein classHttpHeader
-
name
- Specified by:
namein classHttpHeader
-
mediaType
-
type
-
subtype
-
params
-
getParam
-
param
-
writeHeaderValue
- Specified by:
writeHeaderValuein classHttpHeader
-
equals
-
hashCode
public int hashCode() -
debug
public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output) - Specified by:
debugin interfaceswim.codec.Debug- Specified by:
debugin classHttpHeader
-
create
-
create
public static ContentTypeHeader create(String type, String subtype, swim.collections.HashTrieMap<String, String> params) -
create
-
create
-
parseHeaderValue
public static swim.codec.Parser<ContentTypeHeader> parseHeaderValue(swim.codec.Input input, HttpParser http)
-