public class CustomHttpClient
extends java.lang.Object
| Constructor and Description | 
|---|
| CustomHttpClient() | 
| Modifier and Type | Method and Description | 
|---|---|
| static javax.ws.rs.client.Client | getClient(java.io.InputStream clientKeyStore,
         java.lang.String clientKeyStorePass,
         java.io.InputStream trustStore,
         java.lang.String trustStorePass,
         org.glassfish.jersey.client.ClientConfig clientConfig)Create custom client with specific keystores. | 
| static javax.ws.rs.client.Client | getClient(java.security.KeyStore clientKeyStore,
         java.lang.String clientKeyStorePass,
         java.security.KeyStore trustStore,
         java.lang.String trustStorePass,
         org.glassfish.jersey.client.ClientConfig clientConfig)Create custom client with specific keystores. | 
| static javax.ws.rs.client.Client | getClient(java.lang.String clientKeyStore,
         java.lang.String clientKeyStorePass)Create custom client with specific keystore. | 
| static javax.ws.rs.client.Client | getClient(java.lang.String clientKeyStore,
         java.lang.String clientKeyStorePass,
         org.glassfish.jersey.client.ClientConfig clientConfig)Create custom client with specific keystore. | 
| static javax.ws.rs.client.Client | getClient(java.lang.String clientKeyStore,
         java.lang.String clientKeyStorePass,
         java.lang.String trustStore,
         java.lang.String trustStorePass)Create custom client with specific keystores. | 
| static javax.ws.rs.client.Client | getClient(java.lang.String clientKeyStore,
         java.lang.String clientKeyStorePass,
         java.lang.String trustStore,
         java.lang.String trustStorePass,
         org.glassfish.jersey.client.ClientConfig clientConfig)Create custom client with specific keystores. | 
public static javax.ws.rs.client.Client getClient(java.lang.String clientKeyStore,
                                                  java.lang.String clientKeyStorePass)
                                           throws java.lang.Exception
clientKeyStore - Client (BOT) keystore fileclientKeyStorePass - Client (BOT) keystore passwordjava.lang.Exception - Generally IOExceptions thrown from instantiation.public static javax.ws.rs.client.Client getClient(java.lang.String clientKeyStore,
                                                  java.lang.String clientKeyStorePass,
                                                  org.glassfish.jersey.client.ClientConfig clientConfig)
                                           throws java.lang.Exception
clientKeyStore - Client (BOT) keystore fileclientKeyStorePass - Client (BOT) keystore passwordclientConfig - Client configuration to use when initializing clientjava.lang.Exception - Generally IOExceptions thrown from instantiation.public static javax.ws.rs.client.Client getClient(java.lang.String clientKeyStore,
                                                  java.lang.String clientKeyStorePass,
                                                  java.lang.String trustStore,
                                                  java.lang.String trustStorePass)
                                           throws java.lang.Exception
clientKeyStore - Client (BOT) keystore fileclientKeyStorePass - Client (BOT) keystore passwordtrustStore - Truststore filetrustStorePass - Truststore passwordjava.lang.Exception - Generally IOExceptions thrown from instantiation.public static javax.ws.rs.client.Client getClient(java.lang.String clientKeyStore,
                                                  java.lang.String clientKeyStorePass,
                                                  java.lang.String trustStore,
                                                  java.lang.String trustStorePass,
                                                  org.glassfish.jersey.client.ClientConfig clientConfig)
                                           throws java.lang.Exception
clientKeyStore - Client (BOT) keystore fileclientKeyStorePass - Client (BOT) keystore passwordtrustStore - Truststore filetrustStorePass - Truststore passwordclientConfig - - HttpClient configuration to use when constructing the clientjava.lang.Exception - Generally IOExceptions thrown from instantiation.public static javax.ws.rs.client.Client getClient(java.io.InputStream clientKeyStore,
                                                  java.lang.String clientKeyStorePass,
                                                  java.io.InputStream trustStore,
                                                  java.lang.String trustStorePass,
                                                  org.glassfish.jersey.client.ClientConfig clientConfig)
                                           throws java.lang.Exception
clientKeyStore - Client (BOT) keystore InputStream (usually represents a file)clientKeyStorePass - Client (BOT) keystore passwordtrustStore - Truststore IntputStream (usually represents a file)trustStorePass - Truststore passwordclientConfig - - HttpClient configuration to use when constructing the clientjava.lang.Exception - Generally IOExceptions thrown from instantiation.public static javax.ws.rs.client.Client getClient(java.security.KeyStore clientKeyStore,
                                                  java.lang.String clientKeyStorePass,
                                                  java.security.KeyStore trustStore,
                                                  java.lang.String trustStorePass,
                                                  org.glassfish.jersey.client.ClientConfig clientConfig)
                                           throws java.lang.Exception
clientKeyStore - Client (BOT) keystoreclientKeyStorePass - Client (BOT) keystore passwordtrustStore - TruststoretrustStorePass - Truststore passwordclientConfig - - HttpClient configuration to use when constructing the clientjava.lang.Exception - Generally IOExceptions thrown from instantiation.