public class Redirect extends Result
Result.Payload| Constructor and Description |
|---|
Redirect(boolean permanent,
String url) |
Redirect(boolean permanent,
String url,
Object... args) |
Redirect(String url) |
Redirect(String url,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.osgl.http.H.Request req,
org.osgl.http.H.Response resp) |
protected String |
fullUrl(org.osgl.http.H.Request request) |
static Redirect |
moved(String url) |
static Redirect |
moved(String url,
Object... args) |
static Redirect |
of(String url) |
static Redirect |
of(String url,
Object... args) |
protected String |
url() |
applyAfterCommitHandler, applyBeforeCommitHandler, applyMessage, applyStatus, clearThreadLocals, payload, status, status, statusCodedoFillInStackTrace, fillInStackTraceaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String url
public Redirect(String url)
public Redirect(boolean permanent,
String url)
Copyright © 2017. All Rights Reserved.