public enum HarHTTPMethod extends Enum<HarHTTPMethod>
| Enum Constant and Description |
|---|
CONNECT |
COPY |
DELETE |
EXT |
GET |
HEAD |
LINK |
MOVE |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
UNLINK |
WRAPPED |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getName() |
String |
toString() |
static HarHTTPMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HarHTTPMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HarHTTPMethod GET
public static final HarHTTPMethod HEAD
public static final HarHTTPMethod POST
public static final HarHTTPMethod PUT
public static final HarHTTPMethod DELETE
public static final HarHTTPMethod CONNECT
public static final HarHTTPMethod OPTIONS
public static final HarHTTPMethod TRACE
public static final HarHTTPMethod PATCH
public static final HarHTTPMethod MOVE
public static final HarHTTPMethod COPY
public static final HarHTTPMethod LINK
public static final HarHTTPMethod UNLINK
public static final HarHTTPMethod WRAPPED
public static final HarHTTPMethod EXT
public static HarHTTPMethod[] values()
for (HarHTTPMethod c : HarHTTPMethod.values()) System.out.println(c);
public static HarHTTPMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public int getCode()
public String toString()
toString in class Enum<HarHTTPMethod>Copyright © 2019. All rights reserved.