org.jboss.soa.esb.actions.routing.http
Class AbstractHttpMethodFactory

java.lang.Object
  extended by org.jboss.soa.esb.actions.routing.http.AbstractHttpMethodFactory
All Implemented Interfaces:
HttpMethodFactory, Configurable
Direct Known Subclasses:
GETHttpMethodFactory, POSTHttpMethodFactory

public abstract class AbstractHttpMethodFactory
extends java.lang.Object
implements HttpMethodFactory

AbstractHttpMethodFactory.

Author:
dward at jboss.org

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.soa.esb.actions.routing.http.HttpMethodFactory
HttpMethodFactory.Factory
 
Field Summary
static java.lang.String RETRY_HANDLER
           
 
Constructor Summary
AbstractHttpMethodFactory()
           
 
Method Summary
protected  java.lang.String getEndpointPathAndQuery()
           
protected  void initialiseRetryHandler(org.apache.commons.httpclient.HttpMethod method)
           
 void setConfiguration(ConfigTree config)
          Set the component configuration.
 void setEndpoint(java.net.URL endpoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.soa.esb.actions.routing.http.HttpMethodFactory
getInstance, getMethod
 

Field Detail

RETRY_HANDLER

public static final java.lang.String RETRY_HANDLER
See Also:
Constant Field Values
Constructor Detail

AbstractHttpMethodFactory

public AbstractHttpMethodFactory()
Method Detail

setEndpoint

public void setEndpoint(java.net.URL endpoint)
Specified by:
setEndpoint in interface HttpMethodFactory

getEndpointPathAndQuery

protected java.lang.String getEndpointPathAndQuery()

setConfiguration

public void setConfiguration(ConfigTree config)
                      throws ConfigurationException
Description copied from interface: Configurable
Set the component configuration.

Specified by:
setConfiguration in interface Configurable
Parameters:
config - The conponent configuration.
Throws:
ConfigurationException - Bad component configuration.

initialiseRetryHandler

protected void initialiseRetryHandler(org.apache.commons.httpclient.HttpMethod method)
                               throws java.io.IOException
Throws:
java.io.IOException