public static enum ScrapeableFile.RequestType extends java.lang.Enum<ScrapeableFile.RequestType>
Enum Constant and Description |
---|
DELETE
A delete request
|
GET
A get request
|
HEAD
A head request
|
OPTIONS
An options request
|
POST
A post request
|
PUT
A put request
|
Modifier and Type | Method and Description |
---|---|
static ScrapeableFile.RequestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrapeableFile.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrapeableFile.RequestType GET
public static final ScrapeableFile.RequestType POST
public static final ScrapeableFile.RequestType PUT
public static final ScrapeableFile.RequestType HEAD
public static final ScrapeableFile.RequestType DELETE
public static final ScrapeableFile.RequestType OPTIONS
public static ScrapeableFile.RequestType[] values()
for (ScrapeableFile.RequestType c : ScrapeableFile.RequestType.values()) System.out.println(c);
public static ScrapeableFile.RequestType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null