Interface HttpConnectionFactory

All Known Subinterfaces:
HttpConnectionFactory2
All Known Implementing Classes:
HttpClientConnectionFactory, JDKHttpConnectionFactory

public interface HttpConnectionFactory
The interface of a factory returning HttpConnection
Since:
3.3
  • Method Summary

    Modifier and Type
    Method
    Description
    create(URL url)
    Creates a new connection to a destination defined by a URL
    create(URL url, Proxy proxy)
    Creates a new connection to a destination defined by a URL using a proxy