org.glassfish.grizzly.compression.lzma
Class LZMAFilter
java.lang.Object
org.glassfish.grizzly.filterchain.BaseFilter
org.glassfish.grizzly.compression.lzma.LZMAFilter
- All Implemented Interfaces:
- Filter
public class LZMAFilter
- extends BaseFilter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LZMAFilter
public LZMAFilter()
handleRead
public NextAction handleRead(FilterChainContext ctx)
throws IOException
- Description copied from class:
BaseFilter
- Execute a unit of processing work to be performed, when channel will
become available for reading.
This
Filter may either complete the required processing and
return false, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning true.
- Specified by:
handleRead in interface Filter- Overrides:
handleRead in class BaseFilter
- Parameters:
ctx - FilterChainContext
- Returns:
NextAction instruction for FilterChain, how it
should continue the execution
- Throws:
IOException
handleWrite
public NextAction handleWrite(FilterChainContext ctx)
throws IOException
- Description copied from class:
BaseFilter
- Execute a unit of processing work to be performed, when some data should
be written on channel.
This
Filter may either complete the required processing and
return false, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning true.
- Specified by:
handleWrite in interface Filter- Overrides:
handleWrite in class BaseFilter
- Parameters:
ctx - FilterChainContext
- Returns:
NextAction instruction for FilterChain, how it
should continue the execution
- Throws:
IOException
handleClose
public NextAction handleClose(FilterChainContext ctx)
throws IOException
- Description copied from class:
BaseFilter
- Execute a unit of processing work to be performed, when connection
has been closed.
This
Filter may either complete the required processing and
return false, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning true.
- Specified by:
handleClose in interface Filter- Overrides:
handleClose in class BaseFilter
- Parameters:
ctx - FilterChainContext
- Returns:
NextAction instruction for FilterChain, how it
should continue the execution
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.