io.vertx.ext.web.handler.sockjs

## Class SockJSBridgeOptions

- java.lang.Object
- - io.vertx.ext.web.handler.sockjs.SockJSBridgeOptions

- Direct Known Subclasses:
    BridgeOptions

      public class SockJSBridgeOptions
      extends Object

  Options for configuring the event bus bridge.
  Author:
    Tim Fox

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `DEFAULT_MAX_ADDRESS_LENGTH` Default value for max address length = 200
    `static int` | `DEFAULT_MAX_HANDLERS_PER_SOCKET` Default value for max handlers per socket = 1000
    `static long` | `DEFAULT_PING_TIMEOUT` Default value for ping timeout = 10000 ms
    `static long` | `DEFAULT_REPLY_TIMEOUT` Default value for reply timeout = 30000

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SockJSBridgeOptions()` Default constructor
    `SockJSBridgeOptions(JsonObject json)` Constructor from JSON
    `SockJSBridgeOptions(SockJSBridgeOptions other)` Copy constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SockJSBridgeOptions` | `addInboundPermitted(PermittedOptions permitted)`
    `SockJSBridgeOptions` | `addOutboundPermitted(PermittedOptions permitted)`
    `List<PermittedOptions>` | `getInboundPermitteds()`
    `int` | `getMaxAddressLength()`
    `int` | `getMaxHandlersPerSocket()`
    `List<PermittedOptions>` | `getOutboundPermitteds()`
    `long` | `getPingTimeout()`
    `long` | `getReplyTimeout()`
    `void` | `setInboundPermitted(List<PermittedOptions> inboundPermitted)`
    `SockJSBridgeOptions` | `setMaxAddressLength(int maxAddressLength)`
    `SockJSBridgeOptions` | `setMaxHandlersPerSocket(int maxHandlersPerSocket)`
    `void` | `setOutboundPermitted(List<PermittedOptions> outboundPermitted)`
    `SockJSBridgeOptions` | `setPingTimeout(long pingTimeout)`
    `SockJSBridgeOptions` | `setReplyTimeout(long replyTimeout)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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

  - ### Method Detail

    - #### getMaxAddressLength

          public int getMaxAddressLength()

    - #### setMaxAddressLength

          public SockJSBridgeOptions setMaxAddressLength(int maxAddressLength)

    - #### getMaxHandlersPerSocket

          public int getMaxHandlersPerSocket()

    - #### setMaxHandlersPerSocket

          public SockJSBridgeOptions setMaxHandlersPerSocket(int maxHandlersPerSocket)

    - #### getPingTimeout

          public long getPingTimeout()

    - #### setPingTimeout

          public SockJSBridgeOptions setPingTimeout(long pingTimeout)

    - #### getReplyTimeout

          public long getReplyTimeout()

    - #### setReplyTimeout

          public SockJSBridgeOptions setReplyTimeout(long replyTimeout)

    - #### addInboundPermitted

          public SockJSBridgeOptions addInboundPermitted(PermittedOptions permitted)

    - #### getInboundPermitteds

          public List<PermittedOptions> getInboundPermitteds()

    - #### setInboundPermitted

          public void setInboundPermitted(List<PermittedOptions> inboundPermitted)

    - #### addOutboundPermitted

          public SockJSBridgeOptions addOutboundPermitted(PermittedOptions permitted)

    - #### getOutboundPermitteds

          public List<PermittedOptions> getOutboundPermitteds()

    - #### setOutboundPermitted

          public void setOutboundPermitted(List<PermittedOptions> outboundPermitted)

Copyright © 2021 Eclipse. All rights reserved.