nl.topicus.jdbc.CloudSpannerOAuthUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
The newest version!
package nl.topicus.jdbc;
import nl.topicus.jdbc.shaded.com.google.api.client.http.HttpTransport;
import nl.topicus.jdbc.shaded.com.google.api.client.http.javanet.NetHttpTransport;
import nl.topicus.jdbc.shaded.com.google.auth.http.HttpTransportFactory;
public class CloudSpannerOAuthUtil {
static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport();
static final HttpTransportFactory HTTP_TRANSPORT_FACTORY = new DefaultHttpTransportFactory();
static class DefaultHttpTransportFactory implements HttpTransportFactory {
@Override
public HttpTransport create() {
return HTTP_TRANSPORT;
}
}
private CloudSpannerOAuthUtil() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy