public static enum ScrapingRequest.Type extends java.lang.Enum<ScrapingRequest.Type>
Modifier and Type | Method and Description |
---|---|
static ScrapingRequest.Type |
fromString(java.lang.String method)
Returns the type from a string (case insensitive)
|
static ScrapingRequest.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrapingRequest.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrapingRequest.Type GET
public static final ScrapingRequest.Type POST
public static final ScrapingRequest.Type PUT
public static final ScrapingRequest.Type HEAD
public static final ScrapingRequest.Type DELETE
public static final ScrapingRequest.Type OPTIONS
public static ScrapingRequest.Type[] values()
for (ScrapingRequest.Type c : ScrapingRequest.Type.values()) System.out.println(c);
public static ScrapingRequest.Type 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 nullpublic static ScrapingRequest.Type fromString(@NotNull java.lang.String method)
method
- The request method string