|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectavignon.handlers.HTTPInterceptorHandler
Sets up an fake HTTP server that will return a specified response for a specified GET request. The server will be stopped when
the tag closes. No action is taken if the request is not made.
Attributes:
GET /uri HTTP/1.1
| Constructor Summary | |
HTTPInterceptorHandler()
|
|
| Method Summary | |
void |
end(AvignonTestState state)
Called when the tag is closed. |
void |
start(AvignonTestState state,
org.xml.sax.Attributes attributes)
Called when the tag is first encountered. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPInterceptorHandler()
| Method Detail |
public void start(AvignonTestState state,
org.xml.sax.Attributes attributes)
AvignonTagHandler
start in interface AvignonTagHandlerstate - Current test state.attributes - Any XML attributes used with the tag.public void end(AvignonTestState state)
AvignonTagHandler
end in interface AvignonTagHandlerstate - Current test state.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||