code: protected void handleTrace(HttpServletRequest request,
                              HttpServletResponse response)
          throws IOException
      {
          response.setHeader(HttpFields.__ContentType,
                             HttpFields.__MessageHttp);
          OutputStream out = response.getOutputStream();
          ByteArrayISO8859Writer writer = new ByteArrayISO8859Writer();
          writer.write(request.toString());
          writer.flush();
          response.setIntHeader(HttpFields.__ContentLength,writer.size());
          writer.writeTo(out);
          out.flush();
      }
docs: /* ------------------------------------------------------------