(int dataLength)
| 734 | |
| 735 | |
| 736 | @Override |
| 737 | final void receivedData(int dataLength) throws Http2Exception { |
| 738 | contentLengthReceived += dataLength; |
| 739 | long contentLengthHeader = coyoteRequest.getContentLengthLong(); |
| 740 | if (contentLengthHeader > -1 && contentLengthReceived > contentLengthHeader) { |
| 741 | throw new StreamException( |
| 742 | sm.getString("stream.header.contentLength", getConnectionId(), getIdAsString(), |
| 743 | Long.valueOf(contentLengthHeader), Long.valueOf(contentLengthReceived)), |
| 744 | Http2Error.PROTOCOL_ERROR, getIdAsInt()); |
| 745 | } |
| 746 | } |
| 747 | |
| 748 | |
| 749 | final void receivedEndOfStream() throws Http2Exception { |
nothing calls this directly
no test coverage detected