Interface RequestContext


public interface RequestContext
Request context that might be passed to the repository when requesting for info.
Author:
Yossi Shaul
  • 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

      void setAttribute(String name, String value)
    • getAttribute

      String getAttribute(String name)
    • alterPath

      @Nonnull default RepoPath alterPath(org.apache.http.client.methods.CloseableHttpResponse response, RepoPath repoPath)