(int streamId, int frameTypeId, int flags, int payloadSize, ByteBuffer buffer)
| 586 | |
| 587 | |
| 588 | protected void readUnknownFrame(int streamId, int frameTypeId, int flags, int payloadSize, ByteBuffer buffer) |
| 589 | throws IOException { |
| 590 | try { |
| 591 | swallowPayload(streamId, frameTypeId, payloadSize, false, buffer); |
| 592 | } catch (ConnectionException e) { |
| 593 | // Will never happen because swallowPayload() is called with isPadding set |
| 594 | // to false |
| 595 | } finally { |
| 596 | output.onSwallowedUnknownFrame(streamId, frameTypeId, flags, payloadSize); |
| 597 | } |
| 598 | } |
| 599 | |
| 600 | |
| 601 | /** |
no test coverage detected