|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--j2eeunit.client.AbstractHttpClient
Abstract class that all HTTP clients to the server redirector must extend.
It provides a common abstraction of the doTest method and
provides the URL to the server redirector servlet or JSP.
| Constructor Summary | |
AbstractHttpClient()
|
|
| Method Summary | |
abstract java.net.HttpURLConnection |
doTest(ServletTestRequest theRequest)
Calls the test method indirectly by calling the Redirector servlet and then open a second HTTP connection to retrieve the test results. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractHttpClient()
| Method Detail |
public abstract java.net.HttpURLConnection doTest(ServletTestRequest theRequest)
throws java.lang.Throwable
theRequest - the request containing all data to pass to the
redirector servlet.HttpURLConnection that contains the HTTP
response when the test was called.java.lang.Throwable - if an error occured in the test method or in the
redirector servlet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||