public class GetObjectV2Output extends Object implements Closeable
| Constructor and Description |
|---|
GetObjectV2Output(GetObjectBasicOutput getObjectBasicOutput,
InputStream content) |
public GetObjectV2Output(GetObjectBasicOutput getObjectBasicOutput, InputStream content)
public GetObjectV2Output setHook(com.volcengine.tos.internal.util.aborthook.AbortInputStreamHook hook)
@Deprecated public GetObjectBasicOutput getGetObjectBasicOutput()
public InputStream getContent()
@Deprecated public GetObjectV2Output setGetObjectBasicOutput(GetObjectBasicOutput getObjectBasicOutput)
public GetObjectV2Output setContent(InputStream content)
public RequestInfo getRequestInfo()
public GetObjectV2Output setRequestInfo(RequestInfo info)
public String getContentRange()
public String getEtag()
public String getLastModified()
public Date getLastModifiedInDate()
public boolean isDeleteMarker()
public String getSsecAlgorithm()
public String getSsecKeyMD5()
public String getVersionID()
public String getWebsiteRedirectLocation()
public String getObjectType()
public String getHashCrc64ecma()
public com.volcengine.tos.comm.common.StorageClassType getStorageClass()
public long getContentLength()
public String getCacheControl()
public String getContentDisposition()
public String getContentEncoding()
public String getContentLanguage()
public String getContentType()
public String getExpires()
public Date getExpiresInDate()
public String getContentMD5()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void forceClose()
throws IOException
IOExceptionCopyright © 2023. All rights reserved.