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()
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.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. |
Copyright © 2011-2012 Google. All Rights Reserved.