Uses of Class
com.google.api.client.http.apache.ApacheHttpTransport.Builder
Packages that use ApacheHttpTransport.Builder
Package
Description
HTTP Transport library for Google API's based on Apache HTTP Client version 4.
-
Uses of ApacheHttpTransport.Builder in com.google.api.client.http.apache
Methods in com.google.api.client.http.apache that return ApacheHttpTransport.BuilderModifier and TypeMethodDescriptionApacheHttpTransport.Builder.doNotValidateCertificate()Beta
Disables validating server SSL certificates by setting the SSL socket factory usingSslUtils.trustAllSSLContext()for the SSL context andSSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIERfor the host name verifier.ApacheHttpTransport.Builder.setProxy(org.apache.http.HttpHost proxy) Sets the HTTP proxy to useDefaultHttpRoutePlannerornullto useApacheHttpTransport.Builder.setProxySelector(ProxySelector)withProxySelector.getDefault().ApacheHttpTransport.Builder.setProxySelector(ProxySelector proxySelector) Sets the HTTP proxy selector to useProxySelectorRoutePlannerornullforDefaultHttpRoutePlanner.ApacheHttpTransport.Builder.setSocketFactory(org.apache.http.conn.ssl.SSLSocketFactory socketFactory) Sets the SSL socket factory (SSLSocketFactory.getSocketFactory()by default).ApacheHttpTransport.Builder.trustCertificates(KeyStore trustStore) Sets the SSL socket factory based on a root certificate trust store.ApacheHttpTransport.Builder.trustCertificatesFromJavaKeyStore(InputStream keyStoreStream, String storePass) Sets the SSL socket factory based on root certificates in a Java KeyStore.ApacheHttpTransport.Builder.trustCertificatesFromStream(InputStream certificateStream) Sets the SSL socket factory based root certificates generated from the specified stream usingCertificateFactory.generateCertificates(InputStream).