Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y _ 

A

absoluteURL(Http.Request) - Method in class play.mvc.Call
Transform this call to an absolute URL.
absoluteURL(Http.Request, boolean) - Method in class play.mvc.Call
Transform this call to an absolute URL.
absoluteURL(boolean, String) - Method in class play.mvc.Call
Transform this call to an absolute URL.
ACCEPT - Static variable in interface play.mvc.Http.HeaderNames
 
accept(Function<Http.RequestHeader, Flow<In, Out, ?>>) - Method in class play.mvc.WebSocket.MappedWebSocketAcceptor
Accept a WebSocket.
ACCEPT_CHARSET - Static variable in interface play.mvc.Http.HeaderNames
 
ACCEPT_ENCODING - Static variable in interface play.mvc.Http.HeaderNames
 
ACCEPT_LANGUAGE - Static variable in interface play.mvc.Http.HeaderNames
 
ACCEPT_RANGES - Static variable in interface play.mvc.Http.HeaderNames
 
ACCEPTED - Static variable in interface play.mvc.Http.Status
 
acceptedTypes() - Method in interface play.mvc.Http.RequestHeader
 
acceptLanguages() - Method in interface play.mvc.Http.RequestHeader
The Request Langs extracted from the Accept-Language header and sorted by preference (preferred first).
acceptOrResult(Function<Http.RequestHeader, CompletionStage<F.Either<Result, Flow<In, Out, ?>>>>) - Method in class play.mvc.WebSocket.MappedWebSocketAcceptor
Accept a WebSocket.
accepts(String) - Method in interface play.mvc.Http.RequestHeader
Check if this request accepts a given media type.
ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in interface play.mvc.Http.HeaderNames
 
ACCESS_CONTROL_ALLOW_HEADERS - Static variable in interface play.mvc.Http.HeaderNames
 
ACCESS_CONTROL_ALLOW_METHODS - Static variable in interface play.mvc.Http.HeaderNames
 
ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in interface play.mvc.Http.HeaderNames
 
ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in interface play.mvc.Http.HeaderNames
 
ACCESS_CONTROL_MAX_AGE - Static variable in interface play.mvc.Http.HeaderNames
 
ACCESS_CONTROL_REQUEST_HEADERS - Static variable in interface play.mvc.Http.HeaderNames
 
ACCESS_CONTROL_REQUEST_METHOD - Static variable in interface play.mvc.Http.HeaderNames
 
Accumulator<E,A> - Class in play.libs.streams
Accumulates inputs asynchronously into an output value.
Action<T> - Class in play.mvc
An action acts as decorator for the action method call.
Action() - Constructor for class play.mvc.Action
 
Action.Simple - Class in play.mvc
A simple action with no configuration.
actionCreator() - Method in interface play.BuiltInComponents
 
actionCreator() - Method in interface play.components.HttpComponents
 
actionCreator() - Method in class play.core.j.MappedJavaHandlerComponents
 
ActionCreator - Interface in play.http
An interface for creating Java actions from Java methods.
ActorFlow - Class in play.libs.streams
Provides a flow that is handled by an actor.
ActorFlow() - Constructor for class play.libs.streams.ActorFlow
 
actorRef(Function<ActorRef, Props>, int, OverflowStrategy, ActorRefFactory, Materializer) - Static method in class play.libs.streams.ActorFlow
Create a flow that is handled by an actor.
actorRef(Function<ActorRef, Props>, ActorRefFactory, Materializer) - Static method in class play.libs.streams.ActorFlow
Create a flow that is handled by an actor.
actorSystem() - Method in class play.BuiltInComponentsFromContext
 
actorSystem() - Method in interface play.components.AkkaComponents
 
addAction(Class<A>, Supplier<A>) - Method in class play.core.j.MappedJavaHandlerComponents
 
addAttr(TypedKey<A>, A) - Method in interface play.mvc.Http.Request
 
addAttr(TypedKey<A>, A) - Method in interface play.mvc.Http.RequestHeader
Create a new versions of this object with the given attribute attached to it.
addBodyParser(Class<B>, Supplier<B>) - Method in class play.core.j.MappedJavaHandlerComponents
 
addConstraintValidator(Class<T>, T) - Method in class play.data.validation.MappedConstraintValidatorFactory
Adds validator as a singleton.
addConstraintValidator(Class<T>, Supplier<T>) - Method in class play.data.validation.MappedConstraintValidatorFactory
Adds validator as a non-singleton.
addCookie(WSCookie) - Method in class play.libs.ws.ahc.AhcWSRequest
 
addCookie(Http.Cookie) - Method in class play.libs.ws.ahc.AhcWSRequest
 
addCookie(WSCookie) - Method in interface play.libs.ws.WSRequest
Adds a cookie to the request
addCookie(Http.Cookie) - Method in interface play.libs.ws.WSRequest
Adds a cookie to the request
addCookies(WSCookie...) - Method in class play.libs.ws.ahc.AhcWSRequest
 
addCookies(WSCookie...) - Method in interface play.libs.ws.WSRequest
Sets several cookies on the request.
AddCSRFToken - Annotation Type in play.filters.csrf
This action adds a CSRF token to the request and response if not already there.
addCSRFTokenAction() - Method in interface play.filters.components.CSRFComponents
 
AddCSRFTokenAction - Class in play.filters.csrf
 
AddCSRFTokenAction(CSRFConfig, SessionConfiguration, CSRF.TokenProvider, CSRFTokenSigner) - Constructor for class play.filters.csrf.AddCSRFTokenAction
 
addHeader(String, String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
addHeader(String, String) - Method in interface play.libs.ws.WSRequest
Adds a header to the request.
addHeader(String, String) - Method in class play.mvc.Http.Headers
Add a new header with the given value.
addHeader(String, List<String>) - Method in class play.mvc.Http.Headers
Add a new header with the given values.
addQueryParameter(String, String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
addQueryParameter(String, String) - Method in interface play.libs.ws.WSRequest
Sets a query parameter with the given name, this can be called repeatedly.
addStopHook(Callable<? extends CompletionStage<?>>) - Method in interface play.inject.ApplicationLifecycle
Add a stop hook to be called when the application stops.
addStopHook(Callable<? extends CompletionStage<?>>) - Method in class play.inject.DelegateApplicationLifecycle
 
addToSet(int, int, int, int) - Method in class play.libs.Time.CronExpression
 
AGE - Static variable in interface play.mvc.Http.HeaderNames
 
AhcWSClient - Class in play.libs.ws.ahc
A WS client backed by AsyncHttpClient implementation.
AhcWSClient(AsyncHttpClient, Materializer) - Constructor for class play.libs.ws.ahc.AhcWSClient
 
AhcWSClient(StandaloneAhcWSClient, Materializer) - Constructor for class play.libs.ws.ahc.AhcWSClient
 
AhcWSClientProvider(AsyncHttpClient, Materializer) - Constructor for class play.libs.ws.ahc.AhcWSModule.AhcWSClientProvider
 
AhcWSComponents - Interface in play.libs.ws.ahc
AsyncHttpClient WS implementation components.
AhcWSModule - Class in play.libs.ws.ahc
The Play module to provide Java bindings for WS to an AsyncHTTPClient implementation.
AhcWSModule() - Constructor for class play.libs.ws.ahc.AhcWSModule
 
AhcWSModule.AhcWSClientProvider - Class in play.libs.ws.ahc
 
AhcWSRequest - Class in play.libs.ws.ahc
A Play WS request backed by AsyncHTTPClient implementation.
AhcWSResponse - Class in play.libs.ws.ahc
A Play WS response backed by an AsyncHttpClient response.
Akka - Class in play.libs
Helper to access the application defined Akka Actor system.
Akka() - Constructor for class play.libs.Akka
 
AkkaComponents - Interface in play.components
Akka and Akka Streams components.
AkkaGuiceSupport - Interface in play.libs.akka
Support for binding actors with Guice.
AkkaStreams - Class in play.libs.streams
Akka streams utilities.
AkkaStreams() - Constructor for class play.libs.streams.AkkaStreams
 
ALL_SPEC - Static variable in class play.libs.Time.CronExpression
 
ALL_SPEC_INT - Static variable in class play.libs.Time.CronExpression
 
allErrors() - Method in class play.data.Form
Returns all errors.
ALLOW - Static variable in interface play.mvc.Http.HeaderNames
 
AllowedHostsComponents - Interface in play.filters.components
Java Components for the Allowed Hosts filter.
allowedHostsConfig() - Method in interface play.filters.components.AllowedHostsComponents
 
allowedHostsFilter() - Method in interface play.filters.components.AllowedHostsComponents
 
ALogger(Logger) - Constructor for class play.Logger.ALogger
 
annotatedElement - Variable in class play.mvc.Action
Where an action was defined.
AnnotationDateFormatter(MessagesApi) - Constructor for class play.data.format.Formats.AnnotationDateFormatter
Creates an annotation date formatter.
AnnotationFormatter() - Constructor for class play.data.format.Formatters.AnnotationFormatter
 
AnnotationNonEmptyFormatter() - Constructor for class play.data.format.Formats.AnnotationNonEmptyFormatter
 
annotationType() - Method in class play.cache.NamedCacheImpl
 
annotationType() - Method in class play.db.NamedDatabaseImpl
 
annotationType() - Method in class play.inject.NamedImpl
 
AnnotationUtils - Class in play.libs
Annotation utilities.
AnnotationUtils() - Constructor for class play.libs.AnnotationUtils
 
AnyContent(HttpErrorHandler, HttpConfiguration, PlayBodyParsers) - Constructor for class play.mvc.BodyParser.AnyContent
 
anyContentBodyParser() - Method in interface play.components.BodyParserComponents
 
app - Variable in class play.test.WithApplication
 
app - Variable in class play.test.WithServer
 
appendFragment() - Method in class play.mvc.Call
Returns the fragment (including the leading "#") if this call has one.
Application - Interface in play
A Play application.
application() - Method in class play.BuiltInComponentsFromContext
 
application() - Method in interface play.components.ApplicationComponents
 
application() - Static method in class play.Play
Deprecated.
inject the Application instead. Deprecated since 2.5.0.
ApplicationComponents - Interface in play.components
The application component.
applicationLifecycle() - Method in class play.ApplicationLoader.Context
Get the application lifecycle from the context.
applicationLifecycle() - Method in class play.BuiltInComponentsFromContext
 
applicationLifecycle() - Method in interface play.components.BaseComponents
 
applicationLifecycle() - Method in interface play.controllers.AssetsComponents
 
applicationLifecycle() - Method in interface play.data.validation.ValidatorsComponents
 
applicationLifecycle() - Method in interface play.db.DBComponents
 
applicationLifecycle() - Method in interface play.db.jpa.JPAComponents
 
ApplicationLifecycle - Interface in play.inject
Application lifecycle register.
applicationLifecycle() - Method in interface play.libs.ws.ahc.AhcWSComponents
 
ApplicationLoader - Interface in play
Loads an application.
ApplicationLoader.Context - Class in play
The context for loading an application.
applicationModule() - Method in class play.inject.guice.GuiceBuilder
Create a Guice module that can be used to inject an Application.
ApplicationProvider - Class in play.server
Provides information about a Play Application running inside a Play server.
ApplicationProvider(Application) - Constructor for class play.server.ApplicationProvider
 
apply(ApplicationLoader.Context) - Static method in interface play.ApplicationLoader
 
apply(String) - Method in class play.data.Form
Retrieves a field.
apply(ClassLoader) - Method in class play.db.ebean.ModelsConfigLoader
 
apply(A, B, C) - Method in interface play.libs.F.Function3
 
apply(ClassLoader) - Static method in interface play.LoggerConfigurator
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.AnyContent
 
apply(Http.RequestHeader) - Method in interface play.mvc.BodyParser
Return an accumulator to parse the body of the given HTTP request.
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.CompletableBodyParser
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.Default
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.DelegatingBodyParser
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.DelegatingMultipartFormDataBodyParser
Delegates underlying functionality to another body parser and converts the result to Java API.
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.Empty
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.FormUrlEncoded
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.Json
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.MaxLengthBodyParser
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.Text
 
apply(Http.RequestHeader) - Method in class play.mvc.BodyParser.Xml
 
apply(Http.RequestHeader) - Method in class play.mvc.EssentialAction
 
apply(RequestHeader) - Method in class play.mvc.EssentialAction
 
apply() - Method in class play.mvc.EssentialAction
 
apply(EssentialAction) - Method in class play.mvc.EssentialFilter
 
apply(EssentialAction) - Method in class play.mvc.EssentialFilter
 
apply(Function<Http.RequestHeader, CompletionStage<Result>>, Http.RequestHeader) - Method in class play.mvc.Filter
 
apply(EssentialAction) - Method in class play.mvc.Filter
 
apply(Http.RequestHeader) - Method in class play.mvc.WebSocket
Invoke the WebSocket.
apply1(Http.RequestHeader) - Method in class play.mvc.BodyParser.BufferingBodyParser
 
apply1(Http.RequestHeader) - Method in class play.mvc.BodyParser.MaxLengthBodyParser
Implement this method to implement the actual body parser.
applyEvolutions(Database, EvolutionsReader, boolean, String) - Static method in class play.db.evolutions.Evolutions
Apply evolutions for the given database.
applyEvolutions(Database, EvolutionsReader, String) - Static method in class play.db.evolutions.Evolutions
Apply evolutions for the given database.
applyEvolutions(Database, EvolutionsReader, boolean) - Static method in class play.db.evolutions.Evolutions
Apply evolutions for the given database.
applyEvolutions(Database, EvolutionsReader) - Static method in class play.db.evolutions.Evolutions
Apply evolutions for the given database.
applyEvolutions(Database, String) - Static method in class play.db.evolutions.Evolutions
Apply evolutions for the given database.
applyEvolutions(Database) - Static method in class play.db.evolutions.Evolutions
Apply evolutions for the given database.
args - Variable in class play.mvc.Http.Context
Free space to store your request specific data.
arguments() - Method in class play.data.validation.ValidationError
Returns the error arguments.
as(String) - Method in class play.http.HttpEntity
 
as(String) - Method in class play.http.HttpEntity.Chunked
 
as(String) - Method in class play.http.HttpEntity.Streamed
 
as(String) - Method in class play.http.HttpEntity.Strict
 
as(Class<T>) - Method in class play.mvc.Http.RequestBody
Cast this RequestBody as T if possible.
as(String) - Method in class play.mvc.Result
Return a copy of the result with a different Content-Type header.
asArray(Class<T>, Seq<T>) - Static method in class play.libs.Scala
Converts a Scala List to an Array.
asByteArray() - Method in class play.libs.ws.ahc.AhcWSResponse
Deprecated.
Use response.getBodyAsBytes().toArray()
asByteArray() - Method in interface play.libs.ws.WSResponse
Gets the body as an array of bytes.
asBytes(int) - Method in class play.mvc.Http.RawBuffer
Returns the buffer content as a bytes array.
asBytes() - Method in class play.mvc.Http.RawBuffer
Returns the buffer content as a bytes array
asBytes() - Method in class play.mvc.Http.RequestBody
The request content as a ByteString.
asciiStringify(JsonNode) - Static method in class play.libs.Json
Converts a JsonNode to its string representation, escaping non-ascii characters.
asCookie(Http.Cookie) - Method in class play.libs.ws.ahc.AhcWSRequest
 
asFile() - Method in class play.mvc.Http.RawBuffer
Returns the buffer content as File
asFormUrlEncoded() - Method in class play.mvc.Http.MultipartFormData
Extract the data parts as Form url encoded.
asFormUrlEncoded() - Method in class play.mvc.Http.RequestBody
The request content parsed as URL form-encoded.
asJava(Map<K, V>) - Static method in class play.libs.Scala
Converts a Scala Map to Java.
asJava(Seq<T>) - Static method in class play.libs.Scala
Converts a Scala List to Java.
asJava(Tuple2<A, B>) - Static method in class play.libs.Scala
Converts a scala Tuple2 to a java F.Tuple.
asJava() - Method in class play.mvc.EssentialAction
 
asJava() - Method in class play.mvc.EssentialFilter
 
asJson() - Method in class play.libs.ws.ahc.AhcWSResponse
Deprecated.
Use response.getBody(json())
asJson() - Method in interface play.libs.ws.WSResponse
Gets the body as JSON node.
asJson() - Method in class play.mvc.Http.RequestBody
The request content as Json.
asMap() - Method in class play.Configuration
Deprecated.
Returns the config as a map of plain old Java maps, lists and values.
asMultipartFormData() - Method in class play.mvc.Http.RequestBody
The request content parsed as multipart form data.
asRaw() - Method in class play.mvc.Http.RequestBody
The request content as Array bytes.
asScala() - Method in interface play.Application
Get the application as a Scala application.
asScala() - Method in class play.ApplicationLoader.Context
Get the wrapped Scala context.
asScala() - Method in interface play.db.ConnectionPool
 
asScala() - Method in interface play.db.Database
Converts the given database to a Scala database
asScala() - Method in class play.db.DefaultConnectionPool
 
asScala() - Method in class play.DefaultApplication
Get the application as a Scala application.
asScala() - Method in class play.Environment
The underlying Scala API Environment object that this Environment wraps.
asScala() - Method in class play.http.HttpEntity
 
asScala() - Method in class play.http.HttpEntity.Chunked
 
asScala() - Method in class play.http.HttpEntity.Streamed
 
asScala() - Method in class play.http.HttpEntity.Strict
 
asScala() - Method in interface play.http.HttpFilters
 
asScala() - Method in interface play.http.HttpRequestHandler
 
asScala() - Method in class play.i18n.Langs
 
asScala() - Method in interface play.i18n.Messages
 
asScala() - Method in class play.i18n.MessagesApi
 
asScala() - Method in class play.i18n.MessagesImpl
 
asScala() - Method in interface play.inject.ApplicationLifecycle
 
asScala() - Method in class play.inject.DelegateApplicationLifecycle
 
asScala() - Method in class play.inject.DelegateInjector
 
asScala() - Method in interface play.inject.Injector
Get as an instance of the Scala injector.
asScala() - Method in interface play.libs.crypto.CookieSigner
 
asScala() - Method in interface play.libs.crypto.CSRFTokenSigner
Utility method needed for CSRFCheck.
asScala() - Method in class play.libs.crypto.DefaultCookieSigner
 
asScala() - Method in class play.libs.crypto.DefaultCSRFTokenSigner
 
asScala() - Method in class play.libs.Files.DelegateTemporaryFileCreator
 
asScala() - Method in class play.libs.Files.SingletonTemporaryFileCreator
 
asScala() - Method in interface play.libs.Files.TemporaryFileCreator
 
asScala(Map<K, V>) - Static method in class play.libs.Scala
Converts a Java Map to Scala.
asScala(Collection<A>) - Static method in class play.libs.Scala
Converts a Java Collection to a Scala Seq.
asScala(Callable<A>) - Static method in class play.libs.Scala
Converts a Java Callable to a Scala Function0.
asScala() - Method in class play.libs.streams.Accumulator
Convert this accumulator to a Scala accumulator.
asScala() - Method in class play.libs.typedmap.TypedKey
 
asScala() - Method in class play.libs.typedmap.TypedMap
 
asScala() - Method in class play.libs.ws.ahc.AhcWSClient
 
asScala() - Method in interface play.libs.ws.WSClient
 
asScala() - Method in enum play.Mode
 
asScala() - Method in class play.mvc.FileMimeTypes
 
asScala() - Method in class play.mvc.Filter
 
asScala() - Method in class play.mvc.Http.Cookie
 
asScala() - Method in enum play.mvc.Http.Cookie.SameSite
 
asScala() - Method in class play.mvc.Http.Headers
 
asScala() - Method in interface play.mvc.Http.Request
Return the Scala version of the request
asScala() - Method in interface play.mvc.Http.RequestHeader
Return the Scala version of the request header.
asScala() - Method in class play.mvc.ResponseHeader
 
asScala() - Method in class play.mvc.Result
Convert this result to a Scala result.
asScala() - Method in interface play.routing.Router
 
asScala() - Method in class play.server.ApplicationProvider
 
asScalaWithFuture(Callable<CompletionStage<A>>) - Static method in class play.libs.Scala
Converts a Java Callable to a Scala Function0.
assets() - Method in interface play.controllers.AssetsComponents
 
AssetsComponents - Interface in play.controllers
Java components for Assets.
assetsConfiguration() - Method in interface play.controllers.AssetsComponents
 
assetsFinder() - Method in interface play.controllers.AssetsComponents
 
assetsMetadata() - Method in interface play.controllers.AssetsComponents
 
asText() - Method in class play.mvc.Http.RequestBody
The request content as text.
asXml() - Method in class play.libs.ws.ahc.AhcWSResponse
Deprecated.
Use response.getBody(xml())
asXml() - Method in interface play.libs.ws.WSResponse
return the body as XML.
asXml() - Method in class play.mvc.Http.RequestBody
The request content as XML.
AsyncCacheApi - Interface in play.cache
The Cache API.
asyncTryWithResource(T, Function<T, CompletionStage<U>>) - Static method in class play.libs.Resources
 
at(String, Object...) - Method in interface play.i18n.Messages
Get the message at the given key.
at(List<String>, Object...) - Method in interface play.i18n.Messages
Get the message at the first defined key.
at(String, Object...) - Method in class play.i18n.MessagesImpl
Get the message at the given key.
at(List<String>, Object...) - Method in class play.i18n.MessagesImpl
Get the message at the first defined key.
atomicMoveWithFallback(File) - Method in class play.libs.Files.DelegateTemporaryFile
 
atomicMoveWithFallback(File) - Method in interface play.libs.Files.TemporaryFile
 
attr(TypedKey<T>, T) - Method in class play.mvc.Http.RequestBuilder
Add an attribute to the request.
Attrs() - Constructor for class play.i18n.Messages.Attrs
 
attrs(TypedMap) - Method in class play.mvc.Http.RequestBuilder
Update the request attributes.
attrs() - Method in class play.mvc.Http.RequestBuilder
Get the request attributes.
attrs() - Method in interface play.mvc.Http.RequestHeader
 
Attrs() - Constructor for class play.routing.Router.Attrs
 
AuthenticatedAction(Injector) - Constructor for class play.mvc.Security.AuthenticatedAction
 
AuthenticatedAction(Security.Authenticator) - Constructor for class play.mvc.Security.AuthenticatedAction
 
AuthenticatedAction(Function<Security.Authenticated, Security.Authenticator>) - Constructor for class play.mvc.Security.AuthenticatedAction
 
Authenticator() - Constructor for class play.mvc.Security.Authenticator
 
AUTHORIZATION - Static variable in interface play.mvc.Http.HeaderNames
 
availables(Application) - Static method in class play.i18n.Lang
Retrieve Lang availables from the application configuration.
availables() - Method in class play.i18n.Langs
The available languages.
awaitTimeoutMillis - Variable in class play.cache.DefaultSyncCacheApi
 

B

BAD_GATEWAY - Static variable in interface play.mvc.Http.Status
 
BAD_REQUEST - Static variable in interface play.mvc.Http.Status
 
badRequest() - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(Content) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(Content, String) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(String) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(String, String) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(JsonNode) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use badRequest(JsonNode, JsonEncoding)
badRequest(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(byte[]) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(InputStream) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(InputStream, long) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(File) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(File, boolean) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
badRequest(File, String) - Static method in class play.mvc.Results
Generates a 400 Bad Request result.
BaseComponents - Interface in play.components
 
Binary(ByteString) - Constructor for class play.http.websocket.Message.Binary
 
BINARY - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of binary data.
Binary - Static variable in class play.mvc.WebSocket
Acceptor for binary WebSockets.
bind(Map<String, String>, String...) - Method in class play.data.DynamicForm
Binds data to this form - that is, handles form submission.
bind(JsonNode, String...) - Method in class play.data.Form
Binds Json data to this form - that is, handles form submission.
bind(Map<String, String>, String...) - Method in class play.data.Form
Binds data to this form - that is, handles form submission.
bind(Class<T>) - Static method in class play.inject.Bindings
Create a binding key for the given class.
bind(String, String) - Method in interface play.mvc.PathBindable
Bind an URL path parameter.
bind(String, Map<String, String[]>) - Method in interface play.mvc.QueryStringBindable
Bind a query string parameter.
bindActor(Class<T>, String, Function<Props, Props>) - Method in interface play.libs.akka.AkkaGuiceSupport
Bind an actor.
bindActor(Class<T>, String) - Method in interface play.libs.akka.AkkaGuiceSupport
Bind an actor.
bindActorFactory(Class<T>, Class<?>) - Method in interface play.libs.akka.AkkaGuiceSupport
Bind an actor factory.
bindForSync(EntityManager) - Static method in class play.db.jpa.JPA
Deprecated.
Bind an EntityManager to the current HTTP context.
bindFromRequest(String...) - Method in class play.data.DynamicForm
Binds request data to this form - that is, handles form submission.
bindFromRequest(Http.Request, String...) - Method in class play.data.DynamicForm
Binds request data to this form - that is, handles form submission.
bindFromRequest(String...) - Method in class play.data.Form
Binds request data to this form - that is, handles form submission.
bindFromRequest(Http.Request, String...) - Method in class play.data.Form
Binds request data to this form - that is, handles form submission.
bindFromRequest(Map<String, String[]>, String...) - Method in class play.data.Form
Binds request data to this form - that is, handles form submission.
bindings(Environment, Configuration) - Method in class play.data.format.FormattersModule
 
bindings(Environment, Configuration) - Method in class play.data.FormFactoryModule
 
bindings(Environment, Configuration) - Method in class play.data.validation.ValidatorsModule
 
bindings(Environment, Configuration) - Method in class play.db.DBModule
 
bindings(Environment, Configuration) - Method in class play.db.ebean.EbeanModule
 
bindings(Environment, Configuration) - Method in class play.db.jpa.JPAModule
 
Bindings - Class in play.inject
 
Bindings() - Constructor for class play.inject.Bindings
 
bindings(Environment, Configuration) - Method in class play.inject.BuiltInModule
 
bindings(Binding...) - Static method in class play.inject.guice.Guiceable
 
bindings(GuiceableModule...) - Method in class play.inject.guice.GuiceBuilder
Add bindings from guiceable modules.
bindings(Module...) - Method in class play.inject.guice.GuiceBuilder
Add bindings from Guice modules.
bindings(Module...) - Method in class play.inject.guice.GuiceBuilder
Add bindings from Play modules.
bindings(Binding<?>...) - Method in class play.inject.guice.GuiceBuilder
Add Play bindings.
bindings(Environment, Configuration) - Method in class play.libs.ws.ahc.AhcWSModule
 
bindValue(A) - Method in class play.libs.typedmap.TypedKey
Bind this key to a value.
blankInstance() - Method in class play.data.Form
 
body() - Method in class play.libs.Jsonp
 
body() - Method in interface play.mvc.Http.Request
The request body.
body() - Method in class play.mvc.Http.RequestBuilder
 
body(Http.RequestBody, String) - Method in class play.mvc.Http.RequestBuilder
Set the body of the request.
body(Http.RequestBody) - Method in class play.mvc.Http.RequestBuilder
Set the body of the request.
body() - Method in class play.mvc.Result
Get the body of this result.
bodyForm(Map<String, String>) - Method in class play.mvc.Http.RequestBuilder
Set a Form url encoded body to this request.
bodyFormArrayValues(Map<String, String[]>) - Method in class play.mvc.Http.RequestBuilder
Set a Form url encoded body to this request.
bodyJson(JsonNode) - Method in class play.mvc.Http.RequestBuilder
Set a Json Body to this request.
bodyJson(JsValue) - Method in class play.mvc.Http.RequestBuilder
Set a Json Body to this request.
bodyMultipart(List<Http.MultipartFormData.Part<Source<ByteString, ?>>>, Files.TemporaryFileCreator, Materializer) - Method in class play.mvc.Http.RequestBuilder
Set a Multipart Form url encoded body to this request.
BodyParser<A> - Interface in play.mvc
A body parser parses the HTTP request body content.
BodyParser.AnyContent - Class in play.mvc
Guess the body content by checking the Content-Type header.
BodyParser.BufferingBodyParser<A> - Class in play.mvc
A body parser that first buffers
BodyParser.Bytes - Class in play.mvc
Parse the body as a byte string.
BodyParser.CompletableBodyParser<A> - Class in play.mvc
A body parser that completes the underlying one.
BodyParser.Default - Class in play.mvc
If the request has a body, guess the body content by checking the Content-Type header.
BodyParser.DelegatingBodyParser<A,B> - Class in play.mvc
A body parser that delegates to a Scala body parser, and uses the supplied function to transform its result to a Java body.
BodyParser.DelegatingMultipartFormDataBodyParser<A> - Class in play.mvc
A body parser that exposes a file part handler as an abstract method and delegates the implementation to the underlying Scala multipartParser.
BodyParser.Empty - Class in play.mvc
Don't parse the body.
BodyParser.FormUrlEncoded - Class in play.mvc
Parse the body as form url encoded if the Content-Type is application/x-www-form-urlencoded.
BodyParser.Json - Class in play.mvc
Parse the body as Json if the Content-Type is text/json or application/json.
BodyParser.MaxLengthBodyParser<A> - Class in play.mvc
Abstract body parser that enforces a maximum length.
BodyParser.MultipartFormData - Class in play.mvc
Parse the body as multipart form-data without checking the Content-Type.
BodyParser.Of - Annotation Type in play.mvc
Specify the body parser to use for an Action method.
BodyParser.Raw - Class in play.mvc
Store the body content in a RawBuffer.
BodyParser.Text - Class in play.mvc
Parse the body as text if the Content-Type is text/plain.
BodyParser.TolerantJson - Class in play.mvc
Parse the body as Json without checking the Content-Type.
BodyParser.TolerantText - Class in play.mvc
Parse the body as text without checking the Content-Type.
BodyParser.TolerantXml - Class in play.mvc
Parse the body as Xml without checking the Content-Type.
BodyParser.Xml - Class in play.mvc
Parse the body as Xml if the Content-Type is application/xml.
BodyParserComponents - Interface in play.components
Java BodyParser components.
BodyParsers - Class in play.mvc
Utilities for creating body parsers.
BodyParsers() - Constructor for class play.mvc.BodyParsers
 
bodyRaw(ByteString) - Method in class play.mvc.Http.RequestBuilder
Set a Binary Data to this request using a singleton temp file creator The Content-Type header of the request is set to application/octet-stream.
bodyRaw(ByteString, Files.TemporaryFileCreator) - Method in class play.mvc.Http.RequestBuilder
Set a Binary Data to this request.
bodyRaw(byte[]) - Method in class play.mvc.Http.RequestBuilder
Set a Binary Data to this request using a singleton temporary file creator.
bodyRaw(byte[], Files.TemporaryFileCreator) - Method in class play.mvc.Http.RequestBuilder
Set a Binary Data to this request.
bodyText(String) - Method in class play.mvc.Http.RequestBuilder
Set a Text to this request.
bodyXml(InputSource) - Method in class play.mvc.Http.RequestBuilder
Set a XML to this request.
bodyXml(Document) - Method in class play.mvc.Http.RequestBuilder
Set a XML to this request.
BoneCPComponents - Interface in play.db
BoneCP Java components (for compile-time injection).
boundaryToContentType(String) - Static method in class play.mvc.MultipartFormatter
 
browser - Variable in class play.test.WithBrowser
 
BufferingBodyParser(long, HttpErrorHandler, String) - Constructor for class play.mvc.BodyParser.BufferingBodyParser
 
BufferingBodyParser(HttpConfiguration, HttpErrorHandler, String) - Constructor for class play.mvc.BodyParser.BufferingBodyParser
 
build() - Method in class play.inject.guice.GuiceApplicationBuilder
Create a new Play Application using this configured builder.
build() - Method in class play.inject.guice.GuiceInjectorBuilder
Create a Play Injector backed by Guice using this configured builder.
build() - Method in class play.mvc.Http.CookieBuilder
 
build() - Method in class play.mvc.Http.RequestBuilder
Builds the request.
build() - Method in class play.routing.RoutingDsl
Build the router.
build(Router) - Method in class play.server.Server.Builder
Build the server and begin serving the provided routes as configured.
build(Function<BuiltInComponents, Router>) - Method in class play.server.Server.Builder
Build the server and begin serving the provided routes as configured.
builder(ApplicationLoader.Context) - Method in class play.inject.guice.GuiceApplicationLoader
Construct a builder to use for loading the given context.
builder(String, String) - Static method in class play.mvc.Http.Cookie
 
Builder() - Constructor for class play.server.Server.Builder
 
buildExpression(String) - Method in class play.libs.Time.CronExpression
 
BuiltInComponents - Interface in play
Helper to provide the Play built in components.
BuiltInComponentsFromContext - Class in play
Helper that provides all the built in Java components dependencies from the application loader context.
BuiltInComponentsFromContext(ApplicationLoader.Context) - Constructor for class play.BuiltInComponentsFromContext
 
BuiltInModule - Class in play.inject
 
BuiltInModule() - Constructor for class play.inject.BuiltInModule
 
bypassWith(Function<In, F.Either<FlowIn, Out>>, Flow<FlowIn, Out, ?>) - Static method in class play.libs.streams.AkkaStreams
Bypass the given flow using the given splitter function.
bypassWith(Flow<In, F.Either<FlowIn, Out>, ?>, Graph<UniformFanInShape<Out, Out>, ?>, Flow<FlowIn, Out, ?>) - Static method in class play.libs.streams.AkkaStreams
Using the given splitter flow, allow messages to bypass a flow.
Bytes(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Bytes
 
Bytes(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Bytes
 
bytesBodyParser() - Method in interface play.components.BodyParserComponents
 

C

CACHE_CONTROL - Static variable in interface play.mvc.Http.HeaderNames
 
CacheApi - Interface in play.cache
Deprecated.
Deprecated as of 2.6.0. Use SyncCacheApi or AsyncCacheApi.
Cached - Annotation Type in play.cache
Mark an action to be cached on server side.
CachedAction - Class in play.cache
Cache another action.
CachedAction(AsyncCacheApi) - Constructor for class play.cache.CachedAction
 
call(Http.Context) - Method in class play.cache.CachedAction
 
call(Connection) - Method in interface play.db.ConnectionCallable
 
call(Http.Context) - Method in class play.db.ebean.TransactionalAction
 
call(Http.Context) - Method in class play.db.jpa.TransactionalAction
 
call(Http.Context) - Method in class play.filters.csrf.AddCSRFTokenAction
 
call(Http.Context) - Method in class play.filters.csrf.RequireCSRFCheckAction
 
call(Http.Context) - Method in class play.mvc.Action
Executes this action with the given HTTP context and returns the result.
Call - Class in play.mvc
Defines a 'call', describing an HTTP request.
Call() - Constructor for class play.mvc.Call
 
call(Http.Context) - Method in class play.mvc.Security.AuthenticatedAction
 
canonical(String) - Static method in class play.core.Paths
Create a canonical path that does not contain parent directories, current directories, or superfluous directory separators.
canonical() - Method in class play.mvc.Call
Transform this path into its canonical form.
changeLang(String) - Static method in class play.mvc.Controller
Change durably the lang for the current user
changeLang(Lang) - Static method in class play.mvc.Controller
Change durably the lang for the current user
changeLang(String) - Method in class play.mvc.Http.Context
Change durably the lang for the current user.
changeLang(Lang) - Method in class play.mvc.Http.Context
Change durably the lang for the current user.
changeLang(String) - Method in class play.mvc.Http.WrappedContext
 
changeLang(Lang) - Method in class play.mvc.Http.WrappedContext
 
charset() - Method in interface play.mvc.Http.RequestHeader
Get the charset of the request.
charset() - Method in class play.mvc.Result
Extracts the Charset of this Result value.
checkNext(int, String, int, int) - Method in class play.libs.Time.CronExpression
 
chunked(Source<ByteString, ?>, Optional<String>) - Static method in class play.http.HttpEntity
Convert the given source of ByteStrings to a chunked entity.
Chunked(Source<HttpChunk, ?>, Optional<String>) - Constructor for class play.http.HttpEntity.Chunked
 
chunked(Source<ByteString, ?>) - Method in class play.mvc.StatusHeader
Send a chunked response with the given chunks.
chunks() - Method in class play.http.HttpEntity.Chunked
 
classloader() - Method in interface play.Application
Get the application classloader.
classLoader() - Method in class play.Environment
The classloader that all application classes and resources can be loaded from.
classLoader() - Method in class play.routing.HandlerDef
 
Classpath - Class in play.libs
Deprecated.
Deprecated as of 2.6.0
Classpath() - Constructor for class play.libs.Classpath
Deprecated.
 
classTag() - Static method in class play.libs.Scala
 
cleanupEvolutions(Database, boolean, String) - Static method in class play.db.evolutions.Evolutions
Cleanup evolutions for the given database.
cleanupEvolutions(Database, boolean) - Static method in class play.db.evolutions.Evolutions
Cleanup evolutions for the given database.
cleanupEvolutions(Database, String) - Static method in class play.db.evolutions.Evolutions
Cleanup evolutions for the given database.
cleanupEvolutions(Database) - Static method in class play.db.evolutions.Evolutions
Cleanup evolutions for the given database.
clear() - Method in class play.mvc.Http.Flash
Clears the flash scope.
clear() - Method in class play.mvc.Http.Session
Clears the session.
clearLang() - Static method in class play.mvc.Controller
Clear the lang for the current user.
clearLang() - Method in class play.mvc.Http.Context
Clear the lang for the current user.
clearLang() - Method in class play.mvc.Http.WrappedContext
 
clearTransientLang() - Method in class play.mvc.Http.Context
Clear the language for the current request, but don't change the language cookie.
clientCertificateChain() - Method in class play.mvc.Http.RequestBuilder
 
clientCertificateChain(List<X509Certificate>) - Method in class play.mvc.Http.RequestBuilder
 
clientCertificateChain() - Method in interface play.mvc.Http.RequestHeader
The X509 certificate chain presented by a client during SSL requests.
clock() - Method in interface play.components.CryptoComponents
 
clone() - Method in class play.libs.Time.CronExpression
 
close(DataSource) - Method in interface play.db.ConnectionPool
Close the given data source.
close(DataSource) - Method in class play.db.DefaultConnectionPool
 
Close(int) - Constructor for class play.http.websocket.Message.Close
 
Close(int, String) - Constructor for class play.http.websocket.Message.Close
 
Close(Optional<Integer>, String) - Constructor for class play.http.websocket.Message.Close
 
close() - Method in class play.libs.ws.ahc.AhcWSClient
 
close() - Method in interface play.libs.ws.WSClient
Closes this client, and releases underlying resources.
code() - Method in class play.http.websocket.Message.Close
 
code() - Method in class play.i18n.Lang
The language tag (such as fr or en-US).
Comet - Class in play.libs
Provides an easy way to use a Comet formatted output with Akka Streams.
Comet() - Constructor for class play.libs.Comet
 
comments() - Method in class play.routing.HandlerDef
 
compareSignedTokens(String, String) - Method in interface play.libs.crypto.CSRFTokenSigner
Compare two signed tokens.
compareSignedTokens(String, String) - Method in class play.libs.crypto.DefaultCSRFTokenSigner
 
CompletableBodyParser(CompletionStage<BodyParser<A>>, Materializer) - Constructor for class play.mvc.BodyParser.CompletableBodyParser
 
config() - Method in interface play.Application
Get the application configuration.
config() - Method in class play.BuiltInComponentsFromContext
 
config() - Method in interface play.components.ConfigurationComponents
 
config() - Method in class play.DefaultApplication
Get the application configuration.
configuration() - Method in interface play.Application
Deprecated.
configuration() - Method in interface play.components.ConfigurationComponents
 
Configuration - Class in play
Deprecated.
As of release 2.6.0. Use Config instead.
Configuration(Config) - Constructor for class play.Configuration
Deprecated.
Creates a new configuration from a Typesafe Config object.
Configuration(Map<String, Object>) - Constructor for class play.Configuration
Deprecated.
Creates a new configuration from a map.
Configuration(String) - Constructor for class play.Configuration
Deprecated.
Creates a new configuration by parsing a string in HOCON format.
Configuration(Configuration) - Constructor for class play.Configuration
Deprecated.
Creates a new configuration from a Scala-based configuration.
configuration - Variable in class play.mvc.Action
The action configuration - typically the annotation used to decorate the action method.
ConfigurationComponents - Interface in play.components
Provides configuration components.
ConfigurationProvider - Class in play.inject
 
ConfigurationProvider(Configuration) - Constructor for class play.inject.ConfigurationProvider
 
configure(Configuration) - Method in class play.inject.guice.GuiceBuilder
Deprecated.
configure(Config) - Method in class play.inject.guice.GuiceBuilder
Add additional configuration.
configure(Map<String, Object>) - Method in class play.inject.guice.GuiceBuilder
Add additional configuration.
configure(String, Object) - Method in class play.inject.guice.GuiceBuilder
Add additional configuration.
configure(Environment) - Method in interface play.LoggerConfigurator
This is a convenience method that adds no extra properties.
configure(Environment) - Method in interface play.LoggerConfigurator
 
configure(Environment, Config) - Method in interface play.LoggerConfigurator
Configures the logger with the environment and the application configuration.
configure(Environment, Config, Map<String, String>) - Method in interface play.LoggerConfigurator
Configures the logger with the environment, the application configuration and additional properties.
configure(Environment, Configuration, Map<String, String>) - Method in interface play.LoggerConfigurator
 
configure(Map<String, String>, Optional<URL>) - Method in interface play.LoggerConfigurator
Configures the logger with a list of properties and an optional URL.
configure(Map<String, String>, Option<URL>) - Method in interface play.LoggerConfigurator
 
CONFLICT - Static variable in interface play.mvc.Http.Status
 
CONNECTION - Static variable in interface play.mvc.Http.HeaderNames
 
ConnectionCallable<A> - Interface in play.db
Similar to java.util.concurrent.Callable with a Connection as argument.
connectionPool() - Method in interface play.db.BoneCPComponents
 
ConnectionPool - Interface in play.db
Connection pool API for managing data sources.
connectionPool() - Method in interface play.db.ConnectionPoolComponents
 
connectionPool() - Method in interface play.db.HikariCPComponents
 
ConnectionPoolComponents - Interface in play.db
A base for Java connection pool components.
ConnectionRunnable - Interface in play.db
Similar to java.lang.Runnable with a Connection as argument.
Constants() - Constructor for class play.libs.XML.Constants
 
constantTimeEquals(String, String) - Method in interface play.libs.crypto.CSRFTokenSigner
Deprecated.
since 2.6.0. Use java.security.MessageDigest.isEqual over this method.
constantTimeEquals(String, String) - Method in class play.libs.crypto.DefaultCSRFTokenSigner
Deprecated.
constraints() - Method in class play.data.Form.Field
Returns all the constraints associated with this field.
Constraints - Class in play.data.validation
Defines a set of built-in validation constraints.
Constraints() - Constructor for class play.data.validation.Constraints
 
Constraints.Email - Annotation Type in play.data.validation
Defines a email constraint for a string field.
Constraints.EmailValidator - Class in play.data.validation
Validator for @Email fields.
Constraints.Max - Annotation Type in play.data.validation
Defines a maximum value for a numeric field.
Constraints.MaxLength - Annotation Type in play.data.validation
Defines a maximum length for a string field.
Constraints.MaxLengthValidator - Class in play.data.validation
Validator for @MaxLength fields.
Constraints.MaxValidator - Class in play.data.validation
Validator for @Max fields.
Constraints.Min - Annotation Type in play.data.validation
Defines a minimum value for a numeric field.
Constraints.MinLength - Annotation Type in play.data.validation
Defines a minimum length for a string field.
Constraints.MinLengthValidator - Class in play.data.validation
Validator for @MinLength fields.
Constraints.MinValidator - Class in play.data.validation
Validator for @Min fields.
Constraints.Pattern - Annotation Type in play.data.validation
Defines a pattern constraint for a string field.
Constraints.PatternValidator - Class in play.data.validation
Validator for @Pattern fields.
Constraints.PlayConstraintValidator<A extends java.lang.annotation.Annotation,T> - Interface in play.data.validation
 
Constraints.Required - Annotation Type in play.data.validation
Defines a field as required.
Constraints.RequiredValidator - Class in play.data.validation
Validator for @Required fields.
Constraints.Validatable<T> - Interface in play.data.validation
 
Constraints.Validate - Annotation Type in play.data.validation
 
Constraints.ValidateValidator - Class in play.data.validation
 
Constraints.ValidateWith - Annotation Type in play.data.validation
Defines a custom validator.
Constraints.ValidateWithValidator - Class in play.data.validation
Validator for @ValidateWith fields.
Constraints.Validator<T> - Class in play.data.validation
Super-type for validators.
constraintValidatorFactory() - Method in interface play.data.validation.ValidatorsComponents
 
consumeData(Materializer) - Method in class play.http.HttpEntity
Consumes the data.
contains(String) - Method in class play.mvc.Http.Headers
Checks if the given header is present.
containsKey(TypedKey<?>) - Method in class play.libs.typedmap.TypedMap
Check if the map contains a value with the given key.
CONTENT_DISPOSITION - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_ENCODING - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_LANGUAGE - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_LENGTH - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_LOCATION - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_MD5 - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_RANGE - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_TRANSFER_ENCODING - Static variable in interface play.mvc.Http.HeaderNames
 
CONTENT_TYPE - Static variable in interface play.mvc.Http.HeaderNames
 
contentAsBytes(Result) - Static method in class play.test.Helpers
Extracts the content as a ByteString.
contentAsBytes(Result, Materializer) - Static method in class play.test.Helpers
Extracts the content as a ByteString.
contentAsBytes(Result, Materializer, long) - Static method in class play.test.Helpers
Extracts the content as a ByteString.
contentAsBytes(Content) - Static method in class play.test.Helpers
Extracts the content as bytes.
contentAsString(Content) - Static method in class play.test.Helpers
Extracts the content as a String.
contentAsString(Result) - Static method in class play.test.Helpers
Extracts the content as a String.
contentAsString(Result, Materializer) - Static method in class play.test.Helpers
Extracts the content as a String.
contentAsString(Result, Materializer, long) - Static method in class play.test.Helpers
Extracts the content as a String.
contentLength() - Method in class play.http.HttpEntity.Chunked
 
contentLength() - Method in class play.http.HttpEntity
 
contentLength() - Method in class play.http.HttpEntity.Streamed
 
contentLength() - Method in class play.http.HttpEntity.Strict
 
contentType() - Method in class play.http.HttpEntity.Chunked
 
contentType() - Method in class play.http.HttpEntity
 
contentType() - Method in class play.http.HttpEntity.Streamed
 
contentType() - Method in class play.http.HttpEntity.Strict
 
contentType() - Method in class play.libs.Jsonp
 
contentType() - Method in interface play.mvc.Http.RequestHeader
Get the content type of the request.
contentType() - Method in class play.mvc.Result
Extracts the Content-Type of this Result value.
Context(ApplicationLoader.Context) - Constructor for class play.ApplicationLoader.Context
The context for loading an application.
Context(Environment) - Constructor for class play.ApplicationLoader.Context
The context for loading an application.
Context(Environment, Map<String, Object>) - Constructor for class play.ApplicationLoader.Context
The context for loading an application.
context() - Method in interface play.libs.akka.InjectedActorSupport
Context method expected to be implemented by AbstractActor.
Context(Http.RequestBuilder, JavaContextComponents) - Constructor for class play.mvc.Http.Context
Creates a new HTTP context.
Context(Http.Request, JavaContextComponents) - Constructor for class play.mvc.Http.Context
Creates a new HTTP context.
Context(Long, RequestHeader, Http.Request, Map<String, String>, Map<String, String>, Map<String, Object>, JavaContextComponents) - Constructor for class play.mvc.Http.Context
Creates a new HTTP context.
Context(Long, RequestHeader, Http.Request, Http.Response, Http.Session, Http.Flash, Map<String, Object>, JavaContextComponents) - Constructor for class play.mvc.Http.Context
Creates a new HTTP context, using the references provided.
contextComponents() - Method in class play.core.j.MappedJavaHandlerComponents
 
contextComponents() - Static method in class play.test.Helpers
Creates a new JavaContextComponents using Configuration.reference and Enviroment.simple as defaults
CONTINUE - Static variable in interface play.mvc.Http.Status
 
Controller - Class in play.mvc
Superclass for a Java-based controller.
Controller() - Constructor for class play.mvc.Controller
 
controller() - Method in class play.routing.HandlerDef
 
conversion - Variable in class play.data.format.Formatters
The underlying conversion service.
Cookie(String, String, Integer, String, String, boolean, boolean, Http.Cookie.SameSite) - Constructor for class play.mvc.Http.Cookie
Construct a new cookie.
Cookie(String, String, Integer, String, String, boolean, boolean) - Constructor for class play.mvc.Http.Cookie
COOKIE - Static variable in interface play.mvc.Http.HeaderNames
 
cookie(Http.Cookie) - Method in class play.mvc.Http.RequestBuilder
Sets one cookie.
cookie(String) - Method in interface play.mvc.Http.RequestHeader
 
cookie(String) - Method in class play.mvc.Http.Response
 
cookie(String) - Method in class play.mvc.Result
Extracts a Cookie value from this Result value
cookies() - Method in class play.mvc.Http.RequestBuilder
 
cookies() - Method in interface play.mvc.Http.RequestHeader
 
cookies() - Method in class play.mvc.Http.Response
 
cookies() - Method in class play.mvc.Result
Extracts the Cookies (an iterator) from this result value.
cookieSigner() - Method in class play.BuiltInComponentsFromContext
 
cookieSigner() - Method in interface play.components.CryptoComponents
 
CookieSigner - Interface in play.libs.crypto
Authenticates a cookie by returning a message authentication code (MAC).
CORSComponents - Interface in play.filters.components
Java Components for the CORS Filter.
corsConfig() - Method in interface play.filters.components.CORSComponents
 
corsFilter() - Method in interface play.filters.components.CORSComponents
 
corsPathPrefixes() - Method in interface play.filters.components.CORSComponents
 
country() - Method in class play.i18n.Lang
A valid ISO Country Code.
create(Environment, Map<String, Object>) - Static method in class play.ApplicationLoader.Context
Deprecated.
create(Environment) - Static method in class play.ApplicationLoader.Context
Deprecated.
create(Environment, Map<String, Object>) - Static method in interface play.ApplicationLoader
Create an application loading context.
create(Environment) - Static method in interface play.ApplicationLoader
Create an application loading context.
create(String, Config, Environment) - Method in interface play.db.ConnectionPool
Create a data source with the given configuration.
create(String, Config, Environment) - Method in class play.db.DefaultConnectionPool
 
create() - Method in class play.db.ebean.EbeanDynamicEvolutions
Generate evolutions.
create(String, String) - Method in class play.libs.Files.DelegateTemporaryFileCreator
 
create(Path) - Method in class play.libs.Files.DelegateTemporaryFileCreator
 
create(String, String) - Method in class play.libs.Files.SingletonTemporaryFileCreator
 
create(Path) - Method in class play.libs.Files.SingletonTemporaryFileCreator
 
create(String, String) - Method in interface play.libs.Files.TemporaryFileCreator
 
create(Path) - Method in interface play.libs.Files.TemporaryFileCreator
 
create() - Static method in class play.libs.typedmap.TypedKey
Creates a TypedKey without a name.
create(String) - Static method in class play.libs.typedmap.TypedKey
Creates a TypedKey with the given name.
create(TypedEntry<?>...) - Static method in class play.libs.typedmap.TypedMap
 
create(AhcWSClientConfig, AhcHttpCache, Materializer) - Static method in class play.libs.ws.ahc.AhcWSClient
Creates WS client manually from configuration, internally creating a new instance of AsyncHttpClient and managing its own thread pool.
create(String, String, String, JavaScriptReverseRoute...) - Static method in class play.routing.JavaScriptReverseRouter
Generates a JavaScript reverse router.
create(String, String, JavaScriptReverseRoute...) - Static method in class play.routing.JavaScriptReverseRouter
Generates a JavaScript reverse router.
create(String, JavaScriptReverseRoute...) - Static method in class play.routing.JavaScriptReverseRouter
Generates a JavaScript reverse router.
createAction(Http.Request, Method) - Method in interface play.http.ActionCreator
Call to create the root Action for a Java controller method call.
createAction(Http.Request, Method) - Method in class play.http.DefaultActionCreator
 
createBrowser() - Method in class play.test.WithBrowser
 
CREATED - Static variable in interface play.mvc.Http.Status
 
created() - Static method in class play.mvc.Results
Generates a 201 Created result.
created(Content) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(Content, String) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(String) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(String, String) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(JsonNode) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use created(JsonNode, JsonEncoding)
created(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(byte[]) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(InputStream) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(InputStream, long) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(File) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(File, boolean) - Static method in class play.mvc.Results
Generates a 201 Created result.
created(File, String) - Static method in class play.mvc.Results
Generates a 201 Created result.
createFilePartHandler() - Method in class play.mvc.BodyParser.DelegatingMultipartFormDataBodyParser
Returns a FilePartHandler expressed as a Java function.
createFor(String, String) - Static method in class play.db.jpa.JPA
Deprecated.
Create a default JPAApi with the given persistence unit configuration.
createFor(String) - Static method in class play.db.jpa.JPA
Deprecated.
Create a default JPAApi with name "default" and the given unit name.
createFrom(String, String, String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create a pooled database with the given configuration.
createFrom(String, String, String) - Static method in class play.db.Databases
Create a pooled database with the given configuration.
createFrom(String, String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create a pooled database named "default" with the given configuration.
createFrom(String, String) - Static method in class play.db.Databases
Create a pooled database named "default" with the given driver and url.
createSSLEngine() - Method in interface play.server.SSLEngineProvider
 
CronExpression(String) - Constructor for class play.libs.Time.CronExpression
Constructs a new CronExpression based on the specified parameter.
cronInterval(String) - Static method in class play.libs.Time
Computes the number of milliseconds between the next valid date and the one after.
cronInterval(String, Date) - Static method in class play.libs.Time
Compute the number of milliseconds between the next valid date and the one after.
CryptoComponents - Interface in play.components
 
csrfAddToken() - Method in interface play.filters.components.CSRFComponents
 
csrfCheck() - Method in interface play.filters.components.CSRFComponents
 
CSRFComponents - Interface in play.filters.components
The Java CSRF components.
csrfConfig() - Method in interface play.filters.components.CSRFComponents
 
csrfErrorHandler() - Method in interface play.filters.components.CSRFComponents
 
CSRFErrorHandler - Interface in play.filters.csrf
This interface handles the CSRF error.
CSRFErrorHandler.DefaultCSRFErrorHandler - Class in play.filters.csrf
 
csrfFilter() - Method in interface play.filters.components.CSRFComponents
 
csrfTokenProvider() - Method in interface play.filters.components.CSRFComponents
 
csrfTokenSigner() - Method in class play.BuiltInComponentsFromContext
 
csrfTokenSigner() - Method in interface play.components.CryptoComponents
 
CSRFTokenSigner - Interface in play.libs.crypto
Cryptographic utilities for generating and validating CSRF tokens.
CSS - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of css.
ctx() - Static method in class play.mvc.Controller
Returns the current HTTP context.
ctx() - Static method in class play.mvc.Http.Context.Implicit
Returns the current context.
current() - Method in class play.libs.concurrent.HttpExecutionContext
Get the current executor associated with the current HTTP context.
current - Static variable in class play.mvc.Http.Context
 
current() - Static method in class play.mvc.Http.Context
Retrieves the current HTTP context, for the current thread.
CurrentLang - Static variable in class play.i18n.Messages.Attrs
 
CustomExecutionContext - Class in play.libs.concurrent
Provides a custom execution context from an Akka dispatcher.
CustomExecutionContext(ActorSystem, String) - Constructor for class play.libs.concurrent.CustomExecutionContext
 

D

data() - Method in class play.data.DynamicForm
Deprecated.
data() - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.rawData() instead which returns an unmodifiable map.
data() - Method in class play.http.HttpEntity.Streamed
 
data() - Method in class play.http.HttpEntity.Strict
 
data() - Method in class play.http.websocket.Message.Binary
 
data() - Method in class play.http.websocket.Message.Ping
 
data() - Method in class play.http.websocket.Message.Pong
 
data() - Method in class play.http.websocket.Message.Text
 
Database - Interface in play.db
Database API for managing data sources and connections.
database(String) - Method in interface play.db.DBComponents
 
Databases - Class in play.db
Creation helpers for manually instantiating databases.
databases() - Method in interface play.db.DBComponents
 
DataPart(String, String) - Constructor for class play.mvc.Http.MultipartFormData.DataPart
 
dataStream() - Method in class play.http.HttpEntity.Chunked
 
dataStream() - Method in class play.http.HttpEntity
 
dataStream() - Method in class play.http.HttpEntity.Streamed
 
dataStream() - Method in class play.http.HttpEntity.Strict
 
DATE - Static variable in interface play.mvc.Http.HeaderNames
 
DateFormatter(MessagesApi) - Constructor for class play.data.format.Formats.DateFormatter
Creates a date formatter.
DateFormatter(MessagesApi, String) - Constructor for class play.data.format.Formats.DateFormatter
Creates a date formatter.
DateFormatter(MessagesApi, String, String) - Constructor for class play.data.format.Formats.DateFormatter
Creates a date formatter.
DAY_OF_MONTH - Static variable in class play.libs.Time.CronExpression
 
DAY_OF_WEEK - Static variable in class play.libs.Time.CronExpression
 
dayMap - Static variable in class play.libs.Time.CronExpression
 
daysOfMonth - Variable in class play.libs.Time.CronExpression
 
daysOfWeek - Variable in class play.libs.Time.CronExpression
 
DBApi - Interface in play.db
DB API for managing application databases.
dbApi() - Method in interface play.db.DBComponents
 
DBComponents - Interface in play.db
Java DB components.
DBModule - Class in play.db
Injection module with default DB components.
DBModule() - Constructor for class play.db.DBModule
 
DBModule.NamedDatabaseProvider - Class in play.db
Inject provider for named databases.
debug(String) - Method in class play.Logger.ALogger
Logs a message with the DEBUG level.
debug(Supplier<String>) - Method in class play.Logger.ALogger
Log a message with the DEBUG level.
debug(Marker, String) - Method in class play.Logger.ALogger
Logs a message with the DEBUG level.
debug(String, Object...) - Method in class play.Logger.ALogger
Logs a message with the DEBUG level.
debug(String, Supplier<?>...) - Method in class play.Logger.ALogger
Log a message with the DEBUG level.
debug(Marker, String, Object...) - Method in class play.Logger.ALogger
Logs a message with the DEBUG level.
debug(String, Throwable) - Method in class play.Logger.ALogger
Logs a message with the DEBUG level, with the given error.
debug(Marker, String, Throwable) - Method in class play.Logger.ALogger
Logs a message with the DEBUG level, with the given error.
debug(String) - Static method in class play.Logger
Log a message with the DEBUG level.
debug(Supplier<String>) - Static method in class play.Logger
Log a message with the DEBUG level.
debug(String, Object...) - Static method in class play.Logger
Log a message with the DEBUG level.
debug(String, Supplier<?>...) - Static method in class play.Logger
Log a message with the DEBUG level.
debug(String, Throwable) - Static method in class play.Logger
Log a message with the DEBUG level.
Default(HttpErrorHandler, HttpConfiguration, PlayBodyParsers) - Constructor for class play.mvc.BodyParser.Default
 
DEFAULT_INSTANCE - Static variable in class play.inject.SourceProvider
 
DEFAULT_TIMEOUT - Static variable in class play.test.Helpers
Default Timeout (milliseconds) for fake requests issued by these Helpers.
DefaultActionCreator - Class in play.http
A default implementation of the action creator.
DefaultActionCreator() - Constructor for class play.http.DefaultActionCreator
 
DefaultApplication - Class in play
Default implementation of a Play Application.
DefaultApplication(Application, Config, Injector) - Constructor for class play.DefaultApplication
Create an application that wraps a Scala application.
DefaultApplication(Application, Configuration, Injector) - Constructor for class play.DefaultApplication
Deprecated.
Use the constructor that accepts Config
DefaultApplication(Application, Injector) - Constructor for class play.DefaultApplication
Create an application that wraps a Scala application.
DefaultAsyncCacheApi - Class in play.cache
Adapts a Scala AsyncCacheApi to a Java AsyncCacheApi.
DefaultAsyncCacheApi(AsyncCacheApi) - Constructor for class play.cache.DefaultAsyncCacheApi
 
defaultBodyParser() - Method in interface play.components.BodyParserComponents
 
DefaultConnectionPool - Class in play.db
Default delegating implementation of the connection pool API.
DefaultConnectionPool(ConnectionPool) - Constructor for class play.db.DefaultConnectionPool
 
DefaultConstraintValidatorFactory - Class in play.data.validation
Creates validator instances with injections available.
DefaultConstraintValidatorFactory(Injector) - Constructor for class play.data.validation.DefaultConstraintValidatorFactory
 
defaultContext() - Static method in class play.libs.concurrent.HttpExecution
Deprecated.
Since 2.6.0, use HttpExecutionContext.current() from an action, or use HttpExecution.fromThread(ExecutionContext) with a dependency injected ExecutionContext or ActorSystem directly.
DefaultCookieSigner - Class in play.libs.crypto
This class delegates to the Scala CookieSigner.
DefaultCookieSigner(CookieSigner) - Constructor for class play.libs.crypto.DefaultCookieSigner
 
DefaultCSRFErrorHandler(CSRF.CSRFHttpErrorHandler) - Constructor for class play.filters.csrf.CSRFErrorHandler.DefaultCSRFErrorHandler
 
DefaultCSRFTokenSigner - Class in play.libs.crypto
Cryptographic utilities for generating and validating CSRF tokens.
DefaultCSRFTokenSigner(CSRFTokenSigner) - Constructor for class play.libs.crypto.DefaultCSRFTokenSigner
 
DefaultDatabase - Class in play.db
Default delegating implementation of the database API.
DefaultDatabase(Database) - Constructor for class play.db.DefaultDatabase
 
DefaultDatabase(String, Config) - Constructor for class play.db.DefaultDatabase
Create a default BoneCP-backed database.
DefaultDatabase(String, Map<String, ? extends Object>) - Constructor for class play.db.DefaultDatabase
Create a default BoneCP-backed database.
DefaultDBApi - Class in play.db
Default delegating implementation of the DB API.
DefaultDBApi(DBApi) - Constructor for class play.db.DefaultDBApi
 
DefaultEbeanConfig - Class in play.db.ebean
Ebean server configuration.
DefaultEbeanConfig(String, Map<String, ServerConfig>) - Constructor for class play.db.ebean.DefaultEbeanConfig
 
DefaultEbeanConfig.EbeanConfigParser - Class in play.db.ebean
 
DefaultFutures - Class in play.libs.concurrent
The default implementation of the Futures trait.
DefaultFutures(Futures) - Constructor for class play.libs.concurrent.DefaultFutures
 
DefaultHttpErrorHandler - Class in play.http
Default implementation of the http error handler.
DefaultHttpErrorHandler(Config, Environment, OptionalSourceMapper, Provider<Router>) - Constructor for class play.http.DefaultHttpErrorHandler
 
DefaultHttpErrorHandler(Configuration, Environment, OptionalSourceMapper, Provider<Router>) - Constructor for class play.http.DefaultHttpErrorHandler
Deprecated.
DefaultHttpFilters - Class in play.http
Helper class which has a varargs constructor taking the filters.
DefaultHttpFilters(EssentialFilter...) - Constructor for class play.http.DefaultHttpFilters
 
DefaultHttpFilters(List<? extends EssentialFilter>) - Constructor for class play.http.DefaultHttpFilters
 
DefaultHttpRequestHandler - Class in play.http
 
DefaultHttpRequestHandler(JavaCompatibleHttpRequestHandler) - Constructor for class play.http.DefaultHttpRequestHandler
 
DefaultJPAApi - Class in play.db.jpa
Default implementation of the JPA API.
DefaultJPAApi(JPAConfig, JPAEntityManagerContext) - Constructor for class play.db.jpa.DefaultJPAApi
 
DefaultJPAApi.JPAApiProvider - Class in play.db.jpa
 
DefaultJPAConfig - Class in play.db.jpa
Default JPA configuration.
DefaultJPAConfig(Set<JPAConfig.PersistenceUnit>) - Constructor for class play.db.jpa.DefaultJPAConfig
 
DefaultJPAConfig(JPAConfig.PersistenceUnit...) - Constructor for class play.db.jpa.DefaultJPAConfig
 
DefaultJPAConfig.JPAConfigProvider - Class in play.db.jpa
 
defaultMessage - Static variable in class play.data.validation.Constraints.ValidateWithValidator
 
defaultScalaBodyParser() - Method in interface play.components.BodyParserComponents
 
defaultServer() - Method in class play.db.ebean.DefaultEbeanConfig
 
defaultServer() - Method in interface play.db.ebean.EbeanConfig
 
DefaultSyncCacheApi - Class in play.cache
An implementation of SyncCacheApi that wraps AsyncCacheApi Note: this class is really not the "default" implementation of the CacheApi in Play.
DefaultSyncCacheApi(AsyncCacheApi) - Constructor for class play.cache.DefaultSyncCacheApi
 
delay(Duration) - Method in class play.libs.concurrent.DefaultFutures
 
delay(long, TimeUnit) - Method in class play.libs.concurrent.DefaultFutures
 
delay(Duration) - Method in interface play.libs.concurrent.Futures
Creates a completion stage which is only completed after the delay.
delay(long, TimeUnit) - Method in interface play.libs.concurrent.Futures
Creates a completion stage which is only completed after the delay.
delayed(Callable<CompletionStage<A>>, long, TimeUnit) - Method in class play.libs.concurrent.DefaultFutures
Create a CompletionStage which, after a delay, will be redeemed with the result of a given supplier.
delayed(Callable<CompletionStage<A>>, Duration) - Method in class play.libs.concurrent.DefaultFutures
Create a CompletionStage which, after a delay, will be redeemed with the result of a given supplier.
delayed(Callable<CompletionStage<A>>, long, TimeUnit) - Method in interface play.libs.concurrent.Futures
Create a CompletionStage which, after a delay, will be redeemed with the result of a given callable.
delayed(Callable<CompletionStage<A>>, Duration) - Method in interface play.libs.concurrent.Futures
Create a CompletionStage which, after a delay, will be redeemed with the result of a given supplier.
delayed(Supplier<A>, long, TimeUnit, Executor) - Static method in interface play.libs.concurrent.Futures
Deprecated.
delegate - Variable in class play.inject.guice.GuiceBuilder
 
delegate - Variable in class play.mvc.Action
The wrapped action.
DelegateApplicationLifecycle - Class in play.inject
 
DelegateApplicationLifecycle(ApplicationLifecycle) - Constructor for class play.inject.DelegateApplicationLifecycle
 
DelegateInjector - Class in play.inject
 
DelegateInjector(Injector) - Constructor for class play.inject.DelegateInjector
 
DelegateTemporaryFileCreator(Files.TemporaryFileCreator) - Constructor for class play.libs.Files.DelegateTemporaryFileCreator
 
DelegatingBodyParser(BodyParser<B>, Function<B, A>) - Constructor for class play.mvc.BodyParser.DelegatingBodyParser
 
DelegatingMultipartFormDataBodyParser(Materializer, long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.DelegatingMultipartFormDataBodyParser
 
delete(Files.TemporaryFile) - Method in class play.libs.Files.DelegateTemporaryFileCreator
 
delete(Files.TemporaryFile) - Method in class play.libs.Files.SingletonTemporaryFileCreator
 
delete(Files.TemporaryFile) - Method in interface play.libs.Files.TemporaryFileCreator
 
delete() - Method in class play.libs.ws.ahc.AhcWSRequest
 
delete() - Method in interface play.libs.ws.WSRequest
Perform a DELETE on the request asynchronously.
DELETE - Static variable in interface play.mvc.Http.HttpVerbs
 
DELETE(String) - Method in class play.routing.RoutingDsl
Create a DELETE route for the given path pattern.
DELETE - Static variable in class play.test.Helpers
 
disable(Class<?>...) - Method in class play.inject.guice.GuiceBuilder
Disable modules by class.
DISALLOW_DOCTYPE_DECL_FEATURE - Static variable in class play.libs.XML.Constants
 
discardCookie(String) - Method in class play.mvc.Http.Response
Discard a cookie on the default path ("/") with no domain and that's not secure.
discardCookie(String, String) - Method in class play.mvc.Http.Response
Discard a cookie on the given path with no domain and not that's secure.
discardCookie(String, String, String) - Method in class play.mvc.Http.Response
Discard a cookie on the given path and domain that's not secure.
discardCookie(String, String, String, boolean) - Method in class play.mvc.Http.Response
Discard a cookie in this result
discardErrors() - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.discardingErrors() instead.
discardingErrors() - Method in class play.data.Form
 
displayableConstraint(Set<ConstraintDescriptor<?>>) - Static method in class play.data.validation.Constraints
Converts a set of constraints to human-readable values.
displayableConstraint(Set<ConstraintDescriptor<?>>, Annotation[]) - Static method in class play.data.validation.Constraints
Converts a set of constraints to human-readable values in guaranteed order.
displayableConstraint(ConstraintDescriptor<?>) - Static method in class play.data.validation.Constraints
Converts a constraint to a human-readable value.
documentation() - Method in interface play.routing.Router
 
domain() - Method in class play.mvc.Http.Cookie
 
done(A) - Static method in class play.libs.streams.Accumulator
Create a done accumulator with the given value.
done(CompletionStage<A>) - Static method in class play.libs.streams.Accumulator
Create a done accumulator with the given future.
Dynamic() - Constructor for class play.data.DynamicForm.Dynamic
 
Dynamic(Map<String, Object>) - Constructor for class play.data.DynamicForm.Dynamic
 
dynamicEvolutions() - Method in interface play.db.ebean.EBeanComponents
 
DynamicForm - Class in play.data
A dynamic form.
DynamicForm(MessagesApi, Formatters, Validator) - Constructor for class play.data.DynamicForm
Creates a new empty dynamic form.
DynamicForm(Map<String, String>, List<ValidationError>, Optional<DynamicForm.Dynamic>, MessagesApi, Formatters, Validator) - Constructor for class play.data.DynamicForm
Creates a new dynamic form.
DynamicForm(Map<String, String>, Map<String, List<ValidationError>>, Optional<DynamicForm.Dynamic>, MessagesApi, Formatters, Validator) - Constructor for class play.data.DynamicForm
Deprecated.
Deprecated as of 2.6.0. Replace the parameter Map<String,List<ValidationError>> with a simple List<ValidationError>.
DynamicForm.Dynamic - Class in play.data
Simple data structure used by DynamicForm.

E

EBeanComponents - Interface in play.db.ebean
Classes for Java compile time dependency injection.
ebeanConfig() - Method in interface play.db.ebean.EBeanComponents
 
EbeanConfig - Interface in play.db.ebean
 
EbeanConfigParser(Config, Environment, DBApi) - Constructor for class play.db.ebean.DefaultEbeanConfig.EbeanConfigParser
 
EbeanDynamicEvolutions - Class in play.db.ebean
A Play module that automatically manages Ebean configuration.
EbeanDynamicEvolutions(EbeanConfig, Environment, ApplicationLifecycle) - Constructor for class play.db.ebean.EbeanDynamicEvolutions
 
EbeanModule - Class in play.db.ebean
Injection module with default Ebean components.
EbeanModule() - Constructor for class play.db.ebean.EbeanModule
 
EbeanParsedConfig - Class in play.db.ebean
The raw parsed config from Ebean, as opposed to the EbeanConfig which actually requires starting database connection pools to create.
EbeanParsedConfig(String, Map<String, List<String>>) - Constructor for class play.db.ebean.EbeanParsedConfig
 
em(String) - Method in class play.db.jpa.DefaultJPAApi
Get the EntityManager for the specified persistence unit name.
em() - Method in class play.db.jpa.DefaultJPAApi
Get the EntityManager for a particular persistence unit for this thread.
em() - Static method in class play.db.jpa.JPA
Deprecated.
Get the default EntityManager for this thread.
em(String) - Method in interface play.db.jpa.JPAApi
Get the EntityManager for the specified persistence unit name.
em() - Method in interface play.db.jpa.JPAApi
Get the EntityManager for a particular persistence unit for this thread.
em() - Method in class play.db.jpa.JPAEntityManagerContext
Get the default EntityManager for this thread.
email() - Static method in class play.data.validation.Constraints
Constructs a 'email' validator.
EmailValidator() - Constructor for class play.data.validation.Constraints.EmailValidator
 
empty() - Static method in class play.Configuration
Deprecated.
A new empty configuration.
empty() - Static method in class play.libs.typedmap.TypedMap
 
Empty() - Constructor for class play.mvc.BodyParser.Empty
 
empty() - Static method in interface play.routing.Router
 
emptyBodyParser() - Method in interface play.components.BodyParserComponents
 
emptyMap() - Static method in class play.libs.Scala
 
emptySeq() - Static method in class play.libs.Scala
 
emStack(boolean) - Method in class play.db.jpa.JPAEntityManagerContext
Get the EntityManager stack.
entrySet() - Method in class play.Configuration
Deprecated.
Returns the config as a set of full paths to config values.
environment() - Method in class play.ApplicationLoader.Context
Get the environment from the context.
environment() - Method in class play.BuiltInComponentsFromContext
 
environment() - Method in interface play.components.BaseComponents
The application environment.
environment() - Method in interface play.controllers.AssetsComponents
 
environment() - Method in interface play.db.BoneCPComponents
 
environment() - Method in interface play.db.DBComponents
 
environment() - Method in interface play.db.HikariCPComponents
 
Environment - Class in play
The environment for the application.
Environment(Environment) - Constructor for class play.Environment
 
Environment(File, ClassLoader, Mode) - Constructor for class play.Environment
 
Environment(File, Mode) - Constructor for class play.Environment
 
Environment(File) - Constructor for class play.Environment
 
Environment(Mode) - Constructor for class play.Environment
 
environment() - Method in interface play.filters.components.RedirectHttpsComponents
 
environment() - Method in interface play.libs.ws.ahc.AhcWSComponents
 
equals(Object) - Method in class play.cache.NamedCacheImpl
 
equals(Object) - Method in class play.db.evolutions.Evolution
 
equals(Object) - Method in class play.db.NamedDatabaseImpl
 
equals(Object) - Method in class play.http.websocket.Message.Binary
 
equals(Object) - Method in class play.http.websocket.Message.Close
 
equals(Object) - Method in class play.http.websocket.Message.Ping
 
equals(Object) - Method in class play.http.websocket.Message.Pong
 
equals(Object) - Method in class play.http.websocket.Message.Text
 
equals(Object) - Method in class play.inject.NamedImpl
 
equals(Object) - Method in class play.libs.F.Tuple
 
equals(Object) - Method in class play.libs.F.Tuple3
 
equals(Object) - Method in class play.libs.F.Tuple4
 
equals(Object) - Method in class play.libs.F.Tuple5
 
equals(Object) - Method in class play.libs.typedmap.TypedKey
 
error(String) - Method in class play.data.DynamicForm
Deprecated.
Deprecated as of 2.6.0. Use DynamicForm.getError(String) instead.
error(String) - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.getError(String) instead.
error(String) - Method in class play.Logger.ALogger
Log a message with the ERROR level.
error(Supplier<String>) - Method in class play.Logger.ALogger
Log a message with the ERROR level.
error(Marker, String) - Method in class play.Logger.ALogger
Log a message with the ERROR level.
error(String, Object...) - Method in class play.Logger.ALogger
Log a message with the ERROR level.
error(String, Supplier<?>...) - Method in class play.Logger.ALogger
Log a message with the ERROR level.
error(Marker, String, Object...) - Method in class play.Logger.ALogger
Log a message with the ERROR level.
error(String, Throwable) - Method in class play.Logger.ALogger
Log a message with the ERROR level, with the given error.
error(Marker, String, Throwable) - Method in class play.Logger.ALogger
Log a message with the ERROR level, with the given error.
error(String) - Static method in class play.Logger
Log a message with the ERROR level.
error(Supplier<String>) - Static method in class play.Logger
Log a message with the ERROR level.
error(String, Object...) - Static method in class play.Logger
Log a message with the ERROR level.
error(String, Supplier<?>) - Static method in class play.Logger
Log a message with the ERROR level.
error(String, Throwable) - Static method in class play.Logger
Log a message with the ERROR level.
errors() - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.allErrors() instead.
errors(String) - Method in class play.data.Form
 
errors() - Method in class play.data.Form.Field
Returns all the errors associated with this field.
errorsAsJson() - Method in class play.data.Form
 
errorsAsJson(Lang) - Method in class play.data.Form
Returns the form errors serialized as Json using the given Lang.
EssentialAction - Class in play.mvc
Given a `RequestHeader`, an `EssentialAction` consumes the request body (a `ByteString`) and returns a `Result`.
EssentialAction() - Constructor for class play.mvc.EssentialAction
 
EssentialFilter - Class in play.mvc
 
EssentialFilter() - Constructor for class play.mvc.EssentialFilter
 
ETAG - Static variable in interface play.mvc.Http.HeaderNames
 
Event(String, String, String) - Constructor for class play.libs.EventSource.Event
 
event(String) - Static method in class play.libs.EventSource.Event
 
event(JsonNode) - Static method in class play.libs.EventSource.Event
 
EVENT_STREAM - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of server sent events.
EventSource - Class in play.libs
This class provides an easy way to use Server Sent Events (SSE) as a chunked encoding, using an Akka Source.
EventSource() - Constructor for class play.libs.EventSource
 
EventSource.Event - Class in play.libs
Utility class to build events.
Evolution - Class in play.db.evolutions
An evolution.
Evolution(int, String, String) - Constructor for class play.db.evolutions.Evolution
Create the evolution.
Evolutions - Class in play.db.evolutions
Utilities for working with evolutions.
Evolutions() - Constructor for class play.db.evolutions.Evolutions
 
evolutions(String) - Method in class play.db.evolutions.EvolutionsReader
 
EvolutionsReader - Class in play.db.evolutions
Reads evolutions.
EvolutionsReader() - Constructor for class play.db.evolutions.EvolutionsReader
 
execute(Runnable) - Method in class play.libs.concurrent.CustomExecutionContext
 
execute(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
execute() - Method in class play.libs.ws.ahc.AhcWSRequest
 
execute(String) - Method in interface play.libs.ws.WSRequest
Execute an arbitrary method on the request asynchronously.
execute() - Method in interface play.libs.ws.WSRequest
Execute an arbitrary method on the request asynchronously.
executionContext() - Method in interface play.components.AkkaComponents
 
executionContext() - Method in class play.core.j.MappedJavaHandlerComponents
 
EXPECT - Static variable in interface play.mvc.Http.HeaderNames
 
EXPECTATION_FAILED - Static variable in interface play.mvc.Http.Status
 
EXPIRES - Static variable in interface play.mvc.Http.HeaderNames
 
expressionParsed - Variable in class play.libs.Time.CronExpression
 
EXTERNAL_GENERAL_ENTITIES_FEATURE - Static variable in class play.libs.XML.Constants
 
EXTERNAL_PARAMETER_ENTITIES_FEATURE - Static variable in class play.libs.XML.Constants
 
extractSignedToken(String) - Method in interface play.libs.crypto.CSRFTokenSigner
Extract a signed token that was signed by CSRFTokenSigner.signToken(String).
extractSignedToken(String) - Method in class play.libs.crypto.DefaultCSRFTokenSigner
 

F

F - Class in play.libs
Defines a set of functional programming style helpers.
F() - Constructor for class play.libs.F
 
F.Either<L,R> - Class in play.libs
Represents a value of one of two possible types (a disjoint union)
F.Function3<A,B,C,R> - Interface in play.libs
A Function with 3 arguments.
F.LazySupplier<T> - Class in play.libs
 
F.PromiseTimeoutException - Exception in play.libs
Exception thrown when an operation times out.
F.Tuple<A,B> - Class in play.libs
A pair - a tuple of the types A and B.
F.Tuple3<A,B,C> - Class in play.libs
A tuple of A,B,C
F.Tuple4<A,B,C,D> - Class in play.libs
A tuple of A,B,C,D
F.Tuple5<A,B,C,D,E> - Class in play.libs
A tuple of A,B,C,D,E
FAILED_DEPENDENCY - Static variable in interface play.mvc.Http.Status
 
fakeApplication() - Static method in class play.test.Helpers
Builds a new fake application, using GuiceApplicationBuilder.
fakeApplication(Map<String, ? extends Object>) - Static method in class play.test.Helpers
Build a new fake application.
fakeRequest() - Static method in class play.test.Helpers
Builds a new "GET /" fake request.
fakeRequest(String, String) - Static method in class play.test.Helpers
Builds a new fake request.
fakeRequest(Call) - Static method in class play.test.Helpers
Builds a new fake request corresponding to a given route call.
field(String) - Method in class play.data.DynamicForm
Retrieves a field.
field(String) - Method in class play.data.Form
Retrieves a field.
Field(Form<?>, String, List<F.Tuple<String, List<Object>>>, F.Tuple<String, List<Object>>, List<ValidationError>, String) - Constructor for class play.data.Form.Field
Creates a form field.
file() - Method in class play.libs.Files.DelegateTemporaryFile
 
file() - Method in interface play.libs.Files.TemporaryFile
Deprecated.
Use path() over file().
FileInfo(String, String, String) - Constructor for class play.mvc.Http.MultipartFormData.FileInfo
 
fileMimeTypes() - Method in class play.BuiltInComponentsFromContext
 
fileMimeTypes() - Method in interface play.components.FileMimeTypesComponents
 
FileMimeTypes - Class in play.mvc
 
FileMimeTypes(FileMimeTypes) - Constructor for class play.mvc.FileMimeTypes
 
fileMimeTypes() - Method in class play.mvc.Http.Context
 
FileMimeTypesComponents - Interface in play.components
Java File Mime Types components.
FilePart(String, String, String, A) - Constructor for class play.mvc.Http.MultipartFormData.FilePart
 
Files - Class in play.libs
Contains TemporaryFile and TemporaryFileCreator operations.
Files() - Constructor for class play.libs.Files
 
Files.DelegateTemporaryFile - Class in play.libs
Delegates to the Scala implementation.
Files.DelegateTemporaryFileCreator - Class in play.libs
A temporary file creator that delegates to a Scala TemporaryFileCreator.
Files.SingletonTemporaryFileCreator - Class in play.libs
A temporary file creator that uses the Scala play.api.libs.Files.SingletonTemporaryFileCreator class behind the scenes.
Files.TemporaryFile - Interface in play.libs
A temporary file created by a TemporaryFileCreator.
Files.TemporaryFileCreator - Interface in play.libs
This creates temporary files when Play needs to keep overflow data on the filesystem.
fill(Map<String, Object>) - Method in class play.data.DynamicForm
Fills the form with existing data.
fill(T) - Method in class play.data.Form
Populates this form with an existing value, used for edit forms.
Filter - Class in play.mvc
 
Filter(Materializer) - Constructor for class play.mvc.Filter
 
filters() - Method in interface play.http.HttpFilters
Deprecated.
as of 2.6.0. Use HttpFilters.getFilters() instead.
findNextWhiteSpace(int, String) - Method in class play.libs.Time.CronExpression
 
FIREFOX - Static variable in class play.test.Helpers
 
flash() - Static method in class play.mvc.Controller
Returns the current HTTP flash scope.
flash(String, String) - Static method in class play.mvc.Controller
Puts a new value into the flash scope.
flash(String) - Static method in class play.mvc.Controller
Returns a value from the flash scope.
flash() - Method in class play.mvc.Http.Context
Returns the current flash scope.
flash() - Static method in class play.mvc.Http.Context.Implicit
Returns the current flash scope.
Flash(Map<String, String>) - Constructor for class play.mvc.Http.Flash
 
flash() - Method in class play.mvc.Http.RequestBuilder
 
flash(String, String) - Method in class play.mvc.Http.RequestBuilder
Sets a cookie in the request.
flash(Map<String, String>) - Method in class play.mvc.Http.RequestBuilder
Sets cookies in a request.
flash() - Method in class play.mvc.Http.WrappedContext
 
flash() - Method in class play.mvc.Result
Extracts the Flash values of this Result value.
flatten(CompletionStage<Accumulator<E, A>>, Materializer) - Static method in class play.libs.streams.Accumulator
Flatten a completion stage of an accumulator to an accumulator.
flow(String) - Static method in class play.libs.Comet
Produces a flow of ByteString with a prepended block and a script wrapper.
flow() - Static method in class play.libs.EventSource
 
fluentWait() - Method in class play.test.TestBrowser
Creates a generic FluentWait<WebDriver> instance using the underlying web driver.
FORBIDDEN - Static variable in interface play.mvc.Http.Status
 
forbidden() - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(Content) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(Content, String) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(String) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(String, String) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(JsonNode) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use forbidden(JsonNode, JsonEncoding)
forbidden(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(byte[]) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(InputStream) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(InputStream, long) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(File) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(File, boolean) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forbidden(File, String) - Static method in class play.mvc.Results
Generates a 403 Forbidden result.
forCode(String) - Static method in class play.i18n.Lang
Create a Lang value from a code (such as fr or en-US).
forDefault(Evolution...) - Static method in class play.db.evolutions.Evolutions
Create an evolutions reader for the default database from a list of evolutions.
forFileName(String) - Method in class play.mvc.FileMimeTypes
 
Form<T> - Class in play.data
Helper to manage HTML form description, submission and validation.
Form(Class<T>, MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
Creates a new Form.
Form(String, Class<T>, MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
 
Form(String, Class<T>, Class<?>, MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
 
Form(String, Class<T>, Class<?>[], MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
 
Form(String, Class<T>, Map<String, String>, List<ValidationError>, Optional<T>, MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
 
Form(String, Class<T>, Map<String, String>, Map<String, List<ValidationError>>, Optional<T>, MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Replace the parameter Map<String,List<ValidationError>> with a simple List<ValidationError>.
Form(String, Class<T>, Map<String, String>, List<ValidationError>, Optional<T>, Class<?>, MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
 
Form(String, Class<T>, Map<String, String>, Map<String, List<ValidationError>>, Optional<T>, Class<?>, MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Replace the parameter Map<String,List<ValidationError>> with a simple List<ValidationError>.
Form(String, Class<T>, Map<String, String>, List<ValidationError>, Optional<T>, Class<?>[], MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
Creates a new Form.
Form(String, Class<T>, Map<String, String>, Map<String, List<ValidationError>>, Optional<T>, Class<?>[], MessagesApi, Formatters, Validator) - Constructor for class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Replace the parameter Map<String,List<ValidationError>> with a simple List<ValidationError>.
form() - Method in class play.data.FormFactory
 
form(Class<T>) - Method in class play.data.FormFactory
 
form(String, Class<T>) - Method in class play.data.FormFactory
 
form(String, Class<T>, Class<?>...) - Method in class play.data.FormFactory
 
form(Class<T>, Class<?>...) - Method in class play.data.FormFactory
 
FORM - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of form-urlencoded.
Form.Display - Annotation Type in play.data
Defines a form element's display name.
Form.Field - Class in play.data
A form field.
format() - Method in class play.data.Form.Field
Returns the expected format for this field.
format(Messages) - Method in class play.data.validation.ValidationError
Returns the formatted error message (message + arguments) in the given Messages.
Formats - Class in play.data.format
Defines several default formatters.
Formats() - Constructor for class play.data.format.Formats
 
Formats.AnnotationDateFormatter - Class in play.data.format
Annotation formatter, triggered by the @DateTime annotation.
Formats.AnnotationNonEmptyFormatter - Class in play.data.format
Annotation formatter, triggered by the @NonEmpty annotation.
Formats.DateFormatter - Class in play.data.format
Formatter for java.util.Date values.
Formats.DateTime - Annotation Type in play.data.format
Defines the format for a Date field.
Formats.NonEmpty - Annotation Type in play.data.format
Defines the format for a String field that cannot be empty.
formatted() - Method in class play.libs.EventSource.Event
 
Formatters - Class in play.data.format
Formatters helper.
Formatters(MessagesApi) - Constructor for class play.data.format.Formatters
 
formatters() - Method in interface play.data.FormFactoryComponents
 
Formatters.AnnotationFormatter<A extends java.lang.annotation.Annotation,T> - Class in play.data.format
Super-type for annotation-based formatters.
Formatters.SimpleFormatter<T> - Class in play.data.format
Super-type for custom simple formatters.
FormattersModule - Class in play.data.format
 
FormattersModule() - Constructor for class play.data.format.FormattersModule
 
FormFactory - Class in play.data
Helper to create HTML forms.
FormFactory(MessagesApi, Formatters, Validator) - Constructor for class play.data.FormFactory
 
formFactory() - Method in interface play.data.FormFactoryComponents
 
FormFactoryComponents - Interface in play.data
Java Components for FormFactory.
FormFactoryModule - Class in play.data
 
FormFactoryModule() - Constructor for class play.data.FormFactoryModule
 
FormUrlEncoded(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.FormUrlEncoded
 
FormUrlEncoded(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.FormUrlEncoded
 
formUrlEncodedBodyParser() - Method in interface play.components.BodyParserComponents
 
forRouter(Router) - Static method in class play.server.Server
Deprecated.
forRouter(Function<BuiltInComponents, Router>) - Static method in class play.server.Server
Create a server for the given router.
forRouter(Router, Mode) - Static method in class play.server.Server
Deprecated.
forRouter(Mode, Function<BuiltInComponents, Router>) - Static method in class play.server.Server
Create a server for the given router.
forRouter(Router, int) - Static method in class play.server.Server
Deprecated.
forRouter(int, Function<BuiltInComponents, Router>) - Static method in class play.server.Server
Create a server for the given router.
forRouter(Router, Mode, int) - Static method in class play.server.Server
Deprecated.
forRouter(Mode, int, Function<BuiltInComponents, Router>) - Static method in class play.server.Server
Create a server for the router returned by the given block.
FORWARDED - Static variable in interface play.mvc.Http.HeaderNames
 
FOUND - Static variable in interface play.mvc.Http.Status
 
found(String) - Static method in class play.mvc.Results
Generates a 302 Found result.
found(Call) - Static method in class play.mvc.Results
Generates a 302 Found result.
fragment() - Method in class play.mvc.Call
The fragment of the URL.
from(Map<String, String>) - Static method in class play.db.jpa.DefaultJPAConfig
Create a default JPA configuration from a map of names to unit names.
FROM - Static variable in interface play.mvc.Http.HeaderNames
 
fromClassLoader() - Static method in class play.db.evolutions.Evolutions
Create an evolutions reader that reads evolution files from this class's own classloader.
fromClassLoader(ClassLoader) - Static method in class play.db.evolutions.Evolutions
Create an evolutions reader that reads evolution files from a classloader.
fromClassLoader(ClassLoader, String) - Static method in class play.db.evolutions.Evolutions
Create an evolutions reader that reads evolution files from a classloader.
fromComponents(BuiltInComponents) - Static method in class play.routing.RoutingDsl
 
fromContent(Content, String) - Static method in class play.http.HttpEntity
Create an entity from the given content.
fromInputSource(InputSource) - Static method in class play.libs.XML
Parses the input source as DOM.
fromInputStream(InputStream, String) - Static method in class play.libs.XML
Parses an InputStream as DOM.
fromJson(JsonNode, Class<A>) - Static method in class play.libs.Json
Converts a JsonNode to a Java value
fromMap(Map<String, List<Evolution>>) - Static method in class play.db.evolutions.Evolutions
Create an evolutions reader based on a simple map of database names to evolutions.
fromScalaBuilder(GuiceApplicationBuilder) - Static method in class play.inject.guice.GuiceApplicationBuilder
 
fromSink(Sink<E, CompletionStage<A>>) - Static method in class play.libs.streams.Accumulator
Create an accumulator from an Akka streams sink.
fromString(String, String) - Static method in class play.http.HttpEntity
Create an entity from the given String.
fromString(String) - Static method in class play.libs.XML
Parses an XML string as DOM.
fromThread(ExecutionContext) - Static method in class play.libs.concurrent.HttpExecution
An ExecutionContext that executes work on the given ExecutionContext.
fromThread(Executor) - Static method in class play.libs.concurrent.HttpExecution
An ExecutionContext that executes work on the given ExecutionContext.
Futures - Interface in play.libs.concurrent
Utilities for creating CompletionStage operations.

G

GATEWAY_TIMEOUT - Static variable in interface play.mvc.Http.Status
 
generateEvolutionScript(EbeanServer) - Static method in class play.db.ebean.EbeanDynamicEvolutions
Helper method that generates the required evolution to properly run Ebean.
generateProperties(Environment, Config, Map<String, String>) - Static method in interface play.LoggerConfigurator
 
generateSignedToken() - Method in interface play.libs.crypto.CSRFTokenSigner
Generates a signed token by calling generateToken / signToken.
generateSignedToken() - Method in class play.libs.crypto.DefaultCSRFTokenSigner
 
generateToken() - Method in interface play.libs.crypto.CSRFTokenSigner
Generates a cryptographically secure token.
generateToken() - Method in class play.libs.crypto.DefaultCSRFTokenSigner
 
get(String) - Method in interface play.cache.AsyncCacheApi
Retrieves an object by key.
get(String) - Method in interface play.cache.CacheApi
Deprecated.
Retrieves an object by key.
get(String) - Method in class play.cache.DefaultAsyncCacheApi
 
get(String) - Method in class play.cache.DefaultSyncCacheApi
 
get(String) - Method in interface play.cache.SyncCacheApi
Retrieves an object by key.
get(String) - Method in class play.cache.SyncCacheApiAdapter
 
get(String) - Method in class play.data.DynamicForm
Gets the concrete value only if the submission was a success.
get() - Method in class play.data.Form
Gets the concrete value only if the submission was a success.
get() - Method in class play.data.validation.ValidatorProvider
 
get() - Method in class play.db.DBModule.NamedDatabaseProvider
 
get() - Method in class play.db.ebean.DefaultEbeanConfig.EbeanConfigParser
 
get() - Method in class play.db.jpa.DefaultJPAApi.JPAApiProvider
 
get() - Method in class play.db.jpa.DefaultJPAConfig.JPAConfigProvider
 
get(Lang, String, Object...) - Method in class play.i18n.MessagesApi
Translates a message.
get(Lang, List<String>, Object...) - Method in class play.i18n.MessagesApi
Translates the first defined message.
get() - Method in class play.inject.ConfigurationProvider
 
get() - Method in class play.inject.SourceProvider
Returns the calling line of code.
get() - Method in class play.libs.F.LazySupplier
 
get(TypedKey<A>) - Method in class play.libs.typedmap.TypedMap
Get a value from the map, throwing an exception if it is not present.
get() - Method in class play.libs.ws.ahc.AhcWSModule.AhcWSClientProvider
 
get() - Method in class play.libs.ws.ahc.AhcWSRequest
 
get() - Method in interface play.libs.ws.WSRequest
Perform a GET on the request asynchronously.
get(String) - Method in interface play.mvc.Http.Cookies
 
get(String) - Method in class play.mvc.Http.Headers
Gets the header value.
GET - Static variable in interface play.mvc.Http.HttpVerbs
 
GET(String) - Method in class play.routing.RoutingDsl
Create a GET route for the given path pattern.
get() - Method in class play.server.ApplicationProvider
 
GET - Static variable in class play.test.Helpers
 
getAction(Class<A>) - Method in class play.core.j.MappedJavaHandlerComponents
 
getAll(String) - Method in class play.mvc.Http.Headers
Get all the values associated with the header name.
getAllHeaders() - Method in class play.libs.ws.ahc.AhcWSResponse
Deprecated.
Deprecated since 2.6.0. Use AhcWSResponse.getHeaders() instead.
getAllHeaders() - Method in interface play.libs.ws.WSResponse
Deprecated.
getApplication() - Method in class play.server.ApplicationProvider
Deprecated.
Deprecated as of 2.6.0. Use ApplicationProvider.get() instead.
getArgumentsForConstraint(String, String, ConstraintDescriptor<?>) - Method in class play.data.Form
 
getBackedType() - Method in class play.data.Form
 
getBody(BodyReadable<T>) - Method in class play.libs.ws.ahc.AhcWSResponse
 
getBody() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getBody() - Method in interface play.libs.ws.WSResponse
 
getBody(BodyReadable<T>) - Method in interface play.libs.ws.WSResponse
Gets the body of the response as a T, using a BodyReadable.
getBodyAsBytes() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getBodyAsBytes() - Method in interface play.libs.ws.WSResponse
 
getBodyAsSource() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getBodyAsSource() - Method in interface play.libs.ws.WSResponse
 
getBodyAsStream() - Method in class play.libs.ws.ahc.AhcWSResponse
Deprecated.
Use response.getBody(inputStream())
getBodyAsStream() - Method in interface play.libs.ws.WSResponse
Deprecated.
use getBody(BodyReadable) with WSBodyWritables.inputStream().
getBodyParser(Class<A>) - Method in class play.core.j.MappedJavaHandlerComponents
 
getBoolean(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Boolean.
getBoolean(String, Boolean) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Boolean.
getBooleanList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Boolean>.
getBooleanList(String, List<Boolean>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Boolean>.
getBytes(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Bytes.
getBytes(String, Long) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Bytes.
getBytesList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long> representing bytes.
getBytesList(String, List<Long>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long> representing bytes.
getCalculator() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getCalculator() - Method in interface play.libs.ws.WSRequest
 
getConfig(String) - Method in class play.Configuration
Deprecated.
Retrieves a sub-configuration, which is a configuration instance containing all keys that start with the given prefix.
getConfigList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Configuration>.
getConfigList(String, List<Configuration>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Configuration>.
getConnection() - Method in interface play.db.Database
Get a JDBC connection from the underlying data source.
getConnection(boolean) - Method in interface play.db.Database
Get a JDBC connection from the underlying data source.
getConnection() - Method in class play.db.DefaultDatabase
 
getConnection(boolean) - Method in class play.db.DefaultDatabase
 
getContentType() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getContentType() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getContentType() - Method in interface play.libs.ws.WSResponse
 
getContentType() - Method in class play.mvc.Http.MultipartFormData.FileInfo
 
getContentType() - Method in class play.mvc.Http.MultipartFormData.FilePart
The file Content-Type
getControllerMethodInvocation() - Method in class play.routing.Router.RouteDocumentation
 
getCookie(String) - Method in class play.libs.ws.ahc.AhcWSResponse
 
getCookie(String) - Method in interface play.libs.ws.WSResponse
 
getCookies() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getCookies() - Method in interface play.libs.ws.WSResponse
 
getCronExpression() - Method in class play.libs.Time.CronExpression
 
getData() - Method in class play.data.DynamicForm.Dynamic
 
getDatabase(String) - Method in interface play.db.DBApi
 
getDatabase(String) - Method in class play.db.DefaultDBApi
 
getDatabases() - Method in interface play.db.DBApi
 
getDatabases() - Method in class play.db.DefaultDBApi
 
getDataSource() - Method in interface play.db.Database
 
getDataSource() - Method in class play.db.DefaultDatabase
 
getDatasourceModels() - Method in class play.db.ebean.EbeanParsedConfig
 
getDayOfWeekNumber(String) - Method in class play.libs.Time.CronExpression
 
getDefaultDatasource() - Method in class play.db.ebean.EbeanParsedConfig
 
getDouble(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Double.
getDouble(String, Double) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Double.
getDoubleList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Double>.
getDoubleList(String, List<Double>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Double>.
getError(String) - Method in class play.data.DynamicForm
Retrieve an error by key.
getError(String) - Method in class play.data.Form
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.EmailValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.MaxLengthValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.MaxValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.MinLengthValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.MinValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.PatternValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.RequiredValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.ValidateWithValidator
 
getErrorMessageKey() - Method in class play.data.validation.Constraints.Validator
 
getEvolutions(String) - Method in class play.db.evolutions.EvolutionsReader
Get the evolutions for the given database name.
getEvolutions(String) - Method in class play.db.evolutions.SimpleEvolutionsReader
 
getExistingFile(String) - Method in class play.Environment
Retrieves a file relative to the application root path.
getExpressionSetSummary(Set<Integer>) - Method in class play.libs.Time.CronExpression
 
getExpressionSetSummary(ArrayList<Integer>) - Method in class play.libs.Time.CronExpression
 
getExpressionSummary() - Method in class play.libs.Time.CronExpression
 
getFile(String) - Method in interface play.Application
Deprecated.
Deprecated as in 2.6.0. Use Environment.getFile(java.lang.String) instead.
getFile(String) - Method in class play.Environment
Retrieves a file relative to the application root path.
getFile() - Method in class play.mvc.Http.MultipartFormData.FilePart
The File.
getFile(String) - Method in class play.mvc.Http.MultipartFormData
Access a file part.
getFilename() - Method in class play.mvc.Http.MultipartFormData.FileInfo
 
getFilename() - Method in class play.mvc.Http.MultipartFormData.FilePart
The file name.
getFiles() - Method in class play.mvc.Http.MultipartFormData
Retrieves all file parts.
getFilters() - Method in class play.http.DefaultHttpFilters
 
getFilters() - Method in interface play.http.HttpFilters
 
getFinalFireTime() - Method in class play.libs.Time.CronExpression
NOT YET IMPLEMENTED: Returns the final time that the CronExpression will match.
getFollowRedirects() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getFollowRedirects() - Method in interface play.libs.ws.WSRequest
If the WSRequest.setFollowRedirects(boolean) method has been called, then returns true.
getGlobalError() - Method in class play.data.Form
Retrieves the first global error (an error without any key), if it exists.
getHandler() - Method in class play.http.HandlerForRequest
 
getHeader(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
getHeader(String) - Method in interface play.mvc.Http.RequestHeader
Deprecated.
Deprecated as of 2.6.0. Use Http.RequestHeader.header(String) ()} instead.
getHeader(String) - Method in class play.mvc.ResponseHeader
 
getHeader() - Method in class play.mvc.Result
Get the response header
getHeaders() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getHeaders() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getHeaders() - Method in interface play.libs.ws.WSRequest
 
getHeaders() - Method in interface play.libs.ws.WSResponse
 
getHeaders() - Method in class play.mvc.Http.RequestBuilder
 
getHeaders() - Method in interface play.mvc.Http.RequestHeader
Retrieve all headers.
getHeaders() - Method in class play.mvc.Http.Response
Gets the current response headers.
getHeaderValues(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
getHeaderValues(String) - Method in class play.libs.ws.ahc.AhcWSResponse
 
getHeaderValues(String) - Method in interface play.libs.ws.WSResponse
 
getHttpMethod() - Method in class play.routing.Router.RouteDocumentation
 
getIndirectlyPresentAnnotations(A) - Static method in class play.libs.AnnotationUtils
If the return type of an existing value() method of the passed annotation is an Annotation[] array and the annotations inside that Annotation[] array are annotated with the Repeatable annotation the annotations of that array will be returned.
getInstance(Class<T>) - Method in class play.data.validation.DefaultConstraintValidatorFactory
 
getInstance(Class<T>) - Method in class play.data.validation.MappedConstraintValidatorFactory
 
getInt(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Int.
getInt(String, Integer) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Int.
getIntList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Integer>.
getIntList(String, List<Integer>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Integer>.
getKey() - Method in class play.mvc.Http.MultipartFormData.DataPart
The part name.
getKey() - Method in class play.mvc.Http.MultipartFormData.FileInfo
 
getKey() - Method in class play.mvc.Http.MultipartFormData.FilePart
The part name.
getLastDayOfMonth(int, int) - Method in class play.libs.Time.CronExpression
 
getList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Object>.
getList(String, List<Object>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Object>.
getLong(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Long.
getLong(String, Long) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Long.
getLongList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long>.
getLongList(String, List<Long>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long>.
getMessageForConstraintViolation(ConstraintViolation<Object>) - Method in class play.data.Form
When dealing with @ValidateWith annotations, and message parameter is not used in the annotation, extract the message from validator's getErrorMessageKey() method
getMilliseconds(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Milliseconds.
getMilliseconds(String, Long) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Milliseconds.
getMillisecondsList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long> representing Milliseconds.
getMillisecondsList(String, List<Long>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long> representing Milliseconds.
getModifiers() - Method in class play.routing.HandlerDef
 
getMonthNumber(String) - Method in class play.libs.Time.CronExpression
 
getName() - Method in class play.data.Form.Field
 
getName() - Method in interface play.db.Database
 
getName() - Method in class play.db.DefaultDatabase
 
getNanoseconds(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Nanoseconds.
getNanoseconds(String, Long) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Nanoseconds.
getNanosecondsList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long> representing Nanoseconds.
getNanosecondsList(String, List<Long>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Long> representing Nanoseconds.
getNextInterval(Date) - Method in class play.libs.Time.CronExpression
Return the interval between the next valid date and the one after
getNextInvalidTimeAfter(Date) - Method in class play.libs.Time.CronExpression
Returns the next date/time after the given date/time which does not satisfy the expression
getNextValidTimeAfter(Date) - Method in class play.libs.Time.CronExpression
Returns the next date/time after the given date/time which satisfies the cron expression.
getNumber(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Number.
getNumber(String, Number) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as an Number.
getNumberList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Number>.
getNumberList(String, List<Number>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Number>.
getNumericValue(String, int) - Method in class play.libs.Time.CronExpression
 
getObject(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Object.
getObject(String, Object) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a Object.
getObjectList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Map<String, Object>>.
getObjectList(String, List<Map<String, Object>>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Map<String, Object>>.
getOptional(TypedKey<A>) - Method in class play.libs.typedmap.TypedMap
Get a value from the map, returning an empty Optional if it is not present.
getOrElse(String, Callable<T>, int) - Method in interface play.cache.CacheApi
Deprecated.
Retrieve a value from the cache, or set it from a default Callable function.
getOrElse(String, Callable<T>) - Method in interface play.cache.CacheApi
Deprecated.
Retrieve a value from the cache, or set it from a default Callable function.
getOrElse(String, Callable<T>, int) - Method in class play.cache.DefaultSyncCacheApi
Deprecated.
Use getOrElseUpdate instead (2.6.0)
getOrElse(String, Callable<T>) - Method in class play.cache.DefaultSyncCacheApi
Deprecated.
Use getOrElseUpdate instead (2.6.0)
getOrElse(String, Callable<T>, int) - Method in class play.cache.SyncCacheApiAdapter
 
getOrElse(String, Callable<T>) - Method in class play.cache.SyncCacheApiAdapter
 
getOrElseUpdate(String, Callable<CompletionStage<T>>, int) - Method in interface play.cache.AsyncCacheApi
Retrieve a value from the cache, or set it from a default Callable function.
getOrElseUpdate(String, Callable<CompletionStage<T>>) - Method in interface play.cache.AsyncCacheApi
Retrieve a value from the cache, or set it from a default Callable function.
getOrElseUpdate(String, Callable<CompletionStage<T>>, int) - Method in class play.cache.DefaultAsyncCacheApi
 
getOrElseUpdate(String, Callable<CompletionStage<T>>) - Method in class play.cache.DefaultAsyncCacheApi
 
getOrElseUpdate(String, Callable<T>, int) - Method in class play.cache.DefaultSyncCacheApi
 
getOrElseUpdate(String, Callable<T>) - Method in class play.cache.DefaultSyncCacheApi
 
getOrElseUpdate(String, Callable<T>, int) - Method in interface play.cache.SyncCacheApi
Retrieve a value from the cache, or set it from a default Callable function.
getOrElseUpdate(String, Callable<T>) - Method in interface play.cache.SyncCacheApi
Retrieve a value from the cache, or set it from a default Callable function.
getOrElseUpdate(String, Callable<T>, int) - Method in class play.cache.SyncCacheApiAdapter
 
getOrElseUpdate(String, Callable<T>) - Method in class play.cache.SyncCacheApiAdapter
 
getParameterTypes() - Method in class play.routing.HandlerDef
 
getPassword() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getPassword() - Method in interface play.libs.ws.WSRequest
 
getPathPattern() - Method in class play.routing.Router.RouteDocumentation
 
getQueryParameters() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getQueryParameters() - Method in interface play.libs.ws.WSRequest
 
getQueryString(String) - Method in interface play.mvc.Http.RequestHeader
Helper method to access a queryString parameter.
getReflectionsConfiguration(String, ClassLoader) - Static method in class play.libs.Classpath
Deprecated.
Deprecated as of 2.6.0
getRequest() - Method in class play.http.HandlerForRequest
Deprecated.
As of release 2.6.0. Use HandlerForRequest.getRequestHeader()
getRequestHeader() - Method in class play.http.HandlerForRequest
 
getRequestTimeout() - Method in class play.libs.ws.ahc.AhcWSRequest
getRequestTimeout() - Method in interface play.libs.ws.WSRequest
getRequestTimeoutDuration() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getRequestTimeoutDuration() - Method in interface play.libs.ws.WSRequest
getRevision() - Method in class play.db.evolutions.Evolution
Get the revision of the evolution.
getScheme() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getScheme() - Method in interface play.libs.ws.WSRequest
 
getSet(int) - Method in class play.libs.Time.CronExpression
 
getSingleHeader(String) - Method in class play.libs.ws.ahc.AhcWSResponse
 
getSingleHeader(String) - Method in interface play.libs.ws.WSResponse
 
getSqlDown() - Method in class play.db.evolutions.Evolution
Get the SQL script for tearing the evolution down.
getSqlUp() - Method in class play.db.evolutions.Evolution
Get the SQL script for bringing the evolution up.
getStatus() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getStatus() - Method in interface play.libs.ws.WSResponse
 
getStatusText() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getStatusText() - Method in interface play.libs.ws.WSResponse
 
getString(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a String.
getString(String, String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a String.
getStringList(String) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<String>.
getStringList(String, List<String>) - Method in class play.Configuration
Deprecated.
Retrieves a configuration value as a List<Number>.
getTimeAfter(Date) - Method in class play.libs.Time.CronExpression
 
getTimeBefore(Date) - Method in class play.libs.Time.CronExpression
NOT YET IMPLEMENTED: Returns the time before the given time that the CronExpression matches.
getTimeZone() - Method in class play.libs.Time.CronExpression
Returns the time zone for which this CronExpression will be resolved.
getTypes(Application, String) - Static method in class play.libs.Classpath
Deprecated.
Deprecated as of 2.6.0
getTypes(Environment, String) - Static method in class play.libs.Classpath
Deprecated.
Deprecated as of 2.6.0
getTypesAnnotatedWith(Application, String, Class<? extends Annotation>) - Static method in class play.libs.Classpath
Deprecated.
Deprecated as of 2.6.0
getTypesAnnotatedWith(Environment, String, Class<? extends Annotation>) - Static method in class play.libs.Classpath
Deprecated.
Deprecated as of 2.6.0
getUnderlying() - Method in class play.libs.ws.ahc.AhcWSClient
 
getUnderlying() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getUnderlying() - Method in interface play.libs.ws.WSClient
The underlying implementation of the client, if any.
getUnderlying() - Method in interface play.libs.ws.WSResponse
Gets the underlying implementation response object, if any.
getUrl() - Method in interface play.db.Database
 
getUrl() - Method in class play.db.DefaultDatabase
 
getUrl() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getUrl() - Method in interface play.libs.ws.WSRequest
 
getUsername() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getUsername() - Method in interface play.libs.ws.WSRequest
 
getUsername(Http.Context) - Method in class play.mvc.Security.Authenticator
Retrieves the username from the HTTP context; the default is to read from the session cookie.
getValue() - Method in class play.data.Form.Field
 
getValue(int, String, int) - Method in class play.libs.Time.CronExpression
 
getValue() - Method in class play.mvc.Http.MultipartFormData.DataPart
The part value.
getWrappedApplication() - Method in interface play.Application
Get the underlying Scala application.
getWrappedApplication() - Method in class play.DefaultApplication
Get the underlying Scala application.
getWrappedConfiguration() - Method in class play.Configuration
Deprecated.
 
globalError() - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.getGlobalError() instead.
globalErrors() - Method in class play.data.Form
Retrieve all global errors - errors without a key.
GONE - Static variable in interface play.mvc.Http.Status
 
Guiceable - Class in play.inject.guice
 
Guiceable() - Constructor for class play.inject.guice.Guiceable
 
GuiceApplicationBuilder - Class in play.inject.guice
 
GuiceApplicationBuilder() - Constructor for class play.inject.guice.GuiceApplicationBuilder
 
GuiceApplicationLoader - Class in play.inject.guice
An ApplicationLoader that uses Guice to bootstrap the application.
GuiceApplicationLoader() - Constructor for class play.inject.guice.GuiceApplicationLoader
 
GuiceApplicationLoader(GuiceApplicationBuilder) - Constructor for class play.inject.guice.GuiceApplicationLoader
 
GuiceBuilder<Self,Delegate extends play.api.inject.guice.GuiceBuilder<Delegate>> - Class in play.inject.guice
A builder for creating Guice-backed Play Injectors.
GuiceBuilder(Delegate) - Constructor for class play.inject.guice.GuiceBuilder
 
GuiceInjectorBuilder - Class in play.inject.guice
Default empty builder for creating Guice-backed Injectors.
GuiceInjectorBuilder() - Constructor for class play.inject.guice.GuiceInjectorBuilder
 
gzipFilter() - Method in interface play.filters.components.GzipFilterComponents
 
GzipFilterComponents - Interface in play.filters.components
The GZIP filter Java components.
gzipFilterConfig() - Method in interface play.filters.components.GzipFilterComponents
 

H

handle(Http.RequestHeader, String) - Method in class play.filters.csrf.CSRFErrorHandler.DefaultCSRFErrorHandler
 
handle(Http.RequestHeader, String) - Method in interface play.filters.csrf.CSRFErrorHandler
Handle the CSRF error.
HANDLER_DEF - Static variable in class play.routing.Router.Attrs
Key for the HandlerDef used to handle the request.
HandlerDef - Class in play.routing
 
HandlerDef() - Constructor for class play.routing.HandlerDef
 
handlerForRequest(Http.RequestHeader) - Method in class play.http.DefaultHttpRequestHandler
 
HandlerForRequest - Class in play.http
A request and a handler to handle it.
HandlerForRequest(Http.RequestHeader, Handler) - Constructor for class play.http.HandlerForRequest
 
handlerForRequest(Http.RequestHeader) - Method in interface play.http.HttpRequestHandler
Get a handler for the given request.
handleWebCommand(Http.RequestHeader) - Method in class play.server.ApplicationProvider
Handle a request directly, without using the application.
hasBody() - Method in interface play.mvc.Http.RequestHeader
Checks if the request has a body.
hasErrors() - Method in class play.data.Form
 
hasGlobalErrors() - Method in class play.data.Form
 
hashCode() - Method in class play.cache.NamedCacheImpl
 
hashCode() - Method in class play.db.evolutions.Evolution
 
hashCode() - Method in class play.db.NamedDatabaseImpl
 
hashCode() - Method in class play.http.websocket.Message.Binary
 
hashCode() - Method in class play.http.websocket.Message.Close
 
hashCode() - Method in class play.http.websocket.Message.Ping
 
hashCode() - Method in class play.http.websocket.Message.Pong
 
hashCode() - Method in class play.http.websocket.Message.Text
 
hashCode() - Method in class play.inject.NamedImpl
 
hashCode() - Method in class play.libs.F.Tuple
 
hashCode() - Method in class play.libs.F.Tuple3
 
hashCode() - Method in class play.libs.F.Tuple4
 
hashCode() - Method in class play.libs.F.Tuple5
 
hashCode() - Method in class play.libs.typedmap.TypedKey
 
hasHeader(String) - Method in interface play.mvc.Http.RequestHeader
Checks if the request has the header.
head() - Method in class play.libs.ws.ahc.AhcWSRequest
 
head() - Method in interface play.libs.ws.WSRequest
Perform a HEAD on the request asynchronously.
HEAD - Static variable in interface play.mvc.Http.HttpVerbs
 
HEAD(String) - Method in class play.routing.RoutingDsl
Create a HEAD route for the given path pattern.
HEAD - Static variable in class play.test.Helpers
 
header(String) - Method in class play.mvc.Http.RequestBuilder
Deprecated.
As of release 2.6, use Http.RequestBuilder.getHeaders() instead.
header(String, String[]) - Method in class play.mvc.Http.RequestBuilder
Deprecated.
As of release 2.6, use Http.RequestBuilder.header(String, List) instead.
header(String, List<String>) - Method in class play.mvc.Http.RequestBuilder
 
header(String, String) - Method in class play.mvc.Http.RequestBuilder
 
header(String) - Method in interface play.mvc.Http.RequestHeader
Retrieves a single header.
header() - Method in class play.mvc.Result
Deprecated.
Deprecated as in 2.6.0. Use Result.getHeader()
header(String) - Method in class play.mvc.Result
Extracts an Header value of this Result value.
Headers(Map<String, List<String>>) - Constructor for class play.mvc.Http.Headers
 
headers(String) - Method in class play.mvc.Http.RequestBuilder
Deprecated.
As of release 2.6, use Http.RequestBuilder.getHeaders() instead.
headers() - Method in class play.mvc.Http.RequestBuilder
Deprecated.
As of release 2.6, use Http.RequestBuilder.getHeaders() instead.
headers(Map<String, String[]>) - Method in class play.mvc.Http.RequestBuilder
Deprecated.
As of release 2.6, use #headers(Headers) instead.
headers(Http.Headers) - Method in class play.mvc.Http.RequestBuilder
Set the headers to be used by the request builder.
headers() - Method in interface play.mvc.Http.RequestHeader
Deprecated.
Deprecated as of 2.6.0. Use Http.RequestHeader.getHeaders() instead.
headers() - Method in class play.mvc.ResponseHeader
 
headers() - Method in class play.mvc.Result
Extracts all Headers of this Result value.
Helpers - Class in play.test
Helper functions to run tests.
Helpers() - Constructor for class play.test.Helpers
 
HikariCPComponents - Interface in play.db
HikariCP Java components (for compile-time injection).
HOST - Static variable in interface play.mvc.Http.HeaderNames
 
host() - Method in class play.mvc.Http.RequestBuilder
 
host(String) - Method in class play.mvc.Http.RequestBuilder
 
host() - Method in interface play.mvc.Http.RequestHeader
The request host.
HOUR - Static variable in class play.libs.Time.CronExpression
 
hours - Variable in class play.libs.Time.CronExpression
 
HTML - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of html.
HTMLUNIT - Static variable in class play.test.Helpers
 
Http - Class in play.mvc
Defines HTTP standard objects.
Http() - Constructor for class play.mvc.Http
 
http(int) - Method in class play.server.Server.Builder
Instruct the server to serve HTTP on a particular port.
Http.Context - Class in play.mvc
The global HTTP context.
Http.Context.Implicit - Class in play.mvc
Import in templates to get implicit HTTP context.
Http.Cookie - Class in play.mvc
HTTP Cookie
Http.Cookie.SameSite - Enum in play.mvc
The cookie SameSite attribute
Http.CookieBuilder - Class in play.mvc
 
Http.Cookies - Interface in play.mvc
HTTP Cookies set
Http.Flash - Class in play.mvc
HTTP Flash.
Http.HeaderNames - Interface in play.mvc
Defines all standard HTTP headers.
Http.Headers - Class in play.mvc
 
Http.HttpVerbs - Interface in play.mvc
Standard HTTP Verbs
Http.MimeTypes - Interface in play.mvc
Common HTTP MIME types
Http.MultipartFormData<A> - Class in play.mvc
Multipart form data body.
Http.MultipartFormData.DataPart - Class in play.mvc
 
Http.MultipartFormData.FileInfo - Class in play.mvc
Info about a file part
Http.MultipartFormData.FilePart<A> - Class in play.mvc
A file part.
Http.MultipartFormData.Part<A> - Interface in play.mvc
 
Http.RawBuffer - Class in play.mvc
Handle the request body a raw bytes data.
Http.Request - Interface in play.mvc
An HTTP request.
Http.RequestBody - Class in play.mvc
The request body.
Http.RequestBuilder - Class in play.mvc
The builder for building a request.
Http.RequestHeader - Interface in play.mvc
 
Http.RequestImpl - Class in play.mvc
An HTTP request.
Http.Response - Class in play.mvc
The HTTP response.
Http.Session - Class in play.mvc
HTTP Session.
Http.Status - Interface in play.mvc
Defines all standard HTTP status codes.
Http.WrappedContext - Class in play.mvc
A wrapped context.
HTTP_VERSION_NOT_SUPPORTED - Static variable in interface play.mvc.Http.Status
 
HttpComponents - Interface in play.components
 
httpConfiguration() - Method in interface play.BuiltInComponents
 
httpConfiguration() - Method in interface play.components.HttpConfigurationComponents
 
httpConfiguration() - Method in class play.core.j.MappedJavaHandlerComponents
 
HttpConfigurationComponents - Interface in play.components
Http Configuration Java Components.
httpContext() - Static method in class play.test.Helpers
Builds a new Http.Context from a new request
httpContext(Http.Request) - Static method in class play.test.Helpers
Builds a new Http.Context for a specific request
HttpEntity - Class in play.http
An HTTP entity
HttpEntity.Chunked - Class in play.http
A chunked entity, backed by a source of chunks.
HttpEntity.Streamed - Class in play.http
A streamed entity, backed by a source.
HttpEntity.Strict - Class in play.http
A strict entity, where all the data for it is in memory.
httpErrorHandler() - Method in class play.BuiltInComponentsFromContext
 
httpErrorHandler() - Method in interface play.components.HttpErrorHandlerComponents
 
HttpErrorHandler - Interface in play.http
Component for handling HTTP errors in Play.
HttpErrorHandlerComponents - Interface in play.components
The HTTP Error handler Java Components.
HttpExecution - Class in play.libs.concurrent
ExecutionContexts that preserve the current thread's context ClassLoader and Http.Context by passing it through HttpExecutionContext.
HttpExecution() - Constructor for class play.libs.concurrent.HttpExecution
 
HttpExecutionContext - Class in play.libs.concurrent
Execution context for managing Play Java HTTP thread local state.
HttpExecutionContext(Executor) - Constructor for class play.libs.concurrent.HttpExecutionContext
 
httpFilters() - Method in interface play.components.HttpComponents
List of filters, typically provided by mixing in play.filters.HttpFiltersComponents or play.api.NoHttpFiltersComponents.
httpFilters() - Method in interface play.filters.components.HttpFiltersComponents
 
httpFilters() - Method in interface play.filters.components.NoHttpFiltersComponents
 
HttpFilters - Interface in play.http
Provides filters to the HttpRequestHandler.
HttpFiltersComponents - Interface in play.filters.components
A compile time default filters components.
httpOnly() - Method in class play.mvc.Http.Cookie
 
httpPort() - Method in class play.server.Server
Get the HTTP port the server is running on.
httpRequestHandler() - Method in class play.BuiltInComponentsFromContext
 
httpRequestHandler() - Method in interface play.components.HttpComponents
 
HttpRequestHandler - Interface in play.http
An HTTP request handler
https(int) - Method in class play.server.Server.Builder
Configure the server to serve HTTPS on a particular port.
httpsPort() - Method in class play.server.Server
Get the HTTPS port the server is running on.

I

I18nComponents - Interface in play.i18n
Java I18n components.
id() - Method in class play.mvc.Http.Context
The context id (unique)
id() - Method in class play.mvc.Http.RequestBuilder
 
id(Long) - Method in class play.mvc.Http.RequestBuilder
 
id() - Method in class play.mvc.Http.WrappedContext
 
IF_MATCH - Static variable in interface play.mvc.Http.HeaderNames
 
IF_MODIFIED_SINCE - Static variable in interface play.mvc.Http.HeaderNames
 
IF_NONE_MATCH - Static variable in interface play.mvc.Http.HeaderNames
 
IF_RANGE - Static variable in interface play.mvc.Http.HeaderNames
 
IF_UNMODIFIED_SINCE - Static variable in interface play.mvc.Http.HeaderNames
 
IM_A_TEAPOT - Static variable in interface play.mvc.Http.Status
 
Implicit() - Constructor for class play.mvc.Http.Context.Implicit
 
in(Environment) - Method in class play.inject.guice.GuiceBuilder
Set the environment.
in(File) - Method in class play.inject.guice.GuiceBuilder
Set the environment path.
in(Mode) - Method in class play.inject.guice.GuiceBuilder
Set the environment mode.
in(ClassLoader) - Method in class play.inject.guice.GuiceBuilder
Set the environment class loader.
indexes() - Method in class play.data.Form.Field
 
info(String) - Method in class play.Logger.ALogger
Logs a message with the INFO level.
info(Supplier<String>) - Method in class play.Logger.ALogger
Log a message with the INFO level.
info(Marker, String) - Method in class play.Logger.ALogger
Logs a message with the INFO level.
info(String, Object...) - Method in class play.Logger.ALogger
Logs a message with the INFO level.
info(String, Supplier<?>...) - Method in class play.Logger.ALogger
Log a message with the INFO level.
info(Marker, String, Object...) - Method in class play.Logger.ALogger
Logs a message with the INFO level.
info(String, Throwable) - Method in class play.Logger.ALogger
Logs a message with the INFO level, with the given error.
info(Marker, String, Throwable) - Method in class play.Logger.ALogger
Logs a message with the INFO level, with the given error.
info(String) - Static method in class play.Logger
Log a message with the INFO level.
info(Supplier<String>) - Static method in class play.Logger
Log a message with the INFO level.
info(String, Object...) - Static method in class play.Logger
Log a message with the INFO level.
info(String, Supplier<?>...) - Static method in class play.Logger
Log a message with the INFO level.
info(String, Throwable) - Static method in class play.Logger
Log a message with the INFO level.
init(File, Mode) - Method in interface play.LoggerConfigurator
Initialize the Logger when there's no application ClassLoader available.
init(File, Mode) - Method in interface play.LoggerConfigurator
 
initialBuilder - Variable in class play.inject.guice.GuiceApplicationLoader
The initial builder to start construction from.
initialConfig() - Method in class play.ApplicationLoader.Context
Get the configuration from the context.
initialConfiguration() - Method in class play.ApplicationLoader.Context
Deprecated.
initialize(Constraints.Email) - Method in class play.data.validation.Constraints.EmailValidator
 
initialize(Constraints.MaxLength) - Method in class play.data.validation.Constraints.MaxLengthValidator
 
initialize(Constraints.Max) - Method in class play.data.validation.Constraints.MaxValidator
 
initialize(Constraints.MinLength) - Method in class play.data.validation.Constraints.MinLengthValidator
 
initialize(Constraints.Min) - Method in class play.data.validation.Constraints.MinValidator
 
initialize(Constraints.Pattern) - Method in class play.data.validation.Constraints.PatternValidator
 
initialize(Constraints.Required) - Method in class play.data.validation.Constraints.RequiredValidator
 
initialize(Constraints.Validate) - Method in class play.data.validation.Constraints.ValidateValidator
 
initialize(Constraints.ValidateWith) - Method in class play.data.validation.Constraints.ValidateWithValidator
 
initialValue() - Method in class play.db.jpa.JPAEntityManagerContext
 
InjectedActorSupport - Interface in play.libs.akka
Support for creating injected child actors.
injectedChild(Supplier<Actor>, String, Function<Props, Props>) - Method in interface play.libs.akka.InjectedActorSupport
Create an injected child actor.
injectedChild(Supplier<Actor>, String) - Method in interface play.libs.akka.InjectedActorSupport
Create an injected child actor.
injector() - Method in interface play.Application
Get the runtime injector for this application.
injector() - Method in class play.DefaultApplication
Get the injector for this application.
injector - Variable in class play.inject.DelegateInjector
 
injector() - Method in class play.inject.guice.GuiceBuilder
Create a Play Injector backed by Guice using this configured builder.
Injector - Interface in play.inject
An injector, capable of providing components.
inMemory(String, String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(String, Map<String, String>, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(String, Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(String) - Static method in class play.db.Databases
Create an in-memory H2 database.
inMemory(Map<String, ? extends Object>) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default".
inMemory() - Static method in class play.db.Databases
Create an in-memory H2 database with name "default".
inMemoryDatabase() - Static method in class play.test.Helpers
Constructs a in-memory (h2) database configuration to add to a fake application.
inMemoryDatabase(String) - Static method in class play.test.Helpers
Constructs a in-memory (h2) database configuration to add to a fake application.
inMemoryDatabase(String, Map<String, String>) - Static method in class play.test.Helpers
Constructs a in-memory (h2) database configuration to add to a fake application.
inMemoryWith(String, Object) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default" and with extra configuration provided by the given entries.
inMemoryWith(String, Object, String, Object) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default" and with extra configuration provided by the given entries.
inMemoryWith(String, Object, String, Object, String, Object) - Static method in class play.db.Databases
Create an in-memory H2 database with name "default" and with extra configuration provided by the given entries.
instance - Static variable in interface play.libs.ws.WSBodyReadables
 
instanceOf(Class<T>) - Method in class play.inject.DelegateInjector
 
instanceOf(BindingKey<T>) - Method in class play.inject.DelegateInjector
 
instanceOf(Class<T>) - Method in interface play.inject.Injector
Get an instance of the given class from the injector.
instanceOf(BindingKey<T>) - Method in interface play.inject.Injector
Get an instance of the given class from the injector.
instanceOf(Class<T>) - Method in class play.test.WithApplication
Provides an instance from the application.
INSUFFICIENT_STORAGE - Static variable in interface play.mvc.Http.Status
 
INTERNAL_SERVER_ERROR - Static variable in interface play.mvc.Http.Status
 
internalServerError() - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(Content) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(Content, String) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(String) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(String, String) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(JsonNode) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use internalServerError(JsonNode, JsonEncoding)
internalServerError(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(byte[]) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(InputStream) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(InputStream, long) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(File) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(File, boolean) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
internalServerError(File, String) - Static method in class play.mvc.Results
Generates a 500 Internal Server Error result.
invokeWithContext(Http.RequestBuilder, JavaContextComponents, Callable<V>) - Static method in class play.test.Helpers
Calls a Callable which invokes a Controller or some other method with a Context.
isDebugEnabled() - Method in class play.Logger.ALogger
Returns true if the logger instance has DEBUG level logging enabled.
isDebugEnabled(Marker) - Method in class play.Logger.ALogger
Similar to Logger.ALogger.isDebugEnabled() method except that the marker data is also taken into account.
isDebugEnabled() - Static method in class play.Logger
Returns true if the logger instance enabled for the DEBUG level?
isDefinedAt(String) - Method in interface play.i18n.Messages
Check if a message key is defined.
isDefinedAt(Lang, String) - Method in class play.i18n.MessagesApi
Check if a message key is defined.
isDefinedAt(String) - Method in class play.i18n.MessagesImpl
Check if a message key is defined.
isDev() - Method in interface play.Application
Check whether the application is in Mode.DEV mode.
isDev() - Method in class play.Environment
Returns `true` if the application is `DEV` mode.
isDirty - Variable in class play.mvc.Http.Flash
 
isDirty - Variable in class play.mvc.Http.Session
 
isErrorEnabled() - Method in class play.Logger.ALogger
Returns true if the logger instance has ERROR level logging enabled.
isErrorEnabled(Marker) - Method in class play.Logger.ALogger
Similar to Logger.ALogger.isErrorEnabled() method except that the marker data is also taken into consideration.
isErrorEnabled() - Static method in class play.Logger
Returns true if the logger instance enabled for the ERROR level?
isInfoEnabled() - Method in class play.Logger.ALogger
Returns true if the logger instance has INFO level logging enabled.
isInfoEnabled(Marker) - Method in class play.Logger.ALogger
Similar to Logger.ALogger.isInfoEnabled() method except that the marker data is also taken into consideration.
isInfoEnabled() - Static method in class play.Logger
Returns true if the logger instance enabled for the INFO level?
isKnownEmpty() - Method in class play.http.HttpEntity.Chunked
 
isKnownEmpty() - Method in class play.http.HttpEntity
 
isKnownEmpty() - Method in class play.http.HttpEntity.Streamed
 
isKnownEmpty() - Method in class play.http.HttpEntity.Strict
 
isLeapYear(int) - Method in class play.libs.Time.CronExpression
 
isProd() - Method in interface play.Application
Check whether the application is in Mode.PROD mode.
isProd() - Method in class play.Environment
Returns `true` if the application is `PROD` mode.
isSatisfiedBy(Date) - Method in class play.libs.Time.CronExpression
Indicates whether the given date satisfies the cron expression.
isTest() - Method in interface play.Application
Check whether the application is in Mode.TEST mode.
isTest() - Method in class play.Environment
Returns `true` if the application is `TEST` mode.
isTraceEnabled() - Method in class play.Logger.ALogger
Returns true if the logger instance has TRACE level logging enabled.
isTraceEnabled(Marker) - Method in class play.Logger.ALogger
Similar to Logger.ALogger.isTraceEnabled() method except that the marker data is also taken into account.
isTraceEnabled() - Static method in class play.Logger
Returns true if the logger instance enabled for the TRACE level?
isValid(String) - Method in class play.data.validation.Constraints.EmailValidator
 
isValid(String) - Method in class play.data.validation.Constraints.MaxLengthValidator
 
isValid(Number) - Method in class play.data.validation.Constraints.MaxValidator
 
isValid(String) - Method in class play.data.validation.Constraints.MinLengthValidator
 
isValid(Number) - Method in class play.data.validation.Constraints.MinValidator
 
isValid(String) - Method in class play.data.validation.Constraints.PatternValidator
 
isValid(Object) - Method in class play.data.validation.Constraints.RequiredValidator
 
isValid(Constraints.Validatable<?>, ConstraintValidatorContext) - Method in class play.data.validation.Constraints.ValidateValidator
 
isValid(Object) - Method in class play.data.validation.Constraints.ValidateWithValidator
 
isValid(T) - Method in class play.data.validation.Constraints.Validator
 
isValid(T, ConstraintValidatorContext) - Method in class play.data.validation.Constraints.Validator
 
isValidExpression(String) - Static method in class play.libs.Time.CronExpression
Indicates whether the specified cron expression can be parsed into a valid cron expression
isWarnEnabled() - Method in class play.Logger.ALogger
Returns true if the logger instance has WARN level logging enabled.
isWarnEnabled(Marker) - Method in class play.Logger.ALogger
Similar to Logger.ALogger.isWarnEnabled() method except that the marker data is also taken into consideration.
isWarnEnabled() - Static method in class play.Logger
Returns true if the logger instance enabled for the WARN level?

J

javaContextComponents() - Method in interface play.BuiltInComponents
 
javaContextComponents() - Method in interface play.components.HttpErrorHandlerComponents
 
javaHandlerComponents() - Method in class play.BuiltInComponentsFromContext
 
javaHandlerComponents() - Method in interface play.components.HttpComponents
 
JAVASCRIPT - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of javascript.
JavaScriptReverseRouter - Class in play.routing
Helpers for creating JavaScript reverse routers
JavaScriptReverseRouter() - Constructor for class play.routing.JavaScriptReverseRouter
 
javascriptUnbind() - Method in interface play.mvc.PathBindable
Javascript function to unbind in the Javascript router.
javascriptUnbind() - Method in interface play.mvc.QueryStringBindable
Javascript function to unbind in the Javascript router.
JPA - Class in play.db.jpa
Deprecated.
Use a dependency injected JPAApi instance here, since 2.6.1
JPA() - Constructor for class play.db.jpa.JPA
Deprecated.
 
JPAApi - Interface in play.db.jpa
JPA API.
jpaApi() - Method in interface play.db.jpa.JPAComponents
 
JPAApiProvider(JPAConfig, JPAEntityManagerContext, ApplicationLifecycle, DBApi) - Constructor for class play.db.jpa.DefaultJPAApi.JPAApiProvider
 
JPAComponents - Interface in play.db.jpa
Java JPA Components.
jpaConfig() - Method in interface play.db.jpa.JPAComponents
 
JPAConfig - Interface in play.db.jpa
JPA configuration.
JPAConfig.PersistenceUnit - Class in play.db.jpa
 
JPAConfigProvider(Config) - Constructor for class play.db.jpa.DefaultJPAConfig.JPAConfigProvider
 
JPAEntityManagerContext - Class in play.db.jpa
 
JPAEntityManagerContext() - Constructor for class play.db.jpa.JPAEntityManagerContext
 
JPAModule - Class in play.db.jpa
Injection module with default JPA components.
JPAModule() - Constructor for class play.db.jpa.JPAModule
 
json(String) - Static method in class play.libs.Comet
Produces a flow of ByteString using `Json.stringify` from a Flow of JsonNode.
Json - Class in play.libs
Helper functions to handle JsonNode values.
Json() - Constructor for class play.libs.Json
 
Json(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Json
 
Json(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Json
 
JSON - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of json.
Json - Static variable in class play.mvc.WebSocket
Acceptor for JSON WebSockets.
json(Class<In>) - Static method in class play.mvc.WebSocket
Acceptor for JSON WebSockets.
jsonBodyParser() - Method in interface play.components.BodyParserComponents
 
Jsonp - Class in play.libs
The JSONP Content renders a JavaScript call of a JSON object.
Example of use, provided the following route definition:
Jsonp(String, JsonNode) - Constructor for class play.libs.Jsonp
 
jsonp(String, JsonNode) - Static method in class play.libs.Jsonp
 

K

key() - Method in class play.data.validation.ValidationError
Returns the error key.
key() - Method in class play.libs.typedmap.TypedEntry
 
keys() - Method in class play.Configuration
Deprecated.
Retrieves the set of keys available in this configuration.

L

Lang - Class in play.i18n
A Lang supported by the application.
Lang(Lang) - Constructor for class play.i18n.Lang
 
Lang(Locale) - Constructor for class play.i18n.Lang
 
lang() - Method in interface play.i18n.Messages
Get the lang for these messages.
lang() - Method in class play.i18n.MessagesImpl
 
lang() - Static method in class play.mvc.Controller
Returns the current lang.
lang() - Static method in class play.mvc.Http.Context.Implicit
Returns the current lang.
lang() - Method in class play.mvc.Http.Context
The current lang
lang() - Method in class play.mvc.Http.WrappedContext
 
langCookieHttpOnly() - Method in class play.i18n.MessagesApi
 
langCookieName() - Method in class play.i18n.MessagesApi
 
langCookieSecure() - Method in class play.i18n.MessagesApi
 
langs() - Method in class play.BuiltInComponentsFromContext
 
langs() - Method in interface play.i18n.I18nComponents
 
Langs - Class in play.i18n
Manages languages in Play
Langs(Langs) - Constructor for class play.i18n.Langs
 
language() - Method in class play.i18n.Lang
A valid ISO Language Code.
LAST_MODIFIED - Static variable in interface play.mvc.Http.HeaderNames
 
lastdayOfMonth - Variable in class play.libs.Time.CronExpression
 
lastdayOfWeek - Variable in class play.libs.Time.CronExpression
 
lazy(Supplier<T>) - Static method in class play.libs.F.LazySupplier
 
left - Variable in class play.libs.F.Either
The left value.
Left(L) - Static method in class play.libs.F.Either
Constructs a left side of the disjoint union, as opposed to the Right side.
LENGTH_REQUIRED - Static variable in interface play.mvc.Http.Status
 
load(ApplicationLoader.Context) - Method in interface play.ApplicationLoader
Load an application given the context.
load(Environment) - Static method in class play.Configuration
Deprecated.
Load a new configuration from an environment.
load(BiFunction<Environment, Configuration, List<GuiceableModule>>) - Method in class play.inject.guice.GuiceApplicationBuilder
Deprecated.
Use withModuleLoader instead
load(GuiceableModule...) - Method in class play.inject.guice.GuiceApplicationBuilder
Override the module loader with the given guiceable modules.
load(Module...) - Method in class play.inject.guice.GuiceApplicationBuilder
Override the module loader with the given Guice modules.
load(Module...) - Method in class play.inject.guice.GuiceApplicationBuilder
Override the module loader with the given Play modules.
load(Binding<?>...) - Method in class play.inject.guice.GuiceApplicationBuilder
Override the module loader with the given Play bindings.
load(ApplicationLoader.Context) - Method in class play.inject.guice.GuiceApplicationLoader
 
loadConfig(Function<Environment, Configuration>) - Method in class play.inject.guice.GuiceApplicationBuilder
Deprecated.
Use withConfigLoader
loadConfig(Config) - Method in class play.inject.guice.GuiceApplicationBuilder
Set the initial configuration.
loadConfig(Configuration) - Method in class play.inject.guice.GuiceApplicationBuilder
Deprecated.
Use loadConfig(Config
LOCATION - Static variable in interface play.mvc.Http.HeaderNames
 
LOCKED - Static variable in interface play.mvc.Http.Status
 
Logger - Class in play
High level API for logging operations.
Logger() - Constructor for class play.Logger
 
Logger.ALogger - Class in play
Typical logger interface
LoggerConfigurator - Interface in play
Runs through underlying logger configuration.
loggerFactory() - Method in interface play.LoggerConfigurator
Returns the logger factory for the configurator.
logServerError(Http.RequestHeader, UsefulException) - Method in class play.http.DefaultHttpErrorHandler
Responsible for logging server errors.

M

mainAddress() - Method in class play.server.Server
Get the address the server is running on.
manage() - Method in class play.test.TestBrowser
Retrieves the underlying option interface that can be used to set cookies, manage timeouts among other things.
map(Function<? super A, ? extends B>, Executor) - Method in class play.libs.streams.Accumulator
Map the accumulated value.
mapFuture(Function<? super A, ? extends CompletionStage<B>>, Executor) - Method in class play.libs.streams.Accumulator
Map the accumulated value with a function that returns a future.
MappedConstraintValidatorFactory - Class in play.data.validation
ConstraintValidatorFactory to be used with compile-time Dependency Injection.
MappedConstraintValidatorFactory() - Constructor for class play.data.validation.MappedConstraintValidatorFactory
 
MappedJavaHandlerComponents - Class in play.core.j
The components necessary to handle a Java handler.
MappedJavaHandlerComponents(ActionCreator, HttpConfiguration, ExecutionContext, JavaContextComponents) - Constructor for class play.core.j.MappedJavaHandlerComponents
 
MappedWebSocketAcceptor(PartialFunction<Message, F.Either<In, Message>>, Function<Out, Message>) - Constructor for class play.mvc.WebSocket.MappedWebSocketAcceptor
 
mapper() - Static method in class play.libs.Json
Gets the ObjectMapper used to serialize and deserialize objects to and from JSON values.
mat - Variable in class play.test.WithApplication
The application's Akka streams Materializer.
match(String, String) - Method in class play.routing.RoutingDsl
Create a route for the given method and path pattern.
materializer() - Method in interface play.components.AkkaComponents
 
materializer - Variable in class play.mvc.Filter
 
max(long) - Static method in class play.data.validation.Constraints
Constructs a 'max' validator.
MAX_FORWARDS - Static variable in interface play.mvc.Http.HeaderNames
 
maxAge() - Method in class play.mvc.Http.Cookie
 
maxLength(long) - Static method in class play.data.validation.Constraints
Constructs a 'maxLength' validator.
MaxLengthBodyParser(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.MaxLengthBodyParser
 
MaxLengthValidator() - Constructor for class play.data.validation.Constraints.MaxLengthValidator
 
MaxLengthValidator(long) - Constructor for class play.data.validation.Constraints.MaxLengthValidator
 
MaxValidator() - Constructor for class play.data.validation.Constraints.MaxValidator
 
MaxValidator(long) - Constructor for class play.data.validation.Constraints.MaxValidator
 
message - Static variable in class play.data.validation.Constraints.EmailValidator
 
message - Static variable in class play.data.validation.Constraints.MaxLengthValidator
 
message - Static variable in class play.data.validation.Constraints.MaxValidator
 
message - Static variable in class play.data.validation.Constraints.MinLengthValidator
 
message - Static variable in class play.data.validation.Constraints.MinValidator
 
message - Static variable in class play.data.validation.Constraints.PatternValidator
 
message - Static variable in class play.data.validation.Constraints.RequiredValidator
 
message() - Method in class play.data.validation.ValidationError
Returns the error message.
Message - Class in play.http.websocket
A WebSocket message.
Message.Binary - Class in play.http.websocket
A binary WebSocket message
Message.Close - Class in play.http.websocket
A close WebSocket message
Message.Ping - Class in play.http.websocket
A ping WebSocket message
Message.Pong - Class in play.http.websocket
A pong WebSocket message
Message.Text - Class in play.http.websocket
A text WebSocket message
messages() - Method in class play.data.validation.ValidationError
Returns the error messages.
Messages - Interface in play.i18n
A Messages will produce messages using a specific language.
messages() - Static method in class play.mvc.Http.Context.Implicit
 
messages() - Method in class play.mvc.Http.Context
 
Messages.Attrs - Class in play.i18n
 
messagesApi() - Method in interface play.BuiltInComponents
 
messagesApi() - Method in interface play.i18n.I18nComponents
 
MessagesApi - Class in play.i18n
The messages API.
MessagesApi(MessagesApi) - Constructor for class play.i18n.MessagesApi
 
messagesApi() - Method in class play.i18n.MessagesImpl
 
MessagesImpl - Class in play.i18n
This class implements the Messages interface.
MessagesImpl(Lang, MessagesApi) - Constructor for class play.i18n.MessagesImpl
 
method() - Method in class play.mvc.Call
The request HTTP method.
method() - Method in class play.mvc.Http.RequestBuilder
 
method(String) - Method in class play.mvc.Http.RequestBuilder
 
method() - Method in interface play.mvc.Http.RequestHeader
The HTTP Method.
method() - Method in class play.routing.HandlerDef
 
METHOD_NOT_ALLOWED - Static variable in interface play.mvc.Http.Status
 
min(long) - Static method in class play.data.validation.Constraints
Constructs a 'min' validator.
minLength(long) - Static method in class play.data.validation.Constraints
Constructs a 'minLength' validator.
MinLengthValidator() - Constructor for class play.data.validation.Constraints.MinLengthValidator
 
MinLengthValidator(long) - Constructor for class play.data.validation.Constraints.MinLengthValidator
 
MINUTE - Static variable in class play.libs.Time.CronExpression
 
minutes - Variable in class play.libs.Time.CronExpression
 
MinValidator() - Constructor for class play.data.validation.Constraints.MinValidator
 
MinValidator(long) - Constructor for class play.data.validation.Constraints.MinValidator
 
mode() - Method in class play.Environment
The mode of the application.
Mode - Enum in play
Application mode, either `DEV`, `TEST`, or `PROD`.
mode(Mode) - Method in class play.server.Server.Builder
Set the mode the server should be run on (defaults to TEST)
ModelsConfigLoader - Class in play.db.ebean
Given a classloader, load the models configuration.
ModelsConfigLoader() - Constructor for class play.db.ebean.ModelsConfigLoader
 
modifiers() - Method in class play.routing.HandlerDef
 
module(Object) - Static method in class play.inject.guice.Guiceable
 
modules(Module...) - Static method in class play.inject.guice.Guiceable
 
modules(Module...) - Static method in class play.inject.guice.Guiceable
 
MONTH - Static variable in class play.libs.Time.CronExpression
 
monthMap - Static variable in class play.libs.Time.CronExpression
 
months - Variable in class play.libs.Time.CronExpression
 
MOVED_PERMANENTLY - Static variable in interface play.mvc.Http.Status
 
movedPermanently(String) - Static method in class play.mvc.Results
Generates a 301 Moved Permanently result.
movedPermanently(Call) - Static method in class play.mvc.Results
Generates a 301 Moved Permanently result.
moveTo(File, boolean) - Method in class play.libs.Files.DelegateTemporaryFile
 
moveTo(File) - Method in interface play.libs.Files.TemporaryFile
 
moveTo(File, boolean) - Method in interface play.libs.Files.TemporaryFile
 
MULTI_STATUS - Static variable in interface play.mvc.Http.Status
 
multipartBody(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>) - Method in interface play.libs.ws.WSBodyWritables
 
MultipartFormatter - Class in play.mvc
 
MultipartFormatter() - Constructor for class play.mvc.MultipartFormatter
 
MultipartFormData(PlayBodyParsers) - Constructor for class play.mvc.BodyParser.MultipartFormData
 
MultipartFormData() - Constructor for class play.mvc.Http.MultipartFormData
 
multipartFormDataBodyParser() - Method in interface play.components.BodyParserComponents
 
MULTIPLE_CHOICES - Static variable in interface play.mvc.Http.Status
 

N

name() - Method in class play.data.Form.Field
Deprecated.
Deprecated as of 2.6.0. Use Form.Field.getName() instead.
name() - Method in class play.data.Form
 
name - Variable in class play.db.jpa.JPAConfig.PersistenceUnit
 
name() - Method in class play.mvc.Http.Cookie
 
NamedCache - Annotation Type in play.cache
 
NamedCacheImpl - Class in play.cache
 
NamedCacheImpl(String) - Constructor for class play.cache.NamedCacheImpl
 
NamedDatabase - Annotation Type in play.db
 
NamedDatabaseImpl - Class in play.db
 
NamedDatabaseImpl(String) - Constructor for class play.db.NamedDatabaseImpl
 
NamedDatabaseProvider(String) - Constructor for class play.db.DBModule.NamedDatabaseProvider
 
NamedImpl - Class in play.inject
An implementation of the [[javax.inject.Named]] annotation.
NamedImpl(String) - Constructor for class play.inject.NamedImpl
 
nearestWeekday - Variable in class play.libs.Time.CronExpression
 
newArray() - Static method in class play.libs.Json
Creates a new empty ArrayNode.
newBuilder(GuiceApplicationBuilder) - Method in class play.inject.guice.GuiceApplicationBuilder
Implementation of Self creation for GuiceBuilder.
newBuilder(Delegate) - Method in class play.inject.guice.GuiceBuilder
 
newBuilder(GuiceInjectorBuilder) - Method in class play.inject.guice.GuiceInjectorBuilder
 
newClient(int) - Static method in class play.libs.ws.WS
Deprecated.
as of 2.6, not to be used. This method is not appropriate outside of testing context, because it makes many assumptions about the url, starts up a new client and actorsystem on every call, and hardcodes the config to something other than the app config.
newClient(int) - Static method in class play.test.WSTestClient
Create a new WSClient for use in testing.
newDefaultMapper() - Static method in class play.libs.Json
 
newObject() - Static method in class play.libs.Json
Creates a new empty ObjectNode.
NO_CONTENT - Static variable in interface play.mvc.Http.Status
 
NO_ENTITY - Static variable in class play.http.HttpEntity
No entity.
NO_SPEC - Static variable in class play.libs.Time.CronExpression
 
NO_SPEC_INT - Static variable in class play.libs.Time.CronExpression
 
noContent() - Static method in class play.mvc.Results
Generates a 204 No Content result.
NoHttpFiltersComponents - Interface in play.filters.components
Java component to mix in when no default filters should be mixed in to BuiltInComponents.
noMatch() - Static method in class play.libs.Scala
Throw this exception to indicate that a partial function doesn't match.
NON_AUTHORITATIVE_INFORMATION - Static variable in interface play.mvc.Http.Status
 
None() - Static method in class play.libs.Scala
 
NOT_ACCEPTABLE - Static variable in interface play.mvc.Http.Status
 
NOT_FOUND - Static variable in interface play.mvc.Http.Status
 
NOT_IMPLEMENTED - Static variable in interface play.mvc.Http.Status
 
NOT_MODIFIED - Static variable in interface play.mvc.Http.Status
 
notAcceptable() - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(Content) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(Content, String) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(String) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(String, String) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(JsonNode) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(byte[]) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(InputStream) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(InputStream, long) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(File) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(File, boolean) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notAcceptable(File, String) - Static method in class play.mvc.Results
Generates a 406 Not Acceptable result.
notFound() - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(Content) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(Content, String) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(String) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(String, String) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(JsonNode) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use notFound(JsonNode, JsonEncoding
notFound(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(byte[]) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(InputStream) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(InputStream, long) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(File) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(File, boolean) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
notFound(File, String) - Static method in class play.mvc.Results
Generates a 404 Not Found result.
nthdayOfWeek - Variable in class play.libs.Time.CronExpression
 

O

of(String, String) - Static method in class play.db.jpa.DefaultJPAConfig
Create a default JPA configuration with the given name and unit name.
of(String, String, String, String) - Static method in class play.db.jpa.DefaultJPAConfig
Create a default JPA configuration with the given names and unit names.
of(String, String, String, String, String, String) - Static method in class play.db.jpa.DefaultJPAConfig
Create a default JPA configuration with the given names and unit names.
of(String) - Static method in class play.Logger
Obtain a logger instance.
of(Class<?>) - Static method in class play.Logger
Obtain a logger instance.
of(Function<Http.RequestHeader, Accumulator<ByteString, Result>>) - Static method in class play.mvc.EssentialAction
 
ofFile(File) - Static method in class play.mvc.RangeResults
Returns the file as a result considering "Range" header.
ofFile(File, String) - Static method in class play.mvc.RangeResults
Returns the file as a result considering "Range" header.
ofPath(Path) - Static method in class play.mvc.RangeResults
Returns the path as a result considering "Range" header.
ofPath(Path, String) - Static method in class play.mvc.RangeResults
Returns the path as a result considering "Range" header.
ofSource(Long, Source<ByteString, ?>, String, String) - Static method in class play.mvc.RangeResults
Returns the stream as a result considering "Range" header.
ofStream(InputStream) - Static method in class play.mvc.RangeResults
Returns the stream as a result considering "Range" header.
ofStream(InputStream, long) - Static method in class play.mvc.RangeResults
Returns the stream as a result considering "Range" header.
ofStream(InputStream, long, String) - Static method in class play.mvc.RangeResults
Returns the stream as a result considering "Range" header.
ofStream(InputStream, long, String, String) - Static method in class play.mvc.RangeResults
Returns the stream as a result considering "Range" header.
OK - Static variable in interface play.mvc.Http.Status
 
ok() - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(Content) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(Content, String) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(String) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(String, String) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(JsonNode) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use ok(JsonNode, JsonEncoding)
ok(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(byte[]) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(InputStream) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(InputStream, long) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(File) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(File, boolean) - Static method in class play.mvc.Results
Generates a 200 OK result.
ok(File, String) - Static method in class play.mvc.Results
Generates a 200 OK result.
onBadRequest(Http.RequestHeader, String) - Method in class play.http.DefaultHttpErrorHandler
Invoked when a client makes a bad request.
onClientError(Http.RequestHeader, int, String) - Method in class play.http.DefaultHttpErrorHandler
Invoked when a client error occurs, that is, an error in the 4xx series.
onClientError(Http.RequestHeader, int, String) - Method in interface play.http.HttpErrorHandler
Invoked when a client error occurs, that is, an error in the 4xx series.
onDevServerError(Http.RequestHeader, UsefulException) - Method in class play.http.DefaultHttpErrorHandler
Invoked in dev mode when a server error occurs.
onForbidden(Http.RequestHeader, String) - Method in class play.http.DefaultHttpErrorHandler
Invoked when a client makes a request that was forbidden.
onNotFound(Http.RequestHeader, String) - Method in class play.http.DefaultHttpErrorHandler
Invoked when a handler or resource is not found.
onOtherClientError(Http.RequestHeader, int, String) - Method in class play.http.DefaultHttpErrorHandler
Invoked when a client error occurs, that is, an error in the 4xx series, which is not handled by any of the other methods in this class already.
onProdServerError(Http.RequestHeader, UsefulException) - Method in class play.http.DefaultHttpErrorHandler
Invoked in prod mode when a server error occurs.
onServerError(Http.RequestHeader, Throwable) - Method in class play.http.DefaultHttpErrorHandler
Invoked when a server error occurs.
onServerError(Http.RequestHeader, Throwable) - Method in interface play.http.HttpErrorHandler
Invoked when a server error occurs.
onUnauthorized(Http.Context) - Method in class play.mvc.Security.Authenticator
Generates an alternative result if the user is not authenticated; the default a simple '401 Not Authorized' page.
Option(T) - Static method in class play.libs.Scala
Wrap a value into a Scala Option.
options() - Method in class play.libs.ws.ahc.AhcWSRequest
 
options() - Method in interface play.libs.ws.WSRequest
Perform an OPTIONS on the request asynchronously.
OPTIONS - Static variable in interface play.mvc.Http.HttpVerbs
 
OPTIONS(String) - Method in class play.routing.RoutingDsl
Create a OPTIONS route for the given path pattern.
orElse(Option<T>, T) - Static method in class play.libs.Scala
Wraps a Scala Option, handling None by returning a defaultValue
ORIGIN - Static variable in interface play.mvc.Http.HeaderNames
 
orNull(Option<T>) - Static method in class play.libs.Scala
Wraps a Scala Option, handling None as null.
overrides(ApplicationLoader.Context) - Method in class play.inject.guice.GuiceApplicationLoader
Identify some bindings that should be used as overrides when loading an application using this context.
overrides(GuiceableModule...) - Method in class play.inject.guice.GuiceBuilder
Override bindings using guiceable modules.
overrides(Module...) - Method in class play.inject.guice.GuiceBuilder
Override bindings using Guice modules.
overrides(Module...) - Method in class play.inject.guice.GuiceBuilder
Override bindings using Play modules.
overrides(Binding<?>...) - Method in class play.inject.guice.GuiceBuilder
Override bindings using Play bindings.

P

parameterTypes() - Method in class play.routing.HandlerDef
 
parse(Formats.DateTime, String, Locale) - Method in class play.data.format.Formats.AnnotationDateFormatter
Binds the field - constructs a concrete value from submitted data.
parse(Formats.NonEmpty, String, Locale) - Method in class play.data.format.Formats.AnnotationNonEmptyFormatter
Binds the field - constructs a concrete value from submitted data.
parse(String, Locale) - Method in class play.data.format.Formats.DateFormatter
Binds the field - constructs a concrete value from submitted data.
parse(A, String, Locale) - Method in class play.data.format.Formatters.AnnotationFormatter
Binds the field - constructs a concrete value from submitted data.
parse(String, Class<T>) - Method in class play.data.format.Formatters
Parses this string as instance of the given class.
parse(Field, String, Class<T>) - Method in class play.data.format.Formatters
Deprecated.
As of 2.6.0, use Formatters.parse(Field, String) instead
parse(Field, String) - Method in class play.data.format.Formatters
Parses this string as instance of a specific field
parse(String, Locale) - Method in class play.data.format.Formatters.SimpleFormatter
Binds the field - constructs a concrete value from submitted data.
parse() - Method in class play.db.ebean.DefaultEbeanConfig.EbeanConfigParser
Reads the configuration and creates config for Ebean servers.
parse(String) - Static method in class play.libs.Json
Parses a String representing a json, and return it as a JsonNode.
parse(InputStream) - Static method in class play.libs.Json
Parses a InputStream representing a json, and return it as a JsonNode.
parse(byte[]) - Static method in class play.libs.Json
Parses a byte array representing a json, and return it as a JsonNode.
parse(Http.RequestHeader, ByteString) - Method in class play.mvc.BodyParser.BufferingBodyParser
Parse the body.
parse(Http.RequestHeader, ByteString) - Method in class play.mvc.BodyParser.Bytes
 
parse(Http.RequestHeader, ByteString) - Method in class play.mvc.BodyParser.FormUrlEncoded
 
parse(Http.RequestHeader, ByteString) - Method in class play.mvc.BodyParser.TolerantJson
 
parse(Http.RequestHeader, ByteString) - Method in class play.mvc.BodyParser.TolerantText
 
parse(Http.RequestHeader, ByteString) - Method in class play.mvc.BodyParser.TolerantXml
 
parse(String) - Static method in enum play.mvc.Http.Cookie.SameSite
 
parseCRONExpression(String) - Static method in class play.libs.Time
Parses a CRON expression.
parseDuration(String) - Static method in class play.libs.Time
Parses a duration.
parseFromConfig(Configuration) - Static method in class play.db.ebean.EbeanParsedConfig
Deprecated.
Configuration was deprecated in Play 2.6 in favor of Config. Use EbeanParsedConfig.parseFromConfig(Config)
parseFromConfig(Config) - Static method in class play.db.ebean.EbeanParsedConfig
Parse a play configuration.
PARTIAL_CONTENT - Static variable in interface play.mvc.Http.Status
 
partialFunction(Function<A, B>) - Static method in class play.libs.Scala
Create a Scala PartialFunction from a function.
patch(BodyWritable) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(JsonNode) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(Document) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(InputStream) - Method in class play.libs.ws.ahc.AhcWSRequest
Deprecated.
patch(File) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(BodyWritable) - Method in interface play.libs.ws.WSRequest
Perform a PATCH on the request asynchronously.
patch(String) - Method in interface play.libs.ws.WSRequest
Perform a PATCH on the request asynchronously.
patch(JsonNode) - Method in interface play.libs.ws.WSRequest
Perform a PATCH on the request asynchronously.
patch(Document) - Method in interface play.libs.ws.WSRequest
Perform a PATCH on the request asynchronously.
patch(InputStream) - Method in interface play.libs.ws.WSRequest
Perform a PATCH on the request asynchronously.
patch(File) - Method in interface play.libs.ws.WSRequest
Perform a PATCH on the request asynchronously.
patch(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>) - Method in interface play.libs.ws.WSRequest
Perform a PATCH on the request asynchronously.
PATCH - Static variable in interface play.mvc.Http.HttpVerbs
 
PATCH(String) - Method in class play.routing.RoutingDsl
Create a PATCH route for the given path pattern.
path() - Method in interface play.Application
Get the application path.
path() - Method in class play.libs.Files.DelegateTemporaryFile
 
path() - Method in interface play.libs.Files.TemporaryFile
 
path() - Method in class play.mvc.Call
 
path() - Method in class play.mvc.Http.Cookie
 
path() - Method in class play.mvc.Http.RequestBuilder
 
path(String) - Method in class play.mvc.Http.RequestBuilder
This method sets the path of the uri.
path() - Method in interface play.mvc.Http.RequestHeader
The URI path.
path() - Method in class play.routing.HandlerDef
 
PathBindable<T extends PathBindable<T>> - Interface in play.mvc
Binder for path parameters.
PathPatternMatcher(String, String) - Constructor for class play.routing.RoutingDsl.PathPatternMatcher
 
Paths - Class in play.core
Implementations to work with URL paths.
pattern(String) - Static method in class play.data.validation.Constraints
Constructs a 'pattern' validator.
PatternValidator() - Constructor for class play.data.validation.Constraints.PatternValidator
 
PatternValidator(String) - Constructor for class play.data.validation.Constraints.PatternValidator
 
PAYMENT_REQUIRED - Static variable in interface play.mvc.Http.Status
 
paymentRequired() - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(Content) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(Content, String) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(String) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(String, String) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(JsonNode) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use paymentRequired(JsonNode, JsonEncoding)
paymentRequired(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(byte[]) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(InputStream) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(InputStream, long) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(File) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(File, boolean) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
paymentRequired(File, String) - Static method in class play.mvc.Results
Generates a 402 Payment Required result.
PERMANENT_REDIRECT - Static variable in interface play.mvc.Http.Status
 
permanentRedirect(String) - Static method in class play.mvc.Results
Generates a 308 Permanent Redirect result.
permanentRedirect(Call) - Static method in class play.mvc.Results
Generates a 308 Permanent Redirect result.
PersistenceUnit(String, String) - Constructor for class play.db.jpa.JPAConfig.PersistenceUnit
 
persistenceUnits() - Method in class play.db.jpa.DefaultJPAConfig
 
persistenceUnits() - Method in interface play.db.jpa.JPAConfig
 
Ping(ByteString) - Constructor for class play.http.websocket.Message.Ping
 
play - package play
Provides the Play framework's publicly accessible Java API.
Play - Class in play
Deprecated.
Please use dependency injection. Deprecated since 2.5.0.
Play() - Constructor for class play.Play
Deprecated.
 
play.cache - package play.cache
Provides the Cache API.
play.components - package play.components
 
play.controllers - package play.controllers
 
play.core - package play.core
 
play.core.j - package play.core.j
 
play.data - package play.data
Provides data manipulation helpers, mainly for HTTP form handling.
play.data.format - package play.data.format
Provides the formatting API used by Form classes.
play.data.validation - package play.data.validation
Provides the JSR 303 validation constraints.
play.db - package play.db
Provides the JDBC database access API.
play.db.ebean - package play.db.ebean
Provides Ebean ORM integration.
play.db.evolutions - package play.db.evolutions
 
play.db.jpa - package play.db.jpa
Provides JPA ORM integration.
play.filters.components - package play.filters.components
 
play.filters.csrf - package play.filters.csrf
 
play.http - package play.http
Core Java HTTP API.
play.http.websocket - package play.http.websocket
 
play.i18n - package play.i18n
Provides the i18n API.
play.inject - package play.inject
Provides dependency injection utilities for Play lifecycle.
play.inject.guice - package play.inject.guice
 
play.libs - package play.libs
Provides various APIs that are useful for developing web applications.
play.libs.akka - package play.libs.akka
Utility methods for working with Akka.
play.libs.concurrent - package play.libs.concurrent
Concurrency utilities for handling CompletionStage and ExecutionContexts.
play.libs.crypto - package play.libs.crypto
 
play.libs.streams - package play.libs.streams
Utility methods for working with Akka Streams.
play.libs.typedmap - package play.libs.typedmap
 
play.libs.ws - package play.libs.ws
 
play.libs.ws.ahc - package play.libs.ws.ahc
 
play.mvc - package play.mvc
Provides the Controller/Action/Result API for handling HTTP requests.
play.routing - package play.routing
 
play.server - package play.server
 
play.test - package play.test
Contains test helpers.
plusSkippedClasses(Class...) - Method in class play.inject.SourceProvider
Returns a new instance that also skips moreClassesToSkip.
Pong(ByteString) - Constructor for class play.http.websocket.Message.Pong
 
pop(boolean) - Method in class play.db.jpa.JPAEntityManagerContext
 
port - Variable in class play.test.WithServer
 
post(BodyWritable) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(JsonNode) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(Document) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(InputStream) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(File) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(BodyWritable) - Method in interface play.libs.ws.WSRequest
Perform a POST on the request asynchronously.
post(String) - Method in interface play.libs.ws.WSRequest
Perform a POST on the request asynchronously.
post(JsonNode) - Method in interface play.libs.ws.WSRequest
Perform a POST on the request asynchronously.
post(Document) - Method in interface play.libs.ws.WSRequest
Perform a POST on the request asynchronously.
post(InputStream) - Method in interface play.libs.ws.WSRequest
post(File) - Method in interface play.libs.ws.WSRequest
Perform a POST on the request asynchronously.
post(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>) - Method in interface play.libs.ws.WSRequest
Perform a POST on the request asynchronously.
POST - Static variable in interface play.mvc.Http.HttpVerbs
 
POST(String) - Method in class play.routing.RoutingDsl
Create a POST route for the given path pattern.
POST - Static variable in class play.test.Helpers
 
PRAGMA - Static variable in interface play.mvc.Http.HeaderNames
 
PRECONDITION_FAILED - Static variable in interface play.mvc.Http.Status
 
precursor - Variable in class play.mvc.Action
The precursor action.
preferred(Application, List<Lang>) - Static method in class play.i18n.Lang
Guess the preferred lang in the langs set passed as argument.
preferred(Collection<Lang>) - Method in class play.i18n.Langs
Select a preferred language, given the list of candidates.
preferred(Collection<Lang>) - Method in class play.i18n.MessagesApi
Get a messages context appropriate for the given candidates.
preferred(Http.RequestHeader) - Method in class play.i18n.MessagesApi
Get a messages context appropriate for the given request.
prepare() - Method in class play.libs.concurrent.CustomExecutionContext
 
prettyPrint(JsonNode) - Static method in class play.libs.Json
Converts a JsonNode to its string representation.
print(Formats.DateTime, Date, Locale) - Method in class play.data.format.Formats.AnnotationDateFormatter
Unbinds this field - converts a concrete value to plain string
print(Formats.NonEmpty, String, Locale) - Method in class play.data.format.Formats.AnnotationNonEmptyFormatter
Unbinds this field - converts a concrete value to plain string
print(Date, Locale) - Method in class play.data.format.Formats.DateFormatter
Unbinds this fields - converts a concrete value to a plain string.
print(A, T, Locale) - Method in class play.data.format.Formatters.AnnotationFormatter
Unbind this field (ie.
print(T) - Method in class play.data.format.Formatters
Computes the display string for any value.
print(Field, T) - Method in class play.data.format.Formatters
Computes the display string for any value, for a specific field.
print(TypeDescriptor, T) - Method in class play.data.format.Formatters
Computes the display string for any value, for a specific type.
print(T, Locale) - Method in class play.data.format.Formatters.SimpleFormatter
Unbinds this field - transforms a concrete value to plain string.
PromiseTimeoutException(String) - Constructor for exception play.libs.F.PromiseTimeoutException
 
PromiseTimeoutException(String, Throwable) - Constructor for exception play.libs.F.PromiseTimeoutException
 
provideApplication() - Method in class play.test.WithApplication
Override this method to setup the application to use.
provideApplication() - Method in class play.test.WithServer
Override this method to setup the application to use.
provideBrowser(int) - Method in class play.test.WithBrowser
Override this if you want to use a different browser
providePort() - Method in class play.test.WithServer
Override this method to setup the port to use.
providerOf(Class<T>, String, Function<Props, Props>) - Static method in class play.libs.Akka
Create a provider for an actor implemented by the given class, with the given name.
providerOf(Class<T>, String) - Static method in class play.libs.Akka
Create a provider for an actor implemented by the given class, with the given name.
PROXY_AUTHENTICATE - Static variable in interface play.mvc.Http.HeaderNames
 
PROXY_AUTHENTICATION_REQUIRED - Static variable in interface play.mvc.Http.Status
 
PROXY_AUTHORIZATION - Static variable in interface play.mvc.Http.HeaderNames
 
push(EntityManager, boolean) - Method in class play.db.jpa.JPAEntityManagerContext
 
put(TypedKey<A>, A) - Method in class play.libs.typedmap.TypedMap
Update the map with the given key and value, returning a new instance of the map.
put(BodyWritable) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(JsonNode) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(Document) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(InputStream) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(File) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(BodyWritable) - Method in interface play.libs.ws.WSRequest
Perform a PUT on the request asynchronously.
put(String) - Method in interface play.libs.ws.WSRequest
Perform a PUT on the request asynchronously.
put(JsonNode) - Method in interface play.libs.ws.WSRequest
Perform a PUT on the request asynchronously.
put(Document) - Method in interface play.libs.ws.WSRequest
Perform a PUT on the request asynchronously.
put(InputStream) - Method in interface play.libs.ws.WSRequest
Perform a PUT on the request asynchronously.
put(File) - Method in interface play.libs.ws.WSRequest
Perform a PUT on the request asynchronously.
put(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>) - Method in interface play.libs.ws.WSRequest
Perform a PUT on the request asynchronously.
put(String, String) - Method in class play.mvc.Http.Flash
Adds the given value to the flash scope.
PUT - Static variable in interface play.mvc.Http.HttpVerbs
 
put(String, String) - Method in class play.mvc.Http.Session
Adds the given value to the session.
PUT(String) - Method in class play.routing.RoutingDsl
Create a PUT route for the given path pattern.
PUT - Static variable in class play.test.Helpers
 
putAll(TypedEntry<?>...) - Method in class play.libs.typedmap.TypedMap
Update the map with several entries, returning a new instance of the map.
putAll(Map<? extends String, ? extends String>) - Method in class play.mvc.Http.Flash
Adds the given values to the flash scope.
putAll(Map<? extends String, ? extends String>) - Method in class play.mvc.Http.Session
Adds the given values to the session.

Q

queryString() - Method in interface play.mvc.Http.RequestHeader
The query string content.
QueryStringBindable<T extends QueryStringBindable<T>> - Interface in play.mvc
Binder for query string parameters.
quitBrowser() - Method in class play.test.WithBrowser
 

R

randomBoundary() - Static method in class play.mvc.MultipartFormatter
 
RANGE - Static variable in interface play.mvc.Http.HeaderNames
 
RangeResults - Class in play.mvc
Java API for Range results.
RangeResults() - Constructor for class play.mvc.RangeResults
 
Raw(PlayBodyParsers) - Constructor for class play.mvc.BodyParser.Raw
 
rawBodyParser() - Method in interface play.components.BodyParserComponents
 
RawBuffer() - Constructor for class play.mvc.Http.RawBuffer
 
rawData() - Method in class play.data.DynamicForm
rawData() - Method in class play.data.Form
 
reason() - Method in class play.http.websocket.Message.Close
 
reasonPhrase() - Method in class play.mvc.ResponseHeader
 
reasonPhrase() - Method in class play.mvc.Result
Get the reason phrase, if it was set.
recover(Function<? super Throwable, ? extends A>, Executor) - Method in class play.libs.streams.Accumulator
Recover from any errors encountered by the accumulator.
recoverWith(Function<? super Throwable, ? extends CompletionStage<A>>, Executor) - Method in class play.libs.streams.Accumulator
Recover from any errors encountered by the accumulator.
redirect(String) - Static method in class play.mvc.Results
Generates a 303 See Other result.
redirect(Call) - Static method in class play.mvc.Results
Generates a 303 See Other result.
RedirectHttpsComponents - Interface in play.filters.components
The Redirect to HTTPS filter components for compile time dependency injection.
redirectHttpsConfiguration() - Method in interface play.filters.components.RedirectHttpsComponents
 
redirectHttpsFilter() - Method in interface play.filters.components.RedirectHttpsComponents
 
redirectLocation() - Method in class play.mvc.Result
Extracts the Location header of this Result value if this Result is a Redirect.
reference() - Static method in class play.Configuration
Deprecated.
A new reference configuration.
REFERER - Static variable in interface play.mvc.Http.HeaderNames
 
register(Class<T>, Formatters.SimpleFormatter<T>) - Method in class play.data.format.Formatters
Registers a simple formatter.
register(Class<T>, Formatters.AnnotationFormatter<A, T>) - Method in class play.data.format.Formatters
Registers an annotation-based formatter.
reject(String, String, List<Object>) - Method in class play.data.DynamicForm
Deprecated.
Deprecated as of 2.6.0. Use DynamicForm.withError(String, String, List) instead.
reject(String, String) - Method in class play.data.DynamicForm
Deprecated.
Deprecated as of 2.6.0. Use DynamicForm.withError(String, String) instead.
reject(ValidationError) - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.withError(ValidationError) instead.
reject(String, String, List<Object>) - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.withError(String, String, List) instead.
reject(String, String) - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.withError(String, String) instead.
reject(String, List<Object>) - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.withGlobalError(String, List) instead.
reject(String) - Method in class play.data.Form
Deprecated.
Deprecated as of 2.6.0. Use Form.withGlobalError(String) instead.
relative(String, String) - Static method in class play.core.Paths
Create a path to targetPath that's relative to the given startPath.
relativeTo(Http.RequestHeader) - Method in class play.mvc.Call
Transform this call to a relative path.
relativeTo(String) - Method in class play.mvc.Call
Transform this call to a relative path.
releaseInstance(ConstraintValidator<?, ?>) - Method in class play.data.validation.DefaultConstraintValidatorFactory
 
releaseInstance(ConstraintValidator<?, ?>) - Method in class play.data.validation.MappedConstraintValidatorFactory
 
remoteAddress() - Method in class play.mvc.Http.RequestBuilder
 
remoteAddress(String) - Method in class play.mvc.Http.RequestBuilder
 
remoteAddress() - Method in interface play.mvc.Http.RequestHeader
The client IP address.
remove(String) - Method in interface play.cache.AsyncCacheApi
Removes a value from the cache.
remove(String) - Method in interface play.cache.CacheApi
Deprecated.
Removes a value from the cache.
remove(String) - Method in class play.cache.DefaultAsyncCacheApi
 
remove(String) - Method in class play.cache.DefaultSyncCacheApi
 
remove(String) - Method in interface play.cache.SyncCacheApi
Removes a value from the cache.
remove(String) - Method in class play.cache.SyncCacheApiAdapter
 
remove(Object) - Method in class play.mvc.Http.Flash
Removes the specified value from the flash scope.
remove(String) - Method in class play.mvc.Http.Headers
Remove a header.
remove(Object) - Method in class play.mvc.Http.Session
Removes the specified value from the session.
removeAll() - Method in interface play.cache.AsyncCacheApi
Removes all values from the cache.
removeAll() - Method in class play.cache.DefaultAsyncCacheApi
 
reportError(String, String, Throwable) - Method in class play.Configuration
Deprecated.
Creates a configuration error for a specific configuration key.
reportFailure(Throwable) - Method in class play.libs.concurrent.CustomExecutionContext
 
reportValidationStatus(Object, ConstraintValidatorContext) - Method in interface play.data.validation.Constraints.PlayConstraintValidator
 
req - Variable in class play.mvc.Http.RequestBuilder
 
request() - Static method in class play.mvc.Controller
Returns the current HTTP request.
request() - Static method in class play.mvc.Http.Context.Implicit
Returns the current request.
request() - Method in class play.mvc.Http.Context
Returns the current request.
request() - Method in class play.mvc.Http.WrappedContext
 
REQUEST_ENTITY_TOO_LARGE - Static variable in interface play.mvc.Http.Status
 
REQUEST_TIMEOUT - Static variable in interface play.mvc.Http.Status
 
REQUEST_URI_TOO_LONG - Static variable in interface play.mvc.Http.Status
 
RequestBody(Object) - Constructor for class play.mvc.Http.RequestBody
 
RequestBuilder() - Constructor for class play.mvc.Http.RequestBuilder
Returns a simple request builder.
RequestBuilder(RequestFactory) - Constructor for class play.mvc.Http.RequestBuilder
Returns a simple request builder.
requestData(Http.Request) - Method in class play.data.Form
 
REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in interface play.mvc.Http.Status
 
RequestImpl(RequestHeader) - Constructor for class play.mvc.Http.RequestImpl
Constructor only based on a header.
RequestImpl(Request<Http.RequestBody>) - Constructor for class play.mvc.Http.RequestImpl
Constructor with a requestbody.
RequireCSRFCheck - Annotation Type in play.filters.csrf
This action requires a CSRF check.
requireCSRFCheckAction() - Method in interface play.filters.components.CSRFComponents
 
RequireCSRFCheckAction - Class in play.filters.csrf
 
RequireCSRFCheckAction(CSRFConfig, SessionConfiguration, CSRF.TokenProvider, CSRFTokenSigner, Injector) - Constructor for class play.filters.csrf.RequireCSRFCheckAction
 
RequireCSRFCheckAction(CSRFConfig, SessionConfiguration, CSRF.TokenProvider, CSRFTokenSigner, CSRFErrorHandler) - Constructor for class play.filters.csrf.RequireCSRFCheckAction
 
RequireCSRFCheckAction(CSRFConfig, SessionConfiguration, CSRF.TokenProvider, CSRFTokenSigner, Function<RequireCSRFCheck, CSRFErrorHandler>) - Constructor for class play.filters.csrf.RequireCSRFCheckAction
 
required() - Static method in class play.data.validation.Constraints
Constructs a 'required' validator.
RequiredValidator() - Constructor for class play.data.validation.Constraints.RequiredValidator
 
RESET_CONTENT - Static variable in interface play.mvc.Http.Status
 
resource(String) - Method in interface play.Application
Deprecated.
Deprecated as in 2.6.0. Use Environment.resource(String) instead.
resource(String) - Method in class play.Environment
Retrieves a resource from the classpath.
resourceAsStream(String) - Method in interface play.Application
Deprecated.
Deprecated as in 2.6.0. UseEnvironment.resourceAsStream(String) instead.
resourceAsStream(String) - Method in class play.Environment
Retrieves a resource stream from the classpath.
Resources - Class in play.libs
Provides utility functions to work with resources.
Resources() - Constructor for class play.libs.Resources
 
response() - Static method in class play.mvc.Controller
Returns the current HTTP response.
response() - Static method in class play.mvc.Http.Context.Implicit
Returns the current response.
response() - Method in class play.mvc.Http.Context
Returns the current response.
Response() - Constructor for class play.mvc.Http.Response
 
response() - Method in class play.mvc.Http.WrappedContext
 
ResponseHeader - Class in play.mvc
A simple HTTP response header, used for standard responses.
ResponseHeader(int, Map<String, String>) - Constructor for class play.mvc.ResponseHeader
 
ResponseHeader(int, Map<String, String>, String) - Constructor for class play.mvc.ResponseHeader
 
Result - Class in play.mvc
Any action result.
Result(ResponseHeader, HttpEntity, Http.Session, Http.Flash, List<Http.Cookie>) - Constructor for class play.mvc.Result
Create a result from a Scala ResponseHeader and a body.
Result(ResponseHeader, HttpEntity) - Constructor for class play.mvc.Result
Create a result from a Scala ResponseHeader and a body.
Result(int, Optional<String>, Map<String, String>, HttpEntity) - Constructor for class play.mvc.Result
Deprecated.
Deprecated as of 2.6.0. Use Result.Result(int, String, Map, HttpEntity).
Result(int, String, Map<String, String>, HttpEntity) - Constructor for class play.mvc.Result
Create a result.
Result(int, Map<String, String>, HttpEntity) - Constructor for class play.mvc.Result
Create a result.
Result(int, Map<String, String>) - Constructor for class play.mvc.Result
Create a result with no body.
Result(int, HttpEntity) - Constructor for class play.mvc.Result
Create a result.
Result(int) - Constructor for class play.mvc.Result
Create a result with no entity.
Results - Class in play.mvc
Common results.
Results() - Constructor for class play.mvc.Results
 
RETRY_AFTER - Static variable in interface play.mvc.Http.HeaderNames
 
right - Variable in class play.libs.F.Either
The right value.
Right(R) - Static method in class play.libs.F.Either
Constructs a right side of the disjoint union, as opposed to the Left side.
root() - Static method in class play.Configuration
Deprecated.
The root configuration.
rootPath() - Method in class play.Environment
The root path that the application is deployed at.
route(Http.RequestHeader) - Method in interface play.routing.Router
 
route(Call) - Static method in class play.test.Helpers
Deprecated.
route(Application, Call) - Static method in class play.test.Helpers
Route a call using the given application.
route(Call, long) - Static method in class play.test.Helpers
Deprecated.
route(Application, Call, long) - Static method in class play.test.Helpers
Route a call using the given application and timeout.
route(Http.RequestBuilder) - Static method in class play.test.Helpers
Deprecated.
as of 2.6.0. Use Helpers#route(Application, RequestBuilder).
route(Application, Http.RequestBuilder) - Static method in class play.test.Helpers
Route a request.
route(Http.RequestBuilder, long) - Static method in class play.test.Helpers
Deprecated.
as of 2.6.0. Use Helpers#route(Application, RequestBuilder, long).
route(Application, Http.RequestBuilder, long) - Static method in class play.test.Helpers
Route the request considering the given timeout.
ROUTE_ACTION_METHOD - Static variable in class play.routing.Router.Tags
Deprecated.
ROUTE_COMMENTS - Static variable in class play.routing.Router.Tags
Deprecated.
ROUTE_CONTROLLER - Static variable in class play.routing.Router.Tags
Deprecated.
ROUTE_PATTERN - Static variable in class play.routing.Router.Tags
Deprecated.
ROUTE_VERB - Static variable in class play.routing.Router.Tags
Deprecated.
Use Router.Attrs.HandlerDef instead.
routeAndCall(Http.RequestBuilder, long) - Static method in class play.test.Helpers
Deprecated.
as of 2.6.0. Use Helpers#routeAndCall(Application, RequestBuilder, long).
routeAndCall(Application, Http.RequestBuilder, long) - Static method in class play.test.Helpers
Route and call the request, respecting the given timeout.
routeAndCall(Class<? extends Router>, Http.RequestBuilder, long) - Static method in class play.test.Helpers
Deprecated.
as of 2.6.0. Use Helpers#routeAndCall(Application, Class, RequestBuilder, long).
routeAndCall(Application, Class<? extends Router>, Http.RequestBuilder, long) - Static method in class play.test.Helpers
Route and call the request, respecting the given timeout.
routeAndCall(Router, Http.RequestBuilder) - Static method in class play.test.Helpers
Deprecated.
as of 2.6.0. Use Helpers#routeAndCall(Application, Router, RequestBuilder).
routeAndCall(Application, Router, Http.RequestBuilder) - Static method in class play.test.Helpers
Route and call the request.
routeAndCall(Router, Http.RequestBuilder, long) - Static method in class play.test.Helpers
Deprecated.
as of 2.6.0. Use Helpers#routeAndCall(Application, RequestBuilder, long).
routeAndCall(Application, Router, Http.RequestBuilder, long) - Static method in class play.test.Helpers
Route and call the request, respecting the given timeout.
routeAsync(Supplier<? extends CompletionStage<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with no parameters.
routeAsync(Function<A1, ? extends CompletionStage<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with one parameter.
routeAsync(BiFunction<A1, A2, ? extends CompletionStage<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with two parameters.
routeAsync(F.Function3<A1, A2, A3, ? extends CompletionStage<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with three parameters.
RouteDocumentation(String, String, String) - Constructor for class play.routing.Router.RouteDocumentation
 
router() - Method in interface play.components.BaseComponents
 
Router - Interface in play.routing
The Java Router API
Router.Attrs - Class in play.routing
Request attributes used by the router.
Router.RouteDocumentation - Class in play.routing
 
Router.Tags - Class in play.routing
 
routerPackage() - Method in class play.routing.HandlerDef
 
routeTo(Supplier<Result>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with no parameters.
routeTo(Function<A1, Result>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with one parameter.
routeTo(BiFunction<A1, A2, Result>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with two parameters.
routeTo(F.Function3<A1, A2, A3, Result>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
Route with three parameters.
RoutingDsl - Class in play.routing
A DSL for building a router.
RoutingDsl() - Constructor for class play.routing.RoutingDsl
Deprecated.
Deprecated as of 2.6.0. Use an injected version instead.
RoutingDsl(BodyParser<AnyContent>, JavaContextComponents) - Constructor for class play.routing.RoutingDsl
RoutingDsl(PlayBodyParsers, JavaContextComponents) - Constructor for class play.routing.RoutingDsl
RoutingDsl(BodyParser.Default, JavaContextComponents) - Constructor for class play.routing.RoutingDsl
 
routingDsl() - Method in interface play.routing.RoutingDslComponents
 
RoutingDsl.PathPatternMatcher - Class in play.routing
A matcher for routes.
RoutingDslComponents - Interface in play.routing
Java Components for RoutingDsl.
RoutingDslComponentsFromContext - Class in play.routing
RoutingDsl components from the built in components.
RoutingDslComponentsFromContext(ApplicationLoader.Context) - Constructor for class play.routing.RoutingDslComponentsFromContext
 
run(Connection) - Method in interface play.db.ConnectionRunnable
 
run(Materializer) - Method in class play.libs.streams.Accumulator
Run the accumulator with an empty source.
run(Source<E, ?>, Materializer) - Method in class play.libs.streams.Accumulator
Run the accumulator with the given source.
run(E, Materializer) - Method in class play.libs.streams.Accumulator
Run the accumulator with a single element.
running(Application, Runnable) - Static method in class play.test.Helpers
Executes a block of code in a running application.
running(TestServer, Runnable) - Static method in class play.test.Helpers
Executes a block of code in a running server.
running(TestServer, Class<? extends WebDriver>, Consumer<TestBrowser>) - Static method in class play.test.Helpers
Executes a block of code in a running server, with a test browser.
running(TestServer, WebDriver, Consumer<TestBrowser>) - Static method in class play.test.Helpers
Executes a block of code in a running server, with a test browser.

S

sameSite() - Method in class play.mvc.Http.Cookie
 
SAX_FEATURE_PREFIX - Static variable in class play.libs.XML.Constants
 
Scala - Class in play.libs
Class that contains useful java <-> scala conversion helpers.
Scala() - Constructor for class play.libs.Scala
 
scalaApi() - Method in class play.i18n.MessagesApi
Deprecated.
As of release 2.6.0. Use MessagesApi.asScala()
scalaBodyParsers() - Method in interface play.components.BodyParserComponents
 
scalaHttpErrorHandler() - Method in interface play.components.HttpErrorHandlerComponents
 
script() - Method in class play.i18n.Lang
The script tag for this Lang
SECOND - Static variable in class play.libs.Time.CronExpression
 
seconds - Variable in class play.libs.Time.CronExpression
 
secure() - Method in class play.mvc.Http.Cookie
 
secure(boolean) - Method in class play.mvc.Http.RequestBuilder
 
secure() - Method in class play.mvc.Http.RequestBuilder
 
secure() - Method in interface play.mvc.Http.RequestHeader
Is the client using SSL?
Security - Class in play.mvc
Defines several security helpers.
Security() - Constructor for class play.mvc.Security
 
Security.Authenticated - Annotation Type in play.mvc
Wraps the annotated action in an Security.AuthenticatedAction.
Security.AuthenticatedAction - Class in play.mvc
Wraps another action, allowing only authenticated HTTP requests.
Security.Authenticator - Class in play.mvc
Handles authentication.
SecurityHeadersComponents - Interface in play.filters.components
The security headers Java components.
securityHeadersConfig() - Method in interface play.filters.components.SecurityHeadersComponents
 
securityHeadersFilter() - Method in interface play.filters.components.SecurityHeadersComponents
 
SEE_OTHER - Static variable in interface play.mvc.Http.Status
 
seeOther(String) - Static method in class play.mvc.Results
Generates a 303 See Other result.
seeOther(Call) - Static method in class play.mvc.Results
Generates a 303 See Other result.
selectNode(String, Object, Map<String, String>) - Static method in class play.libs.XPath
 
selectNode(String, Object) - Static method in class play.libs.XPath
 
selectNodes(String, Object, Map<String, String>) - Static method in class play.libs.XPath
Select all nodes that are selected by this XPath expression.
selectNodes(String, Object) - Static method in class play.libs.XPath
Select all nodes that are selected by this XPath expression.
selectText(String, Object, Map<String, String>) - Static method in class play.libs.XPath
 
selectText(String, Object) - Static method in class play.libs.XPath
 
sendEntity(HttpEntity) - Method in class play.mvc.StatusHeader
 
sendFile(File) - Method in class play.mvc.StatusHeader
Sends the given file using the default inline mode.
sendFile(File, boolean) - Method in class play.mvc.StatusHeader
Sends the given file.
sendFile(File, String) - Method in class play.mvc.StatusHeader
Send the given file.
sendFile(File, boolean, String) - Method in class play.mvc.StatusHeader
Send the given file.
sendInputStream(InputStream) - Method in class play.mvc.StatusHeader
Send the given input stream.
sendInputStream(InputStream, long) - Method in class play.mvc.StatusHeader
Send the given input stream.
sendJson(JsonNode) - Method in class play.mvc.StatusHeader
Send a json result.
sendJson(JsonNode, String) - Method in class play.mvc.StatusHeader
Deprecated.
As of 2.6.0, use sendJson(JsonNode, JsonEncoding)
sendJson(JsonNode, JsonEncoding) - Method in class play.mvc.StatusHeader
Send a json result.
sendPath(Path) - Method in class play.mvc.StatusHeader
Sends the given path if it is a valid file.
sendPath(Path, boolean) - Method in class play.mvc.StatusHeader
Sends the given path if it is a valid file.
sendPath(Path, String) - Method in class play.mvc.StatusHeader
Sends the given path if it is a valid file.
sendPath(Path, boolean, String) - Method in class play.mvc.StatusHeader
Sends the given path if it is a valid file.
sendResource(String) - Method in class play.mvc.StatusHeader
Send the given resource.
sendResource(String, ClassLoader) - Method in class play.mvc.StatusHeader
Send the given resource from the given classloader.
sendResource(String, boolean) - Method in class play.mvc.StatusHeader
Send the given resource.
sendResource(String, ClassLoader, boolean) - Method in class play.mvc.StatusHeader
Send the given resource from the given classloader.
sendResource(String, boolean, String) - Method in class play.mvc.StatusHeader
Send the given resource.
sendResource(String, ClassLoader, boolean, String) - Method in class play.mvc.StatusHeader
Send the given resource from the given classloader.
sequence(Iterable<? extends CompletionStage<A>>) - Static method in interface play.libs.concurrent.Futures
Combine the given CompletionStages into a single CompletionStage for the list of results.
sequence(CompletionStage<A>...) - Static method in interface play.libs.concurrent.Futures
Combine the given CompletionStages into a single CompletionStage for the list of results.
SERVER - Static variable in interface play.mvc.Http.HeaderNames
 
Server - Class in play.server
A Play server.
Server(Server) - Constructor for class play.server.Server
 
Server.Builder - Class in play.server
Configures and builds an embedded server.
Server.Protocol - Enum in play.server
Specifies the protocols supported by the server.
serverConfigs() - Method in class play.db.ebean.DefaultEbeanConfig
 
serverConfigs() - Method in interface play.db.ebean.EbeanConfig
 
SERVICE_UNAVAILABLE - Static variable in interface play.mvc.Http.Status
 
session() - Static method in class play.mvc.Controller
Returns the current HTTP session.
session(String, String) - Static method in class play.mvc.Controller
Puts a new value into the current session.
session(String) - Static method in class play.mvc.Controller
Returns a value from the session.
session() - Static method in class play.mvc.Http.Context.Implicit
Returns the current session.
session() - Method in class play.mvc.Http.Context
Returns the current session.
session() - Method in class play.mvc.Http.RequestBuilder
 
session(String, String) - Method in class play.mvc.Http.RequestBuilder
Sets a session.
session(Map<String, String>) - Method in class play.mvc.Http.RequestBuilder
Sets all parameters for the session.
Session(Map<String, String>) - Constructor for class play.mvc.Http.Session
 
session() - Method in class play.mvc.Http.WrappedContext
 
session() - Method in class play.mvc.Result
Extracts the Session of this Result value.
sessionConfiguration() - Method in interface play.components.HttpConfigurationComponents
 
set(String, Object, int) - Method in interface play.cache.AsyncCacheApi
Sets a value with expiration.
set(String, Object) - Method in interface play.cache.AsyncCacheApi
Sets a value without expiration.
set(String, Object, int) - Method in interface play.cache.CacheApi
Deprecated.
Sets a value with expiration.
set(String, Object) - Method in interface play.cache.CacheApi
Deprecated.
Sets a value without expiration.
set(String, Object, int) - Method in class play.cache.DefaultAsyncCacheApi
 
set(String, Object) - Method in class play.cache.DefaultAsyncCacheApi
 
set(String, Object, int) - Method in class play.cache.DefaultSyncCacheApi
 
set(String, Object) - Method in class play.cache.DefaultSyncCacheApi
 
set(String, Object, int) - Method in interface play.cache.SyncCacheApi
Sets a value with expiration.
set(String, Object) - Method in interface play.cache.SyncCacheApi
Sets a value without expiration.
set(String, Object, int) - Method in class play.cache.SyncCacheApiAdapter
 
set(String, Object) - Method in class play.cache.SyncCacheApiAdapter
 
SET_COOKIE - Static variable in interface play.mvc.Http.HeaderNames
 
SET_COOKIE2 - Static variable in interface play.mvc.Http.HeaderNames
 
setAuth(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setAuth(String, String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setAuth(String, String, WSAuthScheme) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setAuth(String) - Method in interface play.libs.ws.WSRequest
Sets the authentication header for the current request using BASIC authentication.
setAuth(String, String) - Method in interface play.libs.ws.WSRequest
Sets the authentication header for the current request using BASIC authentication.
setAuth(String, String, WSAuthScheme) - Method in interface play.libs.ws.WSRequest
Sets the authentication header for the current request.
setBody(BodyWritable) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setBody(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setBody(JsonNode) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setBody(InputStream) - Method in class play.libs.ws.ahc.AhcWSRequest
Deprecated.
setBody(File) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setBody(Source<ByteString, U>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setBody(BodyWritable) - Method in interface play.libs.ws.WSRequest
Set the body this request should use.
setBody(String) - Method in interface play.libs.ws.WSRequest
Set the body this request should use.
setBody(JsonNode) - Method in interface play.libs.ws.WSRequest
Set the body this request should use.
setBody(InputStream) - Method in interface play.libs.ws.WSRequest
setBody(File) - Method in interface play.libs.ws.WSRequest
Set the body this request should use.
setBody(Source<ByteString, U>) - Method in interface play.libs.ws.WSRequest
Set the body this request should use.
setCalendarHour(Calendar, int) - Method in class play.libs.Time.CronExpression
Advance the calendar to the particular hour paying particular attention to daylight saving problems.
setContentType(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setContentType(String) - Method in interface play.libs.ws.WSRequest
Set the content type.
setContentType(String) - Method in class play.mvc.Http.Response
Deprecated.
noop. Use Result.as(String) instead.
setCookie(String, String, Integer, String, String, boolean, boolean, Http.Cookie.SameSite) - Method in class play.mvc.Http.Response
Deprecated.
setCookie(Http.Cookie) - Method in class play.mvc.Http.Response
Set a new cookie.
setCookies(List<WSCookie>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setCookies(List<WSCookie>) - Method in interface play.libs.ws.WSRequest
Sets all the cookies on the request.
setData(Map<String, Object>) - Method in class play.data.DynamicForm.Dynamic
Sets the new data.
setFollowRedirects(boolean) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setFollowRedirects(boolean) - Method in interface play.libs.ws.WSRequest
Sets whether redirects (301, 302) should be followed automatically.
setHeader(String, String) - Method in class play.libs.ws.ahc.AhcWSRequest
Deprecated.
use addHeader(name, value)
setHeader(String, String) - Method in interface play.libs.ws.WSRequest
setHeader(String, String) - Method in class play.mvc.Http.Response
Adds a new header to the response.
setHeaders(Map<String, List<String>>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setHeaders(Map<String, List<String>>) - Method in interface play.libs.ws.WSRequest
Sets all of the headers on the request.
setMethod(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setMethod(String) - Method in interface play.libs.ws.WSRequest
Sets the HTTP method this request should use, where the no args execute() method is invoked.
setObjectMapper(ObjectMapper) - Static method in class play.libs.Json
Inject the object mapper to use.
setQueryParameter(String, String) - Method in class play.libs.ws.ahc.AhcWSRequest
Deprecated.
Use addQueryParameter
setQueryParameter(String, String) - Method in interface play.libs.ws.WSRequest
setQueryString(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setQueryString(Map<String, List<String>>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setQueryString(String) - Method in interface play.libs.ws.WSRequest
Sets the query string to query.
setQueryString(Map<String, List<String>>) - Method in interface play.libs.ws.WSRequest
Sets the query string to query.
setRequestFilter(WSRequestFilter) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setRequestFilter(WSRequestFilter) - Method in interface play.libs.ws.WSRequest
Adds a request filter.
setRequestTimeout(long) - Method in class play.libs.ws.ahc.AhcWSRequest
setRequestTimeout(Duration) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setRequestTimeout(Duration) - Method in interface play.libs.ws.WSRequest
Sets the request timeout in milliseconds.
setRequestTimeout(long) - Method in interface play.libs.ws.WSRequest
setTimeZone(TimeZone) - Method in class play.libs.Time.CronExpression
Sets the time zone for which this CronExpression will be resolved.
setTransientLang(String) - Method in class play.mvc.Http.Context
Set the language for the current request, but don't change the language cookie.
setTransientLang(Lang) - Method in class play.mvc.Http.Context
Set the language for the current request, but don't change the language cookie.
setVirtualHost(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setVirtualHost(String) - Method in interface play.libs.ws.WSRequest
Sets the virtual host as a "hostname:port" string.
shutdown() - Method in interface play.db.Database
Shutdown this database, closing the underlying data source.
shutdown() - Method in interface play.db.DBApi
Shutdown all databases, releasing resources.
shutdown() - Method in class play.db.DefaultDatabase
 
shutdown() - Method in class play.db.DefaultDBApi
 
shutdown() - Method in class play.db.jpa.DefaultJPAApi
Close all entity manager factories.
shutdown() - Method in interface play.db.jpa.JPAApi
Close all entity manager factories.
shutdown() - Method in interface play.LoggerConfigurator
Shutdown the logger infrastructure.
sign(String) - Method in interface play.libs.crypto.CookieSigner
Signs the given String using the application's secret key.
sign(String, byte[]) - Method in interface play.libs.crypto.CookieSigner
Signs the given String using the given key.
sign(String) - Method in class play.libs.crypto.DefaultCookieSigner
Signs the given String using the application's secret key.
sign(String, byte[]) - Method in class play.libs.crypto.DefaultCookieSigner
Signs the given String using the given key.
sign(WSSignatureCalculator) - Method in class play.libs.ws.ahc.AhcWSRequest
 
sign(WSSignatureCalculator) - Method in interface play.libs.ws.WSRequest
Sets an (OAuth) signature calculator.
signToken(String) - Method in interface play.libs.crypto.CSRFTokenSigner
Sign a token.
signToken(String) - Method in class play.libs.crypto.DefaultCSRFTokenSigner
 
simple() - Static method in class play.Environment
A simple environment.
Simple() - Constructor for class play.mvc.Action.Simple
 
SimpleEvolutionsReader - Class in play.db.evolutions
A simple evolutions reader that uses a map to store evolutions
SimpleEvolutionsReader(Map<String, List<Evolution>>) - Constructor for class play.db.evolutions.SimpleEvolutionsReader
 
SimpleFormatter() - Constructor for class play.data.format.Formatters.SimpleFormatter
 
singletonTemporaryFileCreator() - Static method in class play.libs.Files
 
SingletonTemporaryFileCreator() - Constructor for class play.libs.Files.SingletonTemporaryFileCreator
 
size() - Method in class play.mvc.Http.RawBuffer
Buffer size.
skipWhiteSpace(int, String) - Method in class play.libs.Time.CronExpression
 
source() - Static method in class play.libs.streams.Accumulator
Create an accumulator that forwards the stream fed into it to the source it produces.
sourceMapper() - Method in class play.ApplicationLoader.Context
Get the source mapper from the context.
sourceMapper() - Method in class play.BuiltInComponentsFromContext
 
sourceMapper() - Method in interface play.components.BaseComponents
 
SourceProvider - Class in play.inject
Provides access to the calling line of code.
SSLEngineProvider - Interface in play.server
 
start() - Method in class play.db.ebean.EbeanDynamicEvolutions
Initialise the Ebean servers.
start() - Method in class play.db.jpa.DefaultJPAApi
Initialise JPA entity manager factories.
start() - Method in interface play.db.jpa.JPAApi
Initialise JPA entity manager factories.
start(Application) - Static method in class play.test.Helpers
Starts a new application.
start(TestServer) - Static method in class play.test.Helpers
Starts a Test server.
startPlay() - Method in class play.test.WithApplication
 
startServer() - Method in class play.test.WithServer
 
status() - Method in class play.mvc.ResponseHeader
 
status() - Method in class play.mvc.Result
Get the status.
status(int) - Static method in class play.mvc.Results
Generates a simple result.
status(int, Content) - Static method in class play.mvc.Results
Generates a simple result.
status(int, Content, String) - Static method in class play.mvc.Results
Generates a simple result.
status(int, String) - Static method in class play.mvc.Results
Generates a simple result.
status(int, String, String) - Static method in class play.mvc.Results
Generates a simple result.
status(int, JsonNode) - Static method in class play.mvc.Results
Generates a simple result with json content and UTF8 encoding.
status(int, JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
As of 2.6.0, use status(int, JsonNode, JsonEncoding)
status(int, JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a simple result with json content.
status(int, byte[]) - Static method in class play.mvc.Results
Generates a simple result with byte-array content.
status(int, ByteString) - Static method in class play.mvc.Results
Generates a simple result.
status(int, InputStream) - Static method in class play.mvc.Results
Generates a chunked result.
status(int, InputStream, long) - Static method in class play.mvc.Results
Generates a chunked result.
status(int, File) - Static method in class play.mvc.Results
Generates a result with file contents.
status(int, File, boolean) - Static method in class play.mvc.Results
Generates a result with file content.
status(int, File, String) - Static method in class play.mvc.Results
Generates a result.
StatusHeader - Class in play.mvc
A status with no body
StatusHeader(int) - Constructor for class play.mvc.StatusHeader
 
stop() - Method in class play.server.Server
Stop the server.
stop(Application) - Static method in class play.test.Helpers
Stops an application.
stop(TestServer) - Static method in class play.test.Helpers
Stops a Test server.
stopPlay() - Method in class play.test.WithApplication
 
stopServer() - Method in class play.test.WithServer
 
storeExpressionVals(int, String, int) - Method in class play.libs.Time.CronExpression
 
stream() - Method in class play.libs.ws.ahc.AhcWSRequest
 
stream() - Method in interface play.libs.ws.WSRequest
Execute this request and stream the response body.
Streamed(Source<ByteString, ?>, Optional<Long>, Optional<String>) - Constructor for class play.http.HttpEntity.Streamed
 
Strict(ByteString, Optional<String>) - Constructor for class play.http.HttpEntity.Strict
 
strict(Function<Optional<E>, CompletionStage<A>>, Sink<E, CompletionStage<A>>) - Static method in class play.libs.streams.Accumulator
Create a done accumulator with the given future.
string(String) - Static method in class play.libs.Comet
Produces a Flow of escaped ByteString from a series of String elements.
stringify(JsonNode) - Static method in class play.libs.Json
Converts a JsonNode to its string representation.
stubMessagesApi() - Static method in class play.test.Helpers
Constructs an empty messagesApi instance.
stubMessagesApi(Map<String, Map<String, String>>, Langs) - Static method in class play.test.Helpers
Constructs a MessagesApi instance containing the given keys and values.
sub(String) - Method in class play.data.Form.Field
Get a sub-field, with a key relative to the current field.
subKeys() - Method in class play.Configuration
Deprecated.
Retrieves the set of direct sub-keys available in this configuration.
SWITCHING_PROTOCOLS - Static variable in interface play.mvc.Http.Status
 
sync() - Method in interface play.cache.AsyncCacheApi
 
sync() - Method in class play.cache.DefaultAsyncCacheApi
 
SyncCacheApi - Interface in play.cache
A CacheApi that makes synchronous calls.
SyncCacheApiAdapter - Class in play.cache
Adapts a Scala SyncCacheApi to a Java SyncCacheApi
SyncCacheApiAdapter(SyncCacheApi) - Constructor for class play.cache.SyncCacheApiAdapter
 

T

tag(String, String) - Method in class play.mvc.Http.RequestBuilder
Deprecated.
Use attr(key, value) instead.
tags() - Method in class play.mvc.Http.RequestBuilder
Deprecated.
Use typed attributes, i.e. attrs(), instead.
tags(Map<String, String>) - Method in class play.mvc.Http.RequestBuilder
Deprecated.
Use attrs(...) instead.
tags() - Method in interface play.mvc.Http.RequestHeader
Deprecated.
Use attr, withAttr, etc.
Tags() - Constructor for class play.routing.Router.Tags
 
TE - Static variable in interface play.mvc.Http.HeaderNames
 
tempFileCreator() - Method in class play.BuiltInComponentsFromContext
 
tempFileCreator() - Method in interface play.components.TemporaryFileComponents
 
TEMPORARY_REDIRECT - Static variable in interface play.mvc.Http.Status
 
TemporaryFileComponents - Interface in play.components
Components related to temporary file handle.
temporaryFileCreator() - Method in class play.libs.Files.DelegateTemporaryFile
 
temporaryFileCreator() - Method in interface play.libs.Files.TemporaryFile
 
temporaryRedirect(String) - Static method in class play.mvc.Results
Generates a 307 Temporary Redirect result.
temporaryRedirect(Call) - Static method in class play.mvc.Results
Generates a 307 Temporary Redirect result.
testBrowser() - Static method in class play.test.Helpers
Creates a Test Browser.
testBrowser(int) - Static method in class play.test.Helpers
Creates a Test Browser.
testBrowser(Class<? extends WebDriver>) - Static method in class play.test.Helpers
Creates a Test Browser.
testBrowser(Class<? extends WebDriver>, int) - Static method in class play.test.Helpers
Creates a Test Browser.
testBrowser(WebDriver, int) - Static method in class play.test.Helpers
Creates a Test Browser.
testBrowser(WebDriver) - Static method in class play.test.Helpers
Creates a Test Browser.
TestBrowser - Class in play.test
A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium).
TestBrowser(Class<? extends WebDriver>, String) - Constructor for class play.test.TestBrowser
A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium).
TestBrowser(WebDriver, String) - Constructor for class play.test.TestBrowser
A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium).
testServer() - Static method in class play.test.Helpers
Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001).
testServer(Application) - Static method in class play.test.Helpers
Creates a new Test server listening on port defined by configuration setting "testserver.port" (defaults to 19001) and using the given Application.
testServer(int) - Static method in class play.test.Helpers
Creates a new Test server.
testServer(int, Application) - Static method in class play.test.Helpers
Creates a new Test server.
TestServer - Class in play.test
A test Netty web server.
TestServer(int, Application) - Constructor for class play.test.TestServer
A test Netty web server.
TestServer(int, Application, int) - Constructor for class play.test.TestServer
A test Netty web server with HTTPS support
testServer - Variable in class play.test.WithServer
 
Text(String) - Constructor for class play.http.websocket.Message.Text
 
Text(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Text
 
Text(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Text
 
TEXT - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of text.
Text - Static variable in class play.mvc.WebSocket
Acceptor for text WebSockets.
textBodyParser() - Method in interface play.components.BodyParserComponents
 
through(Flow<D, E, ?>) - Method in class play.libs.streams.Accumulator
Pass the stream through the given flow before forwarding it to the accumulator.
throwableToUsefulException(Throwable) - Method in class play.http.DefaultHttpErrorHandler
Convert the given exception to an exception that Play can report more information about.
Time - Class in play.libs
Time utilities.
Time() - Constructor for class play.libs.Time
 
Time.CronExpression - Class in play.libs
Thanks to Quartz project, https://quartz.dev.java.net Provides a parser and evaluator for unix-like cron expressions.
timeout(CompletionStage<A>, long, TimeUnit) - Method in class play.libs.concurrent.DefaultFutures
Creates a CompletionStage that returns either the input stage, or a futures.
timeout(CompletionStage<A>, Duration) - Method in class play.libs.concurrent.DefaultFutures
An alias for futures(stage, delay, unit) that uses a java.time.Duration.
timeout(CompletionStage<A>, long, TimeUnit) - Method in interface play.libs.concurrent.Futures
Creates a CompletionStage that returns either the input stage, or a timeout.
timeout(CompletionStage<A>, Duration) - Method in interface play.libs.concurrent.Futures
An alias for timeout that uses a Duration.
timeout(A, long, TimeUnit) - Static method in interface play.libs.concurrent.Futures
Deprecated.
timeout(long, TimeUnit) - Static method in interface play.libs.concurrent.Futures
Deprecated.
Timeout - Interface in play.libs.concurrent
Deprecated.
Use play.libs.concurrent.Futures, deprecated in 2.6.0
timeout(CompletionStage<A>, long, TimeUnit) - Method in interface play.libs.concurrent.Timeout
Deprecated.
Creates a CompletionStage that returns either the input stage, or a timeout.
timeout(CompletionStage<A>, Duration) - Method in interface play.libs.concurrent.Timeout
Deprecated.
An alias for timeout(stage, delay, unit) that uses a java.time.Duration.
toBytes(Document) - Static method in class play.libs.XML
Converts the document to bytes.
TODO - Static variable in class play.mvc.Results
Generates a 501 NOT_IMPLEMENTED simple result.
toJson(Object) - Static method in class play.libs.Json
Converts an object to JsonNode.
TolerantJson(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantJson
 
TolerantJson(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantJson
 
tolerantJsonBodyParser() - Method in interface play.components.BodyParserComponents
 
TolerantText(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantText
 
TolerantText(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantText
 
tolerantTextBodyParser() - Method in interface play.components.BodyParserComponents
 
TolerantXml(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantXml
 
TolerantXml(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantXml
 
tolerantXmlBodyParser() - Method in interface play.components.BodyParserComponents
 
toLocale() - Method in class play.i18n.Lang
Convert to a Java Locale value.
toMap() - Method in class play.mvc.Http.Headers
 
TOO_MANY_REQUESTS - Static variable in interface play.mvc.Http.Status
 
toScala() - Method in interface play.db.Database
Deprecated.
As of release 2.6.0. Use Database.asScala()
toScala() - Method in class play.db.DefaultDatabase
 
toSeq(List<T>) - Static method in class play.libs.Scala
Converts a Java List to Scala Seq.
toSeq(T[]) - Static method in class play.libs.Scala
Converts a Java Array to Scala Seq.
toSink() - Method in class play.libs.streams.Accumulator
Convert this accumulator to a sink.
toString() - Method in class play.cache.NamedCacheImpl
 
toString() - Method in class play.data.DynamicForm.Dynamic
 
toString() - Method in class play.data.Form.Field
 
toString() - Method in class play.data.Form
 
toString() - Method in class play.data.validation.ValidationError
 
toString() - Method in class play.db.NamedDatabaseImpl
 
toString() - Method in class play.http.websocket.Message.Binary
 
toString() - Method in class play.http.websocket.Message.Close
 
toString() - Method in class play.http.websocket.Message.Ping
 
toString() - Method in class play.http.websocket.Message.Pong
 
toString() - Method in class play.http.websocket.Message.Text
 
toString() - Method in class play.inject.NamedImpl
 
toString() - Method in class play.libs.F.Either
 
toString() - Method in class play.libs.F.Tuple
 
toString() - Method in class play.libs.F.Tuple3
 
toString() - Method in class play.libs.F.Tuple4
 
toString() - Method in class play.libs.F.Tuple5
 
toString() - Method in class play.libs.Time.CronExpression
Returns the string representation of the CronExpression
toString() - Method in class play.libs.typedmap.TypedKey
 
toString() - Method in class play.libs.typedmap.TypedMap
 
toString() - Method in class play.mvc.Call
 
toString() - Method in class play.mvc.Http.Context
 
toString() - Method in class play.mvc.Http.RequestBody
 
trace(String) - Method in class play.Logger.ALogger
Logs a message with the TRACE level.
trace(Supplier<String>) - Method in class play.Logger.ALogger
Log a message with the TRACE level.
trace(Marker, String) - Method in class play.Logger.ALogger
Logs a message with the TRACE level.
trace(String, Object...) - Method in class play.Logger.ALogger
Logs a message with the TRACE level.
trace(Marker, String, Object...) - Method in class play.Logger.ALogger
This method is similar to Logger.ALogger.trace(String, Object...) method except that the marker data is also taken into consideration.
trace(String, Throwable) - Method in class play.Logger.ALogger
Logs a message with the TRACE level, with the given error.
trace(Marker, String, Throwable) - Method in class play.Logger.ALogger
Logs a message with the TRACE level, with the given error.
trace(String) - Static method in class play.Logger
Log a message with the TRACE level.
trace(Supplier<String>) - Static method in class play.Logger
Log a message with the TRACE level.
trace(String, Object...) - Static method in class play.Logger
Log a message with the TRACE level.
trace(String, Supplier<?>...) - Static method in class play.Logger
Log a message with the TRACE level.
trace(String, Throwable) - Static method in class play.Logger
Log a message with the TRACE level.
TRAILER - Static variable in interface play.mvc.Http.HeaderNames
 
Transactional - Annotation Type in play.db.ebean
Wraps the annotated action in an Ebean transaction.
Transactional - Annotation Type in play.db.jpa
Wraps the annotated action in an JPA transaction.
TransactionalAction - Class in play.db.ebean
Wraps an action in an Ebean transaction.
TransactionalAction() - Constructor for class play.db.ebean.TransactionalAction
 
TransactionalAction - Class in play.db.jpa
Wraps an action in am JPA transaction.
TransactionalAction(JPAApi) - Constructor for class play.db.jpa.TransactionalAction
 
TRANSFER_ENCODING - Static variable in interface play.mvc.Http.HeaderNames
 
transform(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>, String) - Static method in class play.mvc.MultipartFormatter
 
Tuple(A, B) - Static method in class play.libs.F
Constructs a tuple of A,B
Tuple(A, B) - Constructor for class play.libs.F.Tuple
 
Tuple(A, B) - Static method in class play.libs.Scala
Creates a Scala Tuple2.
Tuple3(A, B, C) - Static method in class play.libs.F
Constructs a tuple of A,B,C
Tuple3(A, B, C) - Constructor for class play.libs.F.Tuple3
 
Tuple4(A, B, C, D) - Static method in class play.libs.F
Constructs a tuple of A,B,C,D
Tuple4(A, B, C, D) - Constructor for class play.libs.F.Tuple4
 
Tuple5(A, B, C, D, E) - Static method in class play.libs.F
Constructs a tuple of A,B,C,D,E
Tuple5(A, B, C, D, E) - Constructor for class play.libs.F.Tuple5
 
TypedEntry<A> - Class in play.libs.typedmap
An entry that binds a typed key and a value.
TypedEntry(TypedKey<A>, A) - Constructor for class play.libs.typedmap.TypedEntry
 
TypedKey<A> - Class in play.libs.typedmap
A TypedKey is a key that can be used to get and set values in a TypedMap or any object with typed keys.
TypedKey(TypedKey<A>) - Constructor for class play.libs.typedmap.TypedKey
 
TypedMap - Class in play.libs.typedmap
A TypedMap is an immutable map containing typed values.
TypedMap(TypedMap) - Constructor for class play.libs.typedmap.TypedMap
 

U

UNAUTHORIZED - Static variable in interface play.mvc.Http.Status
 
unauthorized() - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(Content) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(Content, String) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(String) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(String, String) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(JsonNode) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(JsonNode, String) - Static method in class play.mvc.Results
Deprecated.
unauthorized(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(byte[]) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(InputStream) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(InputStream, long) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(File) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(File, boolean) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unauthorized(File, String) - Static method in class play.mvc.Results
Generates a 401 Unauthorized result.
unbind(String) - Method in interface play.mvc.PathBindable
Unbind a URL path parameter.
unbind(String) - Method in interface play.mvc.QueryStringBindable
Unbind a query string parameter.
underlying() - Method in class play.ApplicationLoader.Context
Deprecated.
As of release 2.6.0. Use ApplicationLoader.Context.asScala()
underlying() - Method in class play.Configuration
Deprecated.
Returns the underlying Typesafe config object.
underlying() - Method in class play.Environment
Deprecated.
As of release 2.6.0. Use Environment.asScala()
underlying() - Method in class play.libs.typedmap.TypedKey
 
underlying() - Method in class play.libs.typedmap.TypedMap
 
underlying() - Method in class play.Logger.ALogger
Get the underlying SLF4J logger.
underlying() - Static method in class play.Logger
Get the underlying application SLF4J logger.
underlying() - Method in class play.server.Server
 
unique() - Method in class play.mvc.Call
Append a unique identifier to the URL.
uniquify(String) - Method in class play.mvc.Call
 
unitName - Variable in class play.db.jpa.JPAConfig.PersistenceUnit
 
UNKNOWN_SOURCE - Static variable in class play.inject.SourceProvider
Indicates that the source is unknown.
UNPROCESSABLE_ENTITY - Static variable in interface play.mvc.Http.Status
 
UNSUPPORTED_MEDIA_TYPE - Static variable in interface play.mvc.Http.Status
 
unsupportedMediaType() - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(Content) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(Content, String) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(String) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(String, String) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(JsonNode) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(JsonNode, JsonEncoding) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(byte[]) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(InputStream) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(InputStream, long) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(File) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(File, boolean) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unsupportedMediaType(File, String) - Static method in class play.mvc.Results
Generates a 415 Unsupported Media Type result.
unwrapContainerAnnotations(A[]) - Static method in class play.libs.AnnotationUtils
Returns a new array whose entries do not contain container annotations anymore but the indirectly present annotation(s) a container annotation was wrapping instead.
UPGRADE - Static variable in interface play.mvc.Http.HeaderNames
 
UPGRADE_REQUIRED - Static variable in interface play.mvc.Http.Status
 
uri() - Method in class play.mvc.Http.RequestBuilder
 
uri(URI) - Method in class play.mvc.Http.RequestBuilder
 
uri(String) - Method in class play.mvc.Http.RequestBuilder
Sets the uri.
uri() - Method in interface play.mvc.Http.RequestHeader
The complete request URI, containing both path and query string.
url(String) - Method in class play.libs.ws.ahc.AhcWSClient
 
url(String) - Method in interface play.libs.ws.WSClient
Returns a WSRequest object representing the URL.
url() - Method in class play.mvc.Call
The request URL.
USE_PROXY - Static variable in interface play.mvc.Http.Status
 
USER_AGENT - Static variable in interface play.mvc.Http.HeaderNames
 
username() - Method in interface play.mvc.Http.Request
Deprecated.
As of release 2.6, use attrs.get(Security.USERNAME) or attrs.getOptional(Security.USERNAME).
username() - Method in class play.mvc.Http.RequestBuilder
Deprecated.
Use attrs().get(Security.USERNAME) or attrs().getOptional(Security.USERNAME) instead.
username(String) - Method in class play.mvc.Http.RequestBuilder
Deprecated.
Use attr(Security.USERNAME, username) instead.
USERNAME - Static variable in class play.mvc.Security
 

V

validate() - Method in interface play.data.validation.Constraints.Validatable
 
validateContentType(HttpErrorHandler, Http.RequestHeader, String, Function<String, Boolean>, Function<Http.RequestHeader, Accumulator<ByteString, F.Either<Result, A>>>) - Static method in class play.mvc.BodyParsers
Validate the content type of the passed in request using the given validator.
ValidateValidator() - Constructor for class play.data.validation.Constraints.ValidateValidator
 
ValidateWithValidator() - Constructor for class play.data.validation.Constraints.ValidateWithValidator
 
ValidateWithValidator(Class) - Constructor for class play.data.validation.Constraints.ValidateWithValidator
 
ValidationError - Class in play.data.validation
A form validation error.
ValidationError(String, String) - Constructor for class play.data.validation.ValidationError
Constructs a new ValidationError.
ValidationError(String, String, List<Object>) - Constructor for class play.data.validation.ValidationError
Constructs a new ValidationError.
ValidationError(String, List<String>, List<Object>) - Constructor for class play.data.validation.ValidationError
Constructs a new ValidationError.
validationSuccessful(Object) - Method in interface play.data.validation.Constraints.PlayConstraintValidator
 
Validator() - Constructor for class play.data.validation.Constraints.Validator
 
validator() - Method in interface play.data.validation.ValidatorsComponents
 
ValidatorProvider - Class in play.data.validation
 
ValidatorProvider(ConstraintValidatorFactory, ApplicationLifecycle) - Constructor for class play.data.validation.ValidatorProvider
 
ValidatorsComponents - Interface in play.data.validation
Java Components for Validator.
ValidatorsModule - Class in play.data.validation
 
ValidatorsModule() - Constructor for class play.data.validation.ValidatorsModule
 
value() - Method in class play.cache.NamedCacheImpl
 
value(String) - Method in class play.data.DynamicForm
Gets the concrete value
value() - Method in class play.data.Form.Field
Deprecated.
Deprecated as of 2.6.0. Use Form.Field.getValue() instead.
value() - Method in class play.data.Form
 
value() - Method in class play.db.NamedDatabaseImpl
 
value() - Method in class play.inject.NamedImpl
 
value() - Method in class play.libs.typedmap.TypedEntry
 
value() - Method in enum play.mvc.Http.Cookie.SameSite
 
value() - Method in class play.mvc.Http.Cookie
 
valueOf(String) - Static method in enum play.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum play.mvc.Http.Cookie.SameSite
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum play.server.Server.Protocol
Returns the enum constant of this type with the specified name.
valueOr(String) - Method in class play.data.Form.Field
Deprecated.
Deprecated as of 2.6.0. Use Form.Field.getValue() instead.
values() - Static method in enum play.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum play.mvc.Http.Cookie.SameSite
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum play.server.Server.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
varargs(T...) - Static method in class play.libs.Scala
Converts a Java varargs to Scala Seq.
variant() - Method in class play.i18n.Lang
The variant tag for this Lang
VARY - Static variable in interface play.mvc.Http.HeaderNames
 
verb() - Method in class play.routing.HandlerDef
 
version() - Method in class play.mvc.Http.RequestBuilder
 
version(String) - Method in class play.mvc.Http.RequestBuilder
 
version() - Method in interface play.mvc.Http.RequestHeader
The HTTP version.
VIA - Static variable in interface play.mvc.Http.HeaderNames
 

W

waitUntil(FluentWait<WebDriver>, Function<WebDriver, T>) - Method in class play.test.TestBrowser
Repeatedly applies this instance's input value to the given function until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the timeout expires Useful in situations where FluentAdapter#await is too specific (for example to check against page source)
waitUntil(Function<WebDriver, T>) - Method in class play.test.TestBrowser
Repeatedly applies this instance's input value to the given function until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the default timeout expires useful in situations where FluentAdapter#await is too specific (for example to check against page source or title)
warn(String) - Method in class play.Logger.ALogger
Log a message with the WARN level.
warn(Supplier<String>) - Method in class play.Logger.ALogger
Log a message with the WARN level.
warn(Marker, String) - Method in class play.Logger.ALogger
Log a message with the WARN level.
warn(String, Object...) - Method in class play.Logger.ALogger
Log a message with the WARN level.
warn(String, Supplier<?>...) - Method in class play.Logger.ALogger
Log a message with the WARN level.
warn(Marker, String, Object...) - Method in class play.Logger.ALogger
Log a message with the WARN level.
warn(String, Throwable) - Method in class play.Logger.ALogger
Log a message with the WARN level, with the given error.
warn(Marker, String, Throwable) - Method in class play.Logger.ALogger
Log a message with the WARN level, with the given error.
warn(String) - Static method in class play.Logger
Log a message with the WARN level.
warn(Supplier<String>) - Static method in class play.Logger
Log a message with the WARN level.
warn(String, Object...) - Static method in class play.Logger
Log a message with the WARN level.
warn(String, Supplier<?>...) - Static method in class play.Logger
Log a message with the WARN level.
warn(String, Throwable) - Static method in class play.Logger
Log a message with the WARN level.
WARNING - Static variable in interface play.mvc.Http.HeaderNames
 
WebSocket - Class in play.mvc
A WebSocket handler.
WebSocket() - Constructor for class play.mvc.WebSocket
 
WebSocket.MappedWebSocketAcceptor<In,Out> - Class in play.mvc
Utility class for creating WebSockets.
webSocketURL(Http.Request) - Method in class play.mvc.Call
Transform this call to an WebSocket URL.
webSocketURL(Http.Request, boolean) - Method in class play.mvc.Call
Transform this call to an WebSocket URL.
webSocketURL(boolean, String) - Method in class play.mvc.Call
Transform this call to an WebSocket URL.
With - Annotation Type in play.mvc
Decorates an Action or a Controller with another Action.
WithApplication - Class in play.test
Provides an application for JUnit tests.
WithApplication() - Constructor for class play.test.WithApplication
 
withAttrs(TypedMap) - Method in interface play.mvc.Http.Request
 
withAttrs(TypedMap) - Method in interface play.mvc.Http.RequestHeader
Create a new version of this object with the given attributes attached to it.
withBody(Http.RequestBody) - Method in interface play.mvc.Http.Request
 
withBody(Http.RequestBody) - Method in interface play.mvc.Http.RequestHeader
Attach a body to this header.
WithBrowser - Class in play.test
Provides a server and browser to JUnit tests.
WithBrowser() - Constructor for class play.test.WithBrowser
 
withConfig(Config) - Method in class play.ApplicationLoader.Context
Create a new context with a different configuration.
withConfigLoader(Function<Environment, Config>) - Method in class play.inject.guice.GuiceApplicationBuilder
Set the initial configuration loader.
withConfiguration(Configuration) - Method in class play.ApplicationLoader.Context
Deprecated.
withConnection(ConnectionRunnable) - Method in interface play.db.Database
Execute a block of code, providing a JDBC connection.
withConnection(ConnectionCallable<A>) - Method in interface play.db.Database
Execute a block of code, providing a JDBC connection.
withConnection(boolean, ConnectionRunnable) - Method in interface play.db.Database
Execute a block of code, providing a JDBC connection.
withConnection(boolean, ConnectionCallable<A>) - Method in interface play.db.Database
Execute a block of code, providing a JDBC connection.
withConnection(ConnectionRunnable) - Method in class play.db.DefaultDatabase
 
withConnection(ConnectionCallable<A>) - Method in class play.db.DefaultDatabase
 
withConnection(boolean, ConnectionRunnable) - Method in class play.db.DefaultDatabase
 
withConnection(boolean, ConnectionCallable<A>) - Method in class play.db.DefaultDatabase
 
withCookies(Http.Cookie...) - Method in class play.mvc.Result
Returns a copy of this result with the given cookies.
withDomain(String) - Method in class play.mvc.Http.CookieBuilder
 
withEnvironment(Environment) - Method in class play.ApplicationLoader.Context
Create a new context with a different environment.
withError(String, String, List<Object>) - Method in class play.data.DynamicForm
 
withError(String, String) - Method in class play.data.DynamicForm
 
withError(ValidationError) - Method in class play.data.Form
 
withError(String, String, List<Object>) - Method in class play.data.Form
 
withError(String, String) - Method in class play.data.Form
 
withFallback(Configuration) - Method in class play.Configuration
Deprecated.
Extend this configuration with fallback configuration.
withFragment(String) - Method in class play.mvc.Call
Returns a new Call with the given fragment.
withGlobalError(String, List<Object>) - Method in class play.data.Form
 
withGlobalError(String) - Method in class play.data.Form
 
withHeader(String, String) - Method in class play.mvc.ResponseHeader
 
withHeader(String, String) - Method in class play.mvc.Result
Return a copy of this result with the given header.
withHeaders(Map<String, String>) - Method in class play.mvc.ResponseHeader
 
withHeaders(String...) - Method in class play.mvc.Result
Return a copy of this result with the given headers.
withHttpOnly(boolean) - Method in class play.mvc.Http.CookieBuilder
 
withId(String) - Method in class play.libs.EventSource.Event
 
withMaxAge(Integer) - Method in class play.mvc.Http.CookieBuilder
Deprecated.
As of 2.6.0, use withMaxAge(Duration) instead.
withMaxAge(Duration) - Method in class play.mvc.Http.CookieBuilder
Set the maximum age of the cookie.
withModuleLoader(BiFunction<Environment, Config, List<GuiceableModule>>) - Method in class play.inject.guice.GuiceApplicationBuilder
Set the module loader.
withName(String) - Method in class play.libs.EventSource.Event
 
withName(String) - Method in class play.mvc.Http.CookieBuilder
 
withPath(String) - Method in class play.mvc.Http.CookieBuilder
 
withPrefix(String) - Method in interface play.routing.Router
 
withRequest(Http.Request) - Method in class play.mvc.Http.Context
Create a new context with the given request.
withSameSite(Http.Cookie.SameSite) - Method in class play.mvc.Http.CookieBuilder
 
withSecure(boolean) - Method in class play.mvc.Http.CookieBuilder
 
WithServer - Class in play.test
Provides a server to JUnit tests.
WithServer() - Constructor for class play.test.WithServer
 
withTransaction(ConnectionRunnable) - Method in interface play.db.Database
Execute a block of code in the scope of a JDBC transaction.
withTransaction(ConnectionCallable<A>) - Method in interface play.db.Database
Execute a block of code in the scope of a JDBC transaction.
withTransaction(ConnectionRunnable) - Method in class play.db.DefaultDatabase
 
withTransaction(ConnectionCallable<A>) - Method in class play.db.DefaultDatabase
 
withTransaction(Function<EntityManager, T>) - Method in class play.db.jpa.DefaultJPAApi
Run a block of code with the EntityManager for the named Persistence Unit.
withTransaction(String, Function<EntityManager, T>) - Method in class play.db.jpa.DefaultJPAApi
Run a block of code with the EntityManager for the named Persistence Unit.
withTransaction(String, boolean, Function<EntityManager, T>) - Method in class play.db.jpa.DefaultJPAApi
Run a block of code with the EntityManager for the named Persistence Unit.
withTransaction(Supplier<T>) - Method in class play.db.jpa.DefaultJPAApi
Run a block of code in a JPA transaction.
withTransaction(Runnable) - Method in class play.db.jpa.DefaultJPAApi
Run a block of code in a JPA transaction.
withTransaction(String, boolean, Supplier<T>) - Method in class play.db.jpa.DefaultJPAApi
Run a block of code in a JPA transaction.
withTransaction(Function<EntityManager, T>) - Method in interface play.db.jpa.JPAApi
Run a block of code with a given EntityManager.
withTransaction(String, Function<EntityManager, T>) - Method in interface play.db.jpa.JPAApi
Run a block of code with a given EntityManager.
withTransaction(String, boolean, Function<EntityManager, T>) - Method in interface play.db.jpa.JPAApi
Run a block of code with a given EntityManager.
withTransaction(Supplier<T>) - Method in interface play.db.jpa.JPAApi
Run a block of code in a JPA transaction.
withTransaction(Runnable) - Method in interface play.db.jpa.JPAApi
Run a block of code in a JPA transaction.
withTransaction(String, boolean, Supplier<T>) - Method in interface play.db.jpa.JPAApi
Run a block of code in a JPA transaction.
withUsername(String) - Method in interface play.mvc.Http.Request
Deprecated.
As of release 2.6, use req.withAttrs(req.attrs().put(Security.USERNAME, username)).
withValue(String) - Method in class play.mvc.Http.CookieBuilder
 
WrappedContext(Http.Context) - Constructor for class play.mvc.Http.WrappedContext
 
WS - Class in play.libs.ws
Deprecated.
as of 2.6, this class is deprecated in favor of an injected WSClient.
WS() - Constructor for class play.libs.ws.WS
Deprecated.
 
WSBodyReadables - Interface in play.libs.ws
JSON, XML and Multipart Form Data Readables used for Play-WS bodies.
WSBodyWritables - Interface in play.libs.ws
JSON, XML and Multipart Form Data Writables used for Play-WS bodies.
wsClient() - Method in interface play.libs.ws.ahc.AhcWSComponents
 
wsClient() - Method in interface play.libs.ws.ahc.WSClientComponents
 
WSClient - Interface in play.libs.ws
This is the WS Client interface for Java.
WSClientComponents - Interface in play.libs.ws.ahc
Java WSClient components.
WSRequest - Interface in play.libs.ws
This is the main interface to building a WS request in Java.
WSResponse - Interface in play.libs.ws
This is the WS response from the server.
WSTestClient - Class in play.test
 
WSTestClient() - Constructor for class play.test.WSTestClient
 
WWW_AUTHENTICATE - Static variable in interface play.mvc.Http.HeaderNames
 

X

X_FORWARDED_FOR - Static variable in interface play.mvc.Http.HeaderNames
 
X_FORWARDED_HOST - Static variable in interface play.mvc.Http.HeaderNames
 
X_FORWARDED_PORT - Static variable in interface play.mvc.Http.HeaderNames
 
X_FORWARDED_PROTO - Static variable in interface play.mvc.Http.HeaderNames
 
X_REQUESTED_WITH - Static variable in interface play.mvc.Http.HeaderNames
 
XERCES_FEATURE_PREFIX - Static variable in class play.libs.XML.Constants
 
XHTML - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of xhtml.
XML - Class in play.libs
XML utilities.
XML() - Constructor for class play.libs.XML
 
Xml(long, HttpErrorHandler, PlayBodyParsers) - Constructor for class play.mvc.BodyParser.Xml
 
Xml(HttpConfiguration, HttpErrorHandler, PlayBodyParsers) - Constructor for class play.mvc.BodyParser.Xml
 
XML - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of xml.
XML.Constants - Class in play.libs
Includes the SAX prefixes from 'com.sun.org.apache.xerces.internal.impl.Constants' since they will likely be internal in JDK9
xmlBodyParser() - Method in interface play.components.BodyParserComponents
 
XPath - Class in play.libs
XPath for parsing
XPath() - Constructor for class play.libs.XPath
 

Y

YEAR - Static variable in class play.libs.Time.CronExpression
 
years - Variable in class play.libs.Time.CronExpression
 

_

_1 - Variable in class play.libs.F.Tuple
 
_1 - Variable in class play.libs.F.Tuple3
 
_1 - Variable in class play.libs.F.Tuple4
 
_1 - Variable in class play.libs.F.Tuple5
 
_2 - Variable in class play.libs.F.Tuple
 
_2 - Variable in class play.libs.F.Tuple3
 
_2 - Variable in class play.libs.F.Tuple4
 
_2 - Variable in class play.libs.F.Tuple5
 
_3 - Variable in class play.libs.F.Tuple3
 
_3 - Variable in class play.libs.F.Tuple4
 
_3 - Variable in class play.libs.F.Tuple5
 
_4 - Variable in class play.libs.F.Tuple4
 
_4 - Variable in class play.libs.F.Tuple5
 
_5 - Variable in class play.libs.F.Tuple5
 
_requestHeader() - Method in class play.mvc.Http.Context
The original Play request Header used to create this context.
_requestHeader() - Method in class play.mvc.Http.WrappedContext
 
_underlyingHeader() - Method in interface play.mvc.Http.RequestHeader
Deprecated.
As of release 2.6.0. Use Http.RequestHeader.asScala()
_underlyingRequest() - Method in interface play.mvc.Http.Request
Deprecated.
As of release 2.6.0. Use Http.Request.asScala()
A B C D E F G H I J K L M N O P Q R S T U V W X Y _ 
Skip navigation links