org.apache.hadoop.hdfs.web.resources
Interface HttpOpParam.Op
- All Known Implementing Classes:
- DeleteOpParam.Op, GetOpParam.Op, HttpOpParam.TemporaryRedirectOp, PostOpParam.Op, PutOpParam.Op
- Enclosing class:
- HttpOpParam<E extends Enum<E> & HttpOpParam.Op>
public static interface HttpOpParam.Op
Http operation interface.
getType
HttpOpParam.Type getType()
- Returns:
- the Http operation type.
getRequireAuth
boolean getRequireAuth()
- Returns:
- true if the operation cannot use a token
getDoOutput
boolean getDoOutput()
- Returns:
- true if the operation will do output.
getExpectedHttpResponseCode
int getExpectedHttpResponseCode()
- Returns:
- true the expected http response code.
toQueryString
String toQueryString()
- Returns:
- a URI query string.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.