/** * Sets detail error message. * * @param message detail error message */ public void setDetailMessage(String message) { checkResponse(); response.setReasonPhrase(message); }
/** * Sets detail error message. * * @param message detail error message */ public void setDetailMessage(String message) { checkResponse(); response.setReasonPhrase(message); }
/** * Sets detail error message. * * @param message detail error message */ public void setDetailMessage(String message) { checkResponse(); response.setReasonPhrase(message); }
/** * Sets detail error message. * * @param message detail error message */ public void setDetailMessage(String message) { checkResponse(); response.setReasonPhrase(message); }
/** * Sets detail error message. * * @param message detail error message */ public void setDetailMessage(String message) { checkResponse(); response.setReasonPhrase(message); }
/** * Sets detail error message. * * @param message detail error message */ public void setDetailMessage(String message) { checkResponse(); response.setReasonPhrase(message); }
/** * Sets detail error message. * * @param message detail error message */ public void setDetailMessage(String message) { checkResponse(); response.setReasonPhrase(message); }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
/** * Sets the status and reason phrase on the specified response. * @param response the response to set the status and reason phrase on. */ public void setValues(final HttpResponsePacket response) { response.setStatus(this); response.setReasonPhrase(Buffers.wrap(null, reasonPhraseBytes)); } }
private static HttpResponsePacket composeHandshakeError(final HttpRequestPacket request, final HandshakeException e) { final HttpResponsePacket response = request.getResponse(); response.setStatus(e.getCode()); response.setReasonPhrase(e.getMessage()); return response; } }
private static HttpResponsePacket composeHandshakeError(final HttpRequestPacket request, final HandshakeException e) { final HttpResponsePacket response = request.getResponse(); response.setStatus(e.getCode()); response.setReasonPhrase(e.getMessage()); return response; } }
private static HttpResponsePacket composeHandshakeError(final HttpRequestPacket request, final HandshakeException e) { final HttpResponsePacket response = request.getResponse(); response.setStatus(e.getCode()); response.setReasonPhrase(e.getMessage()); return response; } }
private static HttpResponsePacket composeHandshakeError(final HttpRequestPacket request, final HandshakeException e) { final HttpResponsePacket response = request.getResponse(); response.setStatus(e.getCode()); response.setReasonPhrase(e.getMessage()); return response; } }
@Override public void setHeaders(HttpResponsePacket response) { response.setReasonPhrase(Constants.RESPONSE_CODE_MESSAGE); response.setHeader(Constants.SEC_WS_ACCEPT, secKey.getSecKey()); if (!getEnabledExtensions().isEmpty()) { response.setHeader(Constants.SEC_WS_EXTENSIONS_HEADER, join(getSubProtocol())); } }