public class ApacheHttpClientAdapter extends Object implements TokenServiceHttpClient
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
DEFAULT_PATH| Constructor and Description |
|---|
ApacheHttpClientAdapter(URL baseUrl,
String username,
String password,
DataBindingProvider<?> dataBindingProvider,
Class<T> tokenClass) |
| Modifier and Type | Method and Description |
|---|---|
<T extends AccessToken> |
post(String urlPath,
AccessTokenGrantRequest grantRequest) |
public ApacheHttpClientAdapter(URL baseUrl, String username, String password, DataBindingProvider<?> dataBindingProvider, Class<T> tokenClass)
public <T extends AccessToken> T post(String urlPath, AccessTokenGrantRequest grantRequest) throws IOException
post in interface TokenServiceHttpClientIOExceptionCopyright © 2017. All rights reserved.