com.baidubce.services.cfc.model
Class CfcMetaData

java.lang.Object
  extended by 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.).


Constructor Summary
CfcMetaData()
           
CfcMetaData(CfcMetaData other)
           
 
Method Summary
 String getBceLogResult()
          Get the log of the CFC invoke calls.
 String getBceRequestId()
          Get the Bce request Id
 long getContentLength()
          Get the length of the request body.
 String getContentType()
          Get the MIME type of the body of the request.
 String getDate()
          Get the date of the Bce request.
 String getServer()
          Get the server provided by the Bce.
 void setBceLogResult(String bceLogResult)
          Set the log of the CFC invoke calls.
 void setBceRequestId(String bceRequestId)
          Set the Bce request Id
 void setContentLength(long contentLength)
          Set the length of the request body.
 void setContentType(String contentType)
          Set the MIME type of the body of the request.
 void setDate(String date)
          Set the date of the Bce request.
 void setServer(String server)
          Set the server provided by the Bce.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CfcMetaData

public CfcMetaData()

CfcMetaData

public CfcMetaData(CfcMetaData other)
Method Detail

getBceRequestId

public String getBceRequestId()
Get the Bce request Id

Returns:
The Bce request Id

setBceRequestId

public void setBceRequestId(String bceRequestId)
Set the Bce request Id

Parameters:
bceRequestId - The Bce request Id

getContentLength

public long getContentLength()
Get the length of the request body.

Returns:
The length of the request body.

setContentLength

public void setContentLength(long contentLength)
Set the length of the request body.

Parameters:
contentLength - The length of the request body.

getContentType

public String getContentType()
Get the MIME type of the body of the request.

Returns:
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.

Parameters:
contentType - The MIME type of the body of the request.

getDate

public String getDate()
Get the date of the Bce request.

Returns:
The date of the Bce request.

setDate

public void setDate(String date)
Set the date of the Bce request.

Parameters:
date - The date of the Bce request.

getServer

public String getServer()
Get the server provided by the Bce.

Returns:
The server provided by the Bce.

setServer

public void setServer(String server)
Set the server provided by the Bce.

Parameters:
server - The server provided by the Bce.

getBceLogResult

public String getBceLogResult()
Get the log of the CFC invoke calls.

Returns:
The log of the CFC invoke calls.

setBceLogResult

public void setBceLogResult(String bceLogResult)
Set the log of the CFC invoke calls.

Parameters:
bceLogResult - The log of the CFC invoke calls.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2020. All rights reserved.