org.apache.hadoop.hdfs.web.resources
Class HttpOpParam<E extends Enum<E> & HttpOpParam.Op>

java.lang.Object
  extended by org.apache.hadoop.hdfs.web.resources.Param<E,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<E>>
      extended by org.apache.hadoop.hdfs.web.resources.HttpOpParam<E>
Direct Known Subclasses:
DeleteOpParam, GetOpParam, PostOpParam, PutOpParam

public abstract class HttpOpParam<E extends Enum<E> & HttpOpParam.Op>
extends Param<E,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<E>>

Http operation parameter.


Nested Class Summary
static interface HttpOpParam.Op
          Http operation interface.
static class HttpOpParam.TemporaryRedirectOp
          Expects HTTP response 307 "Temporary Redirect".
static class HttpOpParam.Type
          Http operation types
 
Field Summary
static String DEFAULT
          Default parameter value.
static String NAME
          Parameter name.
 
Method Summary
 String getValueString()
           
 
Methods inherited from class org.apache.hadoop.hdfs.web.resources.Param
getName, getValue, toSortedString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Parameter name.

See Also:
Constant Field Values

DEFAULT

public static final String DEFAULT
Default parameter value.

See Also:
Constant Field Values
Method Detail

getValueString

public String getValueString()
Specified by:
getValueString in class Param<E extends Enum<E> & HttpOpParam.Op,org.apache.hadoop.hdfs.web.resources.EnumParam.Domain<E extends Enum<E> & HttpOpParam.Op>>
Returns:
the parameter value as a string


Copyright © 2013 Apache Software Foundation. All Rights Reserved.