类 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

        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.