public interface Request
Modifier and Type | Method and Description |
---|---|
String |
getClientAddress()
Get the address of the client that triggered the request.
|
long |
getContentLength() |
String |
getHeader(String headerName) |
Map<String,String> |
getHeaders() |
Enumeration |
getHeaders(String headerName) |
long |
getIfModifiedSince() |
InputStream |
getInputStream() |
long |
getLastModified() |
String |
getParameter(String name) |
Map<String,String[]> |
getParameters() |
String[] |
getParameterValues(String name) |
Properties |
getProperties() |
RepoPath |
getRepoPath() |
String |
getServletContextUrl() |
String |
getUri() |
String |
getZipResourcePath()
Returns the internal zip resource path if such existed in the request. For example if the request path is
/path/to/zip!/path/to/resource/in/zip the method will return the zip resource path: '/path/to/zip' as the root
path.
|
boolean |
hasIfModifiedSince() |
boolean |
hasIfNoneMatch()
Checks whether the request has an If-None-Match header specified
|
boolean |
hasProperties() |
boolean |
isChecksum() |
boolean |
isFromAnotherArtifactory()
Checks if the request originated from another Artifactory
|
boolean |
isHeadOnly() |
boolean |
isNewerThan(long time) |
boolean |
isNoneMatch(String etag)
Checks whether an entity with the provided etag does not already exist by comparing it to the request's
If-None-Match
|
boolean |
isZipResourceRequest() |
RepoPath getRepoPath()
boolean isChecksum()
boolean isFromAnotherArtifactory()
boolean isHeadOnly()
long getLastModified()
long getIfModifiedSince()
boolean hasIfModifiedSince()
boolean isNewerThan(long time)
Enumeration getHeaders(String headerName)
String getServletContextUrl()
String getUri()
Properties getProperties()
boolean hasProperties()
InputStream getInputStream() throws IOException
IOException
long getContentLength()
String getClientAddress()
String getZipResourcePath()
boolean isZipResourceRequest()
getZipResourcePath()
boolean isNoneMatch(String etag)
etag
- boolean hasIfNoneMatch()
Copyright © 2016. All rights reserved.