类 CfcMetaData
- java.lang.Object
-
- com.baidubce.services.cfc.model.CfcMetaData
-
public class CfcMetaData extends Object
Represents the metadata of Baidu CFC. This includes custom user-supplied metadata, as well as the standard HTTP headers that Baidu CFC sends and receives (ContentLength, ContentType, Server, etc.).
-
-
构造器概要
构造器 构造器 说明 CfcMetaData()CfcMetaData(CfcMetaData other)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetBceLogResult()Get the log of the CFC invoke calls.StringgetBceRequestId()Get the Bce request IdlonggetContentLength()Get the length of the request body.StringgetContentType()Get the MIME type of the body of the request.StringgetDate()Get the date of the Bce request.StringgetServer()Get the server provided by the Bce.voidsetBceLogResult(String bceLogResult)Set the log of the CFC invoke calls.voidsetBceRequestId(String bceRequestId)Set the Bce request IdvoidsetContentLength(long contentLength)Set the length of the request body.voidsetContentType(String contentType)Set the MIME type of the body of the request.voidsetDate(String date)Set the date of the Bce request.voidsetServer(String server)Set the server provided by the Bce.StringtoString()
-
-
-
构造器详细资料
-
CfcMetaData
public CfcMetaData()
-
CfcMetaData
public CfcMetaData(CfcMetaData other)
-
-
方法详细资料
-
getBceRequestId
public String getBceRequestId()
Get the Bce request Id- 返回:
- The Bce request Id
-
setBceRequestId
public void setBceRequestId(String bceRequestId)
Set the Bce request Id- 参数:
bceRequestId- The Bce request Id
-
getContentLength
public long getContentLength()
Get the length of the request body.- 返回:
- The length of the request body.
-
setContentLength
public void setContentLength(long contentLength)
Set the length of the request body.- 参数:
contentLength- The length of the request body.
-
getContentType
public String getContentType()
Get the MIME type of the body of the request.- 返回:
- The MIME type of the body of the request.
-
setContentType
public void setContentType(String contentType)
Set the MIME type of the body of the request.- 参数:
contentType- The MIME type of the body of the request.
-
getDate
public String getDate()
Get the date of the Bce request.- 返回:
- The date of the Bce request.
-
setDate
public void setDate(String date)
Set the date of the Bce request.- 参数:
date- The date of the Bce request.
-
getServer
public String getServer()
Get the server provided by the Bce.- 返回:
- The server provided by the Bce.
-
setServer
public void setServer(String server)
Set the server provided by the Bce.- 参数:
server- The server provided by the Bce.
-
getBceLogResult
public String getBceLogResult()
Get the log of the CFC invoke calls.- 返回:
- The log of the CFC invoke calls.
-
setBceLogResult
public void setBceLogResult(String bceLogResult)
Set the log of the CFC invoke calls.- 参数:
bceLogResult- The log of the CFC invoke calls.
-
-