Uses of Class
com.google.api.client.http.javanet.NetHttpTransport.Builder
Packages that use NetHttpTransport.Builder
Package
Description
HTTP Transport library for Google API's based on the
java.net package.-
Uses of NetHttpTransport.Builder in com.google.api.client.http.javanet
Methods in com.google.api.client.http.javanet that return NetHttpTransport.BuilderModifier and TypeMethodDescriptionNetHttpTransport.Builder.doNotValidateCertificate()Beta
Disables validating server SSL certificates by setting the SSL socket factory usingSslUtils.trustAllSSLContext()for the SSL context andSslUtils.trustAllHostnameVerifier()for the host name verifier.NetHttpTransport.Builder.setConnectionFactory(ConnectionFactory connectionFactory) NetHttpTransport.Builder.setHostnameVerifier(HostnameVerifier hostnameVerifier) Sets the host name verifier ornullfor the default.Sets the HTTP proxy ornullto use the proxy settings from system properties.NetHttpTransport.Builder.setSslSocketFactory(SSLSocketFactory sslSocketFactory) Sets the SSL socket factory ornullfor the default.NetHttpTransport.Builder.trustCertificates(KeyStore trustStore) Sets the SSL socket factory based on a root certificate trust store.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.trustCertificatesFromJavaKeyStore(InputStream keyStoreStream, String storePass) Sets the SSL socket factory based on root certificates in a Java KeyStore.NetHttpTransport.Builder.trustCertificatesFromStream(InputStream certificateStream) Sets the SSL socket factory based root certificates generated from the specified stream usingCertificateFactory.generateCertificates(InputStream).