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