public void readHeaderBlockEnd()

in src/main/java/com/twitter/http2/HttpConnectionHandler.java [569:585]


    public void readHeaderBlockEnd() {
        httpHeaderBlockDecoder.endHeaderBlock(httpHeaderBlockFrame);

        if (httpHeaderBlockFrame == null) {
            return;
        }

        // Check if we received a valid Header Block
        if (httpHeaderBlockFrame.isInvalid()) {
            issueStreamError(httpHeaderBlockFrame.getStreamId(), HttpErrorCode.PROTOCOL_ERROR);
            return;
        }

        Object frame = httpHeaderBlockFrame;
        httpHeaderBlockFrame = null;
        context.fireChannelRead(frame);
    }