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
Modifier and TypeMethodDescriptionvoidcustomize(org.glassfish.grizzly.nio.transport.TCPNIOTransport transport, org.glassfish.grizzly.filterchain.FilterChainBuilder filterChainBuilder) Customizes the configuration of the providedTCPNIOTransportandFilterChainBuilderinstances.
-
Method Details
-
customize
void customize(org.glassfish.grizzly.nio.transport.TCPNIOTransport transport, org.glassfish.grizzly.filterchain.FilterChainBuilder filterChainBuilder) Customizes the configuration of the providedTCPNIOTransportandFilterChainBuilderinstances.- Parameters:
transport- theTCPNIOTransportinstance for this client.filterChainBuilder- theFilterChainBuilderthat will produce theFilterChainthat 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.
-