public abstract class Action<T> extends Results
Modifier and Type | Class and Description |
---|---|
static class |
Action.Simple
A simple action with no configuration.
|
Results.AsyncResult, Results.ByteChunks, Results.Chunks<A>, Results.Redirect, Results.Status, Results.StringChunks, Results.Todo
Modifier and Type | Field and Description |
---|---|
T |
configuration
The action configuration - typically the annotation used to decorate the action method.
|
Action<?> |
delegate
The wrapped action.
|
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
abstract F.Promise<SimpleResult> |
call(Http.Context ctx)
Executes this action with the give HTTP context and returns the result.
|
async, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, created, created, created, created, created, created, created, created, created, created, created, created, created, created, created, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, found, found, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, movedPermanently, movedPermanently, noContent, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, redirect, redirect, seeOther, seeOther, status, status, status, status, status, status, status, status, status, status, status, status, status, temporaryRedirect, temporaryRedirect, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized
public T configuration
public Action<?> delegate
public abstract F.Promise<SimpleResult> call(Http.Context ctx) throws java.lang.Throwable
java.lang.Throwable