@Dependent public class DefaultPageResult extends Object implements PageResult
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultPageResult()
Deprecated.
CDI eyes only
|
|
DefaultPageResult(MutableRequest req,
MutableResponse res,
MethodInfo methodInfo,
PathResolver resolver,
Proxifier proxifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultView()
Server side forwarding to a result.
|
void |
forwardTo(String url)
Server side forwarding to a specific url.
|
void |
include()
Server side include a result.
|
<T> T |
of(Class<T> controllerType)
Render the default view of given logic, without executing the logic.
|
void |
redirectTo(String url)
Client side redirect to an specific url.
|
protected DefaultPageResult()
@Inject public DefaultPageResult(MutableRequest req, MutableResponse res, MethodInfo methodInfo, PathResolver resolver, Proxifier proxifier)
public void defaultView()
PageResultdefaultView in interface PageResultpublic void include()
PageResultinclude in interface PageResultpublic void redirectTo(String url)
PageResultredirectTo in interface PageResultpublic void forwardTo(String url)
PageResultforwardTo in interface PageResultpublic <T> T of(Class<T> controllerType)
PageResultof in interface PageResultT - controller typeCopyright © 2014 Caelum. All rights reserved.