Package org.artifactory.request
Interface RequestContext
public interface RequestContext
Request context that might be passed to the repository when requesting for info.
- Author:
- Yossi Shaul
-
Method Summary
Modifier and TypeMethodDescriptiondefault RepoPathgetAttribute(String name) Return the client request.booleandefault booleanvoidsetAttribute(String name, String value) default voidsetSkipCurationOnResource(boolean skipCurationOnCachedResource)
-
Method Details
-
isFromAnotherArtifactory
boolean isFromAnotherArtifactory() -
getResourcePath
String getResourcePath() -
getProperties
Properties getProperties() -
getRequest
Request getRequest()Return the client request. This might be null when doing internal requests.- Returns:
- The request or null if not set.
-
setAttribute
-
getAttribute
-
alterPath
-
isSkipCurationOnResource
default boolean isSkipCurationOnResource() -
setSkipCurationOnResource
default void setSkipCurationOnResource(boolean skipCurationOnCachedResource)
-