HttpRequestSenderConfig

com.github.cloudfiles.core.http.factory.HttpRequestSenderConfig
case class HttpRequestSenderConfig(actorName: Option[String], authConfig: AuthConfig, queueSize: Int, proxy: ProxySelectorFunc, retryAfterConfig: Option[RetryAfterConfig])

A configuration class describing desired features of an actor for sending HTTP requests.

An instance of this class is expected by HttpRequestSenderFactory. It describes the features the resulting actor must support. The properties all have default values, so client code only needs to configure the properties it wants to change.

Value parameters

actorName

an optional actor name; if defined, the resulting actor is given this name (if multiple actors are created for other features, their names are derived from this base name); otherwise, anonymous actors are created

authConfig

the configuration for the authentication mechanism to be used

proxy

the function to select the proxy

queueSize

the size of the request queue

retryAfterConfig

an optional configuration for a ''RetryAfter'' extension; if present, such an extension is created

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product