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) { this.metrics.incrementResponseCount(); } }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); HttpResponse response = (HttpResponse) this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { HttpResponse response = (HttpResponse) responseParser.parse(); if (response.getStatusLine().getStatusCode() >= 200) { metrics.incrementResponseCount(); } return response; }
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) { this.metrics.incrementResponseCount(); } }
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) { this.metrics.incrementResponseCount(); } }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); HttpResponse response = (HttpResponse) this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); final HttpResponse response = this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= HttpStatus.SC_OK) { this.metrics.incrementResponseCount(); } return response; }
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) { this.metrics.incrementResponseCount(); } }
@Override public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); final HttpResponse response = this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= HttpStatus.SC_OK) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); final HttpResponse response = this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= HttpStatus.SC_OK) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); final HttpResponse response = this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= HttpStatus.SC_OK) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); HttpResponse response = (HttpResponse) this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); HttpResponse response = (HttpResponse) this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); HttpResponse response = (HttpResponse) this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } return response; }
public HttpResponse receiveResponseHeader() throws HttpException, IOException { assertOpen(); final HttpResponse response = this.responseParser.parse(); if (response.getStatusLine().getStatusCode() >= HttpStatus.SC_OK) { this.metrics.incrementResponseCount(); } return response; }
public void sendResponseHeader(final HttpResponse response) throws HttpException, IOException { Args.notNull(response, "HTTP response"); assertOpen(); this.responseWriter.write(response); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } }
public void sendResponseHeader(final HttpResponse response) throws HttpException, IOException { Args.notNull(response, "HTTP response"); assertOpen(); this.responseWriter.write(response); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } }
public void sendResponseHeader(final HttpResponse response) throws HttpException, IOException { Args.notNull(response, "HTTP response"); assertOpen(); this.responseWriter.write(response); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } }
@Override public void sendResponseHeader(final HttpResponse response) throws HttpException, IOException { Args.notNull(response, "HTTP response"); assertOpen(); this.responseWriter.write(response); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } }
public void sendResponseHeader(final HttpResponse response) throws HttpException, IOException { Args.notNull(response, "HTTP response"); assertOpen(); this.responseWriter.write(response); if (response.getStatusLine().getStatusCode() >= 200) { this.metrics.incrementResponseCount(); } }