Package com.enonic.xp.web.websocket

## Interface WebSocketService

-     public interface WebSocketService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `acceptWebSocket​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, EndpointFactory factory)` |
    `boolean` | `isUpgradeRequest​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)` |

- - ### Method Detail

    - #### isUpgradeRequest

          boolean isUpgradeRequest​(javax.servlet.http.HttpServletRequest req,
                                   javax.servlet.http.HttpServletResponse res)

    - #### acceptWebSocket

          boolean acceptWebSocket​(javax.servlet.http.HttpServletRequest req,
                                  javax.servlet.http.HttpServletResponse res,
                                  EndpointFactory factory)
                           throws IOException

      Throws:
        `IOException`