public static enum OSSObject.HttpMethod extends Enum<OSSObject.HttpMethod>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OSSObject.HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OSSObject.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSSObject.HttpMethod GET
public static final OSSObject.HttpMethod POST
public static final OSSObject.HttpMethod PUT
public static final OSSObject.HttpMethod DELETE
public static final OSSObject.HttpMethod HEAD
public static OSSObject.HttpMethod[] values()
for (OSSObject.HttpMethod c : OSSObject.HttpMethod.values()) System.out.println(c);
public static OSSObject.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 String toString()
toString
in class Enum<OSSObject.HttpMethod>
Copyright © 2015. All rights reserved.