public class HttpMethod
Represents an HTTP method (verb)
Modifier and Type | Class and Description |
---|---|
static class |
HttpMethod.Companion |
Modifier and Type | Field and Description |
---|---|
static HttpMethod.Companion |
Companion |
Constructor and Description |
---|
HttpMethod(java.lang.String value)
Represents an HTTP method (verb)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
component1()
contains method name
|
HttpMethod |
copy(java.lang.String value)
Represents an HTTP method (verb)
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getValue()
contains method name
|
int |
hashCode() |
java.lang.String |
toString() |
public static HttpMethod.Companion Companion
public HttpMethod(java.lang.String value)
Represents an HTTP method (verb)
value
- contains method namepublic java.lang.String getValue()
contains method name
public java.lang.String component1()
contains method name
public HttpMethod copy(java.lang.String value)
Represents an HTTP method (verb)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)