public interface TransportCustomizer
GrizzlyAsyncHttpProviderConfig
and allows low-level customization of the TCPNIOTransport beyond the
defaults typically used.| Modifier and Type | Method and Description |
|---|---|
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. |
void customize(org.glassfish.grizzly.nio.transport.TCPNIOTransport transport,
org.glassfish.grizzly.filterchain.FilterChainBuilder filterChainBuilder)
TCPNIOTransport
and FilterChainBuilder instances.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 © 2015. All Rights Reserved.