public interface HttpApi
Provides Http client service implementations for a given interface type.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> T
provide(Class<T> interfaceType, HttpClientContext clientContext)
Provide the http client implementation for the given interface type.
-
Method Details
-
provide
Provide the http client implementation for the given interface type.- Parameters:
interfaceType
- The interface typeclientContext
- The http client context used for executing the requests- Returns:
- The http client implementation for the given interface type
-