org.apache.camel.component.restlet
Class RestletComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<Exchange>
org.apache.camel.component.restlet.RestletComponent
- All Implemented Interfaces:
- Component<Exchange>, HeaderFilterStrategyAware, Service
public class RestletComponent
- extends DefaultComponent<Exchange>
- implements HeaderFilterStrategyAware
A Camel component embedded Restlet that produces and consumes exchanges.
- Version:
- $Revision: 743835 $
Methods inherited from class org.apache.camel.impl.DefaultComponent |
convertTo, createEndpoint, createExecutorService, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint, validateURI |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestletComponent
public RestletComponent()
createEndpoint
protected Endpoint createEndpoint(String uri,
String remaining,
Map parameters)
throws Exception
- Specified by:
createEndpoint
in class DefaultComponent<Exchange>
- Throws:
Exception
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class DefaultComponent<Exchange>
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop
in class DefaultComponent<Exchange>
- Throws:
Exception
getHeaderFilterStrategy
public HeaderFilterStrategy getHeaderFilterStrategy()
- Specified by:
getHeaderFilterStrategy
in interface HeaderFilterStrategyAware
setHeaderFilterStrategy
public void setHeaderFilterStrategy(HeaderFilterStrategy strategy)
- Specified by:
setHeaderFilterStrategy
in interface HeaderFilterStrategyAware
connect
public void connect(RestletConsumer consumer)
throws Exception
- Throws:
Exception
disconnect
public void disconnect(RestletConsumer consumer)
throws Exception
- Throws:
Exception
Copyright © 2009 Apache Software Foundation. All Rights Reserved.