com.baidubce.services.tablestorage.model.transform
Class GetRowResponseUnmarshaller
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.