Class AbstractExtension

    • Constructor Detail

      • AbstractExtension

        public AbstractExtension()
        Deprecated.
    • Method Detail

      • getConfig

        public ExtensionConfig getConfig()
        Deprecated.
        Description copied from interface: Extension
        The active configuration for this extension.
        Specified by:
        getConfig in interface Extension
        Returns:
        the configuration for this extension. never null.
      • isRsv1User

        public boolean isRsv1User()
        Deprecated.
        Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing.

        This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV1.

        Specified by:
        isRsv1User in interface Extension
        Returns:
        true if extension uses RSV1 for its own purposes.
      • isRsv2User

        public boolean isRsv2User()
        Deprecated.
        Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing.

        This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV2.

        Specified by:
        isRsv2User in interface Extension
        Returns:
        true if extension uses RSV2 for its own purposes.
      • isRsv3User

        public boolean isRsv3User()
        Deprecated.
        Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing.

        This is used to adjust validation during parsing, as well as a checkpoint against 2 or more extensions all simultaneously claiming ownership of RSV3.

        Specified by:
        isRsv3User in interface Extension
        Returns:
        true if extension uses RSV3 for its own purposes.
      • setBufferPool

        public void setBufferPool​(ByteBufferPool bufferPool)
        Deprecated.
      • setConfig

        public void setConfig​(ExtensionConfig config)
        Deprecated.
      • setConnection

        public void setConnection​(LogicalConnection connection)
        Deprecated.
      • setPolicy

        public void setPolicy​(WebSocketPolicy policy)
        Deprecated.