@UriEndpoint(firstVersion="3.4.0",
scheme="resteasy",
extendsScheme="http",
title="Resteasy",
syntax="resteasy:httpUri",
category=REST)
@Metadata(excludeProperties="clientConnectionManager,connectionsPerRoute,connectionTimeToLive,httpBinding,httpClientConfigurer,httpConfiguration,httpContext,httpRegistry,maxTotalConnections,connectionRequestTimeout,connectTimeout,socketTimeout,cookieStore,x509HostnameVerifier,sslContextParameters,clientBuilder,httpClient,httpClientOptions,proxyHost,proxyMethod,proxyPort,authDomain,authenticationPreemptive,authHost,authMethod,authMethodPriority,authPassword,authUsername,basicAuth,proxyAuthScheme,proxyAuthMethod,proxyAuthUsername,proxyAuthPassword,proxyAuthHost,proxyAuthPort,proxyAuthDomain,proxyAuthNtHost")
public class ResteasyEndpoint
extends org.apache.camel.component.http.HttpEndpoint
| Constructor and Description |
|---|
ResteasyEndpoint(String endPointURI,
ResteasyComponent component,
URI httpUri) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildUri()
Building the final URI from endpoint, which will be used in the Camel-Resteasy producer for Resteasy client.
|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
Boolean |
getBasicAuth() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getProtocol() |
String |
getProxyClientClass() |
String |
getProxyMethod() |
String |
getResteasyMethod() |
String |
getServletName() |
Boolean |
getSetHttpResponseDuringProcessing() |
Boolean |
getSkipServletProcessing() |
String |
getUriPattern() |
String |
getUsername() |
void |
setBasicAuth(Boolean basicAuth)
Sets the flag to basicAuth on endpoint
|
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
void |
setHost(String host)
Sets the host
|
void |
setPassword(String password)
Sets the password
|
void |
setPort(int port)
Sets the port
|
void |
setProtocol(String protocol)
Sets the protocol
|
void |
setProxyClientClass(String proxyClientClass)
Sets the resteasy proxyClientClass
|
void |
setProxyMethod(String proxyMethod)
Sets the proxy method defined in an interface
|
void |
setResteasyMethod(String resteasyMethod)
Sets the resteasy method to process the request
|
void |
setServletName(String servletName)
Sets the servlet name
|
void |
setSetHttpResponseDuringProcessing(Boolean setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use
request itself which may be thought as if it is a proxy.
|
void |
setSkipServletProcessing(Boolean skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing
|
void |
setUriPattern(String uriPattern)
Sets the uriPattern
|
void |
setUsername(String username)
Sets the username
|
createHttpClient, createPollingConsumer, doStop, getClientBuilder, getClientConnectionManager, getClientConnectionsPoolStatsAvailable, getClientConnectionsPoolStatsLeased, getClientConnectionsPoolStatsMax, getClientConnectionsPoolStatsPending, getComponent, getConnectionRequestTimeout, getConnectionsPerRoute, getConnectTimeout, getCookieStore, getCustomHostHeader, getHttpClient, getHttpClientConfigurer, getHttpClientOptions, getHttpContext, getMaxTotalConnections, getSocketTimeout, getSslContextParameters, getX509HostnameVerifier, isAuthenticationPreemptive, isClearExpiredCookies, isDeleteWithBody, isGetWithBody, isSkipRequestHeaders, isSkipResponseHeaders, isUseSystemProperties, setAuthenticationPreemptive, setClearExpiredCookies, setClientBuilder, setClientConnectionManager, setConnectionRequestTimeout, setConnectionsPerRoute, setConnectTimeout, setCookieHandler, setCookieStore, setCustomHostHeader, setDeleteWithBody, setGetWithBody, setHttpClient, setHttpClientConfigurer, setHttpClientOptions, setHttpContext, setMaxTotalConnections, setSkipRequestHeaders, setSkipResponseHeaders, setSocketTimeout, setSslContextParameters, setUseSystemProperties, setX509HostnameVerifiercanConnect, connect, disconnect, getAuthDomain, getAuthHost, getAuthMethod, getAuthMethodPriority, getAuthPassword, getAuthUsername, getBinding, getCookieHandler, getHttpBinding, getHttpMethod, getHttpMethodRestrict, getHttpUri, getOkStatusCodeRange, getPath, getProxyAuthDomain, getProxyAuthHost, getProxyAuthMethod, getProxyAuthNtHost, getProxyAuthPassword, getProxyAuthPort, getProxyAuthScheme, getProxyAuthUsername, getProxyHost, getProxyPort, getResponseBufferSize, getServiceProperties, isAsync, isBridgeEndpoint, isChunked, isConnectionClose, isCopyHeaders, isDisableStreamCache, isEagerCheckContentAvailable, isIgnoreResponseBody, isLenientProperties, isMapHttpMessageBody, isMapHttpMessageFormUrlEncodedBody, isMapHttpMessageHeaders, isMatchOnUriPrefix, isMuteException, isOptionsEnabled, isPreserveHostHeader, isThrowExceptionOnFailure, isTraceEnabled, isTransferException, setAsync, setAuthDomain, setAuthHost, setAuthMethod, setAuthMethodPriority, setAuthPassword, setAuthUsername, setBinding, setBridgeEndpoint, setChunked, setConnectionClose, setCopyHeaders, setDisableStreamCache, setEagerCheckContentAvailable, setHttpBinding, setHttpMethod, setHttpMethodRestrict, setHttpUri, setIgnoreResponseBody, setMapHttpMessageBody, setMapHttpMessageFormUrlEncodedBody, setMapHttpMessageHeaders, setMatchOnUriPrefix, setMuteException, setOkStatusCodeRange, setOptionsEnabled, setPreserveHostHeader, setProxyAuthDomain, setProxyAuthHost, setProxyAuthMethod, setProxyAuthNtHost, setProxyAuthPassword, setProxyAuthPort, setProxyAuthScheme, setProxyAuthUsername, setProxyHost, setProxyPort, setResponseBufferSize, setThrowExceptionOnFailure, setTraceEnabled, setTransferExceptionconfigureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, doInit, doStart, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ResteasyEndpoint(String endPointURI, ResteasyComponent component, URI httpUri) throws URISyntaxException
URISyntaxExceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointcreateProducer in class org.apache.camel.component.http.HttpEndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointcreateConsumer in class org.apache.camel.component.http.HttpEndpointExceptionpublic org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwaregetHeaderFilterStrategy in class org.apache.camel.http.common.HttpCommonEndpointpublic void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
setHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwaresetHeaderFilterStrategy in class org.apache.camel.http.common.HttpCommonEndpointpublic String getProxyMethod()
public void setProxyMethod(String proxyMethod)
public Boolean getSetHttpResponseDuringProcessing()
public void setSetHttpResponseDuringProcessing(Boolean setHttpResponseDuringProcessing)
public Boolean getSkipServletProcessing()
public void setSkipServletProcessing(Boolean skipServletProcessing)
public String getProxyClientClass()
public void setProxyClientClass(String proxyClientClass)
public String getServletName()
public void setServletName(String servletName)
public String getResteasyMethod()
public void setResteasyMethod(String resteasyMethod)
public String getProtocol()
getProtocol in class org.apache.camel.http.common.HttpCommonEndpointpublic void setProtocol(String protocol)
public String getHost()
public void setHost(String host)
public int getPort()
getPort in class org.apache.camel.http.common.HttpCommonEndpointpublic void setPort(int port)
public String getUriPattern()
public void setUriPattern(String uriPattern)
public Boolean getBasicAuth()
public void setBasicAuth(Boolean basicAuth)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
protected String buildUri()
Apache Camel