public class ObjectMetadata extends Object implements Serializable
| 构造器和说明 |
|---|
ObjectMetadata(Map<String,String> headers) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getContentLength()
Gets Content-Length header, which is the object content's size.
|
String |
getContentMD5()
Gets Content-MD5 header, which is the object content's MD5, base64 encoded.
|
String |
getContentType()
Gets Content-Type header, which is the object content's type.
|
Map<String,String> |
getCustomHeaders()
Gets the user's custom metadata, whose prefix in http header is x-log-meta-.
|
String |
getETag()
Gets the ETag header.
|
String |
getLastModified()
Gets the value of Last-Modified header, which means the last modified
time of the object.
|
public Map<String,String> getCustomHeaders()
public String getLastModified()
public long getContentLength()
public String getContentType()
public String getContentMD5()
public String getETag()
Copyright © 2026. All Rights Reserved.