Class PresignedUrlRequest

    • Constructor Detail

      • PresignedUrlRequest

        public PresignedUrlRequest​(Method method,
                                   java.lang.String bucketName,
                                   java.lang.String key,
                                   java.util.Date expirationTime)
    • Method Detail

      • getQueryParams

        public java.util.Map<java.lang.String,​java.lang.String> getQueryParams()
        Description copied from class: ObjectRequest
        Override to return the request-specific query parameters based on properties of the request. Do NOT include the subresource in this map; it will be inserted automatically. Note this implementation uses a TreeSet, which will sort the parameters by name. This is done to make URLs consistent for testing and should not change the semantics of any request.
        Overrides:
        getQueryParams in class ObjectRequest
      • getHeaders

        public java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getHeaders()
        Description copied from class: ObjectRequest
        Override to return request-specific headers based on properties of the request. Always call super() first and modify the result.
        Overrides:
        getHeaders in class ObjectRequest
      • getExpirationTime

        public java.util.Date getExpirationTime()
      • getVersionId

        public java.lang.String getVersionId()
      • setMethod

        public void setMethod​(Method method)
      • setVersionId

        public void setVersionId​(java.lang.String versionId)
      • setObjectMetadata

        public void setObjectMetadata​(S3ObjectMetadata objectMetadata)
      • setHeaderOverrides

        public void setHeaderOverrides​(java.util.Map<ResponseHeaderOverride,​java.lang.String> headerOverrides)