org.sonatype.tests.http.server.jetty.behaviour.filesystem
Class Delete

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

public class Delete
extends FSBehaviour


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sonatype.tests.http.server.api.Behaviour
Behaviour.Keys
 
Field Summary
 
Fields inherited from class org.sonatype.tests.http.server.jetty.behaviour.filesystem.FSBehaviour
fPath
 
Constructor Summary
Delete(File file)
           
Delete(File file, boolean reallyDelete)
           
Delete(String path)
           
Delete(String path, boolean reallyDelete)
           
 
Method Summary
 boolean execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<Object,Object> ctx)
          Execute the Behaviour (e.g.
 
Methods inherited from class org.sonatype.tests.http.server.jetty.behaviour.filesystem.FSBehaviour
fs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Delete

public Delete(File file)

Delete

public Delete(String path)

Delete

public Delete(File file,
              boolean reallyDelete)

Delete

public Delete(String path,
              boolean reallyDelete)
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, ...).

Returns:
true if execution of following behaviours should continue.
Throws:
Exception


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