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 Z _ 

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
 
acceptEither(CompletionStage<? extends A>, Consumer<? super A>) - Method in class play.libs.F.Promise
Deprecated.
 
acceptEitherAsync(CompletionStage<? extends A>, Consumer<? super A>) - Method in class play.libs.F.Promise
Deprecated.
 
acceptEitherAsync(CompletionStage<? extends A>, Consumer<? super A>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
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
 
accessTokenURL - Variable in class play.libs.oauth.OAuth.ServiceInfo
 
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 - Interface in play.http
An interface for creating Java actions from Java methods.
actorProps(ActorRef) - Method in class play.mvc.LegacyWebSocket
Deprecated.
The props to create the actor to handle this WebSocket.
AddCSRFToken - Annotation Type in play.filters.csrf
This action adds a CSRF token to the request and response if not already there.
AddCSRFTokenAction - Class in play.filters.csrf
 
AddCSRFTokenAction(CSRFConfig, CSRF.TokenProvider, CSRFTokenSigner) - Constructor for class play.filters.csrf.AddCSRFTokenAction
 
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
 
AhcWSAPI - Class in play.libs.ws.ahc
 
AhcWSAPI(AhcWSClientConfig, ApplicationLifecycle, Materializer) - Constructor for class play.libs.ws.ahc.AhcWSAPI
 
AhcWSClient - Class in play.libs.ws.ahc
A WS client backed by an AsyncHttpClient.
AhcWSClient(AsyncHttpClientConfig, Materializer) - Constructor for class play.libs.ws.ahc.AhcWSClient
 
AhcWSCookie - Class in play.libs.ws.ahc
The Ning implementation of a WS cookie.
AhcWSCookie(Cookie) - Constructor for class play.libs.ws.ahc.AhcWSCookie
 
AhcWSModule - Class in play.libs.ws.ahc
 
AhcWSModule() - Constructor for class play.libs.ws.ahc.AhcWSModule
 
AhcWSModule.WSClientProvider - Class in play.libs.ws.ahc
 
AhcWSRequest - Class in play.libs.ws.ahc
provides the User facing API for building WS request.
AhcWSRequest(AhcWSClient, String, Materializer) - Constructor for class play.libs.ws.ahc.AhcWSRequest
 
AhcWSResponse - Class in play.libs.ws.ahc
A WS response.
AhcWSResponse(Response) - Constructor for class play.libs.ws.ahc.AhcWSResponse
 
Akka - Class in play.libs
Helper to access the application defined Akka Actor system.
Akka() - Constructor for class play.libs.Akka
 
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
 
ALLOW - Static variable in interface play.mvc.Http.HeaderNames
 
ALogger(Logger) - Constructor for class play.Logger.ALogger
 
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
 
AnyContent(HttpErrorHandler, HttpConfiguration) - Constructor for class play.mvc.BodyParser.AnyContent
 
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() - Static method in class play.Play
Deprecated.
inject the Application instead. Deprecated since 2.5.0.
ApplicationLifecycle - Interface in play.inject
Application lifecycle register.
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(String) - Method in class play.data.Form
Retrieve a field.
apply(ClassLoader) - Method in class play.db.ebean.ModelsConfigLoader
 
apply(A, B, C) - Method in interface play.libs.F.Function3
 
apply(WSRequest) - Method in interface play.libs.ws.WSRequestExecutor
 
apply(WSRequestExecutor) - Method in interface play.libs.ws.WSRequestFilter
 
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.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.
applyToEither(CompletionStage<? extends A>, Function<? super A, U>) - Method in class play.libs.F.Promise
Deprecated.
 
applyToEitherAsync(CompletionStage<? extends A>, Function<? super A, U>) - Method in class play.libs.F.Promise
Deprecated.
 
applyToEitherAsync(CompletionStage<? extends A>, Function<? super A, U>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
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
Return the entity as the given content type.
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
Get the response body as a byte array
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
Convert a JsonNode to its string representation, escaping non-ascii characters.
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
Convert 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
Get the response body as a JsonNode
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
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 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
Get a Scala HttpFilters object
asScala() - Method in interface play.http.HttpRequestHandler
Adapt this to a Scala HttpRequestHandler
asScala() - Method in class play.libs.Crypto
Deprecated.
 
asScala() - Method in interface play.libs.crypto.CSRFTokenSigner
 
asScala() - Method in class play.libs.F.Promise
Deprecated.
Convert this promise to a Scala future.
asScala(Map<A, B>) - 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.mvc.Filter
 
asScala() - Method in class play.mvc.Result
Convert this result to a Scala result.
asScala() - Method in interface play.routing.Router
 
asText() - Method in class play.mvc.Http.RequestBody
The request content as text.
asXml() - Method in class play.libs.ws.ahc.AhcWSResponse
Get the response body as a DOM document
asXml() - Method in interface play.libs.ws.WSResponse
Gets the body as XML.
asXml() - Method in class play.mvc.Http.RequestBody
The request content as XML.
asyncTryWithResource(T, Function<T, CompletionStage<U>>) - Static method in class play.libs.Resources
 
at(String, Object...) - Method in class play.i18n.Messages
Get the message at the given key.
at(List<String>, Object...) - Method in class play.i18n.Messages
Get the message at the first defined key.
attributes() - Method in class play.libs.openid.UserInfo
 
AuthenticatedAction(Injector) - Constructor for class play.mvc.Security.AuthenticatedAction
 
Authenticator() - Constructor for class play.mvc.Security.Authenticator
 
AUTHORIZATION - Static variable in interface play.mvc.Http.HeaderNames
 
authorizationURL - Variable in class play.libs.oauth.OAuth.ServiceInfo
 
availables() - Static method in class play.i18n.Lang
Deprecated.
Please use Lang.availables(app), since 2.5.0
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.

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
Generates a 400 Bad Request result.
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.
badRequest(Results.Chunks<?>) - Static method in class play.mvc.Results
beforeStart(Application) - Method in class play.GlobalSettings
Deprecated.
Executed before any plugin - you can set-up your database schema here, for instance.
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.
bindForAsync(EntityManager) - Static method in class play.db.jpa.JPA
Deprecated.
Use JPAEntityManagerContext.push or JPAEntityManagerContext.pop
bindForSync(EntityManager) - Static method in class play.db.jpa.JPA
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.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.openid.OpenIdModule
 
bindings(Environment, Configuration) - Method in class play.libs.ws.ahc.AhcWSModule
 
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 - Variable in class play.mvc.Http.RequestBuilder
 
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.Http.RequestImpl
 
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, ?>>>, 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.Default - Class in play.mvc
If PATCH, POST, or PUT, 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.
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.
bodyRaw(byte[]) - 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.
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.
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
 
buildHeaders() - Method in class play.mvc.Http.RequestBuilder
 
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.
ByteChunks() - Constructor for class play.mvc.Results.ByteChunks
Deprecated.
 
Bytes(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Bytes
 
Bytes(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Bytes
 

C

Cache - Class in play.cache
Deprecated.
Please use an dependency injected instance of CacheApi.
Cache() - Constructor for class play.cache.Cache
Deprecated.
 
CACHE_CONTROL - Static variable in interface play.mvc.Http.HeaderNames
 
CacheApi - Interface in play.cache
The Cache API.
Cached - Annotation Type in play.cache
Mark an action to be cached on server side.
CachedAction - Class in play.cache
Cache another action.
CachedAction(CacheApi) - 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
 
callbacks - Variable in class play.mvc.WebSocket.In
Deprecated.
Callbacks to invoke at each frame.
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.
chunked(Results.Chunks<T>) - Method in class play.mvc.StatusHeader
Deprecated.
chunks() - Method in class play.http.HttpEntity.Chunked
 
Chunks(Writeable<A>) - Constructor for class play.mvc.Results.Chunks
Deprecated.
 
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.
Classpath - Class in play.libs
 
Classpath() - Constructor for class play.libs.Classpath
 
classTag() - Static method in class play.libs.Scala
Returns an any ClassTag typed according to the Java compiler as C.
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.
client() - Method in class play.libs.ws.ahc.AhcWSAPI
 
client() - Static method in class play.libs.ws.WS
Deprecated.
Please use a WSClient instance using DI (since 2.5)
client() - Method in interface play.libs.ws.WSAPI
 
clientCertificateChain - Variable in class play.mvc.Http.RequestBuilder
 
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.
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.Comet
Deprecated.
close() - Method in class play.libs.LegacyEventSource
Deprecated.
Close the channel
close() - Method in class play.libs.ws.ahc.AhcWSClient
 
close() - Method in class play.libs.ws.ning.NingWSClient
Deprecated.
 
close() - Method in interface play.libs.ws.WSClient
Closes this client, and releases underlying resources.
close() - Method in class play.mvc.Results.Chunks.Out
Deprecated.
Closes the stream.
close() - Method in interface play.mvc.WebSocket.Out
Deprecated.
Close this channel.
closeCallbacks - Variable in class play.mvc.WebSocket.In
Deprecated.
Callbacks to invoke on close.
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(String) - Constructor for class play.libs.Comet
Deprecated.
Please use Comet.string or Comet.json, since 2.5.x
compareSignedTokens(String, String) - Method in class play.libs.Crypto
Deprecated.
Compare two signed tokens
compareSignedTokens(String, String) - Method in interface play.libs.crypto.CSRFTokenSigner
 
completeWith(CompletionStage<? extends A>) - Method in class play.libs.F.RedeemablePromise
Deprecated.
Completes this promise with the specified Promise, once that Promise is completed.
completeWith(CompletionStage<? extends A>, ExecutionContext) - Method in class play.libs.F.RedeemablePromise
Deprecated.
Completes this promise with the specified Promise, once that Promise is completed.
configuration() - Method in interface play.Application
Get the application configuration.
Configuration - Class in play
The current application configuration.
Configuration(Config) - Constructor for class play.Configuration
Creates a new configuration from a Typesafe Config object.
Configuration(Map<String, Object>) - Constructor for class play.Configuration
Creates a new configuration from a map.
Configuration(String) - Constructor for class play.Configuration
Creates a new configuration by parsing a string in HOCON format.
Configuration(Configuration) - Constructor for class play.Configuration
Creates a new configuration from a Scala-based configuration.
configuration() - Method in class play.DefaultApplication
Get the application configuration.
configuration - Variable in class play.mvc.Action
The action configuration - typically the annotation used to decorate the action method.
configuration() - Method in class play.test.FakeApplication
Deprecated.
Get the application configuration.
ConfigurationProvider - Class in play.inject
 
ConfigurationProvider(Configuration) - Constructor for class play.inject.ConfigurationProvider
 
configure(Configuration) - 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.
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.
connectionFunction(ConnectionRunnable) - Static method in class play.db.DB
Deprecated.
Create a Scala function wrapper for ConnectionRunnable.
connectionFunction(ConnectionCallable<A>) - Static method in class play.db.DB
Deprecated.
Create a Scala function wrapper for ConnectionCallable.
ConnectionPool - Interface in play.db
Connection pool API for managing data sources.
ConnectionRunnable - Interface in play.db
Similar to java.lang.Runnable with a Connection as argument.
constantTimeEquals(String, String) - Method in class play.libs.Crypto
Deprecated.
Constant time equals method.
constantTimeEquals(String, String) - Method in interface play.libs.crypto.CSRFTokenSigner
 
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 maxmimum 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 minumum value for a numeric field.
Constraints.MinLength - Annotation Type in play.data.validation
Defines a minumum 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.Required - Annotation Type in play.data.validation
Defines a field as required.
Constraints.RequiredValidator - Class in play.data.validation
Validator for @Required fields.
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.
consumeData(Materializer) - Method in class play.http.HttpEntity
Consume the data.
ConsumerKey(String, String) - Constructor for class play.libs.oauth.OAuth.ConsumerKey
 
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
The content length, if known
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
The content type, if defined
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 UntypedActor.
Context(Http.RequestBuilder) - Constructor for class play.mvc.Http.Context
Creates a new HTTP context.
Context(Http.Request) - 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>) - 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>) - Constructor for class play.mvc.Http.Context
Creates a new HTTP context, using the references provided.
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
 
conversion - Variable in class play.data.format.Formatters
The underlying conversion service.
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 - Interface in play.libs.crypto
 
country() - Method in class play.i18n.Lang
A valid ISO Country Code.
create(Environment, Map<String, Object>) - Static method in class play.ApplicationLoader.Context
Create an application loading context.
create(Environment) - Static method in class play.ApplicationLoader.Context
Create an application loading context.
create(String, Configuration, Environment) - Method in interface play.db.ConnectionPool
Create a data source with the given configuration.
create(String, Configuration, Environment) - Method in class play.db.DefaultConnectionPool
 
create() - Method in class play.db.ebean.EbeanDynamicEvolutions
Generate evolutions.
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
 
createAction(Http.Request, Method) - Method in class play.http.GlobalSettingsHttpRequestHandler
Deprecated.
 
createAction(Http.Request, Method) - Method in interface play.http.HttpRequestHandler
Deprecated.
Use ActionCreator instead.
createAction(Http.Request, Method) - Method in class play.http.HttpRequestHandlerActionCreator
 
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
Generates a 201 Created result.
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.
created(Results.Chunks<?>) - Static method in class play.mvc.Results
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
Create a default JPAApi with the given persistence unit configuration.
createFor(String) - Static method in class play.db.jpa.JPA
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.
Crypto - Class in play.libs
Deprecated.
This class is deprecated and will be removed in future versions.
Crypto(Crypto) - Constructor for class play.libs.Crypto
Deprecated.
 
CSRFErrorHandler - Interface in play.filters.csrf
This interface handles the CSRF error.
CSRFErrorHandler.DefaultCSRFErrorHandler - Class in play.filters.csrf
 
CSRFTokenSigner - Interface in play.libs.crypto
 
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.

D

data() - Method in class play.data.DynamicForm
 
data() - Method in class play.data.Form
Retrieves the actual form data.
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.
Databases - Class in play.db
Creation helpers for manually instantiating databases.
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
The stream of data.
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
 
DB - Class in play.db
Deprecated.
Use play.api.Database
DBApi - Interface in play.db
DB API for managing application databases.
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(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(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, Throwable) - Static method in class play.Logger
Log a message with the DEBUG level.
decryptAES(String) - Method in class play.libs.Crypto
Deprecated.
This method is deprecated and will be removed in future versions.
decryptAES(String, String) - Method in class play.libs.Crypto
Deprecated.
This method is deprecated and will be removed in future versions.
Default(HttpErrorHandler, HttpConfiguration) - 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, Configuration, Injector) - Constructor for class play.DefaultApplication
Create an application that wraps a Scala application.
DefaultApplication(Application, Injector) - Constructor for class play.DefaultApplication
Create an application that wraps a Scala application.
DefaultCacheApi - Class in play.cache
 
DefaultCacheApi(CacheApi) - Constructor for class play.cache.DefaultCacheApi
 
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
An ExecutionContext that executes work on the application's internal ActorSystem dispatcher.
DefaultCSRFErrorHandler(CSRF.CSRFHttpErrorHandler) - Constructor for class play.filters.csrf.CSRFErrorHandler.DefaultCSRFErrorHandler
 
DefaultDatabase - Class in play.db
Default delegating implementation of the database API.
DefaultDatabase(Database) - Constructor for class play.db.DefaultDatabase
 
DefaultDatabase(String, Configuration) - 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
 
DefaultHttpErrorHandler - Class in play.http
Default implementation of the http error handler.
DefaultHttpErrorHandler(Configuration, Environment, OptionalSourceMapper, Provider<Router>) - Constructor for class play.http.DefaultHttpErrorHandler
 
DefaultHttpFilters - Class in play.http
Helper class which has a varargs constructor taking the filters.
DefaultHttpFilters(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
 
DefaultOpenIdClient - Class in play.libs.openid
 
DefaultOpenIdClient(OpenIdClient) - Constructor for class play.libs.openid.DefaultOpenIdClient
 
defaultServer() - Method in class play.db.ebean.DefaultEbeanConfig
 
defaultServer() - Method in interface play.db.ebean.EbeanConfig
 
delayed(Supplier<A>, long, TimeUnit, Executor) - Static method in class play.libs.concurrent.Futures
Create a Promise which, after a delay, will be redeemed with the result of a given supplier.
delayed(Supplier<A>, long, TimeUnit) - Static method in class play.libs.F.Promise
delayed(Supplier<A>, long, TimeUnit, ExecutionContext) - Static method in class play.libs.F.Promise
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
 
DelegatingBodyParser(BodyParser<B>, Function<B, A>) - Constructor for class play.mvc.BodyParser.DelegatingBodyParser
 
DelegatingMultipartFormDataBodyParser(Materializer, long) - Constructor for class play.mvc.BodyParser.DelegatingMultipartFormDataBodyParser
 
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(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.
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
Discard errors of this 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) - Constructor for class play.data.DynamicForm.Dynamic
 
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>, Map<String, List<ValidationError>>, Optional<DynamicForm.Dynamic>, MessagesApi, Formatters, Validator) - Constructor for class play.data.DynamicForm
Creates a new dynamic form.
DynamicForm.Dynamic - Class in play.data
Simple data structure used by DynamicForm.

E

EbeanConfig - Interface in play.db.ebean
 
EbeanConfigParser(Configuration, 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(String) - Static method in class play.db.jpa.JPA
Deprecated.
em() - Static method in class play.db.jpa.JPA
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
A new empty configuration.
empty() - Static method in class play.libs.F.RedeemablePromise
Deprecated.
Creates a new Promise with no value
Empty() - Constructor for class play.mvc.BodyParser.Empty
 
empty() - Static method in interface play.routing.Router
 
emptyMap() - Static method in class play.libs.Scala
Creates an empty Scala Map.
emptySeq() - Static method in class play.libs.Scala
Creates an empty Scala Seq.
emStack(boolean) - Method in class play.db.jpa.JPAEntityManagerContext
Get the EntityManager stack.
encryptAES(String) - Method in class play.libs.Crypto
Deprecated.
This method is deprecated and will be removed in future versions.
encryptAES(String, String) - Method in class play.libs.Crypto
Deprecated.
This method is deprecated and will be removed in future versions.
entrySet() - Method in class play.Configuration
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 - 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
 
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
 
error(String) - Method in class play.data.DynamicForm
Retrieve an error by key.
error(String) - Method in class play.data.Form
Retrieve an error by key.
error(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, 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(String, Object...) - 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
Returns all errors.
errors() - Method in class play.data.Form.Field
Returns all the errors associated with this field.
errorsAsJson() - Method in class play.data.Form
Returns the form errors serialized as Json.
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(String, String, String) - Constructor for class play.libs.LegacyEventSource.Event
Deprecated.
 
event(String) - Static method in class play.libs.LegacyEventSource.Event
Deprecated.
 
event(JsonNode) - Static method in class play.libs.LegacyEventSource.Event
Deprecated.
 
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
 
exceptionally(Function<Throwable, ? extends A>) - Method in class play.libs.F.Promise
Deprecated.
 
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.
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
 
extractSignedToken(String) - Method in interface play.libs.crypto.CSRFTokenSigner
 
extractSignedToken(String) - Method in class play.libs.Crypto
Deprecated.
Extract a signed token that was signed by Crypto.signToken(String).

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.Promise<A> - Class in play.libs
Deprecated.
Use the JDK8 CompletionStage instead. When migrating to CompletionStage, Promise implements CompletionStage, so it may be easier to first migrate all the existing method calls on the promise, such as map/flatMap, which are also deprecated but include migration instructions in the deprecation message.
F.PromiseTimeoutException - Exception in play.libs
Exception thrown when an operation times out.
F.RedeemablePromise<A> - Class in play.libs
Deprecated.
Use CompletableFuture instead.
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
 
failure(Throwable) - Method in class play.libs.F.RedeemablePromise
Deprecated.
Completes the promise with an exception
FakeApplication - Class in play.test
Deprecated.
as of 2.5.0. Use GuiceApplicationBuilder to build your application instance.
FakeApplication(File, ClassLoader, Map<String, ? extends Object>, GlobalSettings) - Constructor for class play.test.FakeApplication
Deprecated.
Use the version without GlobalSettings, since 2.5.0
FakeApplication(File, ClassLoader, Map<String, ? extends Object>) - Constructor for class play.test.FakeApplication
Deprecated.
Create a fake application.
fakeApplication() - Static method in class play.test.Helpers
Build a new fake application.
fakeApplication(GlobalSettings) - Static method in class play.test.Helpers
Deprecated.
Use dependency injection (since 2.5.0)
fakeApplication(Map<String, ? extends Object>) - Static method in class play.test.Helpers
Build a new fake application.
fakeApplication(Map<String, ? extends Object>, GlobalSettings) - Static method in class play.test.Helpers
Deprecated.
Use the version without GlobalSettings (since 2.5.0)
fakeGlobal() - Static method in class play.test.Helpers
Deprecated.
Use dependency injection (since 2.5.0)
FakeRequest - Interface in play.test
Deprecated.
construct a Request using play.mvc.Http.RequestBuilder
fakeRequest() - Static method in class play.test.Helpers
Build a new GET / fake request.
fakeRequest(String, String) - Static method in class play.test.Helpers
Build a new fake request.
fakeRequest(Call) - Static method in class play.test.Helpers
Build a new fake request corresponding to a given route call
fallbackTo(F.Promise<A>) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.handleAsync(BiFunction) followed by F.Promise.thenCompose(Function) with the identity function.
field(String) - Method in class play.data.DynamicForm
Retrieves a field.
field(String) - Method in class play.data.Form
Retrieve 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.
FileInfo(String, String, String) - Constructor for class play.mvc.Http.MultipartFormData.FileInfo
 
FilePart(String, String, String, A) - Constructor for class play.mvc.Http.MultipartFormData.FilePart
 
fill(Map) - Method in class play.data.DynamicForm
Fille with existing data.
fill(T) - Method in class play.data.Form
Populates this form with an existing value, used for edit forms.
filter(Predicate<? super A>) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.thenApplyAsync(Function, Executor) to implement the filter manually.
filter(Predicate<? super A>, ExecutionContext) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.thenApplyAsync(Function, Executor) to implement the filter manually.
Filter - Class in play.mvc
 
Filter(Materializer) - Constructor for class play.mvc.Filter
 
filters() - Method in class play.GlobalSettings
Deprecated.
Get the filters that should be used to handle each request.
filters() - Method in class play.http.DefaultHttpFilters
 
filters() - Method in interface play.http.HttpFilters
Return the filters that should filter every request
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.
flatMap(Function<? super A, ? extends CompletionStage<B>>) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.thenComposeAsync(Function, Executor) with HttpExecution.defaultContext() if you want to capture the current context.
flatMap(Function<? super A, ? extends CompletionStage<B>>, ExecutionContext) - Method in class play.libs.F.Promise
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
Creates a flow of EventSource.Event to ByteString.
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
Generates a 403 Forbidden result.
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.
forbidden(Results.Chunks<?>) - Static method in class play.mvc.Results
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.
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>, Map<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>, 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
Creates a new Form.
form() - Static method in class play.data.Form
Deprecated.
inject a FormFactory instead, since 2.5.0
form(Class<T>) - Static method in class play.data.Form
Deprecated.
inject a FormFactory instead, since 2.5.0
form(String, Class<T>) - Static method in class play.data.Form
Deprecated.
inject a FormFactory instead, since 2.5.0
form(String, Class<T>, Class<?>) - Static method in class play.data.Form
Deprecated.
inject a FormFactory instead, since 2.5.0
form(String, Class<T>, Class<?>...) - Static method in class play.data.Form
Deprecated.
form(Class<T>, Class<?>) - Static method in class play.data.Form
Deprecated.
inject a FormFactory instead, since 2.5.0
form(Class<T>, Class<?>...) - Static method in class play.data.Form
Deprecated.
form() - Method in class play.data.FormFactory
Instantiates a dynamic form.
form(Class<T>) - Method in class play.data.FormFactory
Instantiates a new form that wraps the specified class.
form(String, Class<T>) - Method in class play.data.FormFactory
Instantiates a new form that wraps the specified class.
form(String, Class<T>, Class<?>) - Method in class play.data.FormFactory
Instantiates a new form that wraps the specified class.
form(String, Class<T>, Class<?>...) - Method in class play.data.FormFactory
 
form(Class<T>, Class<?>) - Method in class play.data.FormFactory
Instantiates a new form that wraps the specified class.
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.
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
 
formatted() - Method in class play.libs.LegacyEventSource.Event
Deprecated.
 
Formatters - Class in play.data.format
Formatters helper.
Formatters(MessagesApi) - Constructor for class play.data.format.Formatters
 
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
 
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
 
forRouter(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
Create a server for the given router.
forRouter(Router, int) - 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
Create a server for the given router.
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(Future<StreamedResponse>) - Static method in class play.libs.ws.StreamedResponse
 
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 classes 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.
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
Parse the input source as DOM.
fromInputStream(InputStream, String) - Static method in class play.libs.XML
Parse an InputStream as DOM.
fromJson(JsonNode, Class<A>) - Static method in class play.libs.Json
Convert 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
Parse 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 - Class in play.libs.concurrent
Utilities for creating CompletionStage.
Futures() - Constructor for class play.libs.concurrent.Futures
 

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.
generateSignedToken() - Method in interface play.libs.crypto.CSRFTokenSigner
 
generateSignedToken() - Method in class play.libs.Crypto
Deprecated.
Generate a signed token
generateToken() - Method in interface play.libs.crypto.CSRFTokenSigner
 
generateToken() - Method in class play.libs.Crypto
Deprecated.
Generate a cryptographically secure token
get(String) - Static method in class play.cache.Cache
Deprecated.
Please use non-static cacheApi.get(key), deprecated since 2.5.0
get(String) - Method in interface play.cache.CacheApi
Retrieves an object by key.
get(String) - Method in class play.cache.DefaultCacheApi
 
get(String) - Method in class play.data.DynamicForm
Gets the concrete value 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...) - Static method in class play.i18n.Messages
Deprecated.
Please use messages.at(key, args). since 2.5.0
get(Lang, List<String>, Object...) - Static method in class play.i18n.Messages
Deprecated.
Please use messages.at(keys, args)
get(String, Object...) - Static method in class play.i18n.Messages
Deprecated.
use messages.at(key, args). Deprecated since 2.5.0
get(List<String>, Object...) - Static method in class play.i18n.Messages
Deprecated.
use messages.at(keys, args). Deprecated since 2.5.0
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(long, TimeUnit) - Method in class play.libs.F.Promise
Deprecated.
Calling get on a promise is a blocking operation and so introduces the risk of deadlocks and has serious performance implications.
get(long) - Method in class play.libs.F.Promise
Deprecated.
Calling get on a promise is a blocking operation and so introduces the risk of deadlocks and has serious performance implications.
get() - Method in class play.libs.ws.ahc.AhcWSModule.WSClientProvider
 
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.routing.RoutingDsl
Create a GET route for the given path pattern.
GET - Static variable in class play.test.Helpers
 
getAllHeaders() - Method in class play.libs.ws.ahc.AhcWSResponse
Get all the HTTP headers of the response as a case-insensitive map
getAllHeaders() - Method in interface play.libs.ws.WSResponse
Gets all the headers from the response.
getApplication() - Method in class play.server.ApplicationProvider
 
getArgumentsForConstraint(String, String, ConstraintDescriptor<?>) - Method in class play.data.Form
 
getBackedType() - Method in class play.data.Form
 
getBody() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getBody() - Method in class play.libs.ws.StreamedResponse
 
getBody() - Method in interface play.libs.ws.WSResponse
Gets the body as a string.
getBodyAsStream() - Method in class play.libs.ws.ahc.AhcWSResponse
Get the response body as a stream
getBodyAsStream() - Method in interface play.libs.ws.WSResponse
Gets the body as a stream.
getBoolean(String) - Method in class play.Configuration
Retrieves a configuration value as a Boolean.
getBoolean(String, Boolean) - Method in class play.Configuration
Retrieves a configuration value as a Boolean.
getBooleanList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Boolean>.
getBooleanList(String, List<Boolean>) - Method in class play.Configuration
Retrieves a configuration value as a List<Boolean>.
getBytes(String) - Method in class play.Configuration
Retrieves a configuration value as a Bytes.
getBytes(String, Long) - Method in class play.Configuration
Retrieves a configuration value as a Bytes.
getBytesList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Long> representing bytes.
getBytesList(String, List<Long>) - Method in class play.Configuration
Retrieves a configuration value as a List<Long> representing bytes.
getCalculator() - Method in class play.libs.oauth.OAuth.OAuthCalculator
 
getCalculator() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getCalculator() - Method in interface play.libs.ws.WSRequest
 
getConfig(String) - Method in class play.Configuration
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
Retrieves a configuration value as a List<Configuration>.
getConfigList(String, List<Configuration>) - Method in class play.Configuration
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() - Static method in class play.db.DB
Deprecated.
Returns a connection from the default datasource, with auto-commit enabled.
getConnection(boolean) - Static method in class play.db.DB
Deprecated.
Returns a connection from the default datasource, with the specified auto-commit setting.
getConnection(String) - Static method in class play.db.DB
Deprecated.
Returns a connection from any datasource, with auto-commit enabled.
getConnection(String, boolean) - Static method in class play.db.DB
Deprecated.
Get a connection from any datasource, with the specified auto-commit setting.
getConnection() - Method in class play.db.DefaultDatabase
 
getConnection(boolean) - Method in class play.db.DefaultDatabase
 
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
Get only one cookie, using the cookie name.
getCookie(String) - Method in interface play.libs.ws.WSResponse
Gets a single cookie from the response, if any.
getCookies() - Method in class play.libs.ws.ahc.AhcWSResponse
Get all the cookies.
getCookies() - Method in interface play.libs.ws.WSResponse
Gets all the cookies from the response.
getCronExpression() - Method in class play.libs.Time.CronExpression
 
getData() - Method in class play.data.DynamicForm.Dynamic
Retrieves the data.
getDatabase(String) - Method in interface play.db.DBApi
Get database with given configuration name.
getDatabase(String) - Method in class play.db.DefaultDBApi
 
getDatabases() - Method in interface play.db.DBApi
All configured databases.
getDatabases() - Method in class play.db.DefaultDBApi
 
getDataSource() - Method in interface play.db.Database
The underlying JDBC data source for this database.
getDataSource() - Static method in class play.db.DB
Deprecated.
 
getDataSource(String) - Static method in class play.db.DB
Deprecated.
Returns specified 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
 
getDomain() - Method in class play.libs.ws.ahc.AhcWSCookie
 
getDomain() - Method in interface play.libs.ws.WSCookie
 
getDouble(String) - Method in class play.Configuration
Retrieves a configuration value as an Double.
getDouble(String, Double) - Method in class play.Configuration
Retrieves a configuration value as an Double.
getDoubleList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Double>.
getDoubleList(String, List<Double>) - Method in class play.Configuration
Retrieves a configuration value as a List<Double>.
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
 
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
Get a file relative to the application root path.
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.
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
 
getHandler() - Method in class play.http.HandlerForRequest
 
getHeader(String) - Method in class play.libs.ws.ahc.AhcWSResponse
Get the given HTTP header of the response
getHeader(String) - Method in interface play.libs.ws.WSResponse
Gets a single header from the response.
getHeader(String) - Method in interface play.mvc.Http.RequestHeader
Retrieves a single header.
getHeaders() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getHeaders() - Method in class play.libs.ws.StreamedResponse
 
getHeaders() - Method in interface play.libs.ws.WSRequest
 
getHeaders() - Method in interface play.libs.ws.WSResponseHeaders
 
getHeaders() - Method in class play.mvc.Http.Response
Gets the current response headers.
getHttpMethod() - Method in class play.routing.Router.RouteDocumentation
 
getInfo() - Method in class play.libs.oauth.OAuth
 
getInstance(Class<T>) - Method in class play.data.validation.DefaultConstraintValidatorFactory
 
getInt(String) - Method in class play.Configuration
Retrieves a configuration value as an Int.
getInt(String, Integer) - Method in class play.Configuration
Retrieves a configuration value as an Int.
getIntList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Integer>.
getIntList(String, List<Integer>) - Method in class play.Configuration
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
Retrieves a configuration value as a List<Object>.
getList(String, List<Object>) - Method in class play.Configuration
Retrieves a configuration value as a List<Object>.
getLong(String) - Method in class play.Configuration
Retrieves a configuration value as an Long.
getLong(String, Long) - Method in class play.Configuration
Retrieves a configuration value as an Long.
getLongList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Long>.
getLongList(String, List<Long>) - Method in class play.Configuration
Retrieves a configuration value as a List<Long>.
getMaxAge() - Method in class play.libs.ws.ahc.AhcWSCookie
 
getMaxAge() - Method in interface play.libs.ws.WSCookie
 
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
Retrieves a configuration value as a Milliseconds.
getMilliseconds(String, Long) - Method in class play.Configuration
Retrieves a configuration value as a Milliseconds.
getMillisecondsList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Long> representing Milliseconds.
getMillisecondsList(String, List<Long>) - Method in class play.Configuration
Retrieves a configuration value as a List<Long> representing Milliseconds.
getMonthNumber(String) - Method in class play.libs.Time.CronExpression
 
getName() - Method in interface play.db.Database
The configuration name for this database.
getName() - Method in class play.db.DefaultDatabase
 
getName() - Method in class play.libs.ws.ahc.AhcWSCookie
 
getName() - Method in interface play.libs.ws.WSCookie
 
getNanoseconds(String) - Method in class play.Configuration
Retrieves a configuration value as a Nanoseconds.
getNanoseconds(String, Long) - Method in class play.Configuration
Retrieves a configuration value as a Nanoseconds.
getNanosecondsList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Long> representing Nanoseconds.
getNanosecondsList(String, List<Long>) - Method in class play.Configuration
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
Retrieves a configuration value as an Number.
getNumber(String, Number) - Method in class play.Configuration
Retrieves a configuration value as an Number.
getNumberList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Number>.
getNumberList(String, List<Number>) - Method in class play.Configuration
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
Retrieves a configuration value as a Object.
getObject(String, Object) - Method in class play.Configuration
Retrieves a configuration value as a Object.
getObjectList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<Map<String, Object>>.
getObjectList(String, List<Map<String, Object>>) - Method in class play.Configuration
Retrieves a configuration value as a List<Map<String, Object>>.
getOrElse(String, Callable<T>, int) - Static method in class play.cache.Cache
Deprecated.
Please use non-static cacheApi.getOrElse, deprecated since 2.5.0
getOrElse(String, Callable<T>, int) - Method in interface play.cache.CacheApi
Retrieve a value from the cache, or set it from a default Callable function.
getOrElse(String, Callable<T>) - Method in interface play.cache.CacheApi
Retrieve a value from the cache, or set it from a default Callable function.
getOrElse(String, Callable<T>, int) - Method in class play.cache.DefaultCacheApi
 
getOrElse(String, Callable<T>) - Method in class play.cache.DefaultCacheApi
 
getPassword() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getPassword() - Method in interface play.libs.ws.WSRequest
 
getPath() - Method in class play.libs.ws.ahc.AhcWSCookie
 
getPath() - Method in interface play.libs.ws.WSCookie
 
getPathPattern() - Method in class play.routing.Router.RouteDocumentation
 
getProvider() - Method in class play.libs.oauth.OAuth
 
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
Create Configuration object for given package name and class loader.
getRequest() - Method in class play.http.HandlerForRequest
 
getRequestTimeout() - Method in class play.libs.ws.ahc.AhcWSRequest
 
getRequestTimeout() - Method in interface play.libs.ws.WSRequest
Gets the original request timeout in milliseconds, passed into the request as input.
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
 
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
Get the HTTP status code of the response
getStatus() - Method in interface play.libs.ws.WSResponse
Returns the HTTP status code from the response.
getStatus() - Method in interface play.libs.ws.WSResponseHeaders
 
getStatusText() - Method in class play.libs.ws.ahc.AhcWSResponse
Get the HTTP status text of the response
getStatusText() - Method in interface play.libs.ws.WSResponse
Returns the text associated with the status code.
getString(String) - Method in class play.Configuration
Retrieves a configuration value as a String.
getString(String, String) - Method in class play.Configuration
Retrieves a configuration value as a String.
getStringList(String) - Method in class play.Configuration
Retrieves a configuration value as a List<String>.
getStringList(String, List<String>) - Method in class play.Configuration
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
Scans the application classloader to retrieve all types within a specific package.
getTypes(Environment, String) - Static method in class play.libs.Classpath
Scans the environment classloader to retrieve all types within a specific package.
getTypesAnnotatedWith(Application, String, Class<? extends Annotation>) - Static method in class play.libs.Classpath
Scans the application classloader to retrieve all types annotated with a specific annotation.
getTypesAnnotatedWith(Environment, String, Class<? extends Annotation>) - Static method in class play.libs.Classpath
Scans the environment classloader to retrieve all types annotated with a specific annotation.
getUnderlying() - Method in class play.libs.ws.ahc.AhcWSClient
 
getUnderlying() - Method in class play.libs.ws.ahc.AhcWSCookie
Returns the underlying "native" object for the cookie.
getUnderlying() - Method in class play.libs.ws.ahc.AhcWSResponse
 
getUnderlying() - Method in class play.libs.ws.ning.NingWSClient
Deprecated.
 
getUnderlying() - Method in interface play.libs.ws.WSClient
The underlying implementation of the client, if any.
getUnderlying() - Method in interface play.libs.ws.WSCookie
Returns the underlying "native" object for the cookie.
getUnderlying() - Method in interface play.libs.ws.WSResponse
Gets the underlying implementation response object, if any.
getUri() - Method in class play.libs.ws.ahc.AhcWSResponse
Return the request URI.
getUri() - Method in interface play.libs.ws.WSResponse
Gets the URI of the response.
getUrl() - Method in interface play.db.Database
The JDBC connection URL this database, i.e.
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(int, String, int) - Method in class play.libs.Time.CronExpression
 
getValue() - Method in class play.libs.ws.ahc.AhcWSCookie
 
getValue() - Method in interface play.libs.ws.WSCookie
 
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.
getWrappedApplication() - Method in class play.test.FakeApplication
Deprecated.
Get the underlying Scala application.
getWrappedConfiguration() - Method in class play.Configuration
 
global(GlobalSettings) - Method in class play.inject.guice.GuiceApplicationBuilder
Deprecated.
use dependency injection, since 2.5.0
globalError() - Method in class play.data.Form
Retrieves the first global error (an error without any key), if it exists.
globalErrors() - Method in class play.data.Form
Retrieve all global errors - errors without a key.
GlobalSettings - Class in play
Deprecated.
This class is deprecated in 2.5.0. Please use dependency injection in preference to GlobalSettings.
GlobalSettings() - Constructor for class play.GlobalSettings
Deprecated.
 
GlobalSettingsHttpRequestHandler - Class in play.http
Deprecated.
GlobalSettings is deprecated. Extend DefaultHttpRequestHandler instead.
GlobalSettingsHttpRequestHandler(GlobalSettings) - Constructor for class play.http.GlobalSettingsHttpRequestHandler
Deprecated.
 
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
 

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.
handle(BiFunction<? super A, Throwable, ? extends U>) - Method in class play.libs.F.Promise
Deprecated.
 
handleAsync(BiFunction<? super A, Throwable, ? extends U>) - Method in class play.libs.F.Promise
Deprecated.
 
handleAsync(BiFunction<? super A, Throwable, ? extends U>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
handlerForRequest(Http.RequestHeader) - Method in class play.http.DefaultHttpRequestHandler
 
handlerForRequest(Http.RequestHeader) - Method in class play.http.GlobalSettingsHttpRequestHandler
Deprecated.
 
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.
hasErrors() - Method in class play.data.Form
Returns true if there are any errors related to this form.
hasGlobalErrors() - Method in class play.data.Form
Returns true if there any global errors related to this 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
 
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(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
 
header(String, String[]) - Method in class play.mvc.Http.RequestBuilder
 
header(String, String) - Method in class play.mvc.Http.RequestBuilder
 
header() - Method in class play.mvc.Result
Get the response header
header(String) - Method in class play.mvc.Result
Extracts an Header value of this Result value.
headers - Variable in class play.mvc.Http.RequestBuilder
 
headers(String) - Method in class play.mvc.Http.RequestBuilder
 
headers() - Method in class play.mvc.Http.RequestBuilder
 
headers(Map<String, String[]>) - Method in class play.mvc.Http.RequestBuilder
 
headers() - Method in interface play.mvc.Http.RequestHeader
Retrieves all headers.
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
 
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.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.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
 
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 - Interface in play.http
Component for handling HTTP errors in Play.
HttpExecution - Class in play.libs.concurrent
ExecutionContexts that preserve the current thread's context ClassLoader and Http.Context.
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 - Interface in play.http
Provides filters to the HttpRequestHandler.
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 - Interface in play.http
An HTTP request handler
HttpRequestHandlerActionCreator - Class in play.http
An action creator that delegates to HttpRequestHandler.
HttpRequestHandlerActionCreator(Provider<HttpRequestHandler>) - Constructor for class play.http.HttpRequestHandlerActionCreator
 
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

id() - Method in class play.libs.openid.UserInfo
 
id() - Method in class play.mvc.Http.Context
The context id (unique)
id - Variable in class play.mvc.Http.RequestBuilder
 
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
 
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.
In() - Constructor for class play.mvc.WebSocket.In
Deprecated.
 
indexes() - Method in class play.data.Form.Field
Return the indexes available for this field (for repeated fields ad List)
info(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, 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(String, Object...) - 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.
initialBuffer() - Method in class play.libs.Comet
Deprecated.
initialBuilder - Variable in class play.inject.guice.GuiceApplicationLoader
The initial builder to start construction from.
initialConfiguration() - Method in class play.ApplicationLoader.Context
Get the configuration from the context.
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.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 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.
injector() - Method in class play.test.FakeApplication
Deprecated.
Get the injector for this application.
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.
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.
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
Generates a 500 Internal Server Error result.
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.
internalServerError(Results.Chunks<?>) - Static method in class play.mvc.Results
invokeWithContext(Http.RequestBuilder, Callable<V>) - Static method in class play.test.Helpers
Calls a Callable which invokes a Controller or some other method with a Context
isActor() - Method in class play.mvc.LegacyWebSocket
Deprecated.
If this method returns true, then the WebSocket should be handled by an actor.
isDebugEnabled() - Method in class play.Logger.ALogger
Returns true if the logger instance has DEBUG level logging enabled.
isDebugEnabled() - Static method in class play.Logger
Returns true if the logger instance enabled for the DEBUG level?
isDefined(Lang, String) - Static method in class play.i18n.Messages
Deprecated.
Use messages.isDefinedAt(key). Deprecated since 2.5.0
isDefined(String) - Static method in class play.i18n.Messages
Deprecated.
Use messages.isDefinedAt(key). Deprecated since 2.5.0
isDefinedAt(String) - Method in class 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.
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.
isDev() - Static method in class play.Play
Deprecated.
inject the Environment instead. Deprecated since 2.5.0.
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() - 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() - 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
Whether the entity is known to be empty or not.
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.
isProd() - Static method in class play.Play
Deprecated.
inject the Environment instead. Deprecated since 2.5.0.
isSatisfiedBy(Date) - Method in class play.libs.Time.CronExpression
Indicates whether the given date satisfies the cron expression.
isSecure() - Method in class play.libs.ws.ahc.AhcWSCookie
 
isSecure() - Method in interface play.libs.ws.WSCookie
 
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.
isTest() - Static method in class play.Play
Deprecated.
inject the Environment instead. Deprecated since 2.5.0.
isTraceEnabled() - Method in class play.Logger.ALogger
Returns true if the logger instance has TRACE level logging enabled.
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(Object) - Method in class play.data.validation.Constraints.ValidateWithValidator
 
isValid(T) - Method in class play.data.validation.Constraints.Validator
Returns true if this value is valid.
isValid(T, ConstraintValidatorContext) - Method in class play.data.validation.Constraints.Validator
Returns true if this value is valid for the given constraint.
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() - Static method in class play.Logger
Returns true if the logger instance enabled for the WARN level?

J

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
 
javascriptRouter(String, JavaScriptReverseRoute...) - Static method in class play.Routes
Deprecated.
Use play.routing.JavaScriptReverseRouter.create
javascriptRouter(String, String, JavaScriptReverseRoute...) - Static method in class play.Routes
Deprecated.
Use play.routing.JavaScriptReverseRouter.create
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
JPA Helpers.
JPA() - Constructor for class play.db.jpa.JPA
 
jpaApi() - Static method in class play.db.jpa.JPA
Deprecated.
as of 2.5.0. Inject a JPAApi instead.
JPAApi - Interface in play.db.jpa
JPA API.
JPAApiProvider(JPAConfig, JPAEntityManagerContext, ApplicationLifecycle) - Constructor for class play.db.jpa.DefaultJPAApi.JPAApiProvider
JPAApi has an implicit dependency on DBApi because DBApi sets up JNDI, so you probably want to use the constructor that accepts DBApi, unless you have otherwise ensured the proper initialization order.
JPAApiProvider(JPAConfig, JPAEntityManagerContext, ApplicationLifecycle, DBApi) - Constructor for class play.db.jpa.DefaultJPAApi.JPAApiProvider
This constructor has a dependency on DBApi as a workaround for an issue with JNDI See https://github.com/playframework/playframework/issues/6792
JPAConfig - Interface in play.db.jpa
JPA configuration.
JPAConfig.PersistenceUnit - Class in play.db.jpa
 
JPAConfigProvider(Configuration) - 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.
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 - Variable in class play.libs.oauth.OAuth.ConsumerKey
 
key - Variable in class play.libs.oauth.OAuth.ServiceInfo
 
keys() - Method in class play.Configuration
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 class play.i18n.Messages
The lang for these messages
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
 
langCookieHttpOnly() - Static method in class play.Play
Deprecated.
Deprecated since 2.5.0.
langCookieName() - Method in class play.i18n.MessagesApi
 
langCookieName() - Static method in class play.Play
Deprecated.
Deprecated since 2.5.0.
langCookieSecure() - Method in class play.i18n.MessagesApi
 
langCookieSecure() - Static method in class play.Play
Deprecated.
Deprecated since 2.5.0.
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
 
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.
LegacyEventSource - Class in play.libs
Deprecated.
LegacyEventSource() - Constructor for class play.libs.LegacyEventSource
Deprecated.
Create a new LegacyEventSource socket
LegacyEventSource.Event - Class in play.libs
Deprecated.
Utility class to build events.
LegacyWebSocket<A> - Class in play.mvc
Deprecated.
Use play.mvc.WebSocket instead.
LegacyWebSocket() - Constructor for class play.mvc.LegacyWebSocket
Deprecated.
 
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
Load a new configuration from an environment.
load(BiFunction<Environment, Configuration, List<GuiceableModule>>) - Method in class play.inject.guice.GuiceApplicationBuilder
Set the module loader.
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
 
load(String) - Static method in class play.libs.Yaml
Load a Yaml file from the classpath.
load(InputStream, ClassLoader) - Static method in class play.libs.Yaml
Load the specified InputStream as Yaml.
loadConfig(Function<Environment, Configuration>) - Method in class play.inject.guice.GuiceApplicationBuilder
Set the initial configuration loader.
loadConfig(Configuration) - Method in class play.inject.guice.GuiceApplicationBuilder
Set the initial configuration.
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
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>) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.thenApplyAsync(Function, Executor) with HttpExecution.defaultContext() if you want to capture the current context.
map(Function<? super A, ? extends B>, ExecutionContext) - Method in class play.libs.F.Promise
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.
mapListToScala(Map<String, List<String>>) - Static method in class play.mvc.Http.RequestBuilder
 
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
Get 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 - 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 - Class in play.i18n
A messages and a language.
Messages(Lang, MessagesApi) - Constructor for class play.i18n.Messages
 
messages() - Static method in class play.mvc.Http.Context.Implicit
Returns the messages for the current lang
messages() - Method in class play.mvc.Http.Context
 
messagesApi() - Method in class play.i18n.Messages
 
MessagesApi - Class in play.i18n
The messages API.
MessagesApi(MessagesApi) - Constructor for class play.i18n.MessagesApi
 
method() - Method in class play.mvc.Call
The request HTTP method.
method - Variable in class play.mvc.Http.RequestBuilder
 
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_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() - Static method in class play.Play
Deprecated.
inject the Environment instead. Deprecated since 2.5.0.
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
 
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.
MULTI_STATUS - Static variable in interface play.mvc.Http.Status
 
MultipartFormatter - Class in play.mvc
 
MultipartFormatter() - Constructor for class play.mvc.MultipartFormatter
 
MultipartFormData() - Constructor for class play.mvc.BodyParser.MultipartFormData
 
MultipartFormData() - Constructor for class play.mvc.Http.MultipartFormData
 
MULTIPLE_CHOICES - Static variable in interface play.mvc.Http.Status
 

N

name() - Method in class play.data.Form.Field
Returns the field name.
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
Create a new WSClient.
newDefaultMapper() - Static method in class play.libs.Json
 
newObject() - Static method in class play.libs.Json
Creates a new empty ObjectNode.
NingWSClient - Class in play.libs.ws.ning
Deprecated.
Use AhcWSClient instead
NingWSClient(AsyncHttpClientConfig, Materializer) - Constructor for class play.libs.ws.ning.NingWSClient
Deprecated.
 
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.
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
None
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
 
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
Generates a 404 Not Found result.
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.
notFound(Results.Chunks<?>) - Static method in class play.mvc.Results
nthdayOfWeek - Variable in class play.libs.Time.CronExpression
 

O

OAuth - Class in play.libs.oauth
 
OAuth(OAuth.ServiceInfo) - Constructor for class play.libs.oauth.OAuth
 
OAuth(OAuth.ServiceInfo, boolean) - Constructor for class play.libs.oauth.OAuth
 
OAuth.ConsumerKey - Class in play.libs.oauth
A consumer key / consumer secret pair that the OAuth provider gave you, to identify your application.
OAuth.OAuthCalculator - Class in play.libs.oauth
A signature calculator for the Play WS API.
OAuth.RequestToken - Class in play.libs.oauth
A request token / token secret pair, to be used for a specific user.
OAuth.ServiceInfo - Class in play.libs.oauth
The information identifying a oauth provider: URLs and the consumer key / consumer secret pair.
OAuthCalculator(OAuth.ConsumerKey, OAuth.RequestToken) - Constructor for class play.libs.oauth.OAuth.OAuthCalculator
 
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
Generates a 200 OK result.
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.
ok(Results.Chunks<?>) - Static method in class play.mvc.Results
onBadRequest(Http.RequestHeader, String) - Method in class play.GlobalSettings
Deprecated.
Called when an action has been found, but the request parsing has failed.
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.
onClose(Runnable) - Method in class play.mvc.WebSocket.In
Deprecated.
Registers a close callback.
onConnected() - Method in class play.libs.Comet
Deprecated.
onConnected() - Method in class play.libs.LegacyEventSource
Deprecated.
The socket is ready, you can start sending messages.
onDevServerError(Http.RequestHeader, UsefulException) - Method in class play.http.DefaultHttpErrorHandler
Invoked in dev mode when a server error occurs.
onDisconnected(Runnable) - Method in class play.libs.Comet
Deprecated.
onDisconnected(Runnable) - Method in class play.libs.LegacyEventSource
Deprecated.
Add a callback to be notified when the client has disconnected.
onDisconnected(Runnable) - Method in class play.mvc.Results.Chunks.Out
Deprecated.
Attach a callback to be called when the socket is disconnected.
onError(Http.RequestHeader, Throwable) - Method in class play.GlobalSettings
Deprecated.
Called when an exception occurred.
onFailure(Consumer<Throwable>) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.whenCompleteAsync(BiConsumer, Executor) with HttpExecution.defaultContext() if you want to capture the current context.
onFailure(Consumer<Throwable>, ExecutionContext) - Method in class play.libs.F.Promise
onForbidden(Http.RequestHeader, String) - Method in class play.http.DefaultHttpErrorHandler
Invoked when a client makes a request that was forbidden.
onHandlerNotFound(Http.RequestHeader) - Method in class play.GlobalSettings
Deprecated.
Called when no action was found to serve a request.
onMessage(Consumer<A>) - Method in class play.mvc.WebSocket.In
Deprecated.
Registers a message callback.
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.
onReady(Results.Chunks.Out<String>) - Method in class play.libs.Comet
Deprecated.
onReady(Results.Chunks.Out<String>) - Method in class play.libs.LegacyEventSource
Deprecated.
 
onReady(WebSocket.In<A>, WebSocket.Out<A>) - Method in class play.mvc.LegacyWebSocket
Deprecated.
Called when the WebSocket is ready
onReady(Results.Chunks.Out<A>) - Method in class play.mvc.Results.Chunks
Deprecated.
Called when the Chunked stream is ready.
onRedeem(Consumer<? super A>) - Method in class play.libs.F.Promise
onRedeem(Consumer<? super A>, ExecutionContext) - Method in class play.libs.F.Promise
onRequest(Http.Request, Method) - Method in class play.GlobalSettings
Deprecated.
Call to create the root Action of a request for a Java application.
onRouteRequest(Http.RequestHeader) - Method in class play.GlobalSettings
Deprecated.
Called when an HTTP request has been received.
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.
onStart(Application) - Method in class play.GlobalSettings
Deprecated.
Executed after all plugins, including the database set-up with Evolutions and the EBean wrapper.
onStop(Application) - Method in class play.GlobalSettings
Deprecated.
Executed when the application stops.
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.
OpenID - Class in play.libs.openid
provides support for OpenID
OpenID() - Constructor for class play.libs.openid.OpenID
 
OpenIdClient - Interface in play.libs.openid
A client for performing OpenID authentication.
OpenIdModule - Class in play.libs.openid
 
OpenIdModule() - Constructor for class play.libs.openid.OpenIdModule
 
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(String) - Method in class play.routing.RoutingDsl
Create a OPTIONS route for the given path pattern.
or(F.Promise<B>) - Method in class play.libs.F.Promise
orElse(Option<T>, T) - Static method in class play.libs.Scala
Wrap 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
Wrap a Scala Option, handling None as null.
Out(Concurrent.Channel<A>, F.RedeemablePromise<Object>) - Constructor for class play.mvc.Results.Chunks.Out
Deprecated.
 
Out(Concurrent.Channel<A>, List<Runnable>) - Constructor for class play.mvc.Results.Chunks.Out
Deprecated.
 
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

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
Parses this string as instance of a specific field in the given class
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
Parse a String representing a json, and return it as a JsonNode.
parse(InputStream) - Static method in class play.libs.Json
Parse a InputStream representing a json, and return it as a JsonNode.
parse(byte[]) - Static method in class play.libs.Json
Parse 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
 
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
 
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(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(JsonNode) - Method in class play.libs.ws.ahc.AhcWSRequest
 
patch(InputStream) - Method in class play.libs.ws.ahc.AhcWSRequest
 
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(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(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(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.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.
PathBindable<T extends PathBindable<T>> - Interface in play.mvc
Binder for path parameters.
PathPatternMatcher(String, String) - Constructor for class play.routing.RoutingDsl.PathPatternMatcher
 
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
Generates a 402 Payment Required result.
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.
paymentRequired(Results.Chunks<?>) - Static method in class play.mvc.Results
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.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.csrf - package play.filters.csrf
 
play.http - package play.http
 
play.http.websocket - package play.http.websocket
 
play.i18n - package play.i18n
Provides the i18n API.
play.inject - package play.inject
 
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
 
play.libs.concurrent - package play.libs.concurrent
 
play.libs.crypto - package play.libs.crypto
 
play.libs.oauth - package play.libs.oauth
 
play.libs.openid - package play.libs.openid
 
play.libs.streams - package play.libs.streams
 
play.libs.ws - package play.libs.ws
 
play.libs.ws.ahc - package play.libs.ws.ahc
 
play.libs.ws.ning - package play.libs.ws.ning
 
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(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
post(JsonNode) - 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(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(InputStream) - Method in interface play.libs.ws.WSRequest
Perform a POST on the request asynchronously.
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(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
 
preferred(List<Lang>) - Static method in class play.i18n.Lang
Deprecated.
Please use preferred(app, langs). Deprecated since 2.5.0.
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.
prettyPrint(JsonNode) - Static method in class play.libs.Json
Convert 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.
promise(Supplier<A>) - Static method in class play.libs.F.Promise
Deprecated.
Use CompletableFuture.supplyAsync(Supplier, Executor) instead.
promise(Supplier<A>, ExecutionContext) - Static method in class play.libs.F.Promise
Deprecated.
Use CompletableFuture.supplyAsync(Supplier, Executor) instead.
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
provideFakeApplication() - Method in class play.test.WithApplication
Deprecated.
use the new provideApplication method instead.
provideFakeApplication() - Method in class play.test.WithServer
Deprecated.
use the new provideApplication method instead.
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
 
pure(A) - Static method in class play.libs.F.Promise
Deprecated.
Use CompletableFuture.completedFuture(Object) instead.
push(EntityManager, boolean) - Method in class play.db.jpa.JPAEntityManagerContext
 
pushOrPopEm(EntityManager, boolean) - Method in class play.db.jpa.JPAEntityManagerContext
Deprecated.
use push or pop methods
put(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
put(JsonNode) - 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(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(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(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(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() - Constructor for class play.mvc.BodyParser.Raw
 
RawBuffer() - Constructor for class play.mvc.Http.RawBuffer
 
reason() - Method in class play.http.websocket.Message.Close
 
reasonPhrase() - Method in class play.mvc.Result
Get the reason phrase, if it was set.
recover(Function<Throwable, ? extends A>) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.exceptionally(Function) if you don't need the current context captured, or F.Promise.handleAsync(BiFunction, Executor) with HttpExecution.defaultContext() if you do.
recover(Function<Throwable, ? extends A>, ExecutionContext) - Method in class play.libs.F.Promise
recover(Function<? super Throwable, ? extends A>, Executor) - Method in class play.libs.streams.Accumulator
Recover from any errors encountered by the accumulator.
recoverWith(Function<Throwable, ? extends CompletionStage<A>>) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.exceptionally(Function) if you don't need the current context captured, or F.Promise.handleAsync(BiFunction, Executor) with HttpExecution.defaultContext() if you do, then use F.Promise.thenCompose(Function) with the identity function to flatten the result.
recoverWith(Function<Throwable, F.Promise<A>>, ExecutionContext) - Method in class play.libs.F.Promise
Deprecated.
Use F.Promise.handleAsync(BiFunction, Executor) instead, followed by F.Promise.thenCompose(Function) with the identity function.
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.
redirectLocation() - Method in class play.mvc.Result
Extracts the Location header of this Result value if this Result is a Redirect.
redirectUrl(String) - Method in class play.libs.oauth.OAuth
The URL where the user needs to be redirected to grant authorization to your application.
redirectURL(String, String) - Method in class play.libs.openid.DefaultOpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
redirectURL(String, String, Map<String, String>) - Method in class play.libs.openid.DefaultOpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
redirectURL(String, String, Map<String, String>, Map<String, String>) - Method in class play.libs.openid.DefaultOpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
redirectURL(String, String, Map<String, String>, Map<String, String>, String) - Method in class play.libs.openid.DefaultOpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
redirectURL(String, String) - Static method in class play.libs.openid.OpenID
Deprecated.
Inject an OpenIdClient into your component.
redirectURL(String, String, Map<String, String>) - Static method in class play.libs.openid.OpenID
Deprecated.
Inject an OpenIdClient into your component.
redirectURL(String, String, Map<String, String>, Map<String, String>) - Static method in class play.libs.openid.OpenID
Deprecated.
Inject an OpenIdClient into your component.
redirectURL(String, String, Map<String, String>, Map<String, String>, String) - Static method in class play.libs.openid.OpenID
Deprecated.
Inject an OpenIdClient into your component.
redirectURL(String, String) - Method in interface play.libs.openid.OpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
redirectURL(String, String, Map<String, String>) - Method in interface play.libs.openid.OpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
redirectURL(String, String, Map<String, String>, Map<String, String>) - Method in interface play.libs.openid.OpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
redirectURL(String, String, Map<String, String>, Map<String, String>, String) - Method in interface play.libs.openid.OpenIdClient
Retrieve the URL where the user should be redirected to start the OpenID authentication process
reference() - Static method in class play.Configuration
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
Adds an error to this form.
reject(String, String) - Method in class play.data.DynamicForm
Adds an error to this form.
reject(ValidationError) - Method in class play.data.Form
Adds an error to this form.
reject(String, String, List<Object>) - Method in class play.data.Form
Adds an error to this form.
reject(String, String) - Method in class play.data.Form
Adds an error to this form.
reject(String, List<Object>) - Method in class play.data.Form
Adds a global error to this form.
reject(String) - Method in class play.data.Form
Add a global error to this form.
reject(Result) - Static method in class play.mvc.WebSocket
Deprecated.
Use the WebSocket.accept*OrResult methods instead.
rejectWith() - Method in class play.mvc.LegacyWebSocket
Deprecated.
If this method returns a result, the WebSocket will be rejected with that result.
releaseInstance(ConstraintValidator<?, ?>) - Method in class play.data.validation.DefaultConstraintValidatorFactory
 
remoteAddress - Variable in class play.mvc.Http.RequestBuilder
 
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) - Static method in class play.cache.Cache
Deprecated.
Please use non-static cacheApi.set(key,value,expiration), deprecated since 2.5.0
remove(String) - Method in interface play.cache.CacheApi
Removes a value from the cache.
remove(String) - Method in class play.cache.DefaultCacheApi
 
remove(Object) - Method in class play.mvc.Http.Flash
Removes the specified value from the flash scope.
remove(Object) - Method in class play.mvc.Http.Session
Removes the specified value from the session.
reportError(String, String, Throwable) - Method in class play.Configuration
Creates a configuration error for a specific configuration key.
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, based on get and local address.
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.
RequestToken(String, String) - Constructor for class play.libs.oauth.OAuth.RequestToken
 
requestTokenURL - Variable in class play.libs.oauth.OAuth.ServiceInfo
 
RequireCSRFCheck - Annotation Type in play.filters.csrf
This action requires a CSRF check.
RequireCSRFCheckAction - Class in play.filters.csrf
 
RequireCSRFCheckAction(CSRFConfig, CSRF.TokenProvider, Crypto, Injector) - 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
Get a resource from the classpath.
resource(String) - Method in class play.Environment
Retrieves a resource from the classpath.
resourceAsStream(String) - Method in interface play.Application
Get a resource stream from the classpath.
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
 
Result - Class in play.mvc
Any action result.
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
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
 
Results.ByteChunks - Class in play.mvc
Deprecated.
use Source instead.
Results.Chunks<A> - Class in play.mvc
Deprecated.
use Source instead.
Results.Chunks.Out<A> - Class in play.mvc
Deprecated.
A Chunked stream.
Results.StringChunks - Class in play.mvc
Deprecated.
use Source instead.
retrieveAccessToken(OAuth.RequestToken, String) - Method in class play.libs.oauth.OAuth
Exchange a request token for an access token.
retrieveRequestToken(String) - Method in class play.libs.oauth.OAuth
Request the request token and secret.
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
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
 
route(Call, long) - Static method in class play.test.Helpers
 
route(Application, Call) - Static method in class play.test.Helpers
 
route(Application, Call, long) - Static method in class play.test.Helpers
 
route(Http.RequestBuilder) - Static method in class play.test.Helpers
 
route(Http.RequestBuilder, long) - Static method in class play.test.Helpers
 
route(Application, Http.RequestBuilder) - Static method in class play.test.Helpers
 
route(Application, Http.RequestBuilder, long) - Static method in class play.test.Helpers
 
ROUTE_ACTION_METHOD - Static variable in class play.Routes
Deprecated.
Use play.routing.Router.Tags.ROUTE_ACTION_METHOD
ROUTE_ACTION_METHOD - Static variable in class play.routing.Router.Tags
The method on the controller that was invoked
ROUTE_COMMENTS - Static variable in class play.routing.Router.Tags
The comments in the routes file that were above the route
ROUTE_CONTROLLER - Static variable in class play.Routes
Deprecated.
Use play.routing.Router.Tags.ROUTE_CONTROLLER
ROUTE_CONTROLLER - Static variable in class play.routing.Router.Tags
The controller that was routed to
ROUTE_PATTERN - Static variable in class play.Routes
Deprecated.
Use play.routing.Router.Tags.ROUTE_PATTERN
ROUTE_PATTERN - Static variable in class play.routing.Router.Tags
The pattern that the router used to match the path
ROUTE_VERB - Static variable in class play.Routes
Deprecated.
Use play.routing.Router.Tags.ROUTE_VERB
ROUTE_VERB - Static variable in class play.routing.Router.Tags
The verb that the router matched
routeAndCall(Http.RequestBuilder, long) - Static method in class play.test.Helpers
 
routeAndCall(Class<? extends Router>, Http.RequestBuilder, long) - Static method in class play.test.Helpers
 
routeAndCall(Router, Http.RequestBuilder) - Static method in class play.test.Helpers
 
routeAndCall(Router, Http.RequestBuilder, long) - Static method in class play.test.Helpers
 
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 - Interface in play.routing
The Java Router API
Router.RouteDocumentation - Class in play.routing
 
Router.Tags - Class in play.routing
 
Routes - Class in play
Deprecated.
as of 2.5. This class will be removed in future versions of Play.
Routes() - Constructor for class play.Routes
Deprecated.
 
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
 
RoutingDsl.PathPatternMatcher - Class in play.routing
A matcher for routes.
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.
runAfterBoth(CompletionStage<?>, Runnable) - Method in class play.libs.F.Promise
Deprecated.
 
runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class play.libs.F.Promise
Deprecated.
 
runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
runAfterEither(CompletionStage<?>, Runnable) - Method in class play.libs.F.Promise
Deprecated.
 
runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class play.libs.F.Promise
Deprecated.
 
runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
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

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
 
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
 
secret - Variable in class play.libs.oauth.OAuth.ConsumerKey
 
secret - Variable in class play.libs.oauth.OAuth.RequestToken
 
secure() - Method in class play.mvc.Http.Cookie
 
secure - Variable in class play.mvc.Http.RequestBuilder
 
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 AuthenticatedAction.
Security.AuthenticatedAction - Class in play.mvc
Wraps another action, allowing only authenticated HTTP requests.
Security.Authenticator - Class in play.mvc
Handles authentication.
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
Return the text of a node, or the value of an attribute
selectText(String, Object) - Static method in class play.libs.XPath
Return the text of a node, or the value of an attribute
send(LegacyEventSource.Event) - Method in class play.libs.LegacyEventSource
Deprecated.
Send an event.
sendEntity(HttpEntity) - Method in class play.mvc.StatusHeader
 
sendFile(File) - Method in class play.mvc.StatusHeader
Sends the given file.
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
Send a json result.
sendJson(JsonNode, JsonEncoding) - Method in class play.mvc.StatusHeader
Send a json result.
sendMessage(String) - Method in class play.libs.Comet
Deprecated.
sendMessage(JsonNode) - Method in class play.libs.Comet
Deprecated.
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 class play.libs.concurrent.Futures
Combine the given promises into a single promise for the list of results.
sequence(CompletionStage<A>...) - Static method in class play.libs.concurrent.Futures
Combine the given promises into a single promise for the list of results.
sequence(F.Promise<A>...) - Static method in class play.libs.F.Promise
Deprecated.
sequence(ExecutionContext, F.Promise<A>...) - Static method in class play.libs.F.Promise
Deprecated.
sequence(Iterable<F.Promise<A>>) - Static method in class play.libs.F.Promise
Deprecated.
sequence(Iterable<F.Promise<A>>, ExecutionContext) - Static method in class play.libs.F.Promise
Deprecated.
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
 
ServiceInfo(String, String, String, OAuth.ConsumerKey) - Constructor for class play.libs.oauth.OAuth.ServiceInfo
 
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.
set(String, Object, int) - Static method in class play.cache.Cache
Deprecated.
Please use non-static cacheApi.set(key,value,expiration), deprecated since 2.5.0
set(String, Object) - Static method in class play.cache.Cache
Deprecated.
set(String, Object, int) - Method in interface play.cache.CacheApi
Sets a value with expiration.
set(String, Object) - Method in interface play.cache.CacheApi
Sets a value without expiration.
set(String, Object, int) - Method in class play.cache.DefaultCacheApi
 
set(String, Object) - Method in class play.cache.DefaultCacheApi
 
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(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
 
setBody(File) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setBody(Source<ByteString, ?>) - Method in class play.libs.ws.ahc.AhcWSRequest
 
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
Deprecated.
setBody(File) - Method in interface play.libs.ws.WSRequest
Set the body this request should use.
setBody(Source<ByteString, ?>) - 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) - Method in class play.mvc.Http.Response
Deprecated.
setCookie(String, String, Integer) - Method in class play.mvc.Http.Response
Deprecated.
setCookie(String, String, Integer, String) - Method in class play.mvc.Http.Response
Deprecated.
setCookie(String, String, Integer, String, String) - Method in class play.mvc.Http.Response
Deprecated.
setCookie(String, String, Integer, String, String, boolean, boolean) - Method in class play.mvc.Http.Response
Deprecated.
setCookie(Http.Cookie) - Method in class play.mvc.Http.Response
Set a new cookie.
setData(Map) - 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
Sets a header with the given name, this can be called repeatedly.
setHeader(String, String) - Method in interface play.libs.ws.WSRequest
Adds a header to the request.
setHeader(String, String) - Method in class play.mvc.Http.Response
Adds a new header to the response.
setMethod(String) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setMethod(String) - Method in interface play.libs.ws.WSRequest
Set 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
 
setQueryParameter(String, String) - Method in interface play.libs.ws.WSRequest
Sets a query parameter with the given name, this can be called repeatedly.
setQueryString(String) - Method in class play.libs.ws.ahc.AhcWSRequest
Sets a query string
setQueryString(String) - Method in interface play.libs.ws.WSRequest
Sets the query string to query.
setRequestTimeout(long) - Method in class play.libs.ws.ahc.AhcWSRequest
 
setRequestTimeout(long) - Method in interface play.libs.ws.WSRequest
Sets the request timeout in milliseconds.
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.
setUsername(String) - Method in interface play.mvc.Http.Request
Deprecated.
setUsername(String) - Method in class play.mvc.Http.RequestImpl
Sets the username.
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.
sign(String) - Method in interface play.libs.crypto.CookieSigner
 
sign(String) - Method in class play.libs.Crypto
Deprecated.
Signs the given String with HMAC-SHA1 using the application's secret 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.CookieSigner
 
signToken(String) - Method in class play.libs.Crypto
Deprecated.
Sign a token.
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
 
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.
SourceProvider - Class in play.inject
Provides access to the calling line of code.
splitQuery() - Method in class play.mvc.Http.RequestBuilder
 
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.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
Generates a simple result with json content.
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.
status(int, Results.Chunks<?>) - Static method in class play.mvc.Results
 
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
 
StreamedResponse - Class in play.libs.ws
A streamed response containing a response header and a streamable body.
Strict(ByteString, Optional<String>) - Constructor for class play.http.HttpEntity.Strict
 
string(String) - Static method in class play.libs.Comet
Produces a Flow of escaped ByteString from a series of String elements.
StringChunks() - Constructor for class play.mvc.Results.StringChunks
Deprecated.
 
StringChunks(String) - Constructor for class play.mvc.Results.StringChunks
Deprecated.
 
StringChunks(Codec) - Constructor for class play.mvc.Results.StringChunks
Deprecated.
 
stringify(JsonNode) - Static method in class play.libs.Json
Convert a JsonNode to its string representation.
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
Retrieves the set of direct sub-keys available in this configuration.
success(A) - Method in class play.libs.F.RedeemablePromise
Deprecated.
Completes the promise with a value.
SWITCHING_PROTOCOLS - Static variable in interface play.mvc.Http.Status
 
system() - Static method in class play.libs.Akka
Deprecated.
Please use "@Inject ActorSystem actorSystem", since 2.5.0

T

tag(String, String) - Method in class play.mvc.Http.RequestBuilder
Puts an extra tag.
tags - Variable in class play.mvc.Http.RequestBuilder
 
tags() - Method in class play.mvc.Http.RequestBuilder
 
tags(Map<String, String>) - Method in class play.mvc.Http.RequestBuilder
 
tags() - Method in interface play.mvc.Http.RequestHeader
 
Tags() - Constructor for class play.routing.Router.Tags
 
TE - Static variable in interface play.mvc.Http.HeaderNames
 
TEMPORARY_REDIRECT - Static variable in interface play.mvc.Http.Status
 
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.
thenAccept(Consumer<? super A>) - Method in class play.libs.F.Promise
Deprecated.
 
thenAcceptAsync(Consumer<? super A>) - Method in class play.libs.F.Promise
Deprecated.
 
thenAcceptAsync(Consumer<? super A>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super A, ? super U>) - Method in class play.libs.F.Promise
Deprecated.
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super A, ? super U>) - Method in class play.libs.F.Promise
Deprecated.
 
thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super A, ? super U>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
thenApply(Function<? super A, ? extends U>) - Method in class play.libs.F.Promise
Deprecated.
 
thenApplyAsync(Function<? super A, ? extends U>) - Method in class play.libs.F.Promise
Deprecated.
 
thenApplyAsync(Function<? super A, ? extends U>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
thenCombine(CompletionStage<? extends U>, BiFunction<? super A, ? super U, ? extends V>) - Method in class play.libs.F.Promise
Deprecated.
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super A, ? super U, ? extends V>) - Method in class play.libs.F.Promise
Deprecated.
 
thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super A, ? super U, ? extends V>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
thenCompose(Function<? super A, ? extends CompletionStage<U>>) - Method in class play.libs.F.Promise
Deprecated.
 
thenComposeAsync(Function<? super A, ? extends CompletionStage<U>>) - Method in class play.libs.F.Promise
Deprecated.
 
thenComposeAsync(Function<? super A, ? extends CompletionStage<U>>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
thenRun(Runnable) - Method in class play.libs.F.Promise
Deprecated.
 
thenRunAsync(Runnable) - Method in class play.libs.F.Promise
Deprecated.
 
thenRunAsync(Runnable, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
through(Flow<D, E, ?>) - Method in class play.libs.streams.Accumulator
Pass the stream through the given flow before forwarding it to the accumulator.
throwing(Throwable) - Static method in class play.libs.F.Promise
Deprecated.
Construct a new CompletableFuture and use CompletableFuture.completeExceptionally(Throwable) instead.
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
timeout(A, long, TimeUnit) - Static method in class play.libs.concurrent.Futures
Create a Promise that is redeemed after a timeout.
timeout(long, TimeUnit) - Static method in class play.libs.concurrent.Futures
Create a Promise timer that throws a PromiseTimeoutException after a given timeout.
Timeout - Interface in play.libs.concurrent
This interface is used to provide a non-blocking timeout on an operation that returns a CompletionStage.
timeout(CompletionStage<A>, long, TimeUnit) - Method in interface play.libs.concurrent.Timeout
Creates a CompletionStage that returns either the input stage, or a timeout.
timeout(CompletionStage<A>, Duration) - Method in interface play.libs.concurrent.Timeout
An alias for timeout(stage, delay, unit) that uses a java.time.Duration.
timeout(A, long, TimeUnit) - Static method in class play.libs.F.Promise
Deprecated.
timeout(A, long) - Static method in class play.libs.F.Promise
Deprecated.
timeout(long) - Static method in class play.libs.F.Promise
Deprecated.
timeout(long, TimeUnit) - Static method in class play.libs.F.Promise
Deprecated.
toBytes(Document) - Static method in class play.libs.XML
Convert the document to bytes.
toCompletableFuture() - Method in class play.libs.F.Promise
Deprecated.
 
TODO - Static variable in class play.mvc.Results
Generates a 501 NOT_IMPLEMENTED simple result.
toJson(Object) - Static method in class play.libs.Json
Convert an object to JsonNode.
token - Variable in class play.libs.oauth.OAuth.RequestToken
 
TolerantJson(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantJson
 
TolerantJson(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantJson
 
TolerantText(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantText
 
TolerantText(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantText
 
TolerantXml(long, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantXml
 
TolerantXml(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.TolerantXml
 
toLocale() - Method in class play.i18n.Lang
Convert to a Java Locale value.
TOO_MANY_REQUESTS - Static variable in interface play.mvc.Http.Status
 
toScala() - Method in interface play.db.Database
Converts the given database to a Scala database
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.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(String, Object...) - Method in class play.Logger.ALogger
Logs a message with the TRACE level.
trace(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(String, Object...) - 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(Function<? super A, ? extends B>, Function<Throwable, Throwable>) - Method in class play.libs.F.Promise
transform(Function<? super A, ? extends B>, Function<Throwable, Throwable>, ExecutionContext) - Method in class play.libs.F.Promise
transform(Source<? super Http.MultipartFormData.Part<Source<ByteString, ?>>, ?>, String) - Static method in class play.mvc.MultipartFormatter
 
tryCompleteWith(F.Promise<? extends A>) - Method in class play.libs.F.RedeemablePromise
Deprecated.
Completes this promise with the specified Promise, once that Promise is completed.
tryCompleteWith(F.Promise<? extends A>, ExecutionContext) - Method in class play.libs.F.RedeemablePromise
Deprecated.
Completes this promise with the specified Promise, once that Promise is completed.
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
Create 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
 

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
Generates a 401 Unauthorized result.
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.
unauthorized(Results.Chunks<?>) - Static method in class play.mvc.Results
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
Get the wrapped Scala context.
underlying() - Method in class play.Configuration
Returns the underlying Typesafe config object.
underlying() - Method in class play.Environment
The underlying Scala API Environment object that this Environment wraps.
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.
underlyingLang - Variable in class play.i18n.Lang
Deprecated.
All instances of play.i18n.Lang can be used as a play.api.i18n.Lang (2.5.1)
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
 
UPGRADE - Static variable in interface play.mvc.Http.HeaderNames
 
UPGRADE_REQUIRED - Static variable in interface play.mvc.Http.Status
 
uri - Variable in class play.mvc.Http.RequestBuilder
 
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.AhcWSAPI
 
url(String) - Method in class play.libs.ws.ahc.AhcWSClient
 
url(String) - Method in class play.libs.ws.ning.NingWSClient
Deprecated.
 
url(String) - Static method in class play.libs.ws.WS
Deprecated.
Please use a WSClient instance using DI (since 2.5)
url(String) - Method in interface play.libs.ws.WSAPI
 
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
 
UserInfo - Class in play.libs.openid
The OpenID user info
UserInfo(String) - Constructor for class play.libs.openid.UserInfo
 
UserInfo(String, Map<String, String>) - Constructor for class play.libs.openid.UserInfo
 
username() - Method in interface play.mvc.Http.Request
The user name for this request, if defined.
username - Variable in class play.mvc.Http.RequestBuilder
 
username() - Method in class play.mvc.Http.RequestBuilder
 
username(String) - Method in class play.mvc.Http.RequestBuilder
 
username() - Method in class play.mvc.Http.RequestImpl
 

V

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.
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.
Validator() - Constructor for class play.data.validation.Constraints.Validator
 
ValidatorProvider - Class in play.data.validation
 
ValidatorProvider(ConstraintValidatorFactory) - Constructor for class play.data.validation.ValidatorProvider
Deprecated.
as of 2.5.11. Use ValidatorProvider(ConstraintValidatorFactory, ApplicationLifecycle)
ValidatorProvider(ConstraintValidatorFactory, ApplicationLifecycle) - Constructor for class play.data.validation.ValidatorProvider
 
value() - Method in class play.cache.NamedCacheImpl
 
value() - Method in class play.data.Form.Field
Returns the field value, if defined.
value() - Method in class play.data.Form
Retrieves the actual form value - even when the form contains validation errors.
value() - Method in class play.db.NamedDatabaseImpl
 
value() - Method in class play.inject.NamedImpl
 
value() - Method in class play.mvc.Http.Cookie
 
valueOf(String) - Static method in enum play.libs.ws.WSAuthScheme
Returns the enum constant of this type with the specified name.
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.server.Server.Protocol
Returns the enum constant of this type with the specified name.
valueOr(String) - Method in class play.data.Form.Field
 
values() - Static method in enum play.libs.ws.WSAuthScheme
Returns an array containing the constants of this enum type, in the order they are declared.
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.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
 
verifiedId(Http.RequestHeader) - Method in class play.libs.openid.DefaultOpenIdClient
Check the identity of the user from the current request, that should be the callback from the OpenID server
verifiedId() - Method in class play.libs.openid.DefaultOpenIdClient
Check the identity of the user from the current request, that should be the callback from the OpenID server
verifiedId() - Static method in class play.libs.openid.OpenID
Deprecated.
Inject an OpenIdClient into your component.
verifiedId(Http.RequestHeader) - Method in interface play.libs.openid.OpenIdClient
Check the identity of the user from the current request, that should be the callback from the OpenID server
verifiedId() - Method in interface play.libs.openid.OpenIdClient
Check the identity of the user from the current request, that should be the callback from the OpenID server
version - Variable in class play.mvc.Http.RequestBuilder
 
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(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(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, 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.In<A> - Class in play.mvc
Deprecated.
Use Akka Streams instead.
WebSocket.MappedWebSocketAcceptor<In,Out> - Class in play.mvc
Utility class for creating WebSockets.
WebSocket.Out<A> - Interface in play.mvc
Deprecated.
Use Akka Streams instead.
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.
whenComplete(BiConsumer<? super A, ? super Throwable>) - Method in class play.libs.F.Promise
Deprecated.
 
whenCompleteAsync(BiConsumer<? super A, ? super Throwable>) - Method in class play.libs.F.Promise
Deprecated.
 
whenCompleteAsync(BiConsumer<? super A, ? super Throwable>, Executor) - Method in class play.libs.F.Promise
Deprecated.
 
whenConnected(String, Consumer<Comet>) - Static method in class play.libs.Comet
Deprecated.
whenConnected(Consumer<LegacyEventSource>) - Static method in class play.libs.LegacyEventSource
Deprecated.
Creates an LegacyEventSource.
whenReady(Consumer<Results.Chunks.Out<byte[]>>) - Static method in class play.mvc.Results.ByteChunks
Deprecated.
Creates a ByteChunks.
whenReady(Consumer<Results.Chunks.Out<String>>) - Static method in class play.mvc.Results.StringChunks
Deprecated.
Creates a StringChunks.
whenReady(String, Consumer<Results.Chunks.Out<String>>) - Static method in class play.mvc.Results.StringChunks
Deprecated.
Creates a StringChunks.
whenReady(Codec, Consumer<Results.Chunks.Out<String>>) - Static method in class play.mvc.Results.StringChunks
Deprecated.
Creates a StringChunks.
whenReady(BiConsumer<WebSocket.In<A>, WebSocket.Out<A>>) - Static method in class play.mvc.WebSocket
Deprecated.
Use the WebSocket.accept* methods instead.
With - Annotation Type in play.mvc
Decorates an Action or a Controller with another Action.
withActor(Function<ActorRef, Props>) - Static method in class play.mvc.WebSocket
Deprecated.
Use the WebSocket.accept* methods instead, with a flow created by wrapping a Sink.actorRef and Source.actorRef.
WithApplication - Class in play.test
Provides an application for JUnit tests.
WithApplication() - Constructor for class play.test.WithApplication
 
WithBrowser - Class in play.test
Provides a server and browser to JUnit tests.
WithBrowser() - Constructor for class play.test.WithBrowser
 
withConfiguration(Configuration) - Method in class play.ApplicationLoader.Context
Create a new context with a different configuration.
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(String, boolean, ConnectionRunnable, Application) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(String, ConnectionRunnable, Application) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(boolean, ConnectionRunnable, Application) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(ConnectionRunnable, Application) - Static method in class play.db.DB
Deprecated.
Execute a block of code, providing a JDBC connection.
withConnection(String, boolean, ConnectionRunnable) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(String, ConnectionRunnable) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(boolean, ConnectionRunnable) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(ConnectionRunnable) - Static method in class play.db.DB
Deprecated.
Execute a block of code, providing a JDBC connection.
withConnection(String, boolean, ConnectionCallable<A>, Application) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(String, ConnectionCallable<A>, Application) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(boolean, ConnectionCallable<A>, Application) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(ConnectionCallable<A>, Application) - Static method in class play.db.DB
Deprecated.
Execute a block of code, providing a JDBC connection.
withConnection(String, boolean, ConnectionCallable<A>) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(String, ConnectionCallable<A>) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(boolean, ConnectionCallable<A>) - Static method in class play.db.DB
Deprecated.
Executes a block of code, providing a JDBC connection.
withConnection(ConnectionCallable<A>) - Static method in class play.db.DB
Deprecated.
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
 
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.
withFallback(Configuration) - Method in class play.Configuration
Extend this configuration with fallback configuration.
withFragment(String) - Method in class play.mvc.Call
Returns a new Call with the given fragment.
withHeader(String, String) - Method in class play.mvc.Result
Return a copy of this result with the given header.
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
 
withId(String) - Method in class play.libs.LegacyEventSource.Event
Deprecated.
 
withMaxAge(Integer) - Method in class play.mvc.Http.CookieBuilder
 
withName(String) - Method in class play.libs.EventSource.Event
 
withName(String) - Method in class play.libs.LegacyEventSource.Event
Deprecated.
 
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.
withRequestFilter(WSRequestFilter) - Method in class play.libs.ws.ahc.AhcWSRequest
 
withRequestFilter(WSRequestFilter) - Method in interface play.libs.ws.WSRequest
Adds a request filter.
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(String, ConnectionRunnable, Application) - Static method in class play.db.DB
Deprecated.
Execute a block of code, in the scope of a JDBC transaction.
withTransaction(ConnectionRunnable, Application) - Static method in class play.db.DB
Deprecated.
Execute a block of code, in the scope of a JDBC transaction.
withTransaction(String, ConnectionRunnable) - Static method in class play.db.DB
Deprecated.
Execute a block of code, in the scope of a JDBC transaction.
withTransaction(ConnectionRunnable) - Static method in class play.db.DB
Deprecated.
Execute a block of code, in the scope of a JDBC transaction.
withTransaction(String, ConnectionCallable<A>, Application) - Static method in class play.db.DB
Deprecated.
Execute a block of code, in the scope of a JDBC transaction.
withTransaction(ConnectionCallable<A>, Application) - Static method in class play.db.DB
Deprecated.
Execute a block of code, in the scope of a JDBC transaction.
withTransaction(String, ConnectionCallable<A>) - Static method in class play.db.DB
Deprecated.
Execute a block of code, in the scope of a JDBC transaction.
withTransaction(ConnectionCallable<A>) - Static method in class play.db.DB
Deprecated.
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(Supplier<T>) - Static method in class play.db.jpa.JPA
Deprecated.
as of 2.5.0. Inject a JPAApi instead.
withTransaction(Runnable) - Static method in class play.db.jpa.JPA
Deprecated.
as of 2.5.0. Inject a JPAApi instead.
withTransaction(String, boolean, Supplier<T>) - Static method in class play.db.jpa.JPA
Deprecated.
as of 2.5.0. Inject a JPAApi instead.
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
Returns a request updated with specified user name
withUsername(String) - Method in class play.mvc.Http.RequestImpl
This method returns a new request, based on the current underlying with a giving username.
withValue(String) - Method in class play.mvc.Http.CookieBuilder
 
wrap(CompletionStage<A>) - Static method in class play.libs.F.Promise
Deprecated.
 
wrap(Future<A>) - Static method in class play.libs.F.Promise
Deprecated.
Use FutureConverters.toJava(Future) instead.
wrapAction(Action) - Method in interface play.http.ActionCreator
Deprecated.
Use createAction and set play.http.actionComposition.executeActionCreatorActionFirst = true
wrapAction(Action) - Method in class play.http.DefaultActionCreator
 
wrapAction(Action) - Method in interface play.http.HttpRequestHandler
Deprecated.
Use ActionCreator instead.
wrapAction(Action) - Method in class play.http.HttpRequestHandlerActionCreator
 
wrapped() - Method in class play.libs.F.Promise
Deprecated.
Promise no longer wraps a Scala Future, use asScala instead.
WrappedContext(Http.Context) - Constructor for class play.mvc.Http.WrappedContext
 
write(A) - Method in class play.mvc.Results.Chunks.Out
Deprecated.
Write a Chunk.
write(A) - Method in interface play.mvc.WebSocket.Out
Deprecated.
Writes a frame.
WS - Class in play.libs.ws
Asynchronous API to to query web services, as an http client.
WS() - Constructor for class play.libs.ws.WS
 
WSAPI - Interface in play.libs.ws
 
WSAuthScheme - Enum in play.libs.ws
 
WSClient - Interface in play.libs.ws
This is the WS Client interface.
WSClientProvider(WSAPI) - Constructor for class play.libs.ws.ahc.AhcWSModule.WSClientProvider
 
WSCookie - Interface in play.libs.ws
A WS Cookie.
WSRequest - Interface in play.libs.ws
This is the main interface to building a WS request in Java.
WSRequestExecutor - Interface in play.libs.ws
 
WSRequestFilter - Interface in play.libs.ws
 
WSResponse - Interface in play.libs.ws
This is the WS response from the server.
WSResponseHeaders - Interface in play.libs.ws
 
WSSignatureCalculator - Interface in play.libs.ws
Sign a WS call.
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
 
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) - Constructor for class play.mvc.BodyParser.Xml
 
Xml(HttpConfiguration, HttpErrorHandler) - Constructor for class play.mvc.BodyParser.Xml
 
XML - Static variable in interface play.mvc.Http.MimeTypes
Content-Type of xml.
XPath - Class in play.libs
XPath for parsing
XPath() - Constructor for class play.libs.XPath
 

Y

Yaml - Class in play.libs
Yaml utilities.
Yaml() - Constructor for class play.libs.Yaml
 
YEAR - Static variable in class play.libs.Time.CronExpression
 
years - Variable in class play.libs.Time.CronExpression
 

Z

zip(CompletionStage<B>) - Method in class play.libs.F.Promise

_

_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
For internal Play-use only
_underlyingRequest() - Method in interface play.mvc.Http.Request
For internal Play-use only
_underlyingRequest() - Method in class play.mvc.Http.RequestImpl
 
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 Z _ 
Skip navigation links