org.apache.camel.component.http
Class HttpEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint<HttpExchange>
org.apache.camel.component.http.HttpEndpoint
- All Implemented Interfaces:
- org.apache.camel.Endpoint<HttpExchange>
public class HttpEndpoint
- extends org.apache.camel.impl.DefaultEndpoint<HttpExchange>
Represents a HTTP endpoint
- Version:
- $Revision: 550760 $
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
convertTo, createExchange, createExecutorService, createPollingConsumer, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString |
HttpEndpoint
protected HttpEndpoint(String uri,
HttpComponent component)
throws URISyntaxException
- Throws:
URISyntaxException
createProducer
public HttpProducer createProducer()
throws Exception
- Throws:
Exception
createConsumer
public org.apache.camel.Consumer<HttpExchange> createConsumer(org.apache.camel.Processor processor)
throws Exception
- Throws:
Exception
createExchange
public HttpExchange createExchange()
createExchange
public HttpExchange createExchange(HttpServletRequest request,
HttpServletResponse response)
getBinding
public HttpBinding getBinding()
setBinding
public void setBinding(HttpBinding binding)
isSingleton
public boolean isSingleton()
connect
public void connect(HttpConsumer consumer)
throws Exception
- Throws:
Exception
disconnect
public void disconnect(HttpConsumer consumer)
throws Exception
- Throws:
Exception
getPath
public String getPath()
getPort
public int getPort()
getProtocol
public String getProtocol()
Copyright © 2007 Apache Software Foundation. All Rights Reserved.