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.


Method Summary
 boolean getDoOutput()
           
 int getExpectedHttpResponseCode()
           
 HttpOpParam.Type getType()
           
 String toQueryString()
           
 

Method Detail

getType

HttpOpParam.Type getType()
Returns:
the Http operation type.

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 © 2012 Apache Software Foundation. All Rights Reserved.