public static enum HttpProcessor.HTTP_METHOD extends Enum<HttpProcessor.HTTP_METHOD>
Enum Constant and Description |
---|
DEFAULT
The default.
|
DELETE
The delete.
|
GET
The get.
|
HEAD
The head.
|
PATCH
The patch.
|
POST
The post.
|
PUT
The put.
|
Modifier and Type | Method and Description |
---|---|
static HttpProcessor.HTTP_METHOD |
getMethod(Properties props)
Get the HTTP method by the string containing properties.
|
static HttpProcessor.HTTP_METHOD |
getMethod(Properties props,
String prop)
Get the HTTP method by the string containing properties.
|
String |
toString() |
static HttpProcessor.HTTP_METHOD |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpProcessor.HTTP_METHOD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpProcessor.HTTP_METHOD DEFAULT
public static final HttpProcessor.HTTP_METHOD GET
public static final HttpProcessor.HTTP_METHOD PUT
public static final HttpProcessor.HTTP_METHOD POST
public static final HttpProcessor.HTTP_METHOD PATCH
public static final HttpProcessor.HTTP_METHOD DELETE
public static final HttpProcessor.HTTP_METHOD HEAD
public static HttpProcessor.HTTP_METHOD[] values()
for (HttpProcessor.HTTP_METHOD c : HttpProcessor.HTTP_METHOD.values()) System.out.println(c);
public static HttpProcessor.HTTP_METHOD 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 toString()
toString
in class Enum<HttpProcessor.HTTP_METHOD>
public static HttpProcessor.HTTP_METHOD getMethod(Properties props, String prop)
props
- the propsprop
- the property namepublic static HttpProcessor.HTTP_METHOD getMethod(Properties props)
props
- the propsCopyright © 2010-2020 Toolsverse. All Rights Reserved.