public class MChttpMethod
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MChttpMethod |
DELETE |
static MChttpMethod |
GET |
static MChttpMethod |
HEAD |
static MChttpMethod |
OPTIONS |
static MChttpMethod |
POST |
static MChttpMethod |
PUT |
static MChttpMethod |
TRACE |
static MChttpMethod |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Checks if
MChttpMethod object is equal to Object |
static MChttpMethod |
getMethod(java.lang.String method) |
java.lang.String |
getName() |
int |
hashCode()
Returns
MChttpMethod hash code |
java.lang.String |
toString()
Returns
MChttpMethod name |
public static final MChttpMethod DELETE
public static final MChttpMethod GET
public static final MChttpMethod HEAD
public static final MChttpMethod OPTIONS
public static final MChttpMethod POST
public static final MChttpMethod PUT
public static final MChttpMethod TRACE
public static final MChttpMethod UNDEFINED
public static MChttpMethod getMethod(java.lang.String method)
public java.lang.String getName()
public java.lang.String toString()
MChttpMethod
nametoString
in class java.lang.Object
MChttpMethod
namepublic boolean equals(java.lang.Object o)
MChttpMethod
object is equal to Object
equals
in class java.lang.Object
o
- Objecttrue
if MChttpMethod
objects are equalpublic int hashCode()
MChttpMethod
hash codehashCode
in class java.lang.Object
MChttpMethod
hash code