org.apache.camel.component.restlet
Class RestletEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.restlet.RestletEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton, Service, HeaderFilterStrategyAware
public class RestletEndpoint
- extends DefaultEndpoint
- implements HeaderFilterStrategyAware, Service
Represents a endpoint
- Version:
- $Revision: 938760 $
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangeType, hashCode, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString |
RestletEndpoint
public RestletEndpoint(RestletComponent component,
String remaining)
throws Exception
- Throws:
Exception
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface IsSingleton
isLenientProperties
public boolean isLenientProperties()
- Specified by:
isLenientProperties
in interface Endpoint
- Overrides:
isLenientProperties
in class DefaultEndpoint
createConsumer
public Consumer createConsumer(Processor processor)
throws Exception
- Specified by:
createConsumer
in interface Endpoint
- Throws:
Exception
createProducer
public Producer createProducer()
throws Exception
- Specified by:
createProducer
in interface Endpoint
- Throws:
Exception
connect
public void connect(RestletConsumer restletConsumer)
throws Exception
- Throws:
Exception
disconnect
public void disconnect(RestletConsumer restletConsumer)
throws Exception
- Throws:
Exception
getRestletMethod
public org.restlet.data.Method getRestletMethod()
setRestletMethod
public void setRestletMethod(org.restlet.data.Method restletMethod)
getProtocol
public String getProtocol()
setProtocol
public void setProtocol(String protocol)
getHost
public String getHost()
setHost
public void setHost(String host)
getPort
public int getPort()
setPort
public void setPort(int port)
getUriPattern
public String getUriPattern()
setUriPattern
public void setUriPattern(String uriPattern)
getRestletBinding
public RestletBinding getRestletBinding()
setRestletBinding
public void setRestletBinding(RestletBinding restletBinding)
setHeaderFilterStrategy
public void setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
- Specified by:
setHeaderFilterStrategy
in interface HeaderFilterStrategyAware
getHeaderFilterStrategy
public HeaderFilterStrategy getHeaderFilterStrategy()
- Specified by:
getHeaderFilterStrategy
in interface HeaderFilterStrategyAware
setRestletRealm
public void setRestletRealm(Map<String,String> restletRealm)
getRestletRealm
public Map<String,String> getRestletRealm()
getExchangePattern
public ExchangePattern getExchangePattern()
- Overrides:
getExchangePattern
in class DefaultEndpoint
setRestletMethods
public void setRestletMethods(org.restlet.data.Method[] restletMethods)
getRestletMethods
public org.restlet.data.Method[] getRestletMethods()
setRestletUriPatterns
public void setRestletUriPatterns(List<String> restletUriPatterns)
getRestletUriPatterns
public List<String> getRestletUriPatterns()
start
public void start()
throws Exception
- Specified by:
start
in interface Service
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Service
- Throws:
Exception
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.