Package akka.javasdk.http
Interface HttpClientProvider
@DoNotInherit
public interface HttpClientProvider
Not for user extension, instances are available through injection in selected component types.
-
Method Summary
Modifier and TypeMethodDescriptionhttpClientFor
(String serviceName) Returns aHttpClient
configured to connect to another service deployed on the same project.
-
Method Details
-
httpClientFor
Returns aHttpClient
configured to connect to another service deployed on the same project.The service is identified only by the name it has been deployed. The runtime takes care of routing requests to the service and keeping the data safe by encrypting the connection.
-