public final class CustomWrapperInputParameterHttpRouteValue extends CustomWrapperInputParameterRouteValue
CustomWrapperInputParameter of
HTTP route type.| Modifier and Type | Class and Description |
|---|---|
static class |
CustomWrapperInputParameterHttpRouteValue.AUTHENTICATION
Enumeration of the authentication methods a
CustomWrapperInputParameter of type HTTP
route can use. |
route| Constructor and Description |
|---|
CustomWrapperInputParameterHttpRouteValue(String name,
com.denodo.parser.connection.HTTPRoute httpRoute) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getHeaders()
Returns the map with the HTTP headers used in the HTTP route.
|
CustomWrapperInputParameterHttpRouteValue.AUTHENTICATION |
getHttpAuthentication()
Returns the authentication used in the HTTP server.
|
String |
getHttpDomain()
Returns the domain used for authentication in the HTTP server.
|
String |
getHttpPassword()
Returns the password used for authentication in the HTTP server.
|
String |
getHttpUser()
Returns the login used for authentication in the HTTP server.
|
CustomWrapperInputParameterMutualAuthentication |
getMutualAuthentication()
Returns the Mutual authentication credentials in the HTTP route.
|
CustomWrapperInputParameterOAuth10aAuthentication |
getOAuth10aAuthentication()
Returns the OAuth 1.0a credentials in the HTTP route.
|
CustomWrapperInputParameterOAuth20Authentication |
getOAuth20Authentication()
Returns the OAuth 2.0 credentials in the HTTP route.
|
String |
getPostBody()
Returns the POST body used in the HTTP route.
|
String |
getPostBodyMime()
Returns the MIME of the POST body used in the HTTP route.
|
String |
getProxyHost()
Returns the host of the proxy used in the HTTP route.
|
String |
getProxyPassword()
Returns the password used for authentication in the proxy of the HTTP
route.
|
int |
getProxyPort()
Returns the port of the proxy used in the HTTP route.
|
String |
getProxyUser()
Returns the user used for authentication in the proxy of the HTTP route.
|
String |
getURL()
Returns the HTTP URL.
|
void |
setHeaders(Map<String,String> headers)
Sets the map with the HTTP headers used in the HTTP route.
|
void |
setHttpAuthentication(String user,
String password,
String domain,
CustomWrapperInputParameterHttpRouteValue.AUTHENTICATION authentication,
boolean useSpnegoToken)
Sets the authentication used in the HTTP server.
|
void |
setMutualAuthentication(CustomWrapperInputParameterMutualAuthentication mutualAuthentication)
Sets the Mutual TLS credentials in the HTTP route.
|
void |
setOAuth10aAuthentication(CustomWrapperInputParameterOAuth10aAuthentication oAuth10aAuthentication)
Sets the OAuth 1.0a credentials in the HTTP route.
|
void |
setOAuth20Authentication(CustomWrapperInputParameterOAuth20Authentication oAuth20Authentication)
Sets the OAuth 2.0 credentials in the HTTP route.
|
void |
setPostBody(String postBody)
Returns the POST body used in the HTTP route.
|
void |
setPostBodyMime(String postBodyMime)
Sets the MIME of the POST body used in the HTTP route.
|
void |
setProxyAuthentication(String user,
String password)
Sets the authentication used in the proxy of the HTTP route
|
void |
setProxyConfiguration(String host,
int port)
Sets the proxy configuration in the HTTP route
|
void |
setURL(String url)
Sets the HTTP URL.
|
getInputStream, getRoute, getRouteType, getValue, toStringgetNamepublic CustomWrapperInputParameterHttpRouteValue(String name, com.denodo.parser.connection.HTTPRoute httpRoute)
public String getURL()
public void setURL(String url)
url - the HTTP URL.public String getHttpUser()
public String getHttpPassword()
public String getHttpDomain()
public CustomWrapperInputParameterHttpRouteValue.AUTHENTICATION getHttpAuthentication()
public void setHttpAuthentication(String user, String password, String domain, CustomWrapperInputParameterHttpRouteValue.AUTHENTICATION authentication, boolean useSpnegoToken)
user - the login used for authentication in the HTTP server.password - the password used for authentication in the HTTP server.domain - the domain used for authentication in the HTTP server.authentication - the authentication type in the HTTP serverpublic Map<String,String> getHeaders()
public void setHeaders(Map<String,String> headers)
headers - the map with the HTTP headers used in the HTTP route.public String getProxyHost()
public int getProxyPort()
public void setProxyConfiguration(String host, int port)
host - the host of the proxy used in the HTTP route.port - the port of the proxy used in the HTTP route.public String getProxyUser()
public String getProxyPassword()
public void setProxyAuthentication(String user, String password)
user - the user used for authentication in the proxy of the HTTP
route.password - the password used for authentication in the proxy of the HTTP
route.public String getPostBody()
public void setPostBody(String postBody)
postBody - the POST body used in the HTTP route.public String getPostBodyMime()
public void setPostBodyMime(String postBodyMime)
postBodyMime - the MIME of the POST body used in the HTTP route.public CustomWrapperInputParameterOAuth10aAuthentication getOAuth10aAuthentication()
null if OAuth 1.0a credentials are not specified.public void setOAuth10aAuthentication(CustomWrapperInputParameterOAuth10aAuthentication oAuth10aAuthentication)
oAuth10aAuthentication - OAuth 1.0a credentials.public CustomWrapperInputParameterOAuth20Authentication getOAuth20Authentication()
null if OAuth 2.0 credentials are not specified.public void setOAuth20Authentication(CustomWrapperInputParameterOAuth20Authentication oAuth20Authentication)
oAuth20Authentication - OAuth 2.0 credentials.public CustomWrapperInputParameterMutualAuthentication getMutualAuthentication()
null if Mutual TLS credentials are not specified.public void setMutualAuthentication(CustomWrapperInputParameterMutualAuthentication mutualAuthentication)
mutualAuthentication - Mutual TLS credentials.Copyright © 2024 Denodo Technologies. All rights reserved.