org.sonatype.tests.http.server.jetty.behaviour
Class Content
java.lang.Object
org.sonatype.tests.http.server.jetty.behaviour.Content
- All Implemented Interfaces:
- Behaviour
public class Content
- extends Object
- implements Behaviour
- Author:
- Benjamin Hanzelmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Content
public Content(File content)
Content
public Content(File content,
String type)
Content
public Content()
Content
public Content(String content)
Content
public Content(String content,
String type)
content
public static Content content(File content)
content
public static Content content(File content,
String type)
content
public static Content content(String content)
content
public static Content content(String content,
String type)
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
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.