类 CfcInvokeResult
- java.lang.Object
-
- com.baidubce.services.cfc.model.CfcInvokeResult
-
- 所有已实现的接口:
Closeable,AutoCloseable
public class CfcInvokeResult extends Object implements Closeable
Contains the data returned by baidu CFC from the invoke call. The result is the return of the user's function performed by baidu CFC.
-
-
构造器概要
构造器 构造器 说明 CfcInvokeResult()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()CfcInputStreamgetContent()Get the Content of CFC service call.CfcMetaDatagetObjectMetadata()Get the meta data of CFC service call.voidsetContent(CfcInputStream content)Set the Content of CFC service call.voidsetObjectMetadata(CfcMetaData objectMetadata)Set the meta data of CFC service call.
-
-
-
方法详细资料
-
getObjectMetadata
public CfcMetaData getObjectMetadata()
Get the meta data of CFC service call.- 返回:
- The objectMetadata of CFC
-
setObjectMetadata
public void setObjectMetadata(CfcMetaData objectMetadata)
Set the meta data of CFC service call.- 参数:
objectMetadata- The meta data of CFC service call.
-
getContent
public CfcInputStream getContent()
Get the Content of CFC service call.- 返回:
- The Content of CFC service call.
-
setContent
public void setContent(CfcInputStream content)
Set the Content of CFC service call.- 参数:
content- The Content of CFC service call.
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-
-