class JettyXmppWebSocketServlet extends WebSocketServlet {

    public WebSocket doWebSocketConnect(HttpServletRequest request, String protocol) {
        if (SUB_PROTOCOL.equals(protocol)) {
            JettyXmppWebSocket sessionContext = new JettyXmppWebSocket(serverRuntimeContext, stanzaProcessor);
            return sessionContext;
        } else {
            LOG.warn("Unsupported WebSocket sub protocol, must be \"xmpp\"");
            return null;
        }
    }

    public  JettyXmppWebSocketServlet();
    public  JettyXmppWebSocketServlet(ServerRuntimeContext serverRuntimeContext, StanzaProcessor stanzaProcessor);

}