Class MethodRouting


  • final class MethodRouting
    extends java.lang.Object
    A combination of a resource method model and the corresponding routers.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) ResourceMethod method
      Resource method model.
      (package private) java.util.List<Router> routers
      Resource method routers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • routers

        final java.util.List<Router> routers
        Resource method routers.
    • Constructor Detail

      • MethodRouting

        MethodRouting​(ResourceMethod method,
                      Router... routers)
        Create a new instance.
        Parameters:
        method - Resource method handler.
        routers - Routers that are needed to execute the model. These routers should contain a endpoint router as the (last) terminal router.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object