Interface PathMapping

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static PathMapping IDENTITY
      Implements an identity mapping
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String map​(java.lang.String path)
      Maps the given path to a new location.
      java.lang.String map​(java.lang.String path, boolean reverse)
      Maps the given path to a new location.
    • Field Detail

      • IDENTITY

        static final PathMapping IDENTITY
        Implements an identity mapping
    • Method Detail

      • map

        @Nonnull
        java.lang.String map​(@Nonnull
                             java.lang.String path)
        Maps the given path to a new location.
        Parameters:
        path - the path
        Returns:
        the mapped path.
      • map

        @Nonnull
        java.lang.String map​(@Nonnull
                             java.lang.String path,
                             boolean reverse)
        Maps the given path to a new location.
        Parameters:
        path - the path
        reverse - if true a reverse mapping is applied
        Returns:
        the mapped path.