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

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

public class POSTHttpMethodFactory
extends java.lang.Object
implements HttpMethodFactory

HTTP POST Factory.

Author:
tom.fennelly@jboss.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.soa.esb.actions.routing.http.HttpMethodFactory
HttpMethodFactory.Factory
 
Constructor Summary
POSTHttpMethodFactory()
           
 
Method Summary
 org.apache.commons.httpclient.HttpMethodBase getInstance(Message message)
           
 void setConfiguration(ConfigTree config)
          Set the component configuration.
 void setEndpoint(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POSTHttpMethodFactory

public POSTHttpMethodFactory()
Method Detail

setEndpoint

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

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.

getInstance

public org.apache.commons.httpclient.HttpMethodBase getInstance(Message message)
                                                         throws java.io.IOException
Specified by:
getInstance in interface HttpMethodFactory
Throws:
java.io.IOException