com.baidubce.services.tablestorage.model.transform
Class GetRowResponseUnmarshaller

java.lang.Object
  extended by com.baidubce.services.tablestorage.model.transform.GetRowResponseUnmarshaller
All Implemented Interfaces:
Unmarshaller<GetRowResponse,InputStream>

public class GetRowResponseUnmarshaller
extends Object
implements Unmarshaller<GetRowResponse,InputStream>

Used to parse BatchGetRowResponse from HttpResponse body


Constructor Summary
GetRowResponseUnmarshaller(AbstractBceResponse response)
          Constructs a get row response unmarshaller with response object.
 
Method Summary
 GetRowResponse unmarshall(InputStream in)
          Unmarshal the result of response from TableStorage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRowResponseUnmarshaller

public GetRowResponseUnmarshaller(AbstractBceResponse response)
Constructs a get row response unmarshaller with response object.

Parameters:
response - The get row response object used to store unmarshalled result.
Method Detail

unmarshall

public GetRowResponse unmarshall(InputStream in)
                          throws Exception
Unmarshal the result of response from TableStorage.

Specified by:
unmarshall in interface Unmarshaller<GetRowResponse,InputStream>
Parameters:
in - The input stream of content to be unmarshalled.
Returns:
The get row response object.
Throws:
Exception


Copyright © 2020. All rights reserved.