|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
public class CxfRsEndpoint
| Constructor Summary | |
|---|---|
CxfRsEndpoint(String endpointUri,
CamelContext camelContext)
|
|
CxfRsEndpoint(String endpointUri,
Component component)
|
|
| Method Summary | |
|---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean |
createJAXRSClientFactoryBean()
|
org.apache.cxf.jaxrs.JAXRSServerFactoryBean |
createJAXRSServerFactoryBean()
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint |
CxfRsBinding |
getBinding()
|
HeaderFilterStrategy |
getHeaderFilterStrategy()
Gets the header filter strategy used |
Map<String,String> |
getParameters()
|
List<Class<?>> |
getResourceClasses()
|
boolean |
isHttpClientAPI()
|
boolean |
isLenientProperties()
Should all properties be known or does the endpoint allow unknown options? lenient = false means that the endpoint should validate that all given options is known and configured properly. |
boolean |
isSingleton()
Wheter this class supports being singleton or not. |
void |
setBinding(CxfRsBinding binding)
|
void |
setHeaderFilterStrategy(HeaderFilterStrategy strategy)
Sets the header filter strategy to use |
void |
setHttpClientAPI(boolean clientAPI)
|
void |
setParameters(Map<String,String> param)
|
void |
setResourceClasses(Class<?>... classes)
|
void |
setResourceClasses(List<Class<?>> classes)
|
protected void |
setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb)
|
protected void |
setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CxfRsEndpoint(String endpointUri,
CamelContext camelContext)
public CxfRsEndpoint(String endpointUri,
Component component)
| Method Detail |
|---|
public void setParameters(Map<String,String> param)
public Map<String,String> getParameters()
public void setHttpClientAPI(boolean clientAPI)
public boolean isHttpClientAPI()
public boolean isLenientProperties()
Endpoint
isLenientProperties in interface EndpointisLenientProperties in class DefaultEndpointpublic HeaderFilterStrategy getHeaderFilterStrategy()
HeaderFilterStrategyAware
getHeaderFilterStrategy in interface HeaderFilterStrategyAwarepublic void setHeaderFilterStrategy(HeaderFilterStrategy strategy)
HeaderFilterStrategyAware
setHeaderFilterStrategy in interface HeaderFilterStrategyAwarestrategy - the strategy
public Consumer createConsumer(Processor processor)
throws Exception
Endpoint
createConsumer in interface Endpointprocessor - the given processor
Exception - can be thrown
public Producer createProducer()
throws Exception
Endpoint
createProducer in interface EndpointException - can be thrownpublic boolean isSingleton()
IsSingleton
isSingleton in interface IsSingletonpublic void setBinding(CxfRsBinding binding)
public CxfRsBinding getBinding()
protected void setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)
protected void setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb)
public org.apache.cxf.jaxrs.JAXRSServerFactoryBean createJAXRSServerFactoryBean()
public org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean createJAXRSClientFactoryBean()
public List<Class<?>> getResourceClasses()
public void setResourceClasses(List<Class<?>> classes)
public void setResourceClasses(Class<?>... classes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||