-
public interface HttpApi
Provides Http client service implementations for a given interface type.
-
-
Method Summary
Static Methods Modifier and Type Method Description static <T> T
provide(Class<T> interfaceType, HttpClientContext clientContext)
Provide the http client implementation for the given interface type.
-
-
-
Method Detail
-
provide
static <T> T provide(Class<T> interfaceType, HttpClientContext clientContext)
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
-
-