public static enum RestRequestInterface.HttpMethod extends Enum<RestRequestInterface.HttpMethod>
Enum Constant and Description |
---|
COPY |
DELETE |
GET |
HEAD |
LOCK |
OPTIONS |
PATCH |
POST |
PROPFIND |
PURGE |
PUT |
TRACE |
UNLOCK |
Modifier and Type | Method and Description |
---|---|
static RestRequestInterface.HttpMethod[] |
getMethods() |
static String[] |
getMethodsAsStringArray() |
static RestRequestInterface.HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestRequestInterface.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestRequestInterface.HttpMethod GET
public static final RestRequestInterface.HttpMethod POST
public static final RestRequestInterface.HttpMethod PUT
public static final RestRequestInterface.HttpMethod DELETE
public static final RestRequestInterface.HttpMethod HEAD
public static final RestRequestInterface.HttpMethod OPTIONS
public static final RestRequestInterface.HttpMethod TRACE
public static final RestRequestInterface.HttpMethod PATCH
public static final RestRequestInterface.HttpMethod PROPFIND
public static final RestRequestInterface.HttpMethod LOCK
public static final RestRequestInterface.HttpMethod UNLOCK
public static final RestRequestInterface.HttpMethod COPY
public static final RestRequestInterface.HttpMethod PURGE
public static RestRequestInterface.HttpMethod[] values()
for (RestRequestInterface.HttpMethod c : RestRequestInterface.HttpMethod.values()) System.out.println(c);
public static RestRequestInterface.HttpMethod 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 static String[] getMethodsAsStringArray()
public static RestRequestInterface.HttpMethod[] getMethods()
Copyright © 2019. All Rights Reserved.