public class HttpProxyServiceImpl extends Object implements HttpProxyService
| Modifier and Type | Field and Description |
|---|---|
static String |
GENERIC_ENDPOINT_NAME |
static String |
HTTP_PROXY_AUTH_DOMAIN_KEY |
static String |
HTTP_PROXY_AUTH_HOST_KEY |
static String |
HTTP_PROXY_AUTH_METHOD_KEY |
static String |
HTTP_PROXY_AUTH_PASSWORD_KEY |
static String |
HTTP_PROXY_AUTH_USERNAME_KEY |
static String |
HTTP_PROXY_HOST_KEY |
static String |
HTTP_PROXY_KEY |
static String |
HTTP_PROXY_PORT_KEY |
static String |
HTTPS_PROXY_KEY |
static String |
SERVLET_NAME |
static String |
TRUSTSTORE_PASSWORD_VALUE |
static String |
TRUSTSTORE_VALUE_DEFAULT |
| Constructor and Description |
|---|
HttpProxyServiceImpl(org.apache.camel.CamelContext camelContext) |
HttpProxyServiceImpl(org.apache.camel.CamelContext camelContext,
String endpointType) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
start(String targetUri,
Integer timeout)
Creates and starts a proxy given only a target Uri.
|
String |
start(String endpointName,
String targetUri,
Integer timeout)
Creates and starts a proxy given an endpoint name and target Uri.
|
String |
start(String endpointName,
String targetUri,
Integer timeout,
boolean matchOnPrefix,
Object bean) |
void |
stop(String endpointName)
Stops and destroys the proxy.
|
public static final String SERVLET_NAME
public static final String GENERIC_ENDPOINT_NAME
public static final String TRUSTSTORE_VALUE_DEFAULT
public static final String TRUSTSTORE_PASSWORD_VALUE
public static final String HTTP_PROXY_KEY
public static final String HTTPS_PROXY_KEY
public static final String HTTP_PROXY_HOST_KEY
public static final String HTTP_PROXY_PORT_KEY
public static final String HTTP_PROXY_AUTH_METHOD_KEY
public static final String HTTP_PROXY_AUTH_USERNAME_KEY
public static final String HTTP_PROXY_AUTH_PASSWORD_KEY
public static final String HTTP_PROXY_AUTH_DOMAIN_KEY
public static final String HTTP_PROXY_AUTH_HOST_KEY
public HttpProxyServiceImpl(org.apache.camel.CamelContext camelContext,
String endpointType)
public HttpProxyServiceImpl(org.apache.camel.CamelContext camelContext)
public String start(String targetUri, Integer timeout) throws Exception
HttpProxyServicestart in interface HttpProxyServicetimeout - - in millisecondsExceptionpublic String start(String endpointName, String targetUri, Integer timeout) throws Exception
HttpProxyServicestart in interface HttpProxyServicetimeout - - in millisecondsExceptionpublic String start(String endpointName, String targetUri, Integer timeout, boolean matchOnPrefix, Object bean) throws Exception
Exceptionpublic void stop(String endpointName) throws Exception
HttpProxyServicestop in interface HttpProxyServiceExceptionpublic void destroy()
This work is licensed under a Creative Commons Attribution 4.0 International License.