Configuration for action composition.
Configuration for action composition.
If annotations put on controllers should be executed before the ones put on actions.
If the action returned by the action creator should be executed before the action composition ones.
Defines the default content type for type A
.
Defines the default content type for type A
.
the content type
the default content type for A
, if any
Defines common HTTP Content-Type header values, according to the current available Codec.
The cookies configuration
The cookies configuration
Whether strict cookie parsing should be used. If true, will cause the entire cookie header to be discarded if a single cookie is found to be invalid.
Contains typeclasses for ContentTypeOf.
The default HTTP error handler.
The default HTTP error handler.
This class is intended to be extended, allowing users to reuse some of the functionality provided here.
A base implementation of the HttpRequestHandler that handles Scala actions.
A base implementation of the HttpRequestHandler that handles Scala actions. If you use Java actions in your application, you should override JavaCompatibleHttpRequestHandler; otherwise you can override this for your custom handler.
Technically, this is not the default request handler that Play uses, rather, the JavaCompatibleHttpRequestHandler is the default one, in order to provide support for Java actions.
The default implementations of method interception methods on play.api.GlobalSettings match the implementations of this, so when not providing any custom logic, whether this is used or the global settings http request handler is used is irrelevant.
Default Writeable.
The flash configuration
The flash configuration
The name of the cookie used to store the session
Whether the flash cookie should set the secure flag or not
Whether the HTTP only attribute of the cookie should be set
Defines all standard HTTP headers.
An HTTP chunk.
An HTTP chunk.
May either be a HttpChunk.Chunk containing data, or a HttpChunk.LastChunk, signifying the last chunk in a stream, optionally with trailing headers.
HTTP related configuration of a Play application
HTTP related configuration of a Play application
The HTTP context
The parser configuration
The session configuration
The flash configuration
An HTTP entity.
An HTTP entity.
HTTP entities come in three flavors, HttpEntity.Strict, HttpEntity.Streamed and HttpEntity.Chunked.
Component for handling HTTP errors in Play.
Component for handling HTTP errors in Play.
2.4.0
Provides filters to the play.api.http.HttpRequestHandler.
Defines HTTP protocol constants
Primary entry point for all HTTP requests on Play applications.
Standard HTTP Verbs
A Java compatible HTTP request handler.
A Java compatible HTTP request handler.
If a router routes to Java actions, it will return instances of play.core.j.JavaHandler. This takes an instance of play.core.j.JavaHandlerComponents to supply the necessary infrastructure to invoke a Java action, and returns a new play.api.mvc.Handler that the core of Play knows how to handle.
If your application routes to Java actions, then you must use this request handler as the base class as is or as the base class for your custom HttpRequestHandler.
Adapter from the Java HttpFliters to the Scala HttpFilters interface.
Default Writeable with lowwe priority.
A media range as defined by RFC 2616 14.1
A media type as defined by RFC 2616 3.7.
A media type as defined by RFC 2616 3.7.
The media type
The media sub type
The parameters
Common HTTP MIME types
A filters provider that provides no filters.
Configuration for body parsers.
Configuration for body parsers.
The maximum size that a request body that should be buffered in memory.
The maximum size that a request body should be buffered on disk.
A port.
A port. This class is defined so that ports can be passed around implicitly.
The session configuration
The session configuration
The name of the cookie used to store the session
Whether the session cookie should set the secure flag or not
The max age of the session, none, use "session" sessions
Whether the HTTP only attribute of the cookie should be set
The domain to set for the session cookie, if defined
Defines all standard HTTP status codes.
Transform a value of type A to a Byte Array.
Transform a value of type A to a Byte Array.
the content type
An HttpRequestHandler that delegates to play.api.GlobalSettings.
An HttpRequestHandler that delegates to play.api.GlobalSettings.
This handler should be used in order to support legacy global settings request interception.
Custom handlers need not extend this.
(Since version 2.5.0) GlobalSettings is deprecated. Use DefaultHttpRequestHandler or JavaCompatibleHttpRequestHandler.
Default Content-Type typeclasses.
Defines common HTTP Content-Type header values, according to the current available Codec.
A default HTTP error handler that can be used when there's no application available
Defines all standard HTTP headers.
Extracted so the Java default error handler can reuse this functionality
Defines HTTP protocol constants
Standard HTTP Verbs
A lazy HTTP error handler, that looks up the error handler from the current application
Common HTTP MIME types
Implementation of a [HttpRequestHandler] that always returns NotImplemented results
Defines all standard HTTP Status.
Helper utilities for Writeable
.
HTTP date formatter, compliant to RFC 1123
Contains standard HTTP constants. For example: