|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.filterchain.BaseFilter
org.glassfish.grizzly.filterchain.AbstractCodecFilter<Buffer,Buffer>
org.glassfish.grizzly.utils.ChunkingFilter
public class ChunkingFilter
The Filter is responsible to break the incoming/outgoing data into chunks and
pass them down/up by the FilterChain.
This Filter could be useful for testing reasons to check if all Filters in
the FilterChain work properly with chunked data.
| Nested Class Summary | |
|---|---|
static class |
ChunkingFilter.ChunkingDecoder
|
static class |
ChunkingFilter.ChunkingEncoder
|
static class |
ChunkingFilter.ChunkingTransformer
|
| Constructor Summary | |
|---|---|
ChunkingFilter(int chunkSize)
Construct a ChunkFilter, which will break incoming/outgoing data into chunks of the specified size. |
|
| Method Summary | |
|---|---|
int |
getChunkSize()
|
| Methods inherited from class org.glassfish.grizzly.filterchain.AbstractCodecFilter |
|---|
getDecoder, getEncoder, handleRead, handleWrite |
| Methods inherited from class org.glassfish.grizzly.filterchain.BaseFilter |
|---|
createContext, exceptionOccurred, getFilterChain, getIndex, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glassfish.grizzly.filterchain.Filter |
|---|
exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved |
| Constructor Detail |
|---|
public ChunkingFilter(int chunkSize)
chunkSize - the chunk size.| Method Detail |
|---|
public int getChunkSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||