Class BridgeOptions

java.lang.Object
io.vertx.ext.bridge.BridgeOptions
Direct Known Subclasses:
BridgeOptions, GrpcBridgeOptions, SockJSBridgeOptions

public class BridgeOptions extends Object
Specify the event bus bridge options.
Author:
Clement Escoffier
  • Constructor Details

  • Method Details

    • toJson

      public JsonObject toJson()
      Serializes the current BridgeOptions to JSON. This method uses the generated converter.
      Returns:
      the serialized object
    • addInboundPermitted

      public BridgeOptions addInboundPermitted(PermittedOptions permitted)
      Adds an inbound permitted option to the current BridgeOptions.
      Parameters:
      permitted - the inbound permitted
      Returns:
      the current BridgeOptions.
    • getInboundPermitteds

      public List<PermittedOptions> getInboundPermitteds()
      Returns:
      the list of inbound permitted options. Empty if none.
    • setInboundPermitteds

      public BridgeOptions setInboundPermitteds(List<PermittedOptions> inboundPermitted)
      Sets the list of inbound permitted options.
      Parameters:
      inboundPermitted - the list to use, must not be
      invalid @link
      {@link null
      }. This method use the direct list reference (and doesn't create a copy).
      Returns:
      the current BridgeOptions.
    • addOutboundPermitted

      public BridgeOptions addOutboundPermitted(PermittedOptions permitted)
      Adds an outbound permitted option to the current BridgeOptions.
      Parameters:
      permitted - the outbound permitted
      Returns:
      the current BridgeOptions.
    • getOutboundPermitteds

      public List<PermittedOptions> getOutboundPermitteds()
      Returns:
      the list of outbound permitted options. Empty if none.
    • setOutboundPermitteds

      public BridgeOptions setOutboundPermitteds(List<PermittedOptions> outboundPermitted)
      Sets the list of outbound permitted options.
      Parameters:
      outboundPermitted - the list to use, must not be
      invalid @link
      {@link null
      }. This method use the direct list reference (and doesn't create a copy).
      Returns:
      the current BridgeOptions.