HttpRequestSenderFactoryImpl
A default implementation of HttpRequestSenderFactory.
Attributes
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Creates a new actor instance for sending HTTP requests to different hosts that satisfies the criteria defined by the given configuration. Note that the resulting actor is fully initialized; it is not necessary to call ''decorateRequestSender()'' manually.
Creates a new actor instance for sending HTTP requests to different hosts that satisfies the criteria defined by the given configuration. Note that the resulting actor is fully initialized; it is not necessary to call ''decorateRequestSender()'' manually.
Value parameters
- config
-
the configuration of the request sender actor
- requestActorFactory
-
a factory for creating new host-specific request sender actors
- spawner
-
the object to create new actor instances
Attributes
- Returns
-
a reference to the newly created actor
- Definition Classes
Creates a new actor instance for sending HTTP requests to the specified URI that satisfies the criteria defined by the given configuration. Note that the resulting actor is fully initialized; it is not necessary to call ''decorateRequestSender()'' manually.
Creates a new actor instance for sending HTTP requests to the specified URI that satisfies the criteria defined by the given configuration. Note that the resulting actor is fully initialized; it is not necessary to call ''decorateRequestSender()'' manually.
Value parameters
- baseUri
-
the URI of the host supported by the new actor
- config
-
the configuration of the request sender actor
- spawner
-
the object to create new actor instances
Attributes
- Returns
-
a reference to the newly created actor
- Definition Classes
Decorates the given actor for sending HTTP requests to support all the features declared by the passed in configuration. Adding features to the given actor typically requires the creation of new actors that wrap the original one. The function returns an ''ActorRef'' that has been configured with all desired properties. This function can be used by clients that already have a basic HTTP sender actor and want to enhance it.
Decorates the given actor for sending HTTP requests to support all the features declared by the passed in configuration. Adding features to the given actor typically requires the creation of new actors that wrap the original one. The function returns an ''ActorRef'' that has been configured with all desired properties. This function can be used by clients that already have a basic HTTP sender actor and want to enhance it.
Value parameters
- config
-
the configuration of the request sender actor
- requestSender
-
the original request sender actor to be extended
- spawner
-
the object to create new actor instances
Attributes
- Returns
-
a reference to the decorated actor
- Definition Classes
Concrete fields
Suffix for the name generated for a Basic Auth extension.
Suffix for the name generated for a Basic Auth extension.
Attributes
Suffix for the name generated for the actor for IDP communication.
Suffix for the name generated for the actor for IDP communication.
Attributes
Suffix for the name generated for an OAuth extension.
Suffix for the name generated for an OAuth extension.
Attributes
Suffix for the name generated for a RetryAfter extension.
Suffix for the name generated for a RetryAfter extension.