|
||||||||||
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
public abstract class AbstractGetCommand
TODO javadoc
Constructor Summary | |
---|---|
AbstractGetCommand(java.util.List<java.lang.String> urls,
int iterations)
Construct. |
Method Summary | |
---|---|
protected abstract void |
doGet(org.apache.commons.httpclient.HttpClient client,
java.lang.String url)
Execute a GET request using the provided url. |
void |
execute(CommandRunner runner)
Execute one iteration. |
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 AbstractGetCommand(java.util.List<java.lang.String> urls, int iterations)
urls
- URLs to visititerations
- number of executions of the urlsMethod Detail |
---|
public void execute(CommandRunner runner) throws java.lang.Exception
Command
runner
- command runner that executes this command
java.lang.Exception
Command.execute(CommandRunner)
protected abstract void doGet(org.apache.commons.httpclient.HttpClient client, java.lang.String url) throws java.lang.Exception
url
- The url to GETclient
- the http client
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |