public interface

TransportCustomizer

com.ning.http.client.providers.grizzly.TransportCustomizer

Class Overview

This class may be provided as an option to the GrizzlyAsyncHttpProviderConfig and allows low-level customization of the TCPNIOTransport beyond the defaults typically used.

Summary

Public Methods
abstract void customize(TCPNIOTransport transport, FilterChainBuilder filterChainBuilder)
Customizes the configuration of the provided TCPNIOTransport and FilterChainBuilder instances.

Public Methods

public abstract void customize (TCPNIOTransport transport, FilterChainBuilder filterChainBuilder)

Customizes the configuration of the provided TCPNIOTransport and FilterChainBuilder instances.

Parameters
transport the TCPNIOTransport instance for this client.
filterChainBuilder the FilterChainBuilder that will produce the org.glassfish.grizzly.filterchain.FilterChain that will be used to send/receive data. The FilterChain will be populated with the Filters typically used for processing HTTP client requests. These filters should generally be left alone. But this does allow adding additional filters to the chain to add additional features.