org.apache.camel.component.http
Class HttpProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer<HttpExchange>
org.apache.camel.component.http.HttpProducer
- All Implemented Interfaces:
- org.apache.camel.Processor, org.apache.camel.Producer<HttpExchange>, org.apache.camel.Service
public class HttpProducer
- extends org.apache.camel.impl.DefaultProducer<HttpExchange>
- implements org.apache.camel.Producer<HttpExchange>
- Version:
- $Revision: 1.1 $
Methods inherited from class org.apache.camel.impl.DefaultProducer |
createExchange, createExchange, doStart, doStop, getEndpoint |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
isStarted, isStopped, isStopping, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.camel.Producer |
createExchange, createExchange, getEndpoint |
Methods inherited from interface org.apache.camel.Service |
start, stop |
HttpProducer
public HttpProducer(HttpEndpoint endpoint)
process
public void process(org.apache.camel.Exchange exchange)
throws Exception
- Specified by:
process
in interface org.apache.camel.Processor
- Throws:
Exception
createMethod
protected HttpMethod createMethod(org.apache.camel.Exchange exchange)
createRequestEntity
protected RequestEntity createRequestEntity(org.apache.camel.Exchange exchange)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.