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(JavaServiceConfiguration serviceConfiguration, URL alternateEndpointUrl)
           
 
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()
           
 JavaServiceConfiguration getServiceConfiguration()
           
protected  void initializeHttpClientParams()
           
static void shutdownIdleConnectionTimeout()
           
 
Methods inherited from class org.kuali.rice.ksb.messaging.serviceconnectors.AbstractServiceConnector
getActualEndpointUrl, getCredentialsSource, getServiceProxyWithFailureMode, setCredentialsSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpInvokerConnector

public HttpInvokerConnector(JavaServiceConfiguration serviceConfiguration,
                            URL alternateEndpointUrl)
Method Detail

getServiceConfiguration

public JavaServiceConfiguration getServiceConfiguration()
Overrides:
getServiceConfiguration in class AbstractServiceConnector

getService

public Object getService()

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 © 2005-2013 The Kuali Foundation. All Rights Reserved.