public interface ResponseParser<T>
Modifier and Type | Method and Description |
---|---|
T |
parse(ResponseMessage response)
Converts the result from stream to a java object.
|
T parse(ResponseMessage response) throws ResponseParseException
response
- The http response message.ResponseParseException
- Failed to parse the result.Copyright © 2021. All Rights Reserved.