Interface ConnectorService


  • public interface ConnectorService
    Information about a service that is connected to this router.

    A "service" is 1 or more connector instances that register the same route.

    Get a copy of this data by calling CrankerRouter.collectInfo()

    • Method Detail

      • route

        String route()
        Returns:
        The path prefix of the service, or "*" if it is a catch-all service.
        See Also:
        isCatchAll()
      • componentName

        String componentName()
        Returns:
        The component name that the connector registered
      • isCatchAll

        boolean isCatchAll()
        Returns:
        True if this connector serves from the root of the URL path
      • toMap

        Map<String,​Object> toMap()
        Returns:
        Gets this data has key-value pairs.