Package play.mvc
package play.mvc
Provides the Controller/Action/Result API for handling HTTP requests.
-
ClassDescriptionAction<T>An action acts as decorator for the action method call.A simple action with no configuration.BodyParser<A>A body parser parses the HTTP request body content.Guess the body content by checking the Content-Type header.A body parser that first buffersParse the body as a byte string.A body parser that completes the underlying one.If the request has a body, guess the body content by checking the Content-Type header.A body parser that delegates to a Scala body parser, and uses the supplied function to transform its result to a Java body.A body parser that exposes a file part handler as an abstract method and delegates the implementation to the underlying Scala multipartParser.Don't parse the body.Parse the body as form url encoded if the Content-Type is application/x-www-form-urlencoded.Parse the body as Json if the Content-Type is text/json or application/json.Abstract body parser that enforces a maximum length.Parse the body as multipart form-data without checking the Content-Type.Specify the body parser to use for an Action method.Store the body content in a RawBuffer.Parse the body as text if the Content-Type is text/plain.Parse the body as Json without checking the Content-Type.Parse the body as text without checking the Content-Type.Parse the body as Xml without checking the Content-Type.Parse the body as Xml if the Content-Type is application/xml.Utilities for creating body parsers.Defines a 'call', describing an HTTP request.Superclass for a Java-based controller.Given a `RequestHeader`, an `EssentialAction` consumes the request body (a `ByteString`) and returns a `Result`.Defines HTTP standard objects.HTTP CookieThe cookie SameSite attributeHTTP Cookies setHTTP Flash.Defines all standard HTTP headers.Standard HTTP VerbsCommon HTTP MIME typesMultipart form data body.Info about a file partA file part.Handle the request body a raw bytes data.An HTTP request.The request body.The builder for building a request.An HTTP request.HTTP Session.Defines all standard HTTP status codes.PathBindable<T extends PathBindable<T>>Binder for path parameters.QueryStringBindable<T extends QueryStringBindable<T>>Binder for query string parameters.Java API for Range results.A simple HTTP response header, used for standard responses.Any action result.Common results.Defines several security helpers.Wraps the annotated action in an
Security.AuthenticatedAction.Wraps another action, allowing only authenticated HTTP requests.Handles authentication.A status with no bodyA WebSocket handler.Utility class for creating WebSockets.Decorates anActionor aControllerwith anotherAction.