Class FileRoute

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

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

    • FileRoute

      public FileRoute()
  • 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