Package org.httprpc
Interface WebServiceProxy.RequestHandler
-
- Enclosing class:
- WebServiceProxy
public static interface WebServiceProxy.RequestHandlerInterface representing a request handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidencodeRequest(java.io.OutputStream outputStream)Encodes a request to an output stream.java.lang.StringgetContentType()Returns the content type produced by the handler.
-
-
-
Method Detail
-
getContentType
java.lang.String getContentType()
Returns the content type produced by the handler.- Returns:
- The content type produced by the handler.
-
encodeRequest
void encodeRequest(java.io.OutputStream outputStream) throws java.io.IOExceptionEncodes a request to an output stream.- Parameters:
outputStream- The output stream to write to.- Throws:
java.io.IOException- If an exception occurs.
-
-