Module org.glassfish.grizzly
Package org.glassfish.grizzly.ssl
Class SSLBaseFilter.SSLTransportFilterWrapper
java.lang.Object
org.glassfish.grizzly.filterchain.BaseFilter
org.glassfish.grizzly.filterchain.TransportFilter
org.glassfish.grizzly.ssl.SSLBaseFilter.SSLTransportFilterWrapper
- All Implemented Interfaces:
Filter
- Enclosing class:
- SSLBaseFilter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glassfish.grizzly.filterchain.TransportFilter
TransportFilter.FlushEvent -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSSLTransportFilterWrapper(TransportFilter transportFilter, SSLBaseFilter sslBaseFilter) -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(Connection connection, FilterChainContext.Operation operation) voidexceptionOccurred(FilterChainContext ctx, Throwable error) Notification about exception, occurred on theFilterChainDelegates accept operation toTransport's specific transport filter.Delegates close operation toTransport's specific transport filter.Delegates connect operation toTransport's specific transport filter.handleEvent(FilterChainContext ctx, FilterChainEvent event) Delegates event operation toTransport's specific transport filter.Delegates reading operation toTransport's specific transport filter.Delegates writing operation toTransport's specific transport filter.voidonAdded(FilterChain filterChain) Method is called, when the Filter has been added to the passedFilterChain.voidonFilterChainChanged(FilterChain filterChain) Method is called, when theFilterChainthis Filter is part of, has been changed.voidonRemoved(FilterChain filterChain) Method is called, when the Filter has been removed from the passedFilterChain.Methods inherited from class org.glassfish.grizzly.filterchain.TransportFilter
createFlushEvent, createFlushEvent, getTransportFilter0Methods inherited from class org.glassfish.grizzly.filterchain.BaseFilter
toString
-
Field Details
-
wrappedFilter
-
sslBaseFilter
-
-
Constructor Details
-
SSLTransportFilterWrapper
-
-
Method Details
-
handleAccept
Description copied from class:TransportFilterDelegates accept operation toTransport's specific transport filter.- Specified by:
handleAcceptin interfaceFilter- Overrides:
handleAcceptin classTransportFilter- Parameters:
ctx-FilterChainContext- Returns:
NextActioninstruction forFilterChain, how it should continue the execution- Throws:
IOException
-
handleConnect
Description copied from class:TransportFilterDelegates connect operation toTransport's specific transport filter.- Specified by:
handleConnectin interfaceFilter- Overrides:
handleConnectin classTransportFilter- Parameters:
ctx-FilterChainContext- Returns:
NextActioninstruction forFilterChain, how it should continue the execution- Throws:
IOException
-
handleRead
Description copied from class:TransportFilterDelegates reading operation toTransport's specific transport filter.- Specified by:
handleReadin interfaceFilter- Overrides:
handleReadin classTransportFilter- Parameters:
ctx-FilterChainContext- Returns:
NextActioninstruction forFilterChain, how it should continue the execution- Throws:
IOException
-
handleWrite
Description copied from class:TransportFilterDelegates writing operation toTransport's specific transport filter.- Specified by:
handleWritein interfaceFilter- Overrides:
handleWritein classTransportFilter- Parameters:
ctx-FilterChainContext- Returns:
NextActioninstruction forFilterChain, how it should continue the execution- Throws:
IOException
-
handleEvent
Description copied from class:TransportFilterDelegates event operation toTransport's specific transport filter.- Specified by:
handleEventin interfaceFilter- Overrides:
handleEventin classTransportFilter- Parameters:
ctx-FilterChainContext- Returns:
NextActioninstruction forFilterChain, how it should continue the execution- Throws:
IOException
-
handleClose
Description copied from class:TransportFilterDelegates close operation toTransport's specific transport filter.- Specified by:
handleClosein interfaceFilter- Overrides:
handleClosein classTransportFilter- Parameters:
ctx-FilterChainContext- Returns:
NextActioninstruction forFilterChain, how it should continue the execution- Throws:
IOException
-
onAdded
Description copied from class:BaseFilterMethod is called, when the Filter has been added to the passedFilterChain.- Specified by:
onAddedin interfaceFilter- Overrides:
onAddedin classBaseFilter- Parameters:
filterChain- theFilterChainthis Filter was added to.
-
onFilterChainChanged
Description copied from class:BaseFilterMethod is called, when theFilterChainthis Filter is part of, has been changed.- Specified by:
onFilterChainChangedin interfaceFilter- Overrides:
onFilterChainChangedin classBaseFilter- Parameters:
filterChain- theFilterChain.
-
onRemoved
Description copied from class:BaseFilterMethod is called, when the Filter has been removed from the passedFilterChain.- Specified by:
onRemovedin interfaceFilter- Overrides:
onRemovedin classBaseFilter- Parameters:
filterChain- theFilterChainthis Filter was removed from.
-
exceptionOccurred
Description copied from class:BaseFilterNotification about exception, occurred on theFilterChain- Specified by:
exceptionOccurredin interfaceFilter- Overrides:
exceptionOccurredin classBaseFilter- Parameters:
ctx- event processingFilterChainContexterror- error, which occurred during FilterChain execution
-
createContext
public FilterChainContext createContext(Connection connection, FilterChainContext.Operation operation) - Overrides:
createContextin classBaseFilter
-