Code example for SessionOutputBuffer

Methods: flush

0
        HttpEntity entity = this.entitydeserializer.deserialize(this.inbuffer, request);
        request.setEntity(entity);
    } 
 
    protected void doFlush() throws IOException  { 
        this.outbuffer.flush();
    } 
     
    public void flush() throws IOException { 
        assertOpen(); 
        doFlush(); 
    } 
     
    public void sendResponseHeader(final HttpResponse response) 
            throws HttpException, IOException { 
        if (response == null) {
            throw new IllegalArgumentException("HTTP response may not be null");
        } 
        assertOpen(); 
        this.responseWriter.write(response);
        if (response.getStatusLine().getStatusCode() >= 200) {