- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpMethod
-
-
Field Summary
Fields Modifier and Type Field Description static HttpMethodCONNECTstatic HttpMethodDELETEstatic HttpMethodGETstatic HttpMethodHEADstatic HttpMethodOPTIONSstatic HttpMethodPOSTstatic HttpMethodPUTstatic HttpMethodTRACE
-
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 HttpMethodfrom(String name)inthashCode()Writer<?,?>httpWriter(HttpWriter http)Stringname()static HttpMethodparseHttp(String string)StringtoString()Writer<?,?>writeHttp(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Field Detail
-
GET
public static final HttpMethod GET
-
HEAD
public static final HttpMethod HEAD
-
POST
public static final HttpMethod POST
-
PUT
public static final HttpMethod PUT
-
DELETE
public static final HttpMethod DELETE
-
CONNECT
public static final HttpMethod CONNECT
-
OPTIONS
public static final HttpMethod OPTIONS
-
TRACE
public static final HttpMethod TRACE
-
-
Method Detail
-
from
public static HttpMethod from(String name)
-
parseHttp
public static HttpMethod parseHttp(String string)
-
name
public String name()
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriterin classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-