Package

play.api.libs.ws

ning

Permalink

package ning

Visibility
  1. Public
  2. All

Type Members

  1. class NingAsyncHttpClientConfigBuilder extends AnyRef

    Permalink

    Builds a valid AsyncHttpClientConfig object from config.

    Builds a valid AsyncHttpClientConfig object from config.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5) Use AhcConfigBuilder

  2. case class NingWSClient(config: AsyncHttpClientConfig)(implicit materializer: Materializer) extends WSClient with Product with Serializable

    Permalink

    A WS client backed by a Ning AsyncHttpClient.

    A WS client backed by a Ning AsyncHttpClient.

    If you need to debug Ning, set logger.com.ning.http.client=DEBUG in your application.conf file.

    config

    a client configuration object

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5) Use AhcWSClient instead

  3. case class NingWSClientConfig(wsClientConfig: WSClientConfig = WSClientConfig(), maxConnectionsPerHost: Int = 1, maxConnectionsTotal: Int = 1, maxConnectionLifetime: Duration = Duration.Inf, idleConnectionInPoolTimeout: Duration = 1.minute, maxNumberOfRedirects: Int = 5, maxRequestRetry: Int = 5, disableUrlEncoding: Boolean = false, keepAlive: Boolean = true) extends Product with Serializable

    Permalink

    Ning client config.

    Ning client config.

    wsClientConfig

    The general WS client config.

    maxConnectionsPerHost

    The maximum number of connections to make per host. -1 means no maximum.

    maxConnectionsTotal

    The maximum total number of connections. -1 means no maximum.

    maxConnectionLifetime

    The maximum time that a connection should live for in the pool.

    idleConnectionInPoolTimeout

    The time after which a connection that has been idle in the pool should be closed.

    maxNumberOfRedirects

    The maximum number of redirects.

    maxRequestRetry

    The maximum number of times to retry a request if it fails.

    disableUrlEncoding

    Whether the raw URL should be used.

    keepAlive

    whether connection pooling should be used.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5) Use AhcWSClientConfig

  4. trait NingWSComponents extends AnyRef

    Permalink

    Ning WS API implementation components.

    Ning WS API implementation components.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5) Use AhcWSClient instead

Deprecated Value Members

  1. object NingWSClient extends Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5) Use AhcWSClient instead

  2. object NingWSClientConfigFactory

    Permalink

    Factory for creating NingWSClientConfig, for use from Java.

    Factory for creating NingWSClientConfig, for use from Java.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5) Use AhcWSConfigBuilder

Ungrouped