public abstract class AbstractRotator extends Object implements Rotator
| Constructor and Description |
|---|
AbstractRotator(io.vertx.up.commune.config.Integration integration) |
| Modifier and Type | Method and Description |
|---|---|
Rotator |
bind(org.apache.http.impl.client.CloseableHttpClient client) |
protected org.apache.http.impl.client.CloseableHttpClient |
client() |
protected void |
configHeader(org.apache.http.client.methods.HttpRequestBase request,
io.vertx.core.json.JsonObject headers) |
protected String |
configPath(io.vertx.up.commune.config.IntegrationRequest request,
io.vertx.core.json.JsonObject params) |
protected org.apache.http.client.config.RequestConfig |
configRequest() |
protected org.apache.http.entity.StringEntity |
dataJson(io.vertx.core.json.JsonObject data) |
protected String |
dataString(org.apache.http.HttpResponse response) |
protected io.vertx.up.log.Annal |
logger() |
protected String |
sendEntity(org.apache.http.client.methods.HttpEntityEnclosingRequestBase request,
org.apache.http.HttpEntity body,
io.vertx.core.json.JsonObject headers) |
protected String |
sendUrl(org.apache.http.client.methods.HttpRequestBase request,
io.vertx.core.json.JsonObject headers) |
public AbstractRotator(io.vertx.up.commune.config.Integration integration)
public Rotator bind(org.apache.http.impl.client.CloseableHttpClient client)
protected org.apache.http.client.config.RequestConfig configRequest()
protected String configPath(io.vertx.up.commune.config.IntegrationRequest request, io.vertx.core.json.JsonObject params)
protected void configHeader(org.apache.http.client.methods.HttpRequestBase request,
io.vertx.core.json.JsonObject headers)
protected org.apache.http.entity.StringEntity dataJson(io.vertx.core.json.JsonObject data)
protected String dataString(org.apache.http.HttpResponse response) throws IOException
IOExceptionprotected org.apache.http.impl.client.CloseableHttpClient client()
protected String sendEntity(org.apache.http.client.methods.HttpEntityEnclosingRequestBase request, org.apache.http.HttpEntity body, io.vertx.core.json.JsonObject headers)
protected String sendUrl(org.apache.http.client.methods.HttpRequestBase request, io.vertx.core.json.JsonObject headers)
protected io.vertx.up.log.Annal logger()
Copyright © 2021. All rights reserved.