Package org.forgerock.http.spi
Interface HttpClientProvider
- 
public interface HttpClientProviderA provider interface for obtainingHttpClientinstances. AHttpClientProvideris loaded during construction of a new HTTPClient. A provider is selected and itsnewHttpClient(Options)method invoked in order to construct and configure a newHttpClient. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpClientnewHttpClient(Options options)Returns a newHttpClientconfigured using the provided set of options. 
 - 
 
- 
- 
Method Detail
- 
newHttpClient
HttpClient newHttpClient(Options options) throws HttpApplicationException
Returns a newHttpClientconfigured using the provided set of options.- Parameters:
 options- The client options (nevernull).- Returns:
 - A new 
HttpClientconfigured using the provided set of options. - Throws:
 HttpApplicationException- If the client implementation could not be configured using the provided set of options.
 
 - 
 
 -