avignon.handlers
Class HTTPInterceptorHandler

java.lang.Object
  extended byavignon.handlers.HTTPInterceptorHandler
All Implemented Interfaces:
AvignonTagHandler

public class HTTPInterceptorHandler
extends java.lang.Object
implements AvignonTagHandler

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:


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

HTTPInterceptorHandler

public HTTPInterceptorHandler()
Method Detail

start

public void start(AvignonTestState state,
                  org.xml.sax.Attributes attributes)
Description copied from interface: AvignonTagHandler
Called when the tag is first encountered.

Specified by:
start in interface AvignonTagHandler
Parameters:
state - Current test state.
attributes - Any XML attributes used with the tag.

end

public void end(AvignonTestState state)
Description copied from interface: AvignonTagHandler
Called when the tag is closed.

Specified by:
end in interface AvignonTagHandler
Parameters:
state - Current test state.

SourceForge.net Logo