public class ChunkingFilter extends AbstractCodecFilter<Buffer,Buffer>
FilterChain
.
This Filter could be useful for testing reasons to check if all Filters in
the FilterChain
work properly with chunked data.Modifier and Type | Class and Description |
---|---|
static class |
ChunkingFilter.ChunkingDecoder |
static class |
ChunkingFilter.ChunkingEncoder |
static class |
ChunkingFilter.ChunkingTransformer |
Constructor and Description |
---|
ChunkingFilter(int chunkSize)
Construct a ChunkFilter, which will break incoming/outgoing data
into chunks of the specified size.
|
Modifier and Type | Method and Description |
---|---|
int |
getChunkSize() |
getDecoder, getEncoder, handleRead, handleWrite
createContext, exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved
Copyright © 2014 Oracle Corporation. All rights reserved.