@Override public String getStatusText() { return response.getReasonPhrase(); }
/** * Return the error message that was set with <code>sendError()</code> * for this Response. */ public String getMessage() { checkResponse(); return response.getReasonPhrase(); }
/** * Gets detail error message. * * @return the detail error message */ @SuppressWarnings("unused") public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
/** * Gets detail error message. * * @return the detail error message */ public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
/** * Return the error message that was set with <code>sendError()</code> * for this Response. */ public String getMessage() { checkResponse(); return response.getReasonPhrase(); }
/** * Gets detail error message. * * @return the detail error message */ @SuppressWarnings("unused") public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
/** * Return the error message that was set with <code>sendError()</code> * for this Response. */ public String getMessage() { checkResponse(); return response.getReasonPhrase(); }
/** * Gets detail error message. * * @return the detail error message */ @SuppressWarnings("unused") public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
/** * Gets detail error message. * * @return the detail error message */ @SuppressWarnings("unused") public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
/** * Return the error message that was set with <code>sendError()</code> * for this Response. */ public String getMessage() { checkResponse(); return response.getReasonPhrase(); }
/** * Return the error message that was set with <code>sendError()</code> * for this Response. */ public String getMessage() { checkResponse(); return response.getReasonPhrase(); }
/** * Gets detail error message. * * @return the detail error message */ @SuppressWarnings("unused") public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
/** * Return the error message that was set with <code>sendError()</code> * for this Response. */ public String getMessage() { checkResponse(); return response.getReasonPhrase(); }
/** * Return the error message that was set with <code>sendError()</code> * for this Response. */ public String getMessage() { checkResponse(); return response.getReasonPhrase(); }
/** * Gets detail error message. * * @return the detail error message */ @SuppressWarnings("unused") public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
/** * Gets detail error message. * * @return the detail error message */ @SuppressWarnings("unused") public String getDetailMessage() { checkResponse(); return response.getReasonPhrase(); } // END S1AS 4878272
public void validateServerResponse(HttpResponsePacket headers) { if (Constants.RESPONSE_CODE_VALUE != headers.getStatus()) { throw new HandshakeException(String.format("Response code was not %s: %s %s", Constants.RESPONSE_CODE_VALUE, headers.getStatus(), headers.getReasonPhrase())); } checkForHeader(headers, Constants.UPGRADE, Constants.WEBSOCKET); checkForHeader(headers, Constants.CONNECTION, Constants.UPGRADE); checkForSubProtocol(headers); }
public void validateServerResponse(HttpResponsePacket headers) { if (Constants.RESPONSE_CODE_VALUE != headers.getStatus()) { throw new HandshakeException(String.format("Response code was not %s: %s %s", Constants.RESPONSE_CODE_VALUE, headers.getStatus(), headers.getReasonPhrase())); } checkForHeader(headers, Constants.UPGRADE, Constants.WEBSOCKET); checkForHeader(headers, Constants.CONNECTION, Constants.UPGRADE); checkForSubProtocol(headers); }
public void validateServerResponse(HttpResponsePacket headers) { if (Constants.RESPONSE_CODE_VALUE != headers.getStatus()) { throw new HandshakeException(String.format("Response code was not %s: %s %s", Constants.RESPONSE_CODE_VALUE, headers.getStatus(), headers.getReasonPhrase())); } checkForHeader(headers, Constants.UPGRADE, Constants.WEBSOCKET); checkForHeader(headers, Constants.CONNECTION, Constants.UPGRADE); checkForSubProtocol(headers); }
public void validateServerResponse(HttpResponsePacket headers) { if (Constants.RESPONSE_CODE_VALUE != headers.getStatus()) { throw new HandshakeException(String.format("Response code was not %s: %s %s", Constants.RESPONSE_CODE_VALUE, headers.getStatus(), headers.getReasonPhrase())); } checkForHeader(headers, Constants.UPGRADE, Constants.WEBSOCKET); checkForHeader(headers, Constants.CONNECTION, Constants.UPGRADE); checkForSubProtocol(headers); }