Packages

  • package root
    Definition Classes
    root
  • package play

    Play framework.

    Play framework.

    Play

    http://www.playframework.com

    Definition Classes
    root
  • package api

    Contains the public API for Scala developers.

    Contains the public API for Scala developers.

    Read configuration
    val poolSize = configuration.getInt("engine.pool.size")
    Use the logger
    Logger.info("Hello!")
    Define a Plugin
    class MyPlugin(app: Application) extends Plugin
    Create adhoc applications (for testing)
    val application = Application(new File("."), this.getClass.getClassloader, None, Play.Mode.DEV)
    Definition Classes
    play
  • package libs

    Contains various APIs that are useful while developing web applications.

    Contains various APIs that are useful while developing web applications.

    Definition Classes
    api
  • package ws

    Provides implicit type classes when you import the package.

    Provides implicit type classes when you import the package.

    Definition Classes
    libs
  • package ahc
    Definition Classes
    ws
  • AhcWSClient
  • AhcWSClientProvider
  • AhcWSComponents
  • AhcWSModule
  • AhcWSRequest
  • AhcWSResponse
  • AsyncHttpClientProvider
  • OptionalAhcHttpCacheProvider

package ahc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class AhcWSClient extends WSClient

    Async WS Client backed by AsyncHttpClient.

    Async WS Client backed by AsyncHttpClient.

    See https://www.playframework.com/documentation/latest/ScalaWS for documentation.

  2. class AhcWSClientProvider extends Provider[WSClient]

    AHC provider for WSClient instance.

    AHC provider for WSClient instance.

    Annotations
    @Singleton()
  3. trait AhcWSComponents extends AnyRef

    AsyncHttpClient WS API implementation components.

  4. class AhcWSModule extends SimpleModule

    A Play binding for the Scala WS API to the AsyncHTTPClient implementation.

  5. case class AhcWSRequest(underlying: StandaloneAhcWSRequest) extends WSRequest with WSBodyWritables with Product with Serializable

    A WS Request backed by AsyncHTTPClient.

  6. case class AhcWSResponse(underlying: StandaloneWSResponse) extends WSResponse with WSBodyReadables with Product with Serializable

    A WS HTTP Response backed by an AsyncHttpClient response.

    A WS HTTP Response backed by an AsyncHttpClient response.

    underlying

    the underlying WS response

  7. class AsyncHttpClientProvider extends Provider[AsyncHttpClient]

    Provides an instance of AsyncHttpClient configured from the Configuration object.

    Provides an instance of AsyncHttpClient configured from the Configuration object.

    Annotations
    @Singleton()
  8. class OptionalAhcHttpCacheProvider extends Provider[Option[AhcHttpCache]]

    A provider of HTTP cache.

    A provider of HTTP cache.

    Unfortunately this can't be bound directly through Play's DI system because it doesn't support type literals (and JSR 330 doesn't support optional).

    Annotations
    @Singleton()

Value Members

  1. object AhcWSClient

Ungrouped