|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.commons.cactus.client.AbstractHttpClient
|
+--org.apache.commons.cactus.client.JspHttpClient
Manage the logic for calling a test method (which need access to JSP objects) located on the server side. First opens an HTTP connection to the redirector JSP (which in trun calls the test) and get the test results by opening a second HTTP connection but to the Servlet redirector (the tests were saved in the application context scope).
| Fields inherited from class org.apache.commons.cactus.client.AbstractHttpClient |
CONFIG, CONFIG_NAME |
| Constructor Summary | |
JspHttpClient()
|
|
| Method Summary | |
java.net.HttpURLConnection |
doTest(ServletTestRequest theRequest)
Calls the test method indirectly by calling the Redirector JSP and then open a second HTTP connection to the Servlet Redirector to retrieve the test results. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JspHttpClient()
| Method Detail |
public java.net.HttpURLConnection doTest(ServletTestRequest theRequest)
throws java.lang.Throwable
doTest in class AbstractHttpClienttheRequest - the request containing all data to pass to the
redirector JSP.HttpURLConnection object 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 | |||||||||