|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.meterware.httpunit.ParameterHolder | +--com.meterware.httpunit.WebRequestSource
Method Summary | |
protected abstract void |
addPresetParameter(String name,
String value)
Records a parameter defined by including it in the destination URL. |
protected URL |
getBaseURL()
|
protected String |
getDestination()
|
Node |
getDOMSubtree()
Returns a copy of the domain object model subtree associated with this entity. |
String |
getID()
Returns the ID associated with this request source. |
String |
getName()
Returns the name associated with this request source. |
protected Node |
getNode()
Returns the actual DOM for this request source, not a copy. |
abstract String[] |
getParameterNames()
Returns an array containing the names of any parameters to be sent on a request based on this request source. |
abstract String[] |
getParameterValues(String name)
Returns the values of the named parameter. |
abstract WebRequest |
getRequest()
Creates and returns a web request from this request source. |
String |
getTarget()
Returns the target for this request source. |
protected void |
loadDestinationParameters()
Extracts any parameters specified as part of the destination URL, calling addPresetParameter for each one in the order in which they are found. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public String getID()
public String getName()
public String getTarget()
public Node getDOMSubtree()
public abstract WebRequest getRequest()
public abstract String[] getParameterNames()
public abstract String[] getParameterValues(String name)
protected URL getBaseURL()
protected String getDestination()
protected Node getNode()
protected final void loadDestinationParameters()
protected abstract void addPresetParameter(String name, String value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |