Code example for HttpException

Methods: getMessage

        try { 
            this.footers = AbstractMessageParser.parseHeaders
                (in, -1, -1, null);
        } catch (final HttpException ex) {
            final IOException ioe = new MalformedChunkCodingException("Invalid footer: "
                    + ex.getMessage());
            throw ioe;
     * Upon close, this reads the remainder of the chunked message, 
     * leaving the underlying socket at a position to start reading the 
     * next response without scanning. 
     * @throws IOException in case of an I/O error 
    public void close() throws IOException { 
        if (!closed) {
Stop searching for code, let great code find you!  Add Codota to your java IDE