public class ServiceProxyWeb extends ServiceProxy
DispatchServlet,
ServiceProxyLocal,
ServiceRequest,
ServiceResponse| Constructor and Description |
|---|
ServiceProxyWeb() |
| 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.
|
String |
getUrl()
Gets the server url.
|
Object |
invoke(Object proxy,
Method m,
Object[] args) |
getServiceClass, setServiceClass, toServicepublic org.apache.http.entity.ContentProducer getContentProducer(ServiceRequest request)
request - the requestpublic Object getResponse(InputStream is)
throws Throwable
is - the InputStreamThrowable - in case of any errorpublic String getUrl()
throws Exception
Exception - the exception if server url is not configured.public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
invoke in interface InvocationHandlerinvoke in class ServiceProxyThrowableCopyright © 2010-2020 Toolsverse. All Rights Reserved.