Class ReplacePathSlice

java.lang.Object
com.artipie.npm.http.ReplacePathSlice
All Implemented Interfaces:
com.artipie.http.Slice

public final class ReplacePathSlice extends Object implements com.artipie.http.Slice
Slice handles routing paths. It removes predefined routing path and passes the rest part to the underlying slice.
Since:
0.6
  • Constructor Details

    • ReplacePathSlice

      public ReplacePathSlice(String path, com.artipie.http.Slice original)
      Ctor.
      Parameters:
      path - Routing path ("/" for ROOT context)
      original - Underlying slice
  • Method Details