Class PathRoute

java.lang.Object
io.mangoo.routing.routes.PathRoute
All Implemented Interfaces:
MangooRoute

public class PathRoute extends Object implements MangooRoute
Author:
svenkubiak
  • Constructor Details

    • PathRoute

      public PathRoute()
  • Method Details

    • to

      public void to(String url)
      Sets the URL for this route
      Parameters:
      url - The URL for this route
    • getUrl

      public String getUrl()
      Specified by:
      getUrl in interface MangooRoute
      Returns:
      The configured URL for this route