Class PerspectiveWebSocketServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class PerspectiveWebSocketServlet
    extends org.eclipse.jetty.websocket.servlet.WebSocketServlet
    Mounts a websocket servlet for use by the Perspective module. It is mounted during the module startup via the GatewayHook. The websocket is mounted at /main/system/pws, and the URL it expects to receive is: for a client: /pws/C/project_name/project_version/tab_id for a designer: /pws/D
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PERMESSAGE_DEFLATE_DISABLE
      System property key which may be used to disable the websocket's support of the 'permessage-deflate' extension, a value generally provided by modern browsers as part of the HttpHeader.SEC_WEBSOCKET_EXTENSIONS header.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory)  
      • Methods inherited from class org.eclipse.jetty.websocket.servlet.WebSocketServlet

        destroy, init, service
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
      • Methods inherited from class javax.servlet.GenericServlet

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PERMESSAGE_DEFLATE_DISABLE

        public static final java.lang.String PERMESSAGE_DEFLATE_DISABLE
        System property key which may be used to disable the websocket's support of the 'permessage-deflate' extension, a value generally provided by modern browsers as part of the HttpHeader.SEC_WEBSOCKET_EXTENSIONS header. Setting a system property value of 'true' will remove support and may enable proxy/firewall support in systems lacking support compressed-frame forwarding, such as some versions of Microsoft IIS ARR based rewriting proxy servers.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PerspectiveWebSocketServlet

        public PerspectiveWebSocketServlet()
    • Method Detail

      • configure

        public void configure​(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory)
        Specified by:
        configure in class org.eclipse.jetty.websocket.servlet.WebSocketServlet