@Facet.Exposed
public interface ProxyFacet
extends org.sonatype.nexus.repository.Facet
Modifier and Type | Method and Description |
---|---|
org.sonatype.nexus.repository.view.Content |
get(org.sonatype.nexus.repository.view.Context context)
Obtain the content which the user has requested, either by retrieving cached content, or by fetching new or
updated content from the upstream repository.
|
URI |
getRemoteUrl()
Returns the root of the remote repository.
|
void |
invalidateProxyCaches()
Invalidates all entries from proxy cache, causing all subsequent requests to attempt to fetch new or updated
content, if any.
|
@Nullable org.sonatype.nexus.repository.view.Content get(org.sonatype.nexus.repository.view.Context context) throws IOException
IOException
URI getRemoteUrl()
void invalidateProxyCaches()
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.