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


public interface TransportCustomizer

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

Since:
1.7.0
Author:
The Grizzly Team

Method Summary
 void customize(org.glassfish.grizzly.nio.transport.TCPNIOTransport transport, org.glassfish.grizzly.filterchain.FilterChainBuilder filterChainBuilder)
          Customizes the configuration of the provided TCPNIOTransport and FilterChainBuilder instances.
 

Method Detail

customize

void customize(org.glassfish.grizzly.nio.transport.TCPNIOTransport transport,
               org.glassfish.grizzly.filterchain.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 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.


Copyright © 2013. All Rights Reserved.