org.apache.camel.component.cxf.jaxrs
Class CxfRsEndpoint
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.spi.HeaderFilterStrategyAware
- Direct Known Subclasses:
- CxfRsSpringEndpoint
public class CxfRsEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
- implements org.apache.camel.spi.HeaderFilterStrategyAware
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isSynchronous, sanitizeUri, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from interface org.apache.camel.Service |
start, stop |
CxfRsEndpoint
public CxfRsEndpoint(String endpointUri,
org.apache.camel.CamelContext camelContext)
CxfRsEndpoint
public CxfRsEndpoint(String endpointUri,
org.apache.camel.Component component)
updateEndpointUri
protected void updateEndpointUri(String endpointUri)
setParameters
public void setParameters(Map<String,String> param)
getParameters
public Map<String,String> getParameters()
setHttpClientAPI
public void setHttpClientAPI(boolean clientAPI)
isHttpClientAPI
public boolean isHttpClientAPI()
isLenientProperties
public boolean isLenientProperties()
- Specified by:
isLenientProperties in interface org.apache.camel.Endpoint- Overrides:
isLenientProperties in class org.apache.camel.impl.DefaultEndpoint
getHeaderFilterStrategy
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
- Specified by:
getHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAware
setHeaderFilterStrategy
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy)
- Specified by:
setHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAware
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Specified by:
createConsumer in interface org.apache.camel.Endpoint
- Throws:
Exception
createProducer
public org.apache.camel.Producer createProducer()
throws Exception
- Specified by:
createProducer in interface org.apache.camel.Endpoint
- Throws:
Exception
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.apache.camel.IsSingleton
setBinding
public void setBinding(CxfRsBinding binding)
getBinding
public CxfRsBinding getBinding()
setupJAXRSServerFactoryBean
protected void setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)
setupJAXRSClientFactoryBean
protected void setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb,
String address)
createJAXRSServerFactoryBean
public org.apache.cxf.jaxrs.JAXRSServerFactoryBean createJAXRSServerFactoryBean()
createJAXRSClientFactoryBean
public org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean createJAXRSClientFactoryBean()
createJAXRSClientFactoryBean
public org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean createJAXRSClientFactoryBean(String address)
getResourceClasses
public List<Class<?>> getResourceClasses()
setResourceClasses
public void setResourceClasses(List<Class<?>> classes)
setResourceClasses
public void setResourceClasses(Class<?>... classes)
setAddress
public void setAddress(String address)
getAddress
public String getAddress()
isThrowExceptionOnFailure
public boolean isThrowExceptionOnFailure()
setThrowExceptionOnFailure
public void setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
setMaxClientCacheSize
public void setMaxClientCacheSize(int maxClientCacheSize)
- Parameters:
maxClientCacheSize - the maxClientCacheSize to set
getMaxClientCacheSize
public int getMaxClientCacheSize()
- Returns:
- the maxClientCacheSize
Apache CAMEL