Class CustomWrapperInputParameterHttpRouteValue


public final class CustomWrapperInputParameterHttpRouteValue extends CustomWrapperInputParameterRouteValue
Defines the actual value returned by a CustomWrapperInputParameter of HTTP route type.
  • Constructor Details

    • CustomWrapperInputParameterHttpRouteValue

      public CustomWrapperInputParameterHttpRouteValue(String name, com.denodo.parser.connection.HTTPRoute httpRoute)
  • Method Details

    • getURL

      public String getURL()
      Returns the HTTP URL.
      Returns:
      the HTTP URL.
    • setURL

      public void setURL(String url)
      Sets the HTTP URL.
      Parameters:
      url - the HTTP URL.
    • resetToOriginalURL

      public void resetToOriginalURL()
      Sets the HTTP original URL endpoint.
    • setHTTPMethod

      public void setHTTPMethod(CustomWrapperInputParameterHttpRouteValue.HttpMethod httpMethod)
    • resetToOriginalHTTPMethod

      public void resetToOriginalHTTPMethod()
    • getHttpUser

      public String getHttpUser()
      Returns the login used for authentication in the HTTP server.
      Returns:
      the login used for authentication in the HTTP server.
    • getHttpPassword

      public String getHttpPassword()
      Returns the password used for authentication in the HTTP server.
      Returns:
      the password used for authentication in the HTTP server.
    • getHttpDomain

      public String getHttpDomain()
      Returns the domain used for authentication in the HTTP server.
      Returns:
      the domain used for authentication in the HTTP server.
    • getHttpAuthentication

      Returns the authentication used in the HTTP server.
      Returns:
      the authentication used in the HTTP server.
    • setHttpAuthentication

      public void setHttpAuthentication(String user, String password, String domain, CustomWrapperInputParameterHttpRouteValue.AUTHENTICATION authentication, boolean useSpnegoToken)
      Sets the authentication used in the HTTP server.
      Parameters:
      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 server
    • getHeaders

      public Map<String,String> getHeaders()
      Returns the map with the HTTP headers used in the HTTP route.
      Returns:
      the map with the HTTP headers used in the HTTP route.
    • setHeaders

      public void setHeaders(Map<String,String> headers)
      Sets the map with the HTTP headers used in the HTTP route.
      Parameters:
      headers - the map with the HTTP headers used in the HTTP route.
    • getProxyHost

      public String getProxyHost()
      Returns the host of the proxy used in the HTTP route.
      Returns:
      the host of the proxy used in the HTTP route.
    • getProxyPort

      public int getProxyPort()
      Returns the port of the proxy used in the HTTP route.
      Returns:
      the port of the proxy used in the HTTP route.
    • setProxyConfiguration

      public void setProxyConfiguration(String host, int port)
      Sets the proxy configuration in the HTTP route
      Parameters:
      host - the host of the proxy used in the HTTP route.
      port - the port of the proxy used in the HTTP route.
    • getProxyUser

      public String getProxyUser()
      Returns the user used for authentication in the proxy of the HTTP route.
      Returns:
      the user used for authentication in the proxy of the HTTP route.
    • getProxyPassword

      public String getProxyPassword()
      Returns the password used for authentication in the proxy of the HTTP route.
      Returns:
      the password used for authentication in the proxy of the HTTP route.
    • setProxyAuthentication

      public void setProxyAuthentication(String user, String password)
      Sets the authentication used in the proxy of the HTTP route
      Parameters:
      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.
    • getPostBody

      public String getPostBody()
      Returns the POST body used in the HTTP route.
      Returns:
      the POST body used in the HTTP route.
    • setPostBody

      public void setPostBody(String postBody)
      Returns the POST body used in the HTTP route.
      Parameters:
      postBody - the POST body used in the HTTP route.
    • getPostBodyMime

      public String getPostBodyMime()
      Returns the MIME of the POST body used in the HTTP route.
      Returns:
      the MIME of the POST body used in the HTTP route.
    • setPostBodyMime

      public void setPostBodyMime(String postBodyMime)
      Sets the MIME of the POST body used in the HTTP route.
      Parameters:
      postBodyMime - the MIME of the POST body used in the HTTP route.
    • setBodyFormParameters

      public void setBodyFormParameters(List<com.denodo.util.Pair<String,String>> formParameters)
    • getBodyFormParameters

      public List<com.denodo.util.Pair<String,String>> getBodyFormParameters()
    • getOAuth10aAuthentication

      public CustomWrapperInputParameterOAuth10aAuthentication getOAuth10aAuthentication()
      Returns the OAuth 1.0a credentials in the HTTP route.
      Returns:
      OAuth 1.0a credentials or null if OAuth 1.0a credentials are not specified.
    • setOAuth10aAuthentication

      public void setOAuth10aAuthentication(CustomWrapperInputParameterOAuth10aAuthentication oAuth10aAuthentication)
      Sets the OAuth 1.0a credentials in the HTTP route.
      Parameters:
      oAuth10aAuthentication - OAuth 1.0a credentials.
    • getOAuth20Authentication

      public CustomWrapperInputParameterOAuth20Authentication getOAuth20Authentication()
      Returns the OAuth 2.0 credentials in the HTTP route.
      Returns:
      The OAuth 2.0 credentials or null if OAuth 2.0 credentials are not specified.
    • setOAuth20Authentication

      public void setOAuth20Authentication(CustomWrapperInputParameterOAuth20Authentication oAuth20Authentication)
      Sets the OAuth 2.0 credentials in the HTTP route.
      Parameters:
      oAuth20Authentication - OAuth 2.0 credentials.
    • getMutualAuthentication

      public CustomWrapperInputParameterMutualAuthentication getMutualAuthentication()
      Returns the Mutual authentication credentials in the HTTP route.
      Returns:
      The Mutual TLS credentials or null if Mutual TLS credentials are not specified.
    • setMutualAuthentication

      public void setMutualAuthentication(CustomWrapperInputParameterMutualAuthentication mutualAuthentication)
      Sets the Mutual TLS credentials in the HTTP route.
      Parameters:
      mutualAuthentication - Mutual TLS credentials.