Class CGIServlet.HTTPHeaderInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Enclosing class:

    protected static class CGIServlet.HTTPHeaderInputStream
    extends InputStream
    This is an input stream specifically for reading HTTP headers. It reads upto and including the two blank lines terminating the headers. It allows the content to be read using bytes or characters as appropriate.