public class ServiceProxyWebJson extends ServiceProxyWeb
ServiceProxyWeb which is uses json to serialize/deserialize requests and responses.DispatchJsonServlet,
ServiceRequest,
ServiceResponse| Constructor and Description |
|---|
ServiceProxyWebJson() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.entity.ContentProducer |
getContentProducer(ServiceRequest request)
Gets the content producer.
|
Object |
getResponse(InputStream is)
Gets the response from the input stream.
|
getUrl, invokegetServiceClass, setServiceClass, toServicepublic org.apache.http.entity.ContentProducer getContentProducer(ServiceRequest request)
ServiceProxyWebgetContentProducer in class ServiceProxyWebrequest - the requestpublic Object getResponse(InputStream is)
throws Throwable
ServiceProxyWebgetResponse in class ServiceProxyWebis - the InputStreamThrowable - in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.