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.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() |
String |
getUriPattern() |
boolean |
isLenientProperties() |
boolean |
isSingleton() |
boolean |
isThrowExceptionOnFailure() |
void |
setConnectTimeout(int connectTimeout) |
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 |
setThrowExceptionOnFailure(boolean throwExceptionOnFailure) |
void |
setUriPattern(String uriPattern) |
protected void |
updateEndpointUri() |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getId, hashCode, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic RestletEndpoint(RestletComponent component, String remaining) throws Exception
Exceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic boolean isLenientProperties()
isLenientProperties in interface org.apache.camel.EndpointisLenientProperties in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic void connect(RestletConsumer restletConsumer) throws Exception
Exceptionpublic void disconnect(RestletConsumer restletConsumer) throws Exception
Exceptionpublic 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.HeaderFilterStrategyAwarepublic org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic org.apache.camel.ExchangePattern getExchangePattern()
getExchangePattern in class org.apache.camel.impl.DefaultEndpointpublic void setRestletMethods(org.restlet.data.Method[] restletMethods)
public org.restlet.data.Method[] getRestletMethods()
public boolean isThrowExceptionOnFailure()
public void setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
protected void updateEndpointUri()
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultEndpointExceptionApache Camel