public abstract class RedirectBase extends Result
Base class for different Redirect result
Result.Payload| Modifier | Constructor and Description |
|---|---|
protected |
RedirectBase(org.osgl.http.H.Status status) |
|
RedirectBase(org.osgl.http.H.Status status,
String url) |
|
RedirectBase(org.osgl.http.H.Status status,
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) |
void |
apply(org.osgl.http.H.Request req,
org.osgl.http.H.Response resp) |
protected String |
fullUrl(org.osgl.http.H.Request request) |
protected String |
url() |
addCookie, 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, toStringprotected String url
protected RedirectBase(org.osgl.http.H.Status status)
public RedirectBase(org.osgl.http.H.Status status,
String url)
public final void apply(org.osgl.http.H.Request req,
org.osgl.http.H.Response resp)
protected String url()
protected void _applyStatus(org.osgl.http.H.Request request,
org.osgl.http.H.Response response)
protected String fullUrl(org.osgl.http.H.Request request)
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.