Class PyProxySlice

java.lang.Object
com.artipie.http.Slice.Wrap
com.artipie.pypi.http.PyProxySlice
All Implemented Interfaces:
com.artipie.http.Slice

public final class PyProxySlice extends com.artipie.http.Slice.Wrap
Python proxy slice.
Since:
0.7
  • Constructor Details

    • PyProxySlice

      public PyProxySlice(ClientSlices clients, URI remote, Storage storage)
      New maven proxy without cache.
      Parameters:
      clients - HTTP clients
      remote - Remote URI
      storage - Cache storage
    • PyProxySlice

      public PyProxySlice(ClientSlices clients, URI remote, Authenticator auth, Storage cache, Optional<Queue<com.artipie.scheduling.ProxyArtifactEvent>> events, String rname)
      Ctor.
      Parameters:
      clients - Http clients
      remote - Remote URI
      auth - Authenticator
      cache - Repository cache storage
      events - Artifact events queue
      rname - Repository name