Lines Matching defs:upgrade
56 * @param request the incoming HTTP upgrade request
65 * @param request the incoming HTTP upgrade request
209 * Upgrade the request/response to a WebSocket Connection.
214 * @param request The request to upgrade
215 * @param response The response to upgrade
220 public void upgrade(HttpServletRequest request, HttpServletResponse response, WebSocket websocket, String protocol)
223 if (!"websocket".equalsIgnoreCase(request.getHeader("Upgrade")))
224 throw new IllegalStateException("!Upgrade:websocket");
331 LOG.debug("Websocket upgrade {} {} {} {}",request.getRequestURI(),draft,protocol,connection);
351 if ("websocket".equalsIgnoreCase(request.getHeader("Upgrade")))
395 // Send the upgrade
396 upgrade(request, response, websocket, protocol);