public abstract class AbstractHttpBasedAnnotator extends AbstractHttpRequestEmitter implements Annotator
| Modifier and Type | Field and Description |
|---|---|
protected ClosePermitionGranter |
granter |
client, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
AbstractHttpBasedAnnotator() |
AbstractHttpBasedAnnotator(org.apache.http.impl.client.CloseableHttpClient client) |
AbstractHttpBasedAnnotator(String name) |
AbstractHttpBasedAnnotator(String name,
org.apache.http.impl.client.CloseableHttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
performClose() |
void |
setClosePermitionGranter(ClosePermitionGranter granter) |
closeRequest, createGetRequest, createHeadRequest, createPostRequest, getClient, getName, interrupt, isCloseClient, sendRequest, sendRequest, setClient, setCloseClient, setNameprotected ClosePermitionGranter granter
public AbstractHttpBasedAnnotator()
public AbstractHttpBasedAnnotator(org.apache.http.impl.client.CloseableHttpClient client)
public AbstractHttpBasedAnnotator(String name)
public AbstractHttpBasedAnnotator(String name, org.apache.http.impl.client.CloseableHttpClient client)
public void setClosePermitionGranter(ClosePermitionGranter granter)
setClosePermitionGranter in interface Annotatorpublic final void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class AbstractHttpRequestEmitterIOExceptionprotected void performClose()
throws IOException
IOExceptionCopyright © 2014–2017. All rights reserved.