public class CzdsClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ClientConfiguration |
clientConfiguration |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected String |
token |
| Constructor and Description |
|---|
CzdsClient(ClientConfiguration clientConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
authenticateIfRequired() |
protected org.apache.http.HttpEntity |
buildRequestEntity(Object object) |
protected String |
getAuthenticationUrl() |
protected org.apache.http.HttpResponse |
makeGetRequest(String url) |
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected ClientConfiguration clientConfiguration
protected String token
public CzdsClient(ClientConfiguration clientConfiguration)
protected String getAuthenticationUrl()
protected org.apache.http.HttpResponse makeGetRequest(String url) throws IOException, AuthenticationException
IOExceptionAuthenticationExceptionprotected void authenticateIfRequired()
throws AuthenticationException,
IOException
AuthenticationExceptionIOExceptionprotected org.apache.http.HttpEntity buildRequestEntity(Object object) throws IOException
IOExceptionCopyright © 2019 ICANN. All rights reserved.