Interface Paths


public interface Paths
The subset of paths to serve, see JsPlugin.paths().
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static Paths
    all()
    Includes all paths.
    static Paths
    ofPrefixes(Iterable<? extends Path> prefixes)
    Includes only the paths that are prefixed by one of prefixes.
    static Paths
    ofPrefixes(Path prefix)
    Includes only the paths that are prefixed by prefix.
    static Paths
    ofPrefixes(Path... prefixes)
    Includes only the paths that are prefixed by one of prefixes.
  • Method Details

    • all

      static Paths all()
      Includes all paths.
      Returns:
      the paths
    • ofPrefixes

      static Paths ofPrefixes(Path prefix)
      Includes only the paths that are prefixed by prefix.
      Parameters:
      prefix - the prefix
      Returns:
      the paths
    • ofPrefixes

      static Paths ofPrefixes(Path... prefixes)
      Includes only the paths that are prefixed by one of prefixes.
      Parameters:
      prefixes - the prefixes
      Returns:
      the paths
    • ofPrefixes

      static Paths ofPrefixes(Iterable<? extends Path> prefixes)
      Includes only the paths that are prefixed by one of prefixes.
      Parameters:
      prefixes - the prefixes
      Returns:
      the paths