Class HttpContentLengthFrameReader
- java.lang.Object
-
- org.smallmind.web.reverse.http1_1.HttpContentLengthFrameReader
-
- All Implemented Interfaces:
FrameReader
public class HttpContentLengthFrameReader extends Object implements FrameReader
-
-
Constructor Summary
Constructors Constructor Description HttpContentLengthFrameReader(HttpFrameReader httpFrameReader, int contentLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseChannels()voidfail(CannedResponse cannedResponse, SocketChannel failedChannel)voidprocessInput(SelectionKey selectionKey, ByteBuffer byteBuffer)
-
-
-
Constructor Detail
-
HttpContentLengthFrameReader
public HttpContentLengthFrameReader(HttpFrameReader httpFrameReader, int contentLength)
-
-
Method Detail
-
closeChannels
public void closeChannels()
- Specified by:
closeChannelsin interfaceFrameReader
-
fail
public void fail(CannedResponse cannedResponse, SocketChannel failedChannel)
- Specified by:
failin interfaceFrameReader
-
processInput
public void processInput(SelectionKey selectionKey, ByteBuffer byteBuffer)
- Specified by:
processInputin interfaceFrameReader
-
-