java.lang.Object
swim.http.HttpPayload<T>
- Direct Known Subclasses:
HttpBody
,HttpChunked
,HttpValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> HttpPayload<T>
empty()
<T2> Encoder<?,
HttpMessage<T2>> encodeHttp
(OutputBuffer<?> output, HttpMessage<T2> message) abstract <T2> Encoder<?,
HttpMessage<T2>> encodeHttp
(OutputBuffer<?> output, HttpMessage<T2> message, HttpWriter http) abstract T
get()
abstract FingerTrieSeq<HttpHeader>
headers()
<T2> Encoder<?,
HttpMessage<T2>> httpEncoder
(HttpMessage<T2> message) abstract <T2> Encoder<?,
HttpMessage<T2>> httpEncoder
(HttpMessage<T2> message, HttpWriter http) abstract boolean
abstract MediaType
abstract FingerTrieSeq<TransferCoding>
-
Constructor Details
-
HttpPayload
public HttpPayload()
-
-
Method Details
-
isDefined
public abstract boolean isDefined() -
get
-
mediaType
-
transferCodings
-
headers
-
httpEncoder
public abstract <T2> Encoder<?,HttpMessage<T2>> httpEncoder(HttpMessage<T2> message, HttpWriter http) -
httpEncoder
-
encodeHttp
public abstract <T2> Encoder<?,HttpMessage<T2>> encodeHttp(OutputBuffer<?> output, HttpMessage<T2> message, HttpWriter http) -
encodeHttp
-
empty
-