Package org.apache.camel.oaipmh.utils
Class OAIPMHHttpClient
- java.lang.Object
-
- org.apache.camel.oaipmh.utils.OAIPMHHttpClient
-
public class OAIPMHHttpClient extends Object
-
-
Constructor Summary
Constructors Constructor Description OAIPMHHttpClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoRequest(URI baseURI, String verb, String set, String from, String until, String metadataPrefix, String token, String identifier)protected org.apache.http.impl.client.CloseableHttpClientgetCloseableHttpClient()booleanisIgnoreSSLWarnings()voidsetIgnoreSSLWarnings(boolean ignoreSSLWarnings)
-
-
-
Method Detail
-
doRequest
public String doRequest(URI baseURI, String verb, String set, String from, String until, String metadataPrefix, String token, String identifier) throws IOException, URISyntaxException
- Throws:
IOExceptionURISyntaxException
-
getCloseableHttpClient
protected org.apache.http.impl.client.CloseableHttpClient getCloseableHttpClient() throws IOException- Throws:
IOException
-
isIgnoreSSLWarnings
public boolean isIgnoreSSLWarnings()
-
setIgnoreSSLWarnings
public void setIgnoreSSLWarnings(boolean ignoreSSLWarnings)
-
-