org.apache.hadoop.security.authentication.client
Interface ConnectionConfigurator

All Known Implementing Classes:
SSLFactory

public interface ConnectionConfigurator

Interface to configure HttpURLConnection created by AuthenticatedURL instances.


Method Summary
 HttpURLConnection configure(HttpURLConnection conn)
          Configures the given HttpURLConnection instance.
 

Method Detail

configure

HttpURLConnection configure(HttpURLConnection conn)
                            throws IOException
Configures the given HttpURLConnection instance.

Parameters:
conn - the HttpURLConnection instance to configure.
Returns:
the configured HttpURLConnection instance.
Throws:
IOException - if an IO error occurred.


Copyright © 2009 The Apache Software Foundation