Interface Routable

All Known Implementing Classes:
RESTService, RoutedService

public interface Routable
Implemented by services that route requests to other services. Provides APIs for finding the final service that is routed to.
Author:
jbanes
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtain the service that will handle this request.
  • Method Details

    • getDestinationService

      Service getDestinationService(HttpRequest request)
      Obtain the service that will handle this request.
      Parameters:
      request - the object representing the http request
      Returns:
      the service that will handle this request, or null if it cannot be routed