org.openid4java.util
public class HttpFetcherFactory extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
HttpFetcherFactory.HttpCacheProvider |
Modifier and Type | Field and Description |
---|---|
private com.google.inject.Provider<HttpFetcher> |
_provider |
Constructor and Description |
---|
HttpFetcherFactory()
Public constructor for non-Guice installations.
|
HttpFetcherFactory(com.google.inject.Provider<HttpFetcher> provider) |
HttpFetcherFactory(javax.net.ssl.SSLContext sslContext) |
HttpFetcherFactory(javax.net.ssl.SSLContext sslContext,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) |
Modifier and Type | Method and Description |
---|---|
HttpFetcher |
createFetcher(HttpRequestOptions defaultOptions) |
private final com.google.inject.Provider<HttpFetcher> _provider
@Inject public HttpFetcherFactory(com.google.inject.Provider<HttpFetcher> provider)
public HttpFetcherFactory()
HttpCache
being used as the HttpFetcher
public HttpFetcherFactory(javax.net.ssl.SSLContext sslContext)
public HttpFetcherFactory(javax.net.ssl.SSLContext sslContext, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
public HttpFetcher createFetcher(HttpRequestOptions defaultOptions)
Copyright 2006-2008 Sxip Identity Corporation