private UpgradeInfo handleHandshakeException(HandshakeException handshakeException, UpgradeResponse response) { LOGGER.log(Level.CONFIG, handshakeException.getMessage(), handshakeException); response.setStatus(handshakeException.getHttpStatusCode()); return HANDSHAKE_FAILED_UPGRADE_INFO; }
private UpgradeInfo handleHandshakeException(HandshakeException handshakeException, UpgradeResponse response) { LOGGER.log(Level.CONFIG, handshakeException.getMessage(), handshakeException); response.setStatus(handshakeException.getHttpStatusCode()); return HANDSHAKE_FAILED_UPGRADE_INFO; }