public enum GrouperHttpMethod extends Enum<GrouperHttpMethod>
Enum Constant and Description |
---|
delete
Delete method.
|
get
Get method.
|
patch
Patch method.
|
post
Post method
|
put
Put method.
|
Modifier and Type | Method and Description |
---|---|
abstract org.apache.http.client.methods.HttpUriRequest |
newHttpMethod(String url)
Constructor.
|
static GrouperHttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrouperHttpMethod |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static GrouperHttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrouperHttpMethod post
public static final GrouperHttpMethod put
public static final GrouperHttpMethod delete
public static final GrouperHttpMethod patch
public static final GrouperHttpMethod get
public static GrouperHttpMethod[] values()
for (GrouperHttpMethod c : GrouperHttpMethod.values()) System.out.println(c);
public static GrouperHttpMethod 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 abstract org.apache.http.client.methods.HttpUriRequest newHttpMethod(String url)
url
- is the url to call.public static GrouperHttpMethod valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriesCopyright © 2016 Internet2. All rights reserved.