org.sonatype.tests.http.server.jetty.behaviour
Class Record

java.lang.Object
  extended by org.sonatype.tests.http.server.jetty.behaviour.Record
All Implemented Interfaces:
Behaviour

public class Record
extends Object
implements Behaviour

Author:
Benjamin Hanzelmann

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sonatype.tests.http.server.api.Behaviour
Behaviour.Keys
 
Constructor Summary
Record()
           
 
Method Summary
 void clear()
           
 boolean execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<Object,Object> ctx)
          Execute the Behaviour (e.g.
 Map<String,Map<String,String>> getRequestHeaders()
           
 List<String> getRequests()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Record

public Record()
Method Detail

execute

public boolean execute(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response,
                       Map<Object,Object> ctx)
                throws Exception
Description copied from interface: Behaviour
Execute the Behaviour (e.g. send data, redirect, sleep, ...).

Specified by:
execute in interface Behaviour
Returns:
true if execution of following behaviours should continue.
Throws:
Exception

getRequestHeaders

public Map<String,Map<String,String>> getRequestHeaders()

getRequests

public List<String> getRequests()

clear

public void clear()


Copyright © 2010-2013 Sonatype, Inc.. All Rights Reserved.