public class SpdyFramingFilter extends BaseFilter
| Constructor and Description |
|---|
SpdyFramingFilter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxFrameLength()
Returns the maximum allowed SPDY frame length.
|
NextAction |
handleRead(FilterChainContext ctx)
Execute a unit of processing work to be performed, when channel will
become available for reading.
|
NextAction |
handleWrite(FilterChainContext ctx)
Execute a unit of processing work to be performed, when some data should
be written on channel.
|
void |
setMaxFrameLength(int maxFrameLength)
Sets the maximum allowed SPDY frame length.
|
createContext, exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved, toStringpublic int getMaxFrameLength()
public void setMaxFrameLength(int maxFrameLength)
public NextAction handleRead(FilterChainContext ctx) throws IOException
BaseFilterFilter 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 FilterhandleRead in class BaseFilterctx - FilterChainContextNextAction instruction for FilterChain, how it
should continue the executionIOExceptionpublic NextAction handleWrite(FilterChainContext ctx) throws IOException
BaseFilterFilter 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.handleWrite in interface FilterhandleWrite in class BaseFilterctx - FilterChainContextNextAction instruction for FilterChain, how it
should continue the executionIOExceptionCopyright © 2021 Oracle Corporation. All rights reserved.