@Override
    protected Throwable beforeError(Subscriber<? super HttpObject> subscriber, Throwable cause) {
        try {
            final HttpData lastData = closeRequestDecoder();
            if (lastData != null) {
                lastData.close();
            }
            return cause;
        } catch (Exception decoderException) {
            return new CompositeException(cause, decoderException);
        }
    }
A {@link FilteredHttpRequest} that applies HTTP decoding to {@link HttpObject}s as they are published.
core/src/main/java/com/linecorp/armeria/server/encoding/HttpDecodedRequest.java