public interface HTTPClientBuilderService
| Modifier and Type | Method and Description |
|---|---|
<T> T |
buildWithBasicAuth(String username,
String password,
int connectTimeoutMillis,
int readTimeoutMillis,
Class<T> target,
String url)
Function to build Feign client factory.
|
<T> T |
buildWithJWT(String accessToken,
int connectTimeoutMillis,
int readTimeoutMillis,
Class<T> target,
String url)
Function to build Feign client factory.
|
<T> T |
buildWithJWTAndFormEncoder(String accessToken,
int connectTimeoutMillis,
int readTimeoutMillis,
Class<T> target,
String url)
Function to build Feign client factory with FormEncoder.
|
feign.Client |
newDefaultClientInstance()
Function to create new Feign client instance.
|
feign.Client newDefaultClientInstance()
<T> T buildWithBasicAuth(String username, String password, int connectTimeoutMillis, int readTimeoutMillis, Class<T> target, String url)
username - User name to be used in auth headerpassword - Password to be used in auth headerconnectTimeoutMillis - Connection timeout of the requestreadTimeoutMillis - Read timeout of the requesttarget - target service stubs to be used by the factoryurl - Base url of the API to be created<T> T buildWithJWTAndFormEncoder(String accessToken, int connectTimeoutMillis, int readTimeoutMillis, Class<T> target, String url)
accessToken - accessToken to be used in auth headerconnectTimeoutMillis - Connection timeout of the requestreadTimeoutMillis - Read timeout of the requesttarget - target service stubs to be used by the factoryurl - Base url of the API to be created<T> T buildWithJWT(String accessToken, int connectTimeoutMillis, int readTimeoutMillis, Class<T> target, String url)
accessToken - accessToken to be used in auth headerconnectTimeoutMillis - Connection timeout of the requestreadTimeoutMillis - Read timeout of the requesttarget - target service stubs to be used by the factoryurl - Base url of the API to be createdCopyright © 2025 WSO2. All rights reserved.