public class HttpBasedEntityChecker extends AbstractHttpRequestEmitter implements EntityChecker
client, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
HttpBasedEntityChecker() |
HttpBasedEntityChecker(org.apache.http.impl.client.CloseableHttpClient client) |
HttpBasedEntityChecker(String name) |
HttpBasedEntityChecker(String name,
org.apache.http.impl.client.CloseableHttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
entityExists(String uri)
Returns true if there is an entity with the given URI.
|
close, closeRequest, createGetRequest, createHeadRequest, createPostRequest, getClient, getName, interrupt, isCloseClient, sendRequest, sendRequest, setClient, setCloseClient, setNamepublic HttpBasedEntityChecker()
public HttpBasedEntityChecker(org.apache.http.impl.client.CloseableHttpClient client)
public HttpBasedEntityChecker(String name)
public HttpBasedEntityChecker(String name, org.apache.http.impl.client.CloseableHttpClient client)
public boolean entityExists(String uri)
EntityCheckerentityExists in interface EntityCheckeruri - the URI of the entity that should be checkedCopyright © 2014–2017. All rights reserved.