Package | Description |
---|---|
com.google.api.client.http.javanet |
HTTP Transport library for Google API's based on the
java.net package. |
Modifier and Type | Method and Description |
---|---|
NetHttpTransport.Builder |
NetHttpTransport.Builder.doNotValidateCertificate()
Beta Disables validating server SSL certificates by setting the SSL socket factory using SslUtils.trustAllSSLContext() for the SSL context and SslUtils.trustAllHostnameVerifier() for the host name verifier. |
NetHttpTransport.Builder |
NetHttpTransport.Builder.setConnectionFactory(ConnectionFactory connectionFactory)
|
NetHttpTransport.Builder |
NetHttpTransport.Builder.setHostnameVerifier(HostnameVerifier hostnameVerifier)
Sets the host name verifier or
null for the default. |
NetHttpTransport.Builder |
NetHttpTransport.Builder.setProxy(Proxy proxy)
Sets the HTTP proxy or
null to use the proxy settings from system
properties. |
NetHttpTransport.Builder |
NetHttpTransport.Builder.setSslSocketFactory(SSLSocketFactory sslSocketFactory)
Sets the SSL socket factory or
null for the default. |
NetHttpTransport.Builder |
NetHttpTransport.Builder.trustCertificates(KeyStore trustStore)
Sets the SSL socket factory based on a root certificate trust store.
|
NetHttpTransport.Builder |
NetHttpTransport.Builder.trustCertificates(KeyStore trustStore,
KeyStore mtlsKeyStore,
String mtlsKeyStorePassword)
Beta Sets the SSL socket factory based on a root certificate trust store and a client certificate key store. |
NetHttpTransport.Builder |
NetHttpTransport.Builder.trustCertificatesFromJavaKeyStore(InputStream keyStoreStream,
String storePass)
Sets the SSL socket factory based on root certificates in a Java KeyStore.
|
NetHttpTransport.Builder |
NetHttpTransport.Builder.trustCertificatesFromStream(InputStream certificateStream)
Sets the SSL socket factory based root certificates generated from the specified stream using
CertificateFactory.generateCertificates(InputStream) . |
Copyright © 2011–2022 Google. All rights reserved.