public static enum PutOpParam.Op extends Enum<PutOpParam.Op> implements HttpOpParam.Op
Enum Constant and Description |
---|
CANCELDELEGATIONTOKEN |
CREATE |
CREATESYMLINK |
MKDIRS |
NULL |
RENAME |
RENEWDELEGATIONTOKEN |
SETOWNER |
SETPERMISSION |
SETREPLICATION |
SETTIMES |
Modifier and Type | Method and Description |
---|---|
boolean |
getDoOutput() |
int |
getExpectedHttpResponseCode() |
boolean |
getRedirect() |
boolean |
getRequireAuth() |
HttpOpParam.Type |
getType() |
String |
toQueryString() |
static PutOpParam.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PutOpParam.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PutOpParam.Op CREATE
public static final PutOpParam.Op MKDIRS
public static final PutOpParam.Op CREATESYMLINK
public static final PutOpParam.Op RENAME
public static final PutOpParam.Op SETREPLICATION
public static final PutOpParam.Op SETOWNER
public static final PutOpParam.Op SETPERMISSION
public static final PutOpParam.Op SETTIMES
public static final PutOpParam.Op RENEWDELEGATIONTOKEN
public static final PutOpParam.Op CANCELDELEGATIONTOKEN
public static final PutOpParam.Op NULL
public static PutOpParam.Op[] values()
for (PutOpParam.Op c : PutOpParam.Op.values()) System.out.println(c);
public static PutOpParam.Op 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 HttpOpParam.Type getType()
getType
in interface HttpOpParam.Op
public boolean getRequireAuth()
getRequireAuth
in interface HttpOpParam.Op
public boolean getDoOutput()
getDoOutput
in interface HttpOpParam.Op
public boolean getRedirect()
getRedirect
in interface HttpOpParam.Op
public int getExpectedHttpResponseCode()
getExpectedHttpResponseCode
in interface HttpOpParam.Op
public String toQueryString()
toQueryString
in interface HttpOpParam.Op
Copyright © 2013 Apache Software Foundation. All rights reserved.