private long getContentLength(HttpServletRequest request) {
    String contentLengthHeader = request.getHeader("Content-Length");
    if (contentLengthHeader != null) {
      return Long.parseLong(contentLengthHeader);
    }
    return -1L;
  }
The http client used.
@see #createHttpClient()
src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java