Class SockJSBridgeOptions


  • public class SockJSBridgeOptions
    extends BridgeOptions
    Options for configuring the event bus bridge.
    Author:
    Tim Fox
    • Field Detail

      • DEFAULT_MAX_ADDRESS_LENGTH

        public static final int DEFAULT_MAX_ADDRESS_LENGTH
        Default value for max address length = 200
        See Also:
        Constant Field Values
      • DEFAULT_MAX_HANDLERS_PER_SOCKET

        public static final int DEFAULT_MAX_HANDLERS_PER_SOCKET
        Default value for max handlers per socket = 1000
        See Also:
        Constant Field Values
      • DEFAULT_PING_TIMEOUT

        public static final long DEFAULT_PING_TIMEOUT
        Default value for ping timeout = 10000 ms
        See Also:
        Constant Field Values
      • DEFAULT_REPLY_TIMEOUT

        public static final long DEFAULT_REPLY_TIMEOUT
        Default value for reply timeout = 30000
        See Also:
        Constant Field Values
    • Constructor Detail

      • SockJSBridgeOptions

        public SockJSBridgeOptions​(SockJSBridgeOptions other)
        Copy constructor
        Parameters:
        other - the options to copy
      • SockJSBridgeOptions

        public SockJSBridgeOptions()
        Default constructor
      • SockJSBridgeOptions

        public SockJSBridgeOptions​(JsonObject json)
        Constructor from JSON
        Parameters:
        json - the JSON