Code example for StatusLine

Methods: getReasonPhrasegetStatusCode

0
        try { 
            completedThenConsume(response);
        } catch(Exception e) {
            sendFailureMessage(e, "Failed constructed response");
        }finally { 
            if(status.getStatusCode() >= 300) {
                sendFailureMessage(new HttpResponseException(status.getStatusCode(), status.getReasonPhrase()), "");
            } 
        } 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE