- 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_CHARSET - Static variable in interface play.mvc.Http.HeaderNames
-
- ACCEPT_ENCODING - Static variable in interface play.mvc.Http.HeaderNames
-
- ACCEPT_LANGUAGE - Static variable in interface play.mvc.Http.HeaderNames
-
- ACCEPT_RANGES - Static variable in interface play.mvc.Http.HeaderNames
-
- ACCEPTED - Static variable in interface play.mvc.Http.Status
-
- acceptedTypes() - Method in interface play.mvc.Http.RequestHeader
-
- acceptLanguages() - Method in interface play.mvc.Http.RequestHeader
-
The Request Langs extracted from the Accept-Language header and sorted by preference (preferred first).
- 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
-
- 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.
- actorProps(ActorRef) - Method in class play.mvc.WebSocket
-
The props to create the actor to handle this WebSocket.
- add(Object) - Method in class play.libs.F.Option
-
- addAll(Collection<? extends T>) - Method in class play.libs.F.Option
-
- 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) - Constructor for class play.filters.csrf.AddCSRFTokenAction
-
- addStopHook(Callable<F.Promise<Void>>) - Method in interface play.inject.ApplicationLifecycle
-
Add a stop hook to be called when the application stops.
- addStopHook(Callable<F.Promise<Void>>) - 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
-
- 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.
- 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() - Constructor for class play.data.format.Formats.AnnotationDateFormatter
-
- 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() - 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
-
Returns the currently running application.
- 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) - Method in interface play.libs.F.Function
-
- apply() - Method in interface play.libs.F.Function0
-
- apply(A, B) - Method in interface play.libs.F.Function2
-
- apply(A, B, C) - Method in interface play.libs.F.Function3
-
- 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) - Static method in class play.db.evolutions.Evolutions
-
Apply evolutions for the given database.
- args - Variable in class play.mvc.Http.Context
-
Free space to store your request specific data.
- arguments() - Method in class play.data.validation.ValidationError
-
Returns the error arguments.
- as(Class<T>) - Method in class play.mvc.Http.RequestBody
-
Cast this RequestBody as T if possible.
- as(String) - Method in class play.mvc.Results.Status
-
Change the Content-Type header for this result.
- 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.ning.NingWSResponse
-
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
- 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.
- asJson() - Method in class play.libs.ws.ning.NingWSResponse
-
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(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.
- asText() - Method in class play.mvc.Http.RequestBody
-
The request content as text.
- asXml() - Method in class play.libs.ws.ning.NingWSResponse
-
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.
- 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() - Constructor for class play.mvc.Security.AuthenticatedAction
-
- 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
-
Retrieve Lang availables from the application configuration.
- availables() - Method in class play.i18n.Langs
-
The available languages.
- 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 simple result.
- badRequest(Content) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST simple result.
- badRequest(Content, String) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST simple result.
- badRequest(String) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST simple result.
- badRequest(String, String) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST simple result.
- badRequest(JsonNode) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST simple result.
- badRequest(JsonNode, String) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST simple result.
- badRequest(byte[]) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST simple result.
- badRequest(InputStream) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST chunked result.
- badRequest(InputStream, int) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST chunked result.
- badRequest(File) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST file result as an attachment.
- badRequest(File, boolean) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST file result.
- badRequest(File, String) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST file result as an attachment.
- badRequest(Results.Chunks<?>) - Static method in class play.mvc.Results
-
Generates a 400 BAD_REQUEST chunked result.
- beforeStart(Application) - Method in class play.GlobalSettings
-
Executed before any plugin - you can set-up your database schema here, for instance.
- BINARY - Static variable in interface play.mvc.Http.MimeTypes
-
Content-Type of binary data.
- 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
-
Bind an EntityManager to the current HTTP context.
- 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.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.ning.NingWSModule
-
- 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(AnyContent, String) - Method in class play.mvc.Http.RequestBuilder
-
Set a AnyContent to this request.
- body(AnyContent) - Method in class play.mvc.Http.RequestBuilder
-
Set a AnyContent to this request.
- body() - Method in class play.mvc.Http.RequestImpl
-
- bodyAsAnyContent() - Method in class play.mvc.Http.RequestBuilder
-
- 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.
- BodyParser - 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.Default - Class in play.mvc
-
If PATCH, POST, or PUT, guess the body content by checking the Content-Type header.
- 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.MultipartFormData - Class in play.mvc
-
Parse the body as form url encoded 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.
- 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.
- browser - Variable in class play.test.WithBrowser
-
- 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.RequestBuilder
-
Builds the request.
- build() - Method in class play.routing.RoutingDsl
-
Build the router.
- builder(ApplicationLoader.Context) - Method in class play.inject.guice.GuiceApplicationLoader
-
Construct a builder to use for loading the given context.
- 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
-
- ByteChunks() - Constructor for class play.mvc.Results.ByteChunks
-
- Cache - Class in play.cache
-
Provides an access point for Play's cache service.
- Cache() - Constructor for class play.cache.Cache
-
- 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() - 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
-
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.Result
-
Extracts the Charset of this Result value.
- charset(Result) - Static method in class play.test.Helpers
-
- checkNext(int, String, int, int) - Method in class play.libs.Time.CronExpression
-
- Chunks(Writeable<A>) - Constructor for class play.mvc.Results.Chunks
-
- 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) - 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.libs.F.Option
-
- 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.ning.NingWSAPI
-
- client() - Static method in class play.libs.ws.WS
-
Returns the default WSClient object managed by the Play application.
- client() - Method in interface play.libs.ws.WSAPI
-
- 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() - Method in class play.libs.Comet
-
Close the channel
- close() - Method in class play.libs.EventSource
-
Close the channel
- close() - Method in class play.libs.ws.ning.NingWSClient
-
- close() - Method in interface play.libs.ws.WSClient
-
Closes this client, and releases underlying resources.
- close() - Method in class play.mvc.Results.Chunks.Out
-
Closes the stream.
- close() - Method in interface play.mvc.WebSocket.Out
-
Close this channel.
- closeCallbacks - Variable in class play.mvc.WebSocket.In
-
Callbacks to invoke on close.
- code() - Method in class play.i18n.Lang
-
The Lang code (such as fr or en-US).
- Comet - Class in play.libs
-
A Chunked stream sending Comet messages.
- Comet(String) - Constructor for class play.libs.Comet
-
Create a new Comet socket
- compareSignedTokens(String, String) - Method in class play.libs.Crypto
-
Compare two signed tokens
- completeWith(F.Promise) - Method in class play.libs.F.RedeemablePromise
-
Completes this promise with the specified Promise, once that Promise is completed.
- completeWith(F.Promise, ExecutionContext) - Method in class play.libs.F.RedeemablePromise
-
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
-
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
-
Create a Scala function wrapper for ConnectionRunnable.
- connectionFunction(ConnectionCallable<A>) - Static method in class play.db.DB
-
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
-
Constant time equals method.
- 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.
- ConsumerKey(String, String) - Constructor for class play.libs.oauth.OAuth.ConsumerKey
-
- contains(Object) - Method in class play.libs.F.None
-
- contains(Object) - Method in class play.libs.F.Some
-
- containsAll(Collection<?>) - Method in class play.libs.F.None
-
- containsAll(Collection<?>) - Method in class play.libs.F.Some
-
- 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 bytes.
- contentAsBytes(Result, long) - Static method in class play.test.Helpers
-
- 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 String.
- contentAsString(Result) - Static method in class play.test.Helpers
-
Extracts the content as String.
- contentAsString(Result, long) - Static method in class play.test.Helpers
-
- contentType() - Method in class play.libs.Jsonp
-
- contentType() - Method in interface play.mvc.Result
-
Extracts the Content-Type of this Result value.
- contentType(Content) - Static method in class play.test.Helpers
-
- contentType(Result) - Static method in class play.test.Helpers
-
- 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.
- 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 - Static 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 interface play.mvc.Result
-
Extracts a Cookie value from this Result value
- cookie(String, Result) - Static method in class play.test.Helpers
-
- 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 interface play.mvc.Result
-
Extracts the Cookies (an iterator) from this result value.
- cookies(Result) - Static method in class play.test.Helpers
-
- 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.
- createAction(Http.Request, Method) - Method in class play.http.DefaultHttpRequestHandler
-
- createAction(Http.Request, Method) - Method in class play.http.GlobalSettingsHttpRequestHandler
-
- createAction(Http.Request, Method) - Method in interface play.http.HttpRequestHandler
-
Call to create the root Action of a request for a Java application.
- 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 simple result.
- created(Content) - Static method in class play.mvc.Results
-
Generates a 201 CREATED simple result.
- created(Content, String) - Static method in class play.mvc.Results
-
Generates a 201 CREATED simple result.
- created(String) - Static method in class play.mvc.Results
-
Generates a 201 CREATED simple result.
- created(String, String) - Static method in class play.mvc.Results
-
Generates a 201 CREATED simple result.
- created(JsonNode) - Static method in class play.mvc.Results
-
Generates a 201 CREATED simple result.
- created(JsonNode, String) - Static method in class play.mvc.Results
-
Generates a 201 CREATED simple result.
- created(byte[]) - Static method in class play.mvc.Results
-
Generates a 201 CREATED simple result.
- created(InputStream) - Static method in class play.mvc.Results
-
Generates a 201 CREATED chunked result.
- created(InputStream, int) - Static method in class play.mvc.Results
-
Generates a 201 CREATED chunked result.
- created(File) - Static method in class play.mvc.Results
-
Generates a 201 CREATED file result as an attachment.
- created(File, boolean) - Static method in class play.mvc.Results
-
Generates a 201 CREATED file result.
- created(File, String) - Static method in class play.mvc.Results
-
Generates a 201 CREATED file result as an attachment.
- created(Results.Chunks<?>) - Static method in class play.mvc.Results
-
Generates a 201 CREATED chunked result.
- 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
-
Cryptographic utilities.
- Crypto(Crypto) - Constructor for class play.libs.Crypto
-
- CSRFErrorHandler - Interface in play.filters.csrf
-
This interface handles the CSRF error.
- CSRFErrorHandler.DefaultCSRFErrorHandler - Class in play.filters.csrf
-
- 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 - 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.
- data() - Method in class play.data.DynamicForm
-
- data() - Method in class play.data.Form
-
Retrieves the actual form data.
- Database - Interface in play.db
-
Database API for managing data sources and connections.
- Databases - Class in play.db
-
Creation helpers for manually instantiating databases.
- DATE - Static variable in interface play.mvc.Http.HeaderNames
-
- DateFormatter(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
-
Provides a high-level API for getting JDBC connections.
- 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
-
Decrypt a String with the AES encryption standard using the application's secret key.
- decryptAES(String, String) - Method in class play.libs.Crypto
-
Decrypt a String with the AES encryption standard.
- Default() - 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.
- 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
-
- defaultContext() - Static method in class play.libs.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
-
- DefaultHttpRequestHandler - Class in play.http
-
- DefaultHttpRequestHandler() - Constructor for class play.http.DefaultHttpRequestHandler
-
- DefaultJPAApi - Class in play.db.jpa
-
Default implementation of the JPA API.
- DefaultJPAApi(JPAConfig) - 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(F.Function0<A>, long, TimeUnit) - Static method in class play.libs.F.Promise
-
Create a Promise which, after a delay, will be redeemed with the result of a
given function.
- delayed(F.Function0<A>, long, TimeUnit, ExecutionContext) - Static method in class play.libs.F.Promise
-
Create a Promise which, after a delay, will be redeemed with the result of a
given function.
- 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
-
- delete() - Method in class play.libs.ws.ning.NingWSRequest
-
- 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.
- domain() - Method in class play.mvc.Http.Cookie
-
- 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() - Constructor for class play.data.DynamicForm
-
Creates a new empty dynamic form.
- DynamicForm(Map<String, String>, Map<String, List<ValidationError>>, F.Option<DynamicForm.Dynamic>) - Constructor for class play.data.DynamicForm
-
Creates a new dynamic form.
- DynamicForm.Dynamic - Class in play.data
-
Simple data structure used by DynamicForm
.
- 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(String) - Static method in class play.db.jpa.JPA
-
Get the EntityManager for specified persistence unit for this thread.
- 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.
- 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
-
Creates a new Promise with no value
- Empty() - Constructor for class play.mvc.BodyParser.Empty
-
- 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.
- enabled() - Method in class play.Plugin
-
Deprecated.
Is this plugin enabled.
- encryptAES(String) - Method in class play.libs.Crypto
-
Encrypt a String with the AES encryption standard using the application's secret key.
- encryptAES(String, String) - Method in class play.libs.Crypto
-
Encrypt a String with the AES encryption standard and the supplied private key.
- 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.i18n.Lang
-
- equals(Object) - Method in class play.inject.NamedImpl
-
- equals(Object) - Method in class play.libs.F.Option
-
- 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.
- ETAG - Static variable in interface play.mvc.Http.HeaderNames
-
- Event(String, String, String) - Constructor for class play.libs.EventSource.Event
-
- event(String) - Static method in class play.libs.EventSource.Event
-
- event(JsonNode) - Static method in class play.libs.EventSource.Event
-
- EVENT_STREAM - Static variable in interface play.mvc.Http.MimeTypes
-
Content-Type of server sent events.
- EventSource - Class in play.libs
-
Implementation of Server-Sent Events.
- EventSource() - Constructor for class play.libs.EventSource
-
Create a new EventSource socket
- EventSource.Event - Class in play.libs
-
Utility class to build events.
- Evolution - Class in play.db.evolutions
-
An evolution.
- Evolution(int, String, String) - Constructor for class play.db.evolutions.Evolution
-
Create the evolution.
- Evolutions - Class in play.db.evolutions
-
Utilities for working with evolutions.
- Evolutions() - Constructor for class play.db.evolutions.Evolutions
-
- evolutions(String) - Method in class play.db.evolutions.EvolutionsReader
-
- EvolutionsReader - Class in play.db.evolutions
-
Reads evolutions.
- EvolutionsReader() - Constructor for class play.db.evolutions.EvolutionsReader
-
- execute(String) - Method in class play.libs.ws.ning.NingWSRequest
-
- execute() - Method in class play.libs.ws.ning.NingWSRequest
-
- 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 class play.libs.Crypto
-
- F - Class in play.libs
-
Defines a set of functional programming style helpers.
- F() - Constructor for class play.libs.F
-
- F.Callback<A> - Interface in play.libs
-
A Callback with a single argument.
- F.Callback0 - Interface in play.libs
-
A Callback with no arguments.
- F.Callback2<A,B> - Interface in play.libs
-
A Callback with 2 arguments.
- F.Callback3<A,B,C> - Interface in play.libs
-
A Callback with 3 arguments.
- F.Either<A,B> - Class in play.libs
-
Represents a value of one of two possible types (a disjoint union)
- F.Function<A,R> - Interface in play.libs
-
A Function with a single argument.
- F.Function0<R> - Interface in play.libs
-
A Function with no arguments.
- F.Function2<A,B,R> - Interface in play.libs
-
A Function with 2 arguments.
- F.Function3<A,B,C,R> - Interface in play.libs
-
A Function with 3 arguments.
- F.None<T> - Class in play.libs
-
Represents non-existent values.
- F.Option<T> - Class in play.libs
-
Represents optional values.
- F.Predicate<A> - Interface in play.libs
-
A Predicate (boolean-valued function) with a single argument.
- F.Promise<A> - Class in play.libs
-
A promise to produce a result of type A
.
- F.PromiseTimeoutException - Exception in play.libs
-
Exception thrown when an operation times out.
- F.RedeemablePromise<A> - Class in play.libs
-
RedeemablePromise is an object which can be completed with a value or failed with an exception.
- F.Some<T> - Class in play.libs
-
Represents existing values of type T
.
- 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
- failure(Throwable) - Method in class play.libs.F.RedeemablePromise
-
Completes the promise with an exception
- FakeApplication - Class in play.test
-
A fake application for testing.
- FakeApplication(File, ClassLoader, Map<String, ? extends Object>, List<String>, List<String>, GlobalSettings) - Constructor for class play.test.FakeApplication
-
Create a fake application.
- FakeApplication(File, ClassLoader, Map<String, ? extends Object>, List<String>, GlobalSettings) - Constructor for class play.test.FakeApplication
-
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
-
Build a new fake application.
- 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
-
Build a new fake application.
- fakeApplication(Map<String, ? extends Object>, List<String>) - Static method in class play.test.Helpers
-
Build a new fake application.
- fakeApplication(Map<String, ? extends Object>, List<String>, GlobalSettings) - Static method in class play.test.Helpers
-
Build a new fake application.
- fakeApplication(Map<String, ? extends Object>, List<String>, List<String>) - Static method in class play.test.Helpers
-
Build a new fake application.
- fakeApplication(Map<String, ? extends Object>, List<String>, List<String>, GlobalSettings) - Static method in class play.test.Helpers
-
Build a new fake application.
- fakeGlobal() - Static method in class play.test.Helpers
-
A fake Global
- FakeRequest - Interface in play.test
-
- 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
-
Creates a new promise which holds the result of this promise if it was completed successfully,
otherwise the result of the fallback
promise if it completed successfully.
- 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.
- FilePart(String, String, String, File) - 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(F.Predicate<? super A>) - Method in class play.libs.F.Promise
-
Creates a new promise by filtering the value of the current promise with a predicate.
- filter(F.Predicate<? super A>, ExecutionContext) - Method in class play.libs.F.Promise
-
Creates a new promise by filtering the value of the current promise with a predicate.
- filters() - Method in class play.GlobalSettings
-
Get the filters that should be used to handle each request.
- 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 interface play.mvc.Result
-
Extracts the Flash values of this Result value.
- flash(Result) - Static method in class play.test.Helpers
-
- flatMap(F.Function<? super A, F.Promise<B>>) - Method in class play.libs.F.Promise
-
Maps the result of this promise to a promise for a result of type B
, and flattens that to be
a single promise for B
.
- flatMap(F.Function<? super A, F.Promise<B>>, ExecutionContext) - Method in class play.libs.F.Promise
-
Maps the result of this promise to a promise for a result of type B
, and flattens that to be
a single promise for B
.
- 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 simple result.
- forbidden(Content) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN simple result.
- forbidden(Content, String) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN simple result.
- forbidden(String) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN simple result.
- forbidden(String, String) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN simple result.
- forbidden(JsonNode) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN simple result.
- forbidden(JsonNode, String) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN simple result.
- forbidden(byte[]) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN simple result.
- forbidden(InputStream) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN chunked result.
- forbidden(InputStream, int) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN chunked result.
- forbidden(File) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN file result as an attachment.
- forbidden(File, boolean) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN file result.
- forbidden(File, String) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN file result as an attachment.
- forbidden(Results.Chunks<?>) - Static method in class play.mvc.Results
-
Generates a 403 FORBIDDEN chunked result.
- forCode(String) - Static method in class play.i18n.Lang
-
Create a Lang value from a code (such as fr or en-US).
- forDefault(Evolution...) - Static method in class play.db.evolutions.Evolutions
-
Create an evolutions reader for the default database from a list of evolutions.
- Form<T> - Class in play.data
-
Helper to manage HTML form description, submission and validation.
- Form(Class<T>) - Constructor for class play.data.Form
-
Creates a new Form
.
- Form(String, Class<T>) - Constructor for class play.data.Form
-
- Form(String, Class<T>, Class<?>) - Constructor for class play.data.Form
-
- Form(String, Class<T>, Map<String, String>, Map<String, List<ValidationError>>, F.Option<T>) - Constructor for class play.data.Form
-
- Form(String, Class<T>, Map<String, String>, Map<String, List<ValidationError>>, F.Option<T>, Class<?>) - Constructor for class play.data.Form
-
Creates a new Form
.
- form() - Static method in class play.data.Form
-
Instantiates a dynamic form.
- form(Class<T>) - Static method in class play.data.Form
-
Instantiates a new form that wraps the specified class.
- form(String, Class<T>) - Static method in class play.data.Form
-
Instantiates a new form that wraps the specified class.
- form(String, Class<T>, Class<?>) - Static method in class play.data.Form
-
Instantiates a new form that wraps the specified class.
- form(Class<T>, Class<?>) - Static method in class play.data.Form
-
Instantiates a new form that wraps the specified class.
- 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
-
- Formatters - Class in play.data.format
-
Formatters helper.
- Formatters() - 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.
- FormUrlEncoded() - 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 simple result.
- found(Call) - Static method in class play.mvc.Results
-
Generates a 302 FOUND simple result.
- fragment() - Method in class play.mvc.Call
-
The fragment of the URL.
- from(Map<String, String>) - Static method in class play.db.jpa.DefaultJPAConfig
-
Create a default JPA configuration from a map of names to unit names.
- FROM - Static variable in interface play.mvc.Http.HeaderNames
-
- fromClassLoader() - Static method in class play.db.evolutions.Evolutions
-
Create an evolutions reader that reads evolution files from this 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.
- 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.
- fromString(String) - Static method in class play.libs.XML
-
Parse an XML string as DOM.
- fromThread(ExecutionContext) - Static method in class play.libs.HttpExecution
-
An ExecutionContext that executes work on the given ExecutionContext.
- GATEWAY_TIMEOUT - Static variable in interface play.mvc.Http.Status
-
- generateEvolutionScript(EbeanServer, ServerConfig) - Static method in class play.db.ebean.EbeanDynamicEvolutions
-
Helper method that generates the required evolution to properly run Ebean.
- generateSignedToken() - Method in class play.libs.Crypto
-
Generate a signed token
- generateToken() - Method in class play.libs.Crypto
-
Generate a cryptographically secure token
- get(String) - Static method in class play.cache.Cache
-
Retrieves an object by key.
- 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 if the submission was a success.
- 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
-
Translates a message.
- get(Lang, List<String>, Object...) - Static method in class play.i18n.Messages
-
Translates the first defined message.
- get(String, Object...) - Static method in class play.i18n.Messages
-
Translates a message.
- get(List<String>, Object...) - Static method in class play.i18n.Messages
-
Translates the first defined message.
- get(Lang, String, Object...) - Method in class play.i18n.MessagesApi
-
Translates a message.
- get(Lang, List<String>, Object...) - Method in class play.i18n.MessagesApi
-
Translates the first defined message.
- get() - Method in class play.inject.ConfigurationProvider
-
- get() - Method in class play.inject.SourceProvider
-
Returns the calling line of code.
- get() - Method in class play.libs.F.None
-
- get() - Method in class play.libs.F.Option
-
Returns the value if defined.
- get(long, TimeUnit) - Method in class play.libs.F.Promise
-
Awaits for the promise to get the result.
Throws a Throwable if the calculation providing the promise threw an exception
- get(long) - Method in class play.libs.F.Promise
-
Awaits for the promise to get the result.
Throws a Throwable if the calculation providing the promise threw an exception
- get() - Method in class play.libs.F.Some
-
- get() - Method in class play.libs.ws.ning.NingWSModule.WSClientProvider
-
- get() - Method in class play.libs.ws.ning.NingWSRequest
-
- 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.ning.NingWSResponse
-
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
-
- getBody() - Method in class play.libs.ws.ning.NingWSResponse
-
Get the response body as a string.
- getBody() - Method in interface play.libs.ws.WSResponse
-
Gets the body as a string.
- getBodyAsStream() - Method in class play.libs.ws.ning.NingWSResponse
-
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.ning.NingWSRequest
-
- 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
-
Returns a connection from the default datasource,
with auto-commit enabled.
- getConnection(boolean) - Static method in class play.db.DB
-
Returns a connection from the default datasource,
with the specified auto-commit setting.
- getConnection(String) - Static method in class play.db.DB
-
Returns a connection from any datasource, with auto-commit enabled.
- getConnection(String, boolean) - Static method in class play.db.DB
-
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.FilePart
-
The file Content-Type
- getCookie(String) - Method in class play.libs.ws.ning.NingWSResponse
-
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.ning.NingWSResponse
-
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
-
Returns the default datasource.
- getDataSource(String) - Static method in class play.db.DB
-
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.ning.NingWSCookie
-
- 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
-
- getExpires() - Method in class play.libs.ws.ning.NingWSCookie
-
- getExpires() - Method in interface play.libs.ws.WSCookie
-
- 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.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.ning.NingWSRequest
-
- getFollowRedirects() - Method in interface play.libs.ws.WSRequest
-
- getHeader(String) - Method in class play.libs.ws.ning.NingWSResponse
-
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.ning.NingWSRequest
-
- getHeaders() - Method in interface play.libs.ws.WSRequest
-
- getHeaders() - Method in class play.mvc.Http.Response
-
Gets the current response headers.
- getInfo() - Method in class play.libs.oauth.OAuth
-
- 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.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.ning.NingWSCookie
-
- 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.ning.NingWSCookie
-
- 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
-
Retrieve a value from the cache, or set it from a default Callable function.
- 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
-
- getOrElse(T) - Method in class play.libs.F.Option
-
Get the value if defined, otherwise return the supplied defaultValue
.
- getPassword() - Method in class play.libs.ws.ning.NingWSRequest
-
- getPassword() - Method in interface play.libs.ws.WSRequest
-
- getPath() - Method in class play.libs.ws.ning.NingWSCookie
-
- getPath() - Method in interface play.libs.ws.WSCookie
-
- getProvider() - Method in class play.libs.oauth.OAuth
-
- getQueryParameters() - Method in class play.libs.ws.ning.NingWSRequest
-
- 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.
- getRequestTimeout() - Method in class play.libs.ws.ning.NingWSRequest
-
- 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.ning.NingWSRequest
-
- 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.ning.NingWSResponse
-
Get the HTTP status code of the response
- getStatus() - Method in interface play.libs.ws.WSResponse
-
Returns the HTTP status code from the response.
- getStatusText() - Method in class play.libs.ws.ning.NingWSResponse
-
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.ning.NingWSClient
-
- getUnderlying() - Method in class play.libs.ws.ning.NingWSCookie
-
Returns the underlying "native" object for the cookie.
- getUnderlying() - Method in class play.libs.ws.ning.NingWSResponse
-
- getUnderlying() - Method in interface play.libs.ws.WSClient
-
- 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.ning.NingWSResponse
-
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.ning.NingWSRequest
-
- getUrl() - Method in interface play.libs.ws.WSRequest
-
- getUsername() - Method in class play.libs.ws.ning.NingWSRequest
-
- 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.
- getValidator() - Static method in class play.data.validation.Validation
-
Returns a JSR-303 Validator.
- getValue(int, String, int) - Method in class play.libs.Time.CronExpression
-
- getValue() - Method in class play.libs.ws.ning.NingWSCookie
-
- getValue() - Method in interface play.libs.ws.WSCookie
-
- 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
-
Get the underlying Scala application.
- getWrappedConfiguration() - Method in class play.Configuration
-
- global(GlobalSettings) - Method in class play.inject.guice.GuiceApplicationBuilder
-
Set the global settings object.
- 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
-
GlobalSettings is instantiated by the framework when an application starts, to let you perform specific tasks
at start-up or shut-down.
- GlobalSettings() - Constructor for class play.GlobalSettings
-
- GlobalSettingsHttpRequestHandler - Class in play.http
-
Request handler that delegates to global
- GlobalSettingsHttpRequestHandler(GlobalSettings) - Constructor for class play.http.GlobalSettingsHttpRequestHandler
-
- 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
-
- 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
-
- 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
-
Initial chunk of data to send for browser compatibility (default to send 5Kb of blank data).
- 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
-
- 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
-
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 FakeApplication.
- inMemoryDatabase(String) - Static method in class play.test.Helpers
-
Constructs a in-memory (h2) database configuration to add to a FakeApplication.
- inMemoryDatabase(String, Map<String, String>) - Static method in class play.test.Helpers
-
Constructs a in-memory (h2) database configuration to add to a FakeApplication.
- 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.
- 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 simple result.
- internalServerError(Content) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR simple result.
- internalServerError(Content, String) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR simple result.
- internalServerError(String) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR simple result.
- internalServerError(String, String) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR simple result.
- internalServerError(JsonNode) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR simple result.
- internalServerError(JsonNode, String) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR simple result.
- internalServerError(byte[]) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR simple result.
- internalServerError(InputStream) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR chunked result.
- internalServerError(InputStream, int) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR chunked result.
- internalServerError(File) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR file result as an attachment.
- internalServerError(File, boolean) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR file result.
- internalServerError(File, String) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR file result as an attachment.
- internalServerError(Results.Chunks<?>) - Static method in class play.mvc.Results
-
Generates a 500 INTERNAL_SERVER_ERROR chunked result.
- invoke(A) - Method in interface play.libs.F.Callback
-
- invoke() - Method in interface play.libs.F.Callback0
-
- invoke(A, B) - Method in interface play.libs.F.Callback2
-
- invoke(A, B, C) - Method in interface play.libs.F.Callback3
-
- 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.WebSocket
-
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
-
Check if a message key is defined.
- isDefined(String) - Static method in class play.i18n.Messages
-
Check if a message key is defined.
- isDefined() - Method in class play.libs.F.None
-
- isDefined() - Method in class play.libs.F.Option
-
Is the value of this option defined?
- isDefined() - Method in class play.libs.F.Some
-
- 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
-
Returns `true` if the current application is `DEV` mode.
- isDirty - Variable in class play.mvc.Http.Flash
-
- isDirty - Variable in class play.mvc.Http.Session
-
- isEmpty() - Method in class play.libs.F.Option
-
- 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?
- isLeapYear(int) - Method in class play.libs.Time.CronExpression
-
- isMaxSizeExceeded() - Method in class play.mvc.Http.RequestBody
-
- 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
-
Returns `true` if the current application is `PROD` mode.
- 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.ning.NingWSCookie
-
- 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
-
Returns `true` if the current application is `TEST` mode.
- 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?
- iterator() - Method in class play.libs.F.None
-
- iterator() - Method in class play.libs.F.Some
-
- 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.
- OK - Static variable in interface play.mvc.Http.Status
-
- ok() - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(Content) - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(Content, String) - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(String) - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(String, String) - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(JsonNode) - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(JsonNode, String) - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(byte[]) - Static method in class play.mvc.Results
-
Generates a 200 OK simple result.
- ok(InputStream) - Static method in class play.mvc.Results
-
Generates a 200 OK chunked result.
- ok(InputStream, int) - Static method in class play.mvc.Results
-
Generates a 200 OK chunked result.
- ok(File) - Static method in class play.mvc.Results
-
Generates a 200 OK file result as an attachment.
- ok(File, boolean) - Static method in class play.mvc.Results
-
Generates a 200 OK file result.
- ok(File, String) - Static method in class play.mvc.Results
-
Generates a 200 OK file result as an attachment.
- ok(Results.Chunks<?>) - Static method in class play.mvc.Results
-
Generates a 200 OK chunked result.
- onBadRequest(Http.RequestHeader, String) - Method in class play.GlobalSettings
-
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(F.Callback0) - Method in class play.mvc.WebSocket.In
-
Registers a close callback.
- onConnected() - Method in class play.libs.Comet
-
The socket is ready, you can start sending messages.
- onConnected() - Method in class play.libs.EventSource
-
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(F.Callback0) - Method in class play.libs.Comet
-
Add a callback to be notified when the client has disconnected.
- onDisconnected(F.Callback0) - Method in class play.libs.EventSource
-
Add a callback to be notified when the client has disconnected.
- onDisconnected(F.Callback0) - Method in class play.mvc.Results.Chunks.Out
-
Attach a callback to be called when the socket is disconnected.
- onError(Http.RequestHeader, Throwable) - Method in class play.GlobalSettings
-
Called when an exception occurred.
- onFailure(F.Callback<Throwable>) - Method in class play.libs.F.Promise
-
Perform the given action
callback if the promise encounters an exception.
- onFailure(F.Callback<Throwable>, ExecutionContext) - Method in class play.libs.F.Promise
-
Perform the given action
callback if the promise encounters an exception.
- 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
-
Called when no action was found to serve a request.
- onLoadConfig(Configuration, File, ClassLoader) - Method in class play.GlobalSettings
-
- onLoadConfig(Configuration, File, ClassLoader, Mode) - Method in class play.GlobalSettings
-
- onMessage(F.Callback<A>) - Method in class play.mvc.WebSocket.In
-
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
-
- onReady(Results.Chunks.Out<String>) - Method in class play.libs.EventSource
-
- onReady(Results.Chunks.Out<A>) - Method in class play.mvc.Results.Chunks
-
Called when the Chunked stream is ready.
- onReady(WebSocket.In<A>, WebSocket.Out<A>) - Method in class play.mvc.WebSocket
-
Called when the WebSocket is ready
- onRedeem(F.Callback<A>) - Method in class play.libs.F.Promise
-
Perform the given action
callback when the Promise is redeemed.
- onRedeem(F.Callback<A>, ExecutionContext) - Method in class play.libs.F.Promise
-
Perform the given action
callback when the Promise is redeemed.
- onRequest(Http.Request, Method) - Method in class play.GlobalSettings
-
Call to create the root Action of a request for a Java application.
- onRouteRequest(Http.RequestHeader) - Method in class play.GlobalSettings
-
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
-
Executed after all plugins, including the database set-up with Evolutions and the EBean wrapper.
- onStart() - Method in class play.Plugin
-
Deprecated.
Called when the application starts.
- onStop(Application) - Method in class play.GlobalSettings
-
Executed when the application stops.
- onStop() - Method in class play.Plugin
-
Deprecated.
Called 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
-
Created by jroper on 29/08/14.
- OpenIdModule - Class in play.libs.openid
-
- OpenIdModule() - Constructor for class play.libs.openid.OpenIdModule
-
- Option() - Constructor for class play.libs.F.Option
-
- Option(T) - Static method in class play.libs.Scala
-
Wrap a value into a Scala Option.
- options() - Method in class play.libs.ws.ning.NingWSRequest
-
- 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
-
combines the current promise with another
promise using `or`
- 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
-
- Out(Concurrent.Channel<A>, List<F.Callback0>) - Constructor for class play.mvc.Results.Chunks.Out
-
- overrides(ApplicationLoader.Context) - Method in class play.inject.guice.GuiceApplicationLoader
-
Override some bindings using information from the 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.
- 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>) - Static method in class play.data.format.Formatters
-
Parses this string as instance of the given class.
- parse(Field, String, Class<T>) - Static 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.
- 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
-
- parser(long) - Method in class play.mvc.BodyParser.AnyContent
-
- parser(long) - Method in class play.mvc.BodyParser.Default
-
- parser(long) - Method in class play.mvc.BodyParser.Empty
-
- parser(long) - Method in class play.mvc.BodyParser.FormUrlEncoded
-
- parser(long) - Method in class play.mvc.BodyParser.Json
-
- parser(long) - Method in class play.mvc.BodyParser.MultipartFormData
-
- parser(long) - Method in interface play.mvc.BodyParser
-
- parser(long) - Method in class play.mvc.BodyParser.Raw
-
- parser(long) - Method in class play.mvc.BodyParser.Text
-
- parser(long) - Method in class play.mvc.BodyParser.TolerantJson
-
- parser(long) - Method in class play.mvc.BodyParser.TolerantText
-
- parser(long) - Method in class play.mvc.BodyParser.TolerantXml
-
- parser(long) - Method in class play.mvc.BodyParser.Xml
-
- PARTIAL_CONTENT - Static variable in interface play.mvc.Http.Status
-
- patch(String) - Method in class play.libs.ws.ning.NingWSRequest
-
- patch(JsonNode) - Method in class play.libs.ws.ning.NingWSRequest
-
- patch(InputStream) - Method in class play.libs.ws.ning.NingWSRequest
-
- patch(File) - Method in class play.libs.ws.ning.NingWSRequest
-
- 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(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 simple result.
- paymentRequired(Content) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED simple result.
- paymentRequired(Content, String) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED simple result.
- paymentRequired(String) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED simple result.
- paymentRequired(String, String) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED simple result.
- paymentRequired(JsonNode) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED simple result.
- paymentRequired(JsonNode, String) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED simple result.
- paymentRequired(byte[]) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED simple result.
- paymentRequired(InputStream) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED chunked result.
- paymentRequired(InputStream, int) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED chunked result.
- paymentRequired(File) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED file result as an attachment.
- paymentRequired(File, boolean) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED file result.
- paymentRequired(File, String) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED file result as an attachment.
- paymentRequired(Results.Chunks<?>) - Static method in class play.mvc.Results
-
Generates a 402 PAYMENT_REQUIRED chunked 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
-
- play - package play
-
Provides the Play framework's publicly accessible Java API.
- Play - Class in play
-
High-level API to access Play global features.
- Play() - Constructor for class play.Play
-
- 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.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.oauth - package play.libs.oauth
-
- play.libs.openid - package play.libs.openid
-
- play.libs.ws - package play.libs.ws
-
- 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.
- plugin(Class<T>) - Method in interface play.Application
-
Get the
Plugin
instance for the given class.
- Plugin - Class in play
-
- Plugin() - Constructor for class play.Plugin
-
Deprecated.
- plusSkippedClasses(Class...) - Method in class play.inject.SourceProvider
-
Returns a new instance that also skips moreClassesToSkip
.
- port - Variable in class play.test.WithServer
-
- post(String) - Method in class play.libs.ws.ning.NingWSRequest
-
- post(JsonNode) - Method in class play.libs.ws.ning.NingWSRequest
-
- post(InputStream) - Method in class play.libs.ws.ning.NingWSRequest
-
- post(File) - Method in class play.libs.ws.ning.NingWSRequest
-
- 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(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
-
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 candidates.
- 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) - Static method in class play.data.format.Formatters
-
Computes the display string for any value.
- print(Field, T) - Static method in class play.data.format.Formatters
-
Computes the display string for any value, for a specific field.
- print(TypeDescriptor, T) - Static 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(F.Function0<A>) - Static method in class play.libs.F.Promise
-
Create a Promise which will be redeemed with the result of a given function.
- promise(F.Function0<A>, ExecutionContext) - Static method in class play.libs.F.Promise
-
Create a Promise which will be redeemed with the result of a given Function0.
- 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
-
- provideFakeApplication() - Method in class play.test.WithServer
-
- 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
-
Create a new pure promise, that is, a promise with a constant value from the start.
- put(String) - Method in class play.libs.ws.ning.NingWSRequest
-
- put(JsonNode) - Method in class play.libs.ws.ning.NingWSRequest
-
- put(InputStream) - Method in class play.libs.ws.ning.NingWSRequest
-
- put(File) - Method in class play.libs.ws.ning.NingWSRequest
-
- 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(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.
- RANGE - Static variable in interface play.mvc.Http.HeaderNames
-
- Raw() - Constructor for class play.mvc.BodyParser.Raw
-
- RawBuffer() - Constructor for class play.mvc.Http.RawBuffer
-
- recover(F.Function<Throwable, A>) - Method in class play.libs.F.Promise
-
Wraps this promise in a promise that will handle exceptions thrown by this Promise.
- recover(F.Function<Throwable, A>, ExecutionContext) - Method in class play.libs.F.Promise
-
Wraps this promise in a promise that will handle exceptions thrown by this Promise.
- recoverWith(F.Function<Throwable, F.Promise<A>>) - Method in class play.libs.F.Promise
-
Creates a new promise that will handle thrown exceptions by assigning to the value of another promise.
- recoverWith(F.Function<Throwable, F.Promise<A>>, ExecutionContext) - Method in class play.libs.F.Promise
-
Creates a new promise that will handle thrown exceptions by assigning to the value of another promise.
- redirect(String) - Static method in class play.mvc.Results
-
Generates a 303 SEE_OTHER simple result.
- redirect(Call) - Static method in class play.mvc.Results
-
Generates a 303 SEE_OTHER simple result.
- Redirect(int, String) - Constructor for class play.mvc.Results.Redirect
-
- redirectLocation() - Method in interface play.mvc.Result
-
Extracts the Location header of this Result value if this Result is a Redirect.
- redirectLocation(Result) - Static method in class play.test.Helpers
-
- 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
-
Retrieve the URL where the user should be redirected to start the OpenID authentication process
- redirectURL(String, String, Map<String, String>) - Static method in class play.libs.openid.OpenID
-
Retrieve the URL where the user should be redirected to start the OpenID authentication process
- redirectURL(String, String, Map<String, String>, Map<String, String>) - Static method in class play.libs.openid.OpenID
-
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) - Static method in class play.libs.openid.OpenID
-
Retrieve the URL where the user should be redirected to start the OpenID authentication process
- 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>) - Static method in class play.data.format.Formatters
-
Registers a simple formatter.
- register(Class<T>, Formatters.AnnotationFormatter<A, T>) - Static 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
-
Rejects a WebSocket.
- rejectWith() - Method in class play.mvc.WebSocket
-
If this method returns a result, the WebSocket will be rejected with that result.
- 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
-
- 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.libs.F.Option
-
- 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.
- removeAll(Collection<?>) - Method in class play.libs.F.Option
-
- 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() - 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, 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.
- 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 - Interface in play.mvc
-
Any action result.
- Results - Class in play.mvc
-
Common results.
- Results() - Constructor for class play.mvc.Results
-
- Results.ByteChunks - Class in play.mvc
-
Chunked result based on byte[] chunks.
- Results.Chunks<A> - Class in play.mvc
-
A Chunked result.
- Results.Chunks.Out<A> - Class in play.mvc
-
A Chunked stream.
- Results.Redirect - Class in play.mvc
-
A redirect result.
- Results.Status - Class in play.mvc
-
A simple result.
- Results.StatusHeader - Class in play.mvc
-
A status with no body
- Results.StringChunks - Class in play.mvc
-
Chunked result based on String chunks.
- Results.Todo - Class in play.mvc
-
A 501 NOT_IMPLEMENTED simple result.
- retainAll(Collection<?>) - Method in class play.libs.F.Option
-
- 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(B) - 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(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(Application, Http.RequestBuilder, byte[]) - Static method in class play.test.Helpers
-
Deprecated.
- route(Application, Http.RequestBuilder, byte[], long) - Static method in class play.test.Helpers
-
Deprecated.
- route(Http.RequestBuilder, byte[]) - Static method in class play.test.Helpers
-
Deprecated.
- route(Http.RequestBuilder, byte[], long) - Static method in class play.test.Helpers
-
Deprecated.
- ROUTE_ACTION_METHOD - Static variable in class play.Routes
-
- ROUTE_CONTROLLER - Static variable in class play.Routes
-
- ROUTE_PATTERN - Static variable in class play.Routes
-
- ROUTE_VERB - Static variable in class play.Routes
-
- 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(F.Function0<F.Promise<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
-
Route with no parameters.
- routeAsync(F.Function<A1, F.Promise<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
-
Route with one parameter.
- routeAsync(F.Function2<A1, A2, F.Promise<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
-
Route with two parameters.
- routeAsync(F.Function3<A1, A2, A3, F.Promise<Result>>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
-
Route with three parameters.
- Routes - Class in play
-
Helper utilities related to `Router`.
- Routes() - Constructor for class play.Routes
-
- routeTo(F.Function0<Result>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
-
Route with no parameters.
- routeTo(F.Function<A1, Result>) - Method in class play.routing.RoutingDsl.PathPatternMatcher
-
Route with one parameter.
- routeTo(F.Function2<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
-
- 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>, F.Callback<TestBrowser>) - Static method in class play.test.Helpers
-
Executes a block of code in a running server, with a test browser.
- running(TestServer, WebDriver, F.Callback<TestBrowser>) - Static method in class play.test.Helpers
-
Executes a block of code in a running server, with a test browser.
- 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
-
- 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 simple result.
- seeOther(Call) - Static method in class play.mvc.Results
-
Generates a 303 SEE_OTHER simple 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(EventSource.Event) - Method in class play.libs.EventSource
-
Send an event.
- sendMessage(String) - Method in class play.libs.Comet
-
Send a message on this socket (will be received as String in the Javascript callback method).
- sendMessage(JsonNode) - Method in class play.libs.Comet
-
Send a Json message on this socket (will be received as Json in the Javascript callback method).
- sendPath(Path) - Method in class play.mvc.Results.StatusHeader
-
Sends the given path.
- sendPath(Path, boolean) - Method in class play.mvc.Results.StatusHeader
-
Sends the given path.
- sendPath(Path, boolean, String) - Method in class play.mvc.Results.StatusHeader
-
Sends the given path.
- sendPath(Path, int) - Method in class play.mvc.Results.StatusHeader
-
Sends the given path using chunked transfer encoding.
- sendResource(String) - Method in class play.mvc.Results.StatusHeader
-
Send the given resource.
- sendResource(String, ClassLoader) - Method in class play.mvc.Results.StatusHeader
-
Send the given resource from the given classloader.
- sendResource(String, boolean) - Method in class play.mvc.Results.StatusHeader
-
Send the given resource.
- sendResource(String, ClassLoader, boolean) - Method in class play.mvc.Results.StatusHeader
-
Send the given resource from the given classloader.
- sequence(F.Promise<A>...) - Static method in class play.libs.F.Promise
-
Combine the given promises into a single promise for the list of results.
- sequence(ExecutionContext, F.Promise<A>...) - Static method in class play.libs.F.Promise
-
Combine the given promises into a single promise for the list of results.
- sequence(Iterable<F.Promise<A>>) - Static method in class play.libs.F.Promise
-
Combine the given promises into a single promise for the list of results.
- sequence(Iterable<F.Promise<A>>, ExecutionContext) - Static method in class play.libs.F.Promise
-
Combine the given promises into a single promise for the list of results.
- SERVER - Static variable in interface play.mvc.Http.HeaderNames
-
- Server - Class in play.server
-
A Play server.
- Server(Server) - Constructor for class play.server.Server
-
- 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 interface play.mvc.Result
-
Extracts the Session of this Result value.
- session(Result) - Static method in class play.test.Helpers
-
- set(String, Object, int) - Static method in class play.cache.Cache
-
Sets a value with expiration.
- set(String, Object) - Static method in class play.cache.Cache
-
Sets a value without expiration.
- 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.ning.NingWSRequest
-
- setAuth(String, String) - Method in class play.libs.ws.ning.NingWSRequest
-
- setAuth(String, String, WSAuthScheme) - Method in class play.libs.ws.ning.NingWSRequest
-
- 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.ning.NingWSRequest
-
- setBody(JsonNode) - Method in class play.libs.ws.ning.NingWSRequest
-
- setBody(InputStream) - Method in class play.libs.ws.ning.NingWSRequest
-
- setBody(File) - Method in class play.libs.ws.ning.NingWSRequest
-
- 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
-
Set the body this request should use.
- setBody(File) - 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.ning.NingWSRequest
-
- setContentType(String) - Method in interface play.libs.ws.WSRequest
-
Set the content type.
- setContentType(String) - Method in class play.mvc.Http.Response
-
Sets the content-type of the response.
- setCookie(String, String) - Method in class play.mvc.Http.Response
-
Set a new transient cookie with path "/".
For example:
- setCookie(String, String, Integer) - Method in class play.mvc.Http.Response
-
Set a new cookie with path "/".
- setCookie(String, String, Integer, String) - Method in class play.mvc.Http.Response
-
Set a new cookie.
- setCookie(String, String, Integer, String, String) - Method in class play.mvc.Http.Response
-
Set a new cookie.
- setCookie(String, String, Integer, String, String, boolean, boolean) - 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.ning.NingWSRequest
-
- 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.ning.NingWSRequest
-
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.ning.NingWSRequest
-
- 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.ning.NingWSRequest
-
- 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.ning.NingWSRequest
-
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.ning.NingWSRequest
-
- 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
-
- setUsername(String) - Method in class play.mvc.Http.RequestImpl
-
Sets the username.
- setVirtualHost(String) - Method in class play.libs.ws.ning.NingWSRequest
-
- 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, byte[]) - Method in class play.libs.Crypto
-
Signs the given String with HMAC-SHA1 using the given key.
- sign(String) - Method in class play.libs.Crypto
-
Signs the given String with HMAC-SHA1 using the application's secret key.
- sign(WSSignatureCalculator) - Method in class play.libs.ws.ning.NingWSRequest
-
- sign(WSSignatureCalculator) - Method in interface play.libs.ws.WSRequest
-
Sets an (OAuth) signature calculator.
- signToken(String) - Method in class play.libs.Crypto
-
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.libs.F.None
-
- size() - Method in class play.libs.F.Some
-
- size() - Method in class play.mvc.Http.RawBuffer
-
Buffer size.
- skipWhiteSpace(int, String) - Method in class play.libs.Time.CronExpression
-
- Some(T) - Static method in class play.libs.F.Option
-
Construct a Some
value.
- Some(A) - Static method in class play.libs.F
-
Construct a Some
value.
- Some(T) - Constructor for class play.libs.F.Some
-
- 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 interface play.mvc.Result
-
Extracts the Status code of this Result value.
- 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.
- status(int, JsonNode, String) - Static method in class play.mvc.Results
-
Generates a simple result.
- status(int, byte[]) - 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, int) - Static method in class play.mvc.Results
-
Generates a chunked result.
- status(int, File) - Static method in class play.mvc.Results
-
Generates a chunked result.
- status(int, File, int) - Static method in class play.mvc.Results
-
Generates a simple result.
- status(int, Results.Chunks<?>) - Static method in class play.mvc.Results
-
Generates a chunked result.
- Status(Result) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, String, Codec) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, JsonNode, Codec) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, Content, Codec) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, Results.Chunks<A>) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, byte[]) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, File) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, File, boolean) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, File, boolean, String) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, File, int) - Constructor for class play.mvc.Results.Status
-
- Status(Results.Status, InputStream, int) - Constructor for class play.mvc.Results.Status
-
- status(Result) - Static method in class play.test.Helpers
-
- StatusHeader(Results.Status) - Constructor for class play.mvc.Results.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
-
- StringChunks() - Constructor for class play.mvc.Results.StringChunks
-
- StringChunks(String) - Constructor for class play.mvc.Results.StringChunks
-
- StringChunks(Codec) - Constructor for class play.mvc.Results.StringChunks
-
- 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
-
Completes the promise with a value.
- SWITCHING_PROTOCOLS - Static variable in interface play.mvc.Http.Status
-
- system() - Static method in class play.libs.Akka
-
Retrieve the application Akka Actor system.
- 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
-
- 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 simple result.
- temporaryRedirect(Call) - Static method in class play.mvc.Results
-
Generates a 307 TEMPORARY_REDIRECT simple result.
- test(A) - Method in interface play.libs.F.Predicate
-
- 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 FakeApplication.
- 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() - Constructor for class play.mvc.BodyParser.Text
-
- TEXT - Static variable in interface play.mvc.Http.MimeTypes
-
Content-Type of text.
- throwing(Throwable) - Static method in class play.libs.F.Promise
-
Create a new promise throwing an exception.
- 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.F.Promise
-
Create a Promise that is redeemed after a timeout.
- timeout(A, long) - Static method in class play.libs.F.Promise
-
Create a Promise that is redeemed after a timeout.
- timeout(long) - Static method in class play.libs.F.Promise
-
Create a Promise timer that throws a PromiseTimeoutException after
a given timeout.
- timeout(long, TimeUnit) - Static method in class play.libs.F.Promise
-
Create a Promise timer that throws a PromiseTimeoutException after
a given timeout.
- toArray() - Method in class play.libs.F.None
-
- toArray(R[]) - Method in class play.libs.F.None
-
- toArray() - Method in class play.libs.F.Some
-
- toArray(R[]) - Method in class play.libs.F.Some
-
- TODO - Static variable in class play.mvc.Results
-
Generates a 501 NOT_IMPLEMENTED simple result.
- Todo() - Constructor for class play.mvc.Results.Todo
-
- toJson(Object) - Static method in class play.libs.Json
-
Convert an object to JsonNode.
- token - Variable in class play.libs.oauth.OAuth.RequestToken
-
- TolerantJson() - Constructor for class play.mvc.BodyParser.TolerantJson
-
- TolerantText() - Constructor for class play.mvc.BodyParser.TolerantText
-
- TolerantXml() - Constructor for class play.mvc.BodyParser.TolerantXml
-
- toLocale() - Method in class play.i18n.Lang
-
Convert to a Java Locale value.
- toScala() - Method in interface play.db.Database
-
Converts the given database to a Scala database
- toScala() - Method in class play.db.DefaultDatabase
-
- toScala() - Method in interface play.mvc.Result
-
Retrieves the real (Scala-based) result.
- toScala() - Method in class play.mvc.Results.Redirect
-
- toScala() - Method in class play.mvc.Results.Status
-
- toScala() - Method in class play.mvc.Results.StatusHeader
-
- toScala() - Method in class play.mvc.Results.Todo
-
- 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.
- 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.inject.NamedImpl
-
- toString() - Method in class play.libs.F.Either
-
- toString() - Method in class play.libs.F.None
-
- toString() - Method in class play.libs.F.Some
-
- 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.Results.Status
-
- 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() - Constructor for class play.db.jpa.TransactionalAction
-
- TRANSFER_ENCODING - Static variable in interface play.mvc.Http.HeaderNames
-
- transform(F.Function<? super A, B>, F.Function<Throwable, Throwable>) - Method in class play.libs.F.Promise
-
Creates a new promise by applying the onSuccess
function to a successful result,
or the onFailure
function to a failed result.
- transform(F.Function<? super A, B>, F.Function<Throwable, Throwable>, ExecutionContext) - Method in class play.libs.F.Promise
-
Creates a new promise by applying the onSuccess
function to a successful result,
or the onFailure
function to a failed result.
- tryCompleteWith(F.Promise) - Method in class play.libs.F.RedeemablePromise
-
Completes this promise with the specified Promise, once that Promise is completed.
- tryCompleteWith(F.Promise, ExecutionContext) - Method in class play.libs.F.RedeemablePromise
-
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
-
- 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<A> - Class in play.mvc
-
A WebSocket result.
- WebSocket() - Constructor for class play.mvc.WebSocket
-
- WebSocket.In<A> - Class in play.mvc
-
A WebSocket in.
- WebSocket.Out<A> - Interface in play.mvc
-
A WebSocket out.
- 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.
- whenConnected(String, F.Callback<Comet>) - Static method in class play.libs.Comet
-
Creates a Comet.
- whenConnected(F.Callback<EventSource>) - Static method in class play.libs.EventSource
-
Creates an EventSource.
- whenReady(F.Callback<Results.Chunks.Out<byte[]>>) - Static method in class play.mvc.Results.ByteChunks
-
Creates a ByteChunks.
- whenReady(F.Callback<Results.Chunks.Out<String>>) - Static method in class play.mvc.Results.StringChunks
-
Creates a StringChunks.
- whenReady(String, F.Callback<Results.Chunks.Out<String>>) - Static method in class play.mvc.Results.StringChunks
-
Creates a StringChunks.
- whenReady(Codec, F.Callback<Results.Chunks.Out<String>>) - Static method in class play.mvc.Results.StringChunks
-
Creates a StringChunks.
- whenReady(F.Callback2<WebSocket.In<A>, WebSocket.Out<A>>) - Static method in class play.mvc.WebSocket
-
Creates a WebSocket.
- With - Annotation Type in play.mvc
-
Decorates an Action
or a Controller
with another Action
.
- withActor(F.Function<ActorRef, Props>) - Static method in class play.mvc.WebSocket
-
Handles a WebSocket with an actor.
- 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
-
Executes a block of code, providing a JDBC connection.
- withConnection(String, ConnectionRunnable, Application) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(boolean, ConnectionRunnable, Application) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(ConnectionRunnable, Application) - Static method in class play.db.DB
-
Execute a block of code, providing a JDBC connection.
- withConnection(String, boolean, ConnectionRunnable) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(String, ConnectionRunnable) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(boolean, ConnectionRunnable) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(ConnectionRunnable) - Static method in class play.db.DB
-
Execute a block of code, providing a JDBC connection.
- withConnection(String, boolean, ConnectionCallable<A>, Application) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(String, ConnectionCallable<A>, Application) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(boolean, ConnectionCallable<A>, Application) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(ConnectionCallable<A>, Application) - Static method in class play.db.DB
-
Execute a block of code, providing a JDBC connection.
- withConnection(String, boolean, ConnectionCallable<A>) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(String, ConnectionCallable<A>) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(boolean, ConnectionCallable<A>) - Static method in class play.db.DB
-
Executes a block of code, providing a JDBC connection.
- withConnection(ConnectionCallable<A>) - Static method in class play.db.DB
-
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
-
- 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.
- withId(String) - Method in class play.libs.EventSource.Event
-
- withName(String) - Method in class play.libs.EventSource.Event
-
- withRequest(Http.Request) - Method in class play.mvc.Http.Context
-
Create a new context with the given request.
- 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
-
Execute a block of code, in the scope of a JDBC transaction.
- withTransaction(ConnectionRunnable, Application) - Static method in class play.db.DB
-
Execute a block of code, in the scope of a JDBC transaction.
- withTransaction(String, ConnectionRunnable) - Static method in class play.db.DB
-
Execute a block of code, in the scope of a JDBC transaction.
- withTransaction(ConnectionRunnable) - Static method in class play.db.DB
-
Execute a block of code, in the scope of a JDBC transaction.
- withTransaction(String, ConnectionCallable<A>, Application) - Static method in class play.db.DB
-
Execute a block of code, in the scope of a JDBC transaction.
- withTransaction(ConnectionCallable<A>, Application) - Static method in class play.db.DB
-
Execute a block of code, in the scope of a JDBC transaction.
- withTransaction(String, ConnectionCallable<A>) - Static method in class play.db.DB
-
Execute a block of code, in the scope of a JDBC transaction.
- withTransaction(ConnectionCallable<A>) - Static method in class play.db.DB
-
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(F.Function0<T>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code in a JPA transaction.
- withTransaction(F.Callback0) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code in a JPA transaction.
- withTransaction(String, boolean, F.Function0<T>) - Method in class play.db.jpa.DefaultJPAApi
-
Run a block of code in a JPA transaction.
- withTransaction(F.Function0<T>) - Static method in class play.db.jpa.JPA
-
Run a block of code in a JPA transaction.
- withTransaction(F.Callback0) - Static method in class play.db.jpa.JPA
-
Run a block of code in a JPA transaction.
- withTransaction(String, boolean, F.Function0<T>) - Static method in class play.db.jpa.JPA
-
Run a block of code in a JPA transaction.
- withTransaction(F.Function0<T>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code in a JPA transaction.
- withTransaction(F.Callback0) - Method in interface play.db.jpa.JPAApi
-
Run a block of code in a JPA transaction.
- withTransaction(String, boolean, F.Function0<T>) - Method in interface play.db.jpa.JPAApi
-
Run a block of code in a JPA transaction.
- withTransactionAsync(F.Function0<F.Promise<T>>) - Method in class play.db.jpa.DefaultJPAApi
-
- withTransactionAsync(String, boolean, F.Function0<F.Promise<T>>) - Method in class play.db.jpa.DefaultJPAApi
-
- withTransactionAsync(F.Function0<F.Promise<T>>) - Static method in class play.db.jpa.JPA
-
- withTransactionAsync(String, boolean, F.Function0<F.Promise<T>>) - Static method in class play.db.jpa.JPA
-
- withTransactionAsync(F.Function0<F.Promise<T>>) - Method in interface play.db.jpa.JPAApi
-
- withTransactionAsync(String, boolean, F.Function0<F.Promise<T>>) - Method in interface play.db.jpa.JPAApi
-
- 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.
- wrap(Future<A>) - Static method in class play.libs.F.Promise
-
Creates a Promise that wraps a Scala Future.
- wrapAction(Action) - Method in class play.http.DefaultHttpRequestHandler
-
- wrapAction(Action) - Method in interface play.http.HttpRequestHandler
-
Call to wrap the outer action of a Java application.
- wrapped() - Method in class play.libs.F.Promise
-
Gets the Scala Future wrapped by this Promise.
- WrappedContext(Http.Context) - Constructor for class play.mvc.Http.WrappedContext
-
- write(A) - Method in class play.mvc.Results.Chunks.Out
-
Write a Chunk.
- write(A) - Method in interface play.mvc.WebSocket.Out
-
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.ning.NingWSModule.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.
- WSRequestHolder - Interface in play.libs.ws
-
Deprecated.
- WSResponse - Interface in play.libs.ws
-
This is the WS response from the server.
- WSSignatureCalculator - Interface in play.libs.ws
-
Sign a WS call.
- WWW_AUTHENTICATE - Static variable in interface play.mvc.Http.HeaderNames
-