public class GrizzlyAddressDelegateFilter<F extends org.glassfish.grizzly.filterchain.BaseFilter>
extends org.glassfish.grizzly.filterchain.BaseFilter
Constructor and Description |
---|
GrizzlyAddressDelegateFilter() |
Modifier and Type | Method and Description |
---|---|
void |
addFilterForAddress(ServerAddress serverAddress,
F filter)
Adds a new Filter for a particular Server address
|
org.glassfish.grizzly.filterchain.FilterChainContext |
createContext(org.glassfish.grizzly.Connection connection,
org.glassfish.grizzly.filterchain.FilterChainContext.Operation operation) |
void |
exceptionOccurred(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Throwable error) |
org.glassfish.grizzly.filterchain.NextAction |
handleAccept(org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
org.glassfish.grizzly.filterchain.NextAction |
handleClose(org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
org.glassfish.grizzly.filterchain.NextAction |
handleConnect(org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
org.glassfish.grizzly.filterchain.NextAction |
handleEvent(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
org.glassfish.grizzly.filterchain.FilterChainEvent event) |
org.glassfish.grizzly.filterchain.NextAction |
handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
org.glassfish.grizzly.filterchain.NextAction |
handleWrite(org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
void |
onAdded(org.glassfish.grizzly.filterchain.FilterChain filterChain) |
void |
onFilterChainChanged(org.glassfish.grizzly.filterchain.FilterChain filterChain) |
void |
onRemoved(org.glassfish.grizzly.filterchain.FilterChain filterChain) |
public void onAdded(org.glassfish.grizzly.filterchain.FilterChain filterChain)
onAdded
in interface org.glassfish.grizzly.filterchain.Filter
onAdded
in class org.glassfish.grizzly.filterchain.BaseFilter
public void onFilterChainChanged(org.glassfish.grizzly.filterchain.FilterChain filterChain)
onFilterChainChanged
in interface org.glassfish.grizzly.filterchain.Filter
onFilterChainChanged
in class org.glassfish.grizzly.filterchain.BaseFilter
public void onRemoved(org.glassfish.grizzly.filterchain.FilterChain filterChain)
onRemoved
in interface org.glassfish.grizzly.filterchain.Filter
onRemoved
in class org.glassfish.grizzly.filterchain.BaseFilter
public org.glassfish.grizzly.filterchain.NextAction handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
handleRead
in interface org.glassfish.grizzly.filterchain.Filter
handleRead
in class org.glassfish.grizzly.filterchain.BaseFilter
IOException
public org.glassfish.grizzly.filterchain.NextAction handleWrite(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
handleWrite
in interface org.glassfish.grizzly.filterchain.Filter
handleWrite
in class org.glassfish.grizzly.filterchain.BaseFilter
IOException
public org.glassfish.grizzly.filterchain.NextAction handleConnect(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
handleConnect
in interface org.glassfish.grizzly.filterchain.Filter
handleConnect
in class org.glassfish.grizzly.filterchain.BaseFilter
IOException
public org.glassfish.grizzly.filterchain.NextAction handleAccept(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
handleAccept
in interface org.glassfish.grizzly.filterchain.Filter
handleAccept
in class org.glassfish.grizzly.filterchain.BaseFilter
IOException
public org.glassfish.grizzly.filterchain.NextAction handleEvent(org.glassfish.grizzly.filterchain.FilterChainContext ctx, org.glassfish.grizzly.filterchain.FilterChainEvent event) throws IOException
handleEvent
in interface org.glassfish.grizzly.filterchain.Filter
handleEvent
in class org.glassfish.grizzly.filterchain.BaseFilter
IOException
public org.glassfish.grizzly.filterchain.NextAction handleClose(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException
handleClose
in interface org.glassfish.grizzly.filterchain.Filter
handleClose
in class org.glassfish.grizzly.filterchain.BaseFilter
IOException
public void exceptionOccurred(org.glassfish.grizzly.filterchain.FilterChainContext ctx, Throwable error)
exceptionOccurred
in interface org.glassfish.grizzly.filterchain.Filter
exceptionOccurred
in class org.glassfish.grizzly.filterchain.BaseFilter
public org.glassfish.grizzly.filterchain.FilterChainContext createContext(org.glassfish.grizzly.Connection connection, org.glassfish.grizzly.filterchain.FilterChainContext.Operation operation)
createContext
in class org.glassfish.grizzly.filterchain.BaseFilter
public void addFilterForAddress(ServerAddress serverAddress, F filter)
serverAddress
- the server address to which this filter must be appliedfilter
- the filter to applyCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.