Class DoAsParam

java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
org.apache.hadoop.hdfs.web.resources.DoAsParam

public class DoAsParam extends Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
DoAs parameter for proxy user.
  • Field Details

  • Constructor Details

    • DoAsParam

      public DoAsParam(String str)
      Constructor.
      Parameters:
      str - a string representation of the parameter value.
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
      Returns:
      the parameter name.
    • getValueString

      public String getValueString()
      Specified by:
      getValueString in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
      Returns:
      the parameter value as a string