public class Redirect extends RedirectBase
| Modifier and Type | Class and Description |
|---|---|
static class |
Redirect.F |
Result.Payloadurl| Constructor and Description |
|---|
Redirect(String url) |
Redirect(String url,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_applyStatus(org.osgl.http.H.Request request,
org.osgl.http.H.Response response) |
static Found |
found(String url) |
static Found |
found(String url,
Object... args) |
static Redirect |
moved(String url)
Deprecated.
|
static Redirect |
moved(String url,
Object... args)
Deprecated.
|
static MovedPermanently |
movedPermanently(String url) |
static MovedPermanently |
movedPermanently(String url,
Object... args) |
static Redirect |
of(String url) |
static Redirect |
of(String url,
Object... args) |
static PermanentRedirect |
permanentRedirect(String url) |
static PermanentRedirect |
permanentRedirect(String url,
Object... args) |
static SeeOther |
seeOther(String url) |
static SeeOther |
seeOther(String url,
Object... args) |
static TemporaryRedirect |
temporaryRedirect(String url) |
static TemporaryRedirect |
temporaryRedirect(String url,
Object... args) |
apply, fullUrl, urladdCookie, addHeader, applyAfterCommitHandler, applyBeforeCommitHandler, applyCookies, applyHeaders, applyMessage, applyStatus, clearThreadLocals, header, payload, status, status, statusCode, timestamp, touchPayloaddoFillInStackTrace, fillInStackTraceaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Redirect(String url)
protected void _applyStatus(org.osgl.http.H.Request request,
org.osgl.http.H.Response response)
_applyStatus in class RedirectBasepublic static MovedPermanently movedPermanently(String url)
public static MovedPermanently movedPermanently(String url, Object... args)
public static TemporaryRedirect temporaryRedirect(String url)
public static TemporaryRedirect temporaryRedirect(String url, Object... args)
public static PermanentRedirect permanentRedirect(String url)
public static PermanentRedirect permanentRedirect(String url, Object... args)
@Deprecated public static Redirect moved(String url)
This method is deprecated
@Deprecated public static Redirect moved(String url, Object... args)
This method is deprecated
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.