Class CompositeRequestHeaders

java.lang.Object
com.adaptris.core.http.client.net.CompositeRequestHeaders
All Implemented Interfaces:
RequestHeaderProvider<HttpURLConnection>

public class CompositeRequestHeaders extends Object implements RequestHeaderProvider<HttpURLConnection>
Implementation of RequestHeaderProvider that uses nested providers to add headers to a HttpURLConnection.

This implementation is primarily so that you can mix and match both static and metadata driven headers; the order in which you configure them determines what is actually present as headers.

In the adapter configuration file this class is aliased as http-composite-request-headers which is the preferred alternative to the fully qualified classname when building your configuration.