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

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

public class Pause
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
Pause()
           
Pause(int pause)
           
Pause(long pause)
           
 
Method Summary
 boolean execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<Object,Object> ctx)
          Execute the Behaviour (e.g.
static Pause pause(org.sonatype.sisu.goodies.common.Time time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pause

public Pause()

Pause

public Pause(long pause)

Pause

public Pause(int pause)
Method Detail

pause

public static Pause pause(org.sonatype.sisu.goodies.common.Time time)

execute

public boolean execute(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response,
                       Map<Object,Object> ctx)
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.


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