public class FileCacheFilter extends BaseFilter
Constructor and Description |
---|
FileCacheFilter(FileCache fileCache) |
Modifier and Type | Method and Description |
---|---|
FileCache |
getFileCache() |
NextAction |
handleRead(FilterChainContext ctx)
Execute a unit of processing work to be performed, when channel will
become available for reading.
|
createContext, exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, handleWrite, onAdded, onFilterChainChanged, onRemoved
public FileCacheFilter(FileCache fileCache)
public NextAction handleRead(FilterChainContext ctx) throws IOException
BaseFilter
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.handleRead
in interface Filter
handleRead
in class BaseFilter
ctx
- FilterChainContext
NextAction
instruction for FilterChain
, how it
should continue the executionIOException
public FileCache getFileCache()
Copyright © 2014 Oracle Corporation. All rights reserved.