@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()
PageResult
defaultView
in interface PageResult
public void include()
PageResult
include
in interface PageResult
public void redirectTo(String url)
PageResult
redirectTo
in interface PageResult
public void forwardTo(String url)
PageResult
forwardTo
in interface PageResult
public <T> T of(Class<T> controllerType)
PageResult
of
in interface PageResult
T
- controller typeCopyright © 2014 Caelum. All rights reserved.