Package org.httprpc
Interface WebServiceProxy.ResponseHandler<T>
-
- Enclosing class:
- WebServiceProxy
public static interface WebServiceProxy.ResponseHandler<T>Interface representing a response handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TdecodeResponse(java.io.InputStream inputStream, java.lang.String contentType)Decodes a response from an input stream.
-
-
-
Method Detail
-
decodeResponse
T decodeResponse(java.io.InputStream inputStream, java.lang.String contentType) throws java.io.IOException
Decodes a response from an input stream.- Parameters:
inputStream- The input stream to read from.contentType- The content type, ornullif the content type is not known.- Returns:
- The decoded value.
- Throws:
java.io.IOException- If an exception occurs.
-
-