@Override
    public void write(int b) throws IOException {
        if (response != null) {
            response.getOutputStream().write(b);
        }
        innerOut.write(b);
    }
Wrapper output stream
When writing character data, write the data into the output stream of OutputStream and HttpServletResponse object at the same time.
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/trace/WrapperOutputStream.java