Package org.artifactory.request
Interface RequestResponseInfo
-
- All Superinterfaces:
java.io.Serializable
public interface RequestResponseInfo extends java.io.SerializableNOTE: INTERNAL USE ONLY - NOT PART OF THE PUBLIC API!- Author:
- yoavl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCacheAge()longgetLastModified()java.lang.StringgetMd5()java.lang.StringgetMimeType()java.lang.StringgetName()java.lang.StringgetRemoteRepoUrl()RequestContextgetRequestContext()RepoPathgetRequestRepoPath()RepoPathgetResponseRepoPath()java.lang.StringgetSha1()longgetSize()booleanisExactQueryMatch()booleanisExpired()booleanisFound()booleanisMetadata()voidsetSize(long size)
-
-
-
Method Detail
-
getRequestContext
RequestContext getRequestContext()
-
getRequestRepoPath
RepoPath getRequestRepoPath()
- Returns:
- The resource repository path. This path might be virtual and is usually represent the path from the request.
-
getResponseRepoPath
RepoPath getResponseRepoPath()
- Returns:
- The actual repo path the resource came from. Might be different from the request repo path. For example when a request is made on a virtual repository, the response repo path should point to the actual repository containing this resource.
-
getRemoteRepoUrl
java.lang.String getRemoteRepoUrl()
-
isFound
boolean isFound()
-
isExactQueryMatch
boolean isExactQueryMatch()
-
isExpired
boolean isExpired()
-
isMetadata
boolean isMetadata()
-
getCacheAge
long getCacheAge()
-
getMimeType
java.lang.String getMimeType()
-
getName
java.lang.String getName()
-
getLastModified
long getLastModified()
-
getSize
long getSize()
-
setSize
void setSize(long size)
-
getSha1
java.lang.String getSha1()
-
getMd5
java.lang.String getMd5()
-
-