public class HttpContentLengthFrameReader extends Object implements FrameReader
| Constructor and Description |
|---|
HttpContentLengthFrameReader(HttpFrameReader httpFrameReader,
int contentLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeChannels() |
void |
fail(CannedResponse cannedResponse,
SocketChannel failedChannel) |
void |
processInput(SelectionKey selectionKey,
ByteBuffer byteBuffer) |
public HttpContentLengthFrameReader(HttpFrameReader httpFrameReader, int contentLength)
public void closeChannels()
closeChannels in interface FrameReaderpublic void fail(CannedResponse cannedResponse, SocketChannel failedChannel)
fail in interface FrameReaderpublic void processInput(SelectionKey selectionKey, ByteBuffer byteBuffer)
processInput in interface FrameReaderCopyright © 2017. All rights reserved.