org.openid4java.util
Class HttpFetcherFactory

java.lang.Object
  extended by org.openid4java.util.HttpFetcherFactory

public class HttpFetcherFactory
extends java.lang.Object


Nested Class Summary
private static class HttpFetcherFactory.HttpCacheProvider
           
 
Field Summary
private  com.google.inject.Provider<HttpFetcher> _provider
           
 
Constructor Summary
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)
           
 
Method Summary
 HttpFetcher createFetcher(HttpRequestOptions defaultOptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_provider

private final com.google.inject.Provider<HttpFetcher> _provider
Constructor Detail

HttpFetcherFactory

@Inject
public HttpFetcherFactory(com.google.inject.Provider<HttpFetcher> provider)

HttpFetcherFactory

public HttpFetcherFactory()
Public constructor for non-Guice installations. Results in HttpCache being used as the HttpFetcher


HttpFetcherFactory

public HttpFetcherFactory(javax.net.ssl.SSLContext sslContext)

HttpFetcherFactory

public HttpFetcherFactory(javax.net.ssl.SSLContext sslContext,
                          org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
Method Detail

createFetcher

public HttpFetcher createFetcher(HttpRequestOptions defaultOptions)


Copyright 2006-2008 Sxip Identity Corporation