@UriEndpoint(scheme="restlet", syntax="restlet:protocol:host:port/uriPattern", consumerClass=RestletConsumer.class, label="http,rest") public class RestletEndpoint extends org.apache.camel.impl.DefaultEndpoint implements org.apache.camel.spi.HeaderFilterStrategyAware
Constructor and Description |
---|
RestletEndpoint(RestletComponent component,
String remaining) |
Modifier and Type | Method and Description |
---|---|
void |
connect(RestletConsumer restletConsumer) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Exchange |
createExchange() |
org.apache.camel.Producer |
createProducer() |
void |
disconnect(RestletConsumer restletConsumer) |
protected void |
doStart() |
protected void |
doStop() |
int |
getConnectTimeout() |
org.apache.camel.ExchangePattern |
getExchangePattern() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
String |
getHost() |
int |
getPort() |
String |
getProtocol() |
RestletBinding |
getRestletBinding() |
org.restlet.data.Method |
getRestletMethod() |
org.restlet.data.Method[] |
getRestletMethods() |
Map<String,String> |
getRestletRealm() |
List<String> |
getRestletUriPatterns() |
int |
getSocketTimeout() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
String |
getUriPattern() |
boolean |
isDisableStreamCache() |
boolean |
isLenientProperties() |
boolean |
isSingleton() |
boolean |
isThrowExceptionOnFailure() |
void |
setConnectTimeout(int connectTimeout) |
void |
setDisableStreamCache(boolean disableStreamCache) |
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
void |
setRestletBinding(RestletBinding restletBinding) |
void |
setRestletMethod(org.restlet.data.Method restletMethod) |
void |
setRestletMethods(org.restlet.data.Method[] restletMethods) |
void |
setRestletRealm(Map<String,String> restletRealm) |
void |
setRestletUriPatterns(List<String> restletUriPatterns) |
void |
setSocketTimeout(int socketTimeout) |
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters scp) |
void |
setThrowExceptionOnFailure(boolean throwExceptionOnFailure) |
void |
setUriPattern(String uriPattern) |
protected void |
updateEndpointUri() |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getId, getPollingConsumerQueueSize, hashCode, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public RestletEndpoint(RestletComponent component, String remaining) throws Exception
Exception
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public boolean isLenientProperties()
isLenientProperties
in interface org.apache.camel.Endpoint
isLenientProperties
in class org.apache.camel.impl.DefaultEndpoint
public org.apache.camel.Exchange createExchange()
createExchange
in interface org.apache.camel.Endpoint
createExchange
in class org.apache.camel.impl.DefaultEndpoint
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer
in interface org.apache.camel.Endpoint
Exception
public org.apache.camel.Producer createProducer() throws Exception
createProducer
in interface org.apache.camel.Endpoint
Exception
public void connect(RestletConsumer restletConsumer) throws Exception
Exception
public void disconnect(RestletConsumer restletConsumer) throws Exception
Exception
public org.restlet.data.Method getRestletMethod()
public void setRestletMethod(org.restlet.data.Method restletMethod)
public String getProtocol()
public void setProtocol(String protocol)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public int getSocketTimeout()
public void setSocketTimeout(int socketTimeout)
public int getConnectTimeout()
public void setConnectTimeout(int connectTimeout)
public String getUriPattern()
public void setUriPattern(String uriPattern)
public RestletBinding getRestletBinding()
public void setRestletBinding(RestletBinding restletBinding)
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
setHeaderFilterStrategy
in interface org.apache.camel.spi.HeaderFilterStrategyAware
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy
in interface org.apache.camel.spi.HeaderFilterStrategyAware
public org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern
in class org.apache.camel.impl.DefaultEndpoint
public void setRestletMethods(org.restlet.data.Method[] restletMethods)
public org.restlet.data.Method[] getRestletMethods()
public boolean isThrowExceptionOnFailure()
public void setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
public boolean isDisableStreamCache()
public void setDisableStreamCache(boolean disableStreamCache)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters scp)
protected void updateEndpointUri()
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultEndpoint
Exception
Apache Camel