public abstract class HttpCallerAbstract extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
HttpCallerAbstract() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
fillBody(String bodyTemplate,
Map<String,String> variables) |
protected String |
fillUrl(String urlTemplate,
Map<String,String> variables) |
abstract String |
getBodyTemplate() |
abstract String |
getContentType() |
abstract String |
getHttpMethod() |
abstract String |
getUrlTemplate() |
protected HttpCallResult |
httpCall(Map<String,String> variables) |
protected HttpCallResult httpCall(Map<String,String> variables) throws IOException
IOExceptionprotected String fillUrl(String urlTemplate, Map<String,String> variables) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic abstract String getHttpMethod()
public abstract String getUrlTemplate()
public abstract String getBodyTemplate()
public abstract String getContentType()
Copyright © 2020. All rights reserved.