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, HeaderFilterStrategyAware
public class RestletEndpoint
- extends DefaultEndpoint
- implements HeaderFilterStrategyAware
Represents a endpoint
- Version:
- $Revision: 799322 $
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, 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)
- Parameters:
restletMethods
- the restletMethods to set
getRestletMethods
public org.restlet.data.Method[] getRestletMethods()
- Returns:
- the restletMethods
setRestletUriPatterns
public void setRestletUriPatterns(List<String> restletUriPatterns)
- Parameters:
restletUriPatterns
- the restletUriPatterns to set
getRestletUriPatterns
public List<String> getRestletUriPatterns()
- Returns:
- the restletUriPatterns
Apache CAMEL