org.kuali.rice.ksb.messaging.serviceconnectors
Class HttpInvokerConnector

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.serviceconnectors.AbstractServiceConnector
      extended by org.kuali.rice.ksb.messaging.serviceconnectors.HttpInvokerConnector
All Implemented Interfaces:
ServiceConnector

public class HttpInvokerConnector
extends AbstractServiceConnector

Since:
0.9
Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
HttpInvokerConnector(ServiceInfo serviceInfo)
           
 
Method Summary
protected  void configureDefaultHttpClientParams(org.apache.commons.httpclient.params.HttpParams params)
           
 org.apache.commons.httpclient.HttpClient getHttpClient()
          Creates a commons HttpClient for service invocation.
 Object getService()
           
protected  void initializeHttpClientParams()
           
static void shutdownIdleConnectionTimeout()
           
 
Methods inherited from class org.kuali.rice.ksb.messaging.serviceconnectors.AbstractServiceConnector
applyClientPolicy, getCredentialsSource, getServiceInfo, getServiceProxyWithFailureMode, setCredentialsSource, setServiceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpInvokerConnector

public HttpInvokerConnector(ServiceInfo serviceInfo)
Method Detail

getService

public Object getService()
                  throws Exception
Throws:
Exception

getHttpClient

public org.apache.commons.httpclient.HttpClient getHttpClient()
Creates a commons HttpClient for service invocation. Config parameters that start with http.* are used to configure the client. TODO we need to add support for other invocation protocols and implementations, but for now...


initializeHttpClientParams

protected void initializeHttpClientParams()

configureDefaultHttpClientParams

protected void configureDefaultHttpClientParams(org.apache.commons.httpclient.params.HttpParams params)

shutdownIdleConnectionTimeout

public static void shutdownIdleConnectionTimeout()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.