java.lang.Object
swim.http.HttpPayload<T>
swim.http.HttpValue<T>
- All Implemented Interfaces:
Debug
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> HttpValue<T>create(T payloadValue) static <T> HttpValue<T><T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.<T2> Encoder<?,HttpMessage<T2>> encodeHttp(OutputBuffer<?> output, HttpMessage<T2> message, HttpWriter http) booleanget()inthashCode()headers()<T2> Encoder<?,HttpMessage<T2>> httpEncoder(HttpMessage<T2> message, HttpWriter http) booleantoString()Methods inherited from class swim.http.HttpPayload
empty, encodeHttp, httpEncoder
-
Method Details
-
isDefined
public boolean isDefined()- Specified by:
isDefinedin classHttpPayload<T>
-
get
- Specified by:
getin classHttpPayload<T>
-
mediaType
- Specified by:
mediaTypein classHttpPayload<T>
-
transferCodings
- Specified by:
transferCodingsin classHttpPayload<T>
-
headers
- Specified by:
headersin classHttpPayload<T>
-
httpEncoder
- Specified by:
httpEncoderin classHttpPayload<T>
-
encodeHttp
public <T2> Encoder<?,HttpMessage<T2>> encodeHttp(OutputBuffer<?> output, HttpMessage<T2> message, HttpWriter http) - Specified by:
encodeHttpin classHttpPayload<T>
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
create
-
create
-