public abstract class Action<T> extends Results
Modifier and Type | Class and Description |
---|---|
static class |
Action.Simple
A simple action with no configuration.
|
Results.ByteChunks, Results.Chunks<A>, Results.Redirect, Results.Status, Results.StatusHeader, 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<Result> |
call(Http.Context ctx)
Executes this action with the given HTTP context and returns the result.
|
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, 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, movedPermanently, movedPermanently, noContent, 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, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, 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
public T configuration
public Action<?> delegate
public abstract F.Promise<Result> call(Http.Context ctx) throws java.lang.Throwable
java.lang.Throwable