|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.threadtest.tester.AbstractCommand org.apache.wicket.threadtest.tester.AbstractGetCommand org.apache.wicket.threadtest.tester.SimpleGetCommand
public class SimpleGetCommand
Constructor Summary | |
---|---|
SimpleGetCommand(List<String> urls,
int iterations)
Construct. |
|
SimpleGetCommand(String url,
int iterations)
Construct. |
Method Summary | |
---|---|
protected void |
doGet(org.apache.commons.httpclient.HttpClient client,
String url)
Execute a GET request using the provided url. |
boolean |
getPrintResponse()
Gets printResponse. |
void |
setPrintResponse(boolean printResponse)
Sets printResponse. |
Methods inherited from class org.apache.wicket.threadtest.tester.AbstractGetCommand |
---|
execute |
Methods inherited from class org.apache.wicket.threadtest.tester.AbstractCommand |
---|
getIterations, getUrls |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleGetCommand(List<String> urls, int iterations)
urls
- URLs to visititerations
- number of executions of the urlspublic SimpleGetCommand(String url, int iterations)
url
- URL to visititerations
- number of executions of the urlsMethod Detail |
---|
public boolean getPrintResponse()
public void setPrintResponse(boolean printResponse)
printResponse
- printResponseprotected void doGet(org.apache.commons.httpclient.HttpClient client, String url) throws Exception
AbstractGetCommand
doGet
in class AbstractGetCommand
client
- the http clienturl
- The url to GET
Exception
org.apache.wicket.threadtest.tester.AbstractGetCommand#doGet(org.apache
.commons.httpclient.HttpClient, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |