Package rife.engine

Class PathInfoHandling

java.lang.Object
rife.engine.PathInfoHandling

public class PathInfoHandling extends Object
Provides the different pathinfo handling options for a route definition.
Since:
1.0
  • Field Details

    • NONE

      public static final PathInfoHandling NONE
      No pathinfo will be handled.
      Since:
      1.0
    • CAPTURE

      public static final PathInfoHandling CAPTURE
      The whole pathinfo after the route's path will be captured
      Since:
      1.0
  • Method Details

    • MAP

      public static PathInfoHandling MAP(PathInfoBuilder... builder)
      The pathinfo has to match a pattern and will be mapped to parameters.
      Parameters:
      builder - the builder that creates the mapping specification
      Returns:
      the defined pathinfo handling
      Since:
      1.0