com.baidubce.services.cfc.model
Class CfcInvokeResult

java.lang.Object
  extended by com.baidubce.services.cfc.model.CfcInvokeResult
All Implemented Interfaces:
Closeable

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.


Constructor Summary
CfcInvokeResult()
           
 
Method Summary
 void close()
           
 CfcInputStream getContent()
          Get the Content of CFC service call.
 CfcMetaData getObjectMetadata()
          Get the meta data of CFC service call.
 void setContent(CfcInputStream content)
          Set the Content of CFC service call.
 void setObjectMetadata(CfcMetaData objectMetadata)
          Set the meta data of CFC service call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CfcInvokeResult

public CfcInvokeResult()
Method Detail

getObjectMetadata

public CfcMetaData getObjectMetadata()
Get the meta data of CFC service call.

Returns:
The objectMetadata of CFC

setObjectMetadata

public void setObjectMetadata(CfcMetaData objectMetadata)
Set the meta data of CFC service call.

Parameters:
objectMetadata - The meta data of CFC service call.

getContent

public CfcInputStream getContent()
Get the Content of CFC service call.

Returns:
The Content of CFC service call.

setContent

public void setContent(CfcInputStream content)
Set the Content of CFC service call.

Parameters:
content - The Content of CFC service call.

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2020. All rights reserved.