org.sonatype.tests.http.server.fluent
Class Behaviours
java.lang.Object
org.sonatype.tests.http.server.fluent.Behaviours
public class Behaviours
- extends Object
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Behaviours
public Behaviours()
redirect
public static Redirect redirect(String url)
redirect
public static Redirect redirect(String url,
int status)
error
public static ErrorBehaviour error(int code)
error
public static ErrorBehaviour error(int code,
String msg)
pause
public static Pause pause(org.sonatype.sisu.goodies.common.Time time)
content
public static Content content(String content)
content
public static Content content(String content,
String type)
get
public static Get get(File root)
file
public static Content file(File content)
file
public static Content file(File content,
String type)
record
public static Record record()
Copyright © 2010-2013 Sonatype, Inc.. All Rights Reserved.