Skip navigation links
A C D G H P R S T U 

A

addCredentials(AuthScope, Credentials) - Method in class de.samply.common.http.HttpConnector
Add Credentials for a given Auth Scope.
addCustomHeader(Header) - Method in class de.samply.common.http.HttpConnector
Add custom Header and init client.
addCustomHeader(String, String) - Method in class de.samply.common.http.HttpConnector
 
addHttpAuth(String, String, String) - Method in class de.samply.common.http.HttpConnector
Adds the http auth.
addTrailingSlash(String) - Method in class de.samply.common.http.HttpConnector
Adds the trailing slash.

C

closeClients() - Method in class de.samply.common.http.HttpConnector
Closes the clients.

D

de.samply.common.http - package de.samply.common.http
 
doAction(String, String, HashMap<String, String>, HashMap<String, String>, String, String, Boolean, Boolean) - Method in class de.samply.common.http.HttpConnector
Returns the result of a request submitted as ClosableHttpResponse NB: Do not forget to close the Response when done with it.
doAction(String, String, HashMap<String, String>, HashMap<String, String>, String, String, Boolean, Boolean, int) - Method in class de.samply.common.http.HttpConnector
Returns the result of a request submitted as ClosableHttpResponse NB: Do not forget to close the Response when done with it.
doActionHashMap(String, String, HashMap<String, String>, HashMap<String, String>, String, String, Boolean, Boolean) - Method in class de.samply.common.http.HttpConnector
Returns the result of a request submitted as a HashMap with the fields: body: The Response body as String statuscode: The Response statuscode as int headers: The Response headers as Header[].
doActionHashMap(String, String, HashMap<String, String>, HashMap<String, String>, String, String, Boolean, Boolean, int) - Method in class de.samply.common.http.HttpConnector
Returns the result of a request submitted as a HashMap with the fields: body: The Response body as String statuscode: The Response statuscode as int headers: The Response headers as Header[].

G

getCause() - Method in exception de.samply.common.http.HttpConnectorException
 
getClient(CloseableHttpClient, Boolean) - Method in class de.samply.common.http.HttpConnector
Transforms a apache httpclient to a jakarta client also enables POJO MAPPING as feature.
getClient(CloseableHttpClient) - Method in class de.samply.common.http.HttpConnector
Get an jakarta Client.
getCp() - Method in class de.samply.common.http.HttpConnector
Gets the Credentials Provider.
getCustomHeaders() - Method in class de.samply.common.http.HttpConnector
 
getHttpc() - Method in class de.samply.common.http.HttpConnector
Deprecated.
getHttpClient(HttpHost) - Method in class de.samply.common.http.HttpConnector
Returns the CloseableHttpClient based on a HttpHost.
getHttpClient(URL) - Method in class de.samply.common.http.HttpConnector
Returns the CloseableHttpClient based on a given URL.
getHttpClient(String) - Method in class de.samply.common.http.HttpConnector
Returns the CloseableHttpClient based on a given url or scheme.
getHttpClientForHttp() - Method in class de.samply.common.http.HttpConnector
Returns the CloseableHttpClient (with http proxy if proxy is used).
getHttpClientForHttps() - Method in class de.samply.common.http.HttpConnector
Returns the CloseableHttpClient (with https proxy if proxy is used).
getHttpsc() - Method in class de.samply.common.http.HttpConnector
Deprecated.
getJakartaClient(HttpHost, Boolean) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for a given httphost.
getJakartaClient(HttpHost) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for a given httphost.
getJakartaClient(String) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for a given url or Scheme.
getJakartaClient(String, Boolean) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for a given url or Scheme.
getJakartaClient(URL) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for a given java.net.URL This client will fail on unknown properties.
getJakartaClient(URL, Boolean) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for a given java.net.URL
getJakartaClientForHttp() - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for http connections.
getJakartaClientForHttp(Boolean) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for http connections.
getJakartaClientForHttps() - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for https connections.
getJakartaClientForHttps(Boolean) - Method in class de.samply.common.http.HttpConnector
Returns a jakarta client for https connections.
getJaxRsClient(URL) - Method in class de.samply.common.http.HttpConnector
Return a JAX-RS Client build with org.glassfish.jersey and ApacheConnectorProvider.
getJaxRsClient(URL, Boolean) - Method in class de.samply.common.http.HttpConnector
Return a JAX-RS Client build with org.glassfish.jersey and ApacheConnectorProvider.
getJaxRsClient(String) - Method in class de.samply.common.http.HttpConnector
Return a JAX-RS Client build with org.glassfish.jersey and ApacheConnectorProvider.
getJaxRsClient(String, Boolean) - Method in class de.samply.common.http.HttpConnector
Returns a JAX-RS Client build with org.glassfish.jersey and ApacheConnectorProvider.
getProxy(String) - Method in class de.samply.common.http.HttpConnector
Returns the proxy needed for the given target.
getUserAgent() - Method in class de.samply.common.http.HttpConnector
Get the current User Agent.

H

HttpConnector - Class in de.samply.common.http
Connector class to provide apache http connectors and jersey http connectors includes http and https proxy support.
HttpConnector() - Constructor for class de.samply.common.http.HttpConnector
Instantiates a new http connector.
HttpConnector(Configuration) - Constructor for class de.samply.common.http.HttpConnector
Instantiates a new http connector.
HttpConnector(HashMap<String, String>) - Constructor for class de.samply.common.http.HttpConnector
Instantiates a new http connector.
HttpConnector(HashMap<String, String>, CredentialsProvider) - Constructor for class de.samply.common.http.HttpConnector
Instantiates a new http connector with provided Credentials Provider.
HttpConnector(HashMap<String, String>, CredentialsProvider, int) - Constructor for class de.samply.common.http.HttpConnector
Instantiates a new http connector with provided Credentials Provider and a timeout.
HttpConnector(Configuration) - Constructor for class de.samply.common.http.HttpConnector
Instantiates new http connector with samply configuration.
HttpConnector(Configuration, boolean) - Constructor for class de.samply.common.http.HttpConnector
Instantiates new http connector with samply configuration.
HttpConnector(Proxy) - Constructor for class de.samply.common.http.HttpConnector
Instantiates new http connector with samply proxy configuration.
HttpConnectorException - Exception in de.samply.common.http
The Class HttpConnectorException.
HttpConnectorException(String) - Constructor for exception de.samply.common.http.HttpConnectorException
Instantiates a new http connector exception.
HttpConnectorException(String, Throwable) - Constructor for exception de.samply.common.http.HttpConnectorException
Instantiates a new http connector exception.

P

PROXY_BYPASS_PRIVATE_NETWORKS - Static variable in class de.samply.common.http.HttpConnector
 
PROXY_HTTP_HOST - Static variable in class de.samply.common.http.HttpConnector
The hostname of the http proxy.
PROXY_HTTP_PASSWORD - Static variable in class de.samply.common.http.HttpConnector
The password for the http proxy.
PROXY_HTTP_PORT - Static variable in class de.samply.common.http.HttpConnector
The port of the http proxy.
PROXY_HTTP_PROTOCOL - Static variable in class de.samply.common.http.HttpConnector
The protocol of the http proxy.
PROXY_HTTP_USERNAME - Static variable in class de.samply.common.http.HttpConnector
The username for the http proxy.
PROXY_HTTPS_HOST - Static variable in class de.samply.common.http.HttpConnector
The hostname of the https proxy.
PROXY_HTTPS_PASSWORD - Static variable in class de.samply.common.http.HttpConnector
The password for the https proxy.
PROXY_HTTPS_PORT - Static variable in class de.samply.common.http.HttpConnector
The port of the https proxy.
PROXY_HTTPS_PROTOCOL - Static variable in class de.samply.common.http.HttpConnector
The protocol of the http proxy.
PROXY_HTTPS_USERNAME - Static variable in class de.samply.common.http.HttpConnector
The username for the https proxy.

R

removeDuplicateSlashes(String) - Method in class de.samply.common.http.HttpConnector
Removes the duplicate slashes.

S

setCp(CredentialsProvider) - Method in class de.samply.common.http.HttpConnector
Sets the Credentials Provider and reinitialized the clients.
setCustomHeaders(List<Header>) - Method in class de.samply.common.http.HttpConnector
 
setUserAgent(String) - Method in class de.samply.common.http.HttpConnector
Set the User Agent.

T

throwable - Variable in exception de.samply.common.http.HttpConnectorException
The throwable.

U

USER_AGENT - Static variable in class de.samply.common.http.HttpConnector
The hostname of the http proxy.
A C D G H P R S T U 
Skip navigation links

Copyright © 2022 Samply Community. All rights reserved.