| Package | Description |
|---|---|
| com.agapsys.rcf |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonResponse |
| Modifier and Type | Method and Description |
|---|---|
ActionResponse |
ActionResponse.addCookie(String name,
String value,
int maxAge)
Adds a cookie for request context path.
|
ActionResponse |
ActionResponse.addCookie(String name,
String value,
int maxAge,
String path)
Adds a cookie.
|
ActionResponse |
ActionResponse.addHeader(String name,
String value) |
ActionResponse |
ActionRequest.getResponse() |
protected ActionResponse |
ActionResponse.getWrappedResponse() |
ActionResponse |
ActionResponse.removeCookie(String name)
Removes a cookie for request context path.
|
ActionResponse |
ActionResponse.removeCookie(String name,
String path)
Removes a cookie.
|
ActionResponse |
ActionResponse.sendPermanentRedirect(String location) |
ActionResponse |
ActionResponse.sendTemporaryRedirect(String location) |
ActionResponse |
ActionResponse.setHeader(String name,
String value) |
ActionResponse |
ActionResponse.setStatus(int status) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ActionDispatcher.afterAction(ActionRequest request,
ActionResponse response)
Called after an action processing.
|
protected void |
ActionServlet.afterAction(ActionRequest request,
ActionResponse response)
Called after an action processing.
|
protected void |
ActionDispatcher.beforeAction(ActionRequest request,
ActionResponse response)
Called before an action.
|
protected void |
ActionServlet.beforeAction(ActionRequest request,
ActionResponse response)
Called before an action.
|
void |
ActionDispatcher.dispatch(ActionRequest request,
ActionResponse response)
Dispatches a request to an action.
|
protected void |
ActionServlet.onClientError(ActionRequest request,
ActionResponse response,
ClientException error)
Called upon a client error.
|
protected boolean |
Controller.onControllerError(ActionRequest request,
ActionResponse response,
Throwable uncaughtError)
Called upon controller uncaught error.
|
protected boolean |
ActionServlet.onUncaughtError(ActionRequest request,
ActionResponse response,
RuntimeException uncaughtError)
Called when an uncaught error happened while processing the request.
|
protected boolean |
Controller.onUncaughtError(ActionRequest request,
ActionResponse response,
RuntimeException uncaughtError) |
void |
Action.processRequest(ActionRequest request,
ActionResponse response)
Processes the action.
|
protected void |
Controller.sendObject(ActionRequest request,
ActionResponse response,
Object obj)
This method instructs the controller how to send an object to the client.
|
protected void |
Controller.setUser(ActionRequest request,
ActionResponse response,
User user)
This method instructs the controller how to associate an user with a HTTP exchange.
|
| Constructor and Description |
|---|
ActionResponse(ActionResponse wrappedResponse) |
JsonResponse(ActionResponse wrappedResponse) |
Copyright © 2017 Agapsys Tecnologia Ltda-ME. All rights reserved.