public class RestletComponent
extends org.apache.camel.impl.HeaderFilterStrategyComponent
implements org.apache.camel.spi.RestConsumerFactory
Constructor and Description |
---|
RestletComponent() |
RestletComponent(org.restlet.Component component) |
getHeaderFilterStrategy, setEndpointHeaderFilterStrategy, setHeaderFilterStrategy
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useRawUri, validateParameters, validateURI
public RestletComponent()
public RestletComponent(org.restlet.Component component)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultComponent
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultComponent
Exception
protected boolean useIntrospectionOnEndpoint()
useIntrospectionOnEndpoint
in class org.apache.camel.impl.DefaultComponent
public void connect(RestletConsumer consumer) throws Exception
Exception
public void disconnect(RestletConsumer consumer) throws Exception
Exception
protected org.restlet.Server createServer(RestletEndpoint endpoint)
protected void setupServerWithSSLContext(org.restlet.util.Series<org.restlet.data.Parameter> params, org.apache.camel.util.jsse.SSLContextParameters scp) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
protected void addServerIfNecessary(RestletEndpoint endpoint) throws Exception
Exception
@Deprecated protected String preProcessUri(String uri)
preProcessUri
in class org.apache.camel.impl.DefaultComponent
public Boolean getControllerDaemon()
public void setControllerDaemon(Boolean controllerDaemon)
public Integer getControllerSleepTimeMs()
public void setControllerSleepTimeMs(Integer controllerSleepTimeMs)
public Integer getInboundBufferSize()
public void setInboundBufferSize(Integer inboundBufferSize)
public Integer getMaxConnectionsPerHost()
public void setMaxConnectionsPerHost(Integer maxConnectionsPerHost)
public Integer getMaxThreads()
public void setMaxThreads(Integer maxThreads)
public Integer getLowThreads()
public void setLowThreads(Integer lowThreads)
public Integer getMaxTotalConnections()
public void setMaxTotalConnections(Integer maxTotalConnections)
public Integer getMinThreads()
public void setMinThreads(Integer minThreads)
public Integer getOutboundBufferSize()
public void setOutboundBufferSize(Integer outboundBufferSize)
public Boolean getPersistingConnections()
public void setPersistingConnections(Boolean persistingConnections)
public Boolean getPipeliningConnections()
public void setPipeliningConnections(Boolean pipeliningConnections)
public Integer getThreadMaxIdleTimeMs()
public void setThreadMaxIdleTimeMs(Integer threadMaxIdleTimeMs)
public Boolean getUseForwardedForHeader()
public void setUseForwardedForHeader(Boolean useForwardedForHeader)
public Boolean getReuseAddress()
public void setReuseAddress(Boolean reuseAddress)
public Integer getMaxQueued()
public void setMaxQueued(Integer maxQueued)
public boolean isDisableStreamCache()
public void setDisableStreamCache(boolean disableStreamCache)
public int getPort()
public void setPort(int port)
public Boolean getSynchronous()
public void setSynchronous(Boolean synchronous)
public org.apache.camel.Consumer createConsumer(org.apache.camel.CamelContext camelContext, org.apache.camel.Processor processor, String verb, String basePath, String uriTemplate, String consumes, String produces, Map<String,Object> parameters) throws Exception
createConsumer
in interface org.apache.camel.spi.RestConsumerFactory
Exception
Apache Camel