@Override
    protected HttpObject filter(HttpObject obj) {
        if (obj instanceof HttpData) {
            return decoder.decode((HttpData) obj);
        }

        if (obj instanceof ResponseHeaders) {
            final ResponseHeaders responseHeaders = (ResponseHeaders) obj;
            if (!responseHeaders.status().isInformational()) {
                final ResponseHeadersBuilder builder = responseHeaders.toBuilder();
                builder.remove(HttpHeaderNames.CONTENT_LENGTH);
                if (contentType == null) {
                    builder.remove(HttpHeaderNames.CONTENT_TYPE);
                } else {
                    builder.contentType(contentType);
                }
                return builder.build();
            }
        }
        return obj;
    }
An {@link HttpResponse} that applies HTTP decoding using the {@link StreamDecoder} created with this.
core/src/main/java/com/linecorp/armeria/internal/common/encoding/StaticHttpDecodedResponse.java