Interface ResponseParser<T>
- All Known Implementing Classes:
DefaultResponseParser,FileBinaryResponseParser,FileUploadHeaderResponseParser,JsonDataItemResponseParser,JsonErrorItemResponseParser,JsonErrorMessageDuplicateResponseParser,JsonItemResponseParser,JsonLongAttributeResponseParser,JsonRawRowResponseParser,JsonResponseParser,JsonStringAttributeResponseParser,JsonThreeDOutputsParser,RequestParametersResponseParser,TSPointsProtoCursorsResponseParser,TSPointsResponseParser
public interface ResponseParser<T>
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<T>extractItems(byte[] payload) Extract the results items from a response body.extractNextCursor(byte[] payload) Extract the next cursor from a response body.
-
Method Details
-
extractNextCursor
Extract the next cursor from a response body.- Parameters:
payload- The response body- Returns:
- Throws:
IOExceptionException
-
extractItems
Extract the results items from a response body.- Parameters:
payload- The reponse body- Returns:
- Throws:
Exception
-