Interface ServerFeature.RoutingBuilders

Enclosing interface:
ServerFeature

public static interface ServerFeature.RoutingBuilders
Access to builders of various routing types.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasRouting(Class<?> builderType)
    Check whether a specific routing builder is available.
    <T extends Builder<T, ?>>
    T
    routingBuilder(Class<T> builderType)
    Obtain the routing builder for the provided type.
  • Method Details

    • hasRouting

      boolean hasRouting(Class<?> builderType)
      Check whether a specific routing builder is available.
      Parameters:
      builderType - type of the routing builder
      Returns:
      true if such a routing exists
    • routingBuilder

      <T extends Builder<T, ?>> T routingBuilder(Class<T> builderType)
      Obtain the routing builder for the provided type.
      Type Parameters:
      T - type that is expected
      Parameters:
      builderType - type of the routing builder
      Returns:
      instance of the routing builder
      Throws:
      NoSuchElementException - in case the routing is not avialable
      See Also: