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
      @NotNull java.lang.String map​(@NotNull java.lang.String path)
      Maps the given path to a new location.
      @NotNull java.lang.String map​(@NotNull 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

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

        @NotNull
        @NotNull java.lang.String map​(@NotNull
                                      @NotNull 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.