Interface PathMapping

    • Field Detail

      • IDENTITY

        static final PathMapping IDENTITY
        Implements an identity mapping
    • Method Detail

      • map

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

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