net.sf.crispy.impl
Class AbstractHttpExecutor
java.lang.Object
net.sf.crispy.Executor
net.sf.crispy.impl.AbstractHttpExecutor
- Direct Known Subclasses:
- HttpExecutor, RestExecutor
- public abstract class AbstractHttpExecutor
- extends Executor
Remote-Call with HTTP protocoll.
- Author:
- Linke
Field Summary |
protected org.apache.commons.httpclient.HttpClient |
httpClient
|
protected java.lang.String |
url
|
Method Summary |
protected org.apache.commons.httpclient.HttpClient |
createHttpClient()
|
java.lang.Object |
execute(java.lang.Class pvProxyClass,
java.lang.Object pvProxy,
java.lang.reflect.Method pvMethod,
java.lang.Object[] pvArgs)
Make the invocation of the services. |
protected java.lang.String |
getParameterTypesStrings(java.lang.Class[] pvClass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpClient
protected org.apache.commons.httpclient.HttpClient httpClient
url
protected java.lang.String url
AbstractHttpExecutor
public AbstractHttpExecutor()
createHttpClient
protected org.apache.commons.httpclient.HttpClient createHttpClient()
getParameterTypesStrings
protected java.lang.String getParameterTypesStrings(java.lang.Class[] pvClass)
execute
public java.lang.Object execute(java.lang.Class pvProxyClass,
java.lang.Object pvProxy,
java.lang.reflect.Method pvMethod,
java.lang.Object[] pvArgs)
throws java.lang.Exception
- Description copied from class:
Executor
- Make the invocation of the services.
- Specified by:
execute
in class Executor
- Parameters:
pvProxyClass
- Service interface. Class of the invoked service.pvProxy
- pvMethod
- Method to call.pvArgs
- Parameter of the method.
- Returns:
- Result of the
execute
method.
- Throws:
java.lang.Exception
Copyright © 2005-2006 Crispy. All Rights Reserved.