@UriParams public class VertxHttpConfiguration extends Object
| Constructor and Description |
|---|
VertxHttpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBasicAuthPassword() |
String |
getBasicAuthUsername() |
String |
getBearerToken() |
int |
getConnectTimeout() |
io.vertx.ext.web.client.spi.CookieStore |
getCookieStore() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
io.vertx.core.http.HttpMethod |
getHttpMethod() |
URI |
getHttpUri() |
String |
getOkStatusCodeRange() |
String |
getProxyHost() |
String |
getProxyPassword() |
Integer |
getProxyPort() |
io.vertx.core.net.ProxyType |
getProxyType() |
String |
getProxyUsername() |
org.apache.camel.support.jsse.SSLContextParameters |
getSslContextParameters()
To configure security using SSLContextParameters
|
long |
getTimeout() |
VertxHttpBinding |
getVertxHttpBinding() |
io.vertx.ext.web.client.WebClientOptions |
getWebClientOptions() |
boolean |
isSessionManagement() |
boolean |
isThrowExceptionOnFailure() |
boolean |
isTransferException() |
boolean |
isUseCompression() |
void |
setBasicAuthPassword(String basicAuthPassword)
The password to use for basic authentication
|
void |
setBasicAuthUsername(String basicAuthUsername)
The user name to use for basic authentication
|
void |
setBearerToken(String bearerToken)
The bearer token to use for bearer token authentication
|
void |
setConnectTimeout(int connectTimeout)
The amount of time in milliseconds until a connection is established.
|
void |
setCookieStore(io.vertx.ext.web.client.spi.CookieStore cookieStore)
A custom CookieStore to use when session management is enabled.
|
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
A custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message.
|
void |
setHttpMethod(io.vertx.core.http.HttpMethod httpMethod)
The HTTP method to use.
|
void |
setHttpUri(URI httpUri)
The HTTP URI to connect to
|
void |
setOkStatusCodeRange(String okStatusCodeRange)
The status codes which are considered a success response.
|
void |
setProxyHost(String proxyHost)
The proxy server host address
|
void |
setProxyPassword(String proxyPassword)
The proxy server password if authentication is required
|
void |
setProxyPort(Integer proxyPort)
The proxy server port
|
void |
setProxyType(io.vertx.core.net.ProxyType proxyType)
The proxy server type
|
void |
setProxyUsername(String proxyUsername)
The proxy server username if authentication is required
|
void |
setSessionManagement(boolean sessionManagement)
Enables session management via WebClientSession.
|
void |
setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) |
void |
setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
Disable throwing HttpOperationFailedException in case of failed responses from the remote server
|
void |
setTimeout(long timeout)
The amount of time in milliseconds after which if the request does not return any data within the timeout period
a TimeoutException fails the request.
|
void |
setTransferException(boolean transferException)
If enabled and an Exchange failed processing on the consumer side, and if the caused Exception was sent back
serialized in the response as a application/x-java-serialized-object content type.
|
void |
setUseCompression(boolean useCompression)
Set whether compression is enabled to handled compressed (E.g gzipped) responses
|
void |
setVertxHttpBinding(VertxHttpBinding vertxHttpBinding)
A custom VertxHttpBinding which can control how to bind between Vert.x and Camel.
|
void |
setWebClientOptions(io.vertx.ext.web.client.WebClientOptions webClientOptions)
Sets customized options for configuring the Vert.x WebClient
|
public void setHttpUri(URI httpUri)
public URI getHttpUri()
public void setHttpMethod(io.vertx.core.http.HttpMethod httpMethod)
public io.vertx.core.http.HttpMethod getHttpMethod()
public void setTimeout(long timeout)
public long getTimeout()
public void setConnectTimeout(int connectTimeout)
public int getConnectTimeout()
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
public void setVertxHttpBinding(VertxHttpBinding vertxHttpBinding)
public VertxHttpBinding getVertxHttpBinding()
public void setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
public boolean isThrowExceptionOnFailure()
public void setTransferException(boolean transferException)
public boolean isTransferException()
public void setOkStatusCodeRange(String okStatusCodeRange)
public String getOkStatusCodeRange()
public void setSessionManagement(boolean sessionManagement)
public boolean isSessionManagement()
public void setCookieStore(io.vertx.ext.web.client.spi.CookieStore cookieStore)
public io.vertx.ext.web.client.spi.CookieStore getCookieStore()
public void setUseCompression(boolean useCompression)
public boolean isUseCompression()
public void setBasicAuthUsername(String basicAuthUsername)
public String getBasicAuthUsername()
public void setBasicAuthPassword(String basicAuthPassword)
public String getBasicAuthPassword()
public void setBearerToken(String bearerToken)
public String getBearerToken()
public void setProxyHost(String proxyHost)
public String getProxyHost()
public void setProxyPort(Integer proxyPort)
public Integer getProxyPort()
public void setProxyUsername(String proxyUsername)
public String getProxyUsername()
public void setProxyPassword(String proxyPassword)
public String getProxyPassword()
public void setProxyType(io.vertx.core.net.ProxyType proxyType)
public io.vertx.core.net.ProxyType getProxyType()
public void setWebClientOptions(io.vertx.ext.web.client.WebClientOptions webClientOptions)
public io.vertx.ext.web.client.WebClientOptions getWebClientOptions()
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
Apache Camel