public class DefaultPageResult extends java.lang.Object implements PageResult
| Constructor and Description |
|---|
DefaultPageResult(MutableRequest req,
javax.servlet.http.HttpServletResponse res,
MethodInfo requestInfo,
PathResolver resolver,
Proxifier proxifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultView()
Server side forwarding to a result.
|
void |
forward() |
void |
forward(java.lang.String url) |
void |
forwardTo(java.lang.String url)
Server side forwarding to a specific url.
|
void |
include()
Server side include a result.
|
<T> T |
of(java.lang.Class<T> controllerType)
Render the default view of given logic, without executing the logic.
|
void |
redirect(java.lang.String url) |
void |
redirectTo(java.lang.String url)
Client side redirect to an specific url.
|
public DefaultPageResult(MutableRequest req, javax.servlet.http.HttpServletResponse res, MethodInfo requestInfo, PathResolver resolver, Proxifier proxifier)
public void defaultView()
PageResultdefaultView in interface PageResultpublic void include()
PageResultinclude in interface PageResultpublic void redirectTo(java.lang.String url)
PageResultredirectTo in interface PageResultpublic void forwardTo(java.lang.String url)
PageResultforwardTo in interface PageResultpublic <T> T of(java.lang.Class<T> controllerType)
PageResultof in interface PageResultpublic void redirect(java.lang.String url)
redirect in interface PageResultpublic void forward(java.lang.String url)
forward in interface PageResultpublic void forward()
forward in interface PageResultCopyright © 2013 Caelum. All Rights Reserved.