Package play.libs
package play.libs
Provides various APIs that are useful for developing web applications.
-
ClassDescriptionAnnotation utilities.Provides an easy way to use a Comet formatted output with Pekko Streams.This class provides an easy way to use Server Sent Events (SSE) as a chunked encoding, using an Pekko Source.Utility class to build events.Defines a set of functional programming style helpers.F.Either<L,
R> Represents a value of one of two possible types (a disjoint union)F.Function3<A,B, C, R> A Function with 3 arguments.F.Function4<A,B, C, D, R> A Function with 4 arguments.Exception thrown when an operation times out.F.Tuple<A,B> A pair - a tuple of the typesAandB.F.Tuple3<A,B, C> A tuple of A,B,CF.Tuple4<A,B, C, D> A tuple of A,B,C,DF.Tuple5<A,B, C, D, E> A tuple of A,B,C,D,EContains TemporaryFile and TemporaryFileCreator operations.Delegates to the Scala implementation.A temporary file creator that delegates to a Scala TemporaryFileCreator.A temporary file creator that uses the Scala play.api.libs.Files.SingletonTemporaryFileCreator class behind the scenes.A temporary file created by a TemporaryFileCreator.This creates temporary files when Play needs to keep overflow data on the filesystem.Helper functions to handle JsonNode values.The JSONP Content renders a JavaScript call of a JSON object.
Example of use, provided the following route definition:Helper to access the application defined Pekko Actor system.Provides utility functions to work with resources.Class that contains useful java <-> scala conversion helpers.Time utilities.Thanks to Quartz project, https://quartz.dev.java.netXML utilities.Includes the SAX prefixes from 'com.sun.org.apache.xerces.internal.impl.Constants' since they will likely be internal in JDK9XPath for parsing