Interface Routed

All Superinterfaces:
EnabledAware, Identifiable
All Known Implementing Classes:
LibraryComponent, OtherComponent

public interface Routed extends Identifiable
Indicates the type of Component is supported by the gateway for routing.
  • Method Summary

    Modifier and Type
    Method
    Description
    An additional route this component is known by in the gateway service.
    Whether or not this service is included in the routing configuration supplied to the gateway service.

    Methods inherited from interface com.microservices.starter.core.environment.EnabledAware

    setEnabled

    Methods inherited from interface com.microservices.starter.core.environment.Identifiable

    getAltName, getDomain, getEnabled, getName, getPorts
  • Method Details

    • getRouted

      Boolean getRouted()
      Whether or not this service is included in the routing configuration supplied to the gateway service. Optional. True by default.
    • getAltRoute

      String getAltRoute()
      An additional route this component is known by in the gateway service. This is rarely used and is primarily leveraged by auth. Optional.