|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.view.RemoteViewManager
public class RemoteViewManager
If it is a remote vie request, like JSON or XML request, render it. If not, delegates to the internal manager.
| Constructor Summary | |
|---|---|
RemoteViewManager(ViewManager viewManager,
RemoteView view)
|
|
| Method Summary | |
|---|---|
void |
directForward(LogicRequest logicRequest,
String result,
String forwardUrl)
Directly forwards to the selected forward url. |
void |
forward(LogicRequest logicRequest,
String result)
Forwards the user based on some specific result |
void |
redirect(LogicRequest request,
String result)
Sends a client redirect response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteViewManager(ViewManager viewManager,
RemoteView view)
| Method Detail |
|---|
public void directForward(LogicRequest logicRequest,
String result,
String forwardUrl)
throws ViewException
ViewManager
directForward in interface ViewManagerViewException
public void forward(LogicRequest logicRequest,
String result)
throws ViewException
ViewManager
forward in interface ViewManagerViewException
public void redirect(LogicRequest request,
String result)
throws ViewException
ViewManager
redirect in interface ViewManagerViewException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||