Module swim.ws
Package swim.ws

Class WsEngineSettings

  • All Implemented Interfaces:
    Debug
    Direct Known Subclasses:
    WsSettings

    public class WsEngineSettings
    extends Object
    implements Debug
    • Field Detail

      • maxFrameSize

        protected final int maxFrameSize
      • maxMessageSize

        protected final int maxMessageSize
      • serverCompressionLevel

        protected final int serverCompressionLevel
      • clientCompressionLevel

        protected final int clientCompressionLevel
      • serverNoContextTakeover

        protected final boolean serverNoContextTakeover
      • clientNoContextTakeover

        protected final boolean clientNoContextTakeover
      • serverMaxWindowBits

        protected final int serverMaxWindowBits
      • clientMaxWindowBits

        protected final int clientMaxWindowBits
    • Constructor Detail

      • WsEngineSettings

        public WsEngineSettings​(int maxFrameSize,
                                int maxMessageSize,
                                int serverCompressionLevel,
                                int clientCompressionLevel,
                                boolean serverNoContextTakeover,
                                boolean clientNoContextTakeover,
                                int serverMaxWindowBits,
                                int clientMaxWindowBits)
    • Method Detail

      • maxFrameSize

        public final int maxFrameSize()
      • maxMessageSize

        public final int maxMessageSize()
      • maxMessageSize

        public WsEngineSettings maxMessageSize​(int maxMessageSize)
      • serverCompressionLevel

        public final int serverCompressionLevel()
      • serverCompressionLevel

        public WsEngineSettings serverCompressionLevel​(int serverCompressionLevel)
      • clientCompressionLevel

        public final int clientCompressionLevel()
      • clientCompressionLevel

        public WsEngineSettings clientCompressionLevel​(int clientCompressionLevel)
      • compressionLevel

        public WsEngineSettings compressionLevel​(int serverCompressionLevel,
                                                 int clientCompressionLevel)
      • serverNoContextTakeover

        public final boolean serverNoContextTakeover()
      • serverNoContextTakeover

        public WsEngineSettings serverNoContextTakeover​(boolean serverNoContextTakeover)
      • clientNoContextTakeover

        public final boolean clientNoContextTakeover()
      • clientNoContextTakeover

        public WsEngineSettings clientNoContextTakeover​(boolean clientNoContextTakeover)
      • serverMaxWindowBits

        public final int serverMaxWindowBits()
      • serverMaxWindowBits

        public WsEngineSettings serverMaxWindowBits​(int serverMaxWindowBits)
      • clientMaxWindowBits

        public final int clientMaxWindowBits()
      • clientMaxWindowBits

        public WsEngineSettings clientMaxWindowBits​(int clientMaxWindowBits)
      • handshakeRequest

        public WsRequest handshakeRequest​(Uri uri)
      • toValue

        public Value toValue()
      • copy

        protected WsEngineSettings copy​(int maxFrameSize,
                                        int maxMessageSize,
                                        int serverCompressionLevel,
                                        int clientCompressionLevel,
                                        boolean serverNoContextTakeover,
                                        boolean clientNoContextTakeover,
                                        int serverMaxWindowBits,
                                        int clientMaxWindowBits)
      • canEqual

        public boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> Output<T> debug​(Output<T> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Returns:
        the continuation of the output.