Package com.artipie.pypi.http
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.artipie.http.Slice
com.artipie.http.Slice.Wrap
-
Constructor Summary
ConstructorDescriptionPyProxySlice
(ClientSlices clients, URI remote, Storage storage) New maven proxy without cache.PyProxySlice
(ClientSlices clients, URI remote, Authenticator auth, Storage cache, Optional<Queue<com.artipie.scheduling.ProxyArtifactEvent>> events, String rname) Ctor. -
Method Summary
Methods inherited from class com.artipie.http.Slice.Wrap
response
-
Constructor Details
-
PyProxySlice
New maven proxy without cache.- Parameters:
clients
- HTTP clientsremote
- Remote URIstorage
- 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 clientsremote
- Remote URIauth
- Authenticatorcache
- Repository cache storageevents
- Artifact events queuername
- Repository name
-