Code example for SessionOutputBuffer

Methods: getMetrics

0
                params);
        this.responseWriter = createResponseWriter(
                outbuffer, params);
        this.metrics = new HttpConnectionMetricsImpl(
                inbuffer.getMetrics(),
                outbuffer.getMetrics());
    } 
     
    public HttpRequest receiveRequestHeader() 
            throws HttpException, IOException { 
        assertOpen(); 
        HttpRequest request = (HttpRequest) this.requestParser.parse();
        this.metrics.incrementRequestCount();
        return request;
    } 
     
    public void receiveRequestEntity(final HttpEntityEnclosingRequest request) 
            throws HttpException, IOException { 
        if (request == null) {
            throw new IllegalArgumentException("HTTP request may not be null");
Connect your IDE to all the code out there  Get Codota for Java