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(), allowPoolingConnection: Boolean = true, allowSslConnectionPool: Boolean = true, ioThreadMultiplier: Int = 2, maxConnectionsPerHost: Int = 1, maxConnectionsTotal: Int = 1, maxConnectionLifetime: Duration = Duration.Inf, idleConnectionInPoolTimeout: Duration = 1.minute, webSocketIdleTimeout: Duration = 15.minutes, maxNumberOfRedirects: Int = 5, maxRequestRetry: Int = 5, disableUrlEncoding: Boolean = false) extends Product with Serializable

    Permalink

    Ning client config.

    Ning client config.

    wsClientConfig

    The general WS client config.

    allowPoolingConnection

    Whether connection pooling should be allowed.

    allowSslConnectionPool

    Whether connection pooling should be allowed for SSL connections.

    ioThreadMultiplier

    The multiplier to use for the number of IO threads.

    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.

    webSocketIdleTimeout

    The time after which a websocket connection 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.

    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