@Override
    public void reset() {
        if (committed) {
            throw new IllegalStateException("Already committed");
        }
        status = HttpStatus.NO_CONTENT;
        headers.clear();
        cookies.clear();
        contentStream.reset();
        responseWriter = null;
        errorMessage = null;
    }
Implements {@link org.jboss.resteasy.spi.HttpResponse}.
resteasy/src/main/java/com/linecorp/armeria/server/resteasy/ResteasyHttpResponseImpl.java