org.apache.tomcat.util.test
Class Parameter

java.lang.Object
  extended byorg.apache.tomcat.util.test.Parameter

public class Parameter
extends java.lang.Object

Part of GTest


Constructor Summary
Parameter()
           
 
Method Summary
 void execute()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 java.lang.String getType(java.lang.String def)
           
 java.lang.String getValue()
           
 void setName(java.lang.String n)
           
 void setType(java.lang.String t)
          POST or GET - if not set the current method's type will be used.
 void setValue(java.lang.String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter()
Method Detail

setName

public void setName(java.lang.String n)

getName

public java.lang.String getName()

setValue

public void setValue(java.lang.String v)

getValue

public java.lang.String getValue()

setType

public void setType(java.lang.String t)
POST or GET - if not set the current method's type will be used. You can set it to force GET parameters on POST requests


getType

public java.lang.String getType()

getType

public java.lang.String getType(java.lang.String def)

execute

public void execute()


Copyright ? 2001 Apache Software Foundation. All Rights Reserved.