org.resteasy.plugins.client.httpclient
Class HttpClientInvoker

java.lang.Object
  extended by org.resteasy.ClientInvoker
      extended by org.resteasy.plugins.client.httpclient.HttpClientInvoker
Direct Known Subclasses:
DeleteInvoker, GetInvoker, PostInvoker, PutInvoker

public abstract class HttpClientInvoker
extends ClientInvoker

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.resteasy.ClientInvoker
accepts, builder, declaring, method, params, providerFactory
 
Constructor Summary
HttpClientInvoker(org.apache.commons.httpclient.HttpClient client, java.lang.Class<?> declaring, java.lang.reflect.Method method, ResteasyProviderFactory providerFactory)
           
 
Method Summary
abstract  org.apache.commons.httpclient.HttpMethodBase createBaseMethod(java.lang.String uri)
           
protected  ClientResponse extractClientResponse(org.apache.commons.httpclient.HttpMethodBase baseMethod, int status, java.lang.reflect.Type genericReturnType, java.lang.Class returnType)
           
 java.lang.Object invoke(java.lang.Object[] args)
           
 
Methods inherited from class org.resteasy.ClientInvoker
determineMediaType, setBaseUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientInvoker

public HttpClientInvoker(org.apache.commons.httpclient.HttpClient client,
                         java.lang.Class<?> declaring,
                         java.lang.reflect.Method method,
                         ResteasyProviderFactory providerFactory)
Method Detail

createBaseMethod

public abstract org.apache.commons.httpclient.HttpMethodBase createBaseMethod(java.lang.String uri)

invoke

public java.lang.Object invoke(java.lang.Object[] args)
Specified by:
invoke in class ClientInvoker

extractClientResponse

protected ClientResponse extractClientResponse(org.apache.commons.httpclient.HttpMethodBase baseMethod,
                                               int status,
                                               java.lang.reflect.Type genericReturnType,
                                               java.lang.Class returnType)


Copyright © 2008. All Rights Reserved.