T - Parameter that indicates which object the parser returns. It can be
of any type.public abstract class StringHttpResponseParser<T>
extends java.lang.Object
HttpResponseParser interface has the responsibility to parse
responses from the server.| Constructor and Description |
|---|
StringHttpResponseParser() |
public T parse(java.io.InputStream responseStream) throws java.lang.Exception
parse(String)
This method is used for parsing text from the server. can be used for
anything that can be converted out of a stringresponseStream - The JSON string needed for parsing.java.lang.Exception - Thrown when various parsing errors occur.public abstract T parse(java.lang.String response) throws java.lang.Exception
java.lang.Exception