Class HttpConfiguration

java.lang.Object
org.apache.camel.http.common.HttpConfiguration
All Implemented Interfaces:
Serializable

public class HttpConfiguration extends Object implements Serializable
See Also:
  • Constructor Details Link icon

    • HttpConfiguration Link icon

      public HttpConfiguration()
  • Method Details Link icon

    • getAuthMethod Link icon

      public String getAuthMethod()
    • setAuthMethod Link icon

      public void setAuthMethod(String authMethod)
      Authentication methods allowed to use as a comma separated list of values Basic, Bearer, or NTLM (deprecated).
    • getAuthMethodPriority Link icon

      public String getAuthMethodPriority()
    • setAuthMethodPriority Link icon

      public void setAuthMethodPriority(String authMethodPriority)
      Which authentication method to prioritize to use, either as Basic, Bearer or NTLM (deprecated).
    • getAuthUsername Link icon

      public String getAuthUsername()
    • setAuthUsername Link icon

      public void setAuthUsername(String authUsername)
      Authentication username
    • getAuthPassword Link icon

      public String getAuthPassword()
    • setAuthPassword Link icon

      public void setAuthPassword(String authPassword)
      Authentication password
    • getAuthBearerToken Link icon

      public String getAuthBearerToken()
    • setAuthBearerToken Link icon

      public void setAuthBearerToken(String authBearerToken)
      Authentication bearer token
    • getAuthDomain Link icon

      public String getAuthDomain()
    • setAuthDomain Link icon

      public void setAuthDomain(String authDomain)
      Authentication domain to use with NTLM
    • getAuthHost Link icon

      public String getAuthHost()
    • setAuthHost Link icon

      public void setAuthHost(String authHost)
      Authentication host to use with NTLM
    • getProxyAuthScheme Link icon

      public String getProxyAuthScheme()
    • setProxyAuthScheme Link icon

      public void setProxyAuthScheme(String proxyAuthScheme)
      Proxy authentication scheme to use
    • getProxyAuthMethod Link icon

      public String getProxyAuthMethod()
    • setProxyAuthMethod Link icon

      public void setProxyAuthMethod(String proxyAuthMethod)
      Proxy authentication method to use
    • getProxyAuthUsername Link icon

      public String getProxyAuthUsername()
    • setProxyAuthUsername Link icon

      public void setProxyAuthUsername(String proxyAuthUsername)
      Proxy authentication username
    • getProxyAuthPassword Link icon

      public String getProxyAuthPassword()
    • setProxyAuthPassword Link icon

      public void setProxyAuthPassword(String proxyAuthPassword)
      Proxy authentication password
    • getProxyAuthDomain Link icon

      public String getProxyAuthDomain()
    • setProxyAuthDomain Link icon

      public void setProxyAuthDomain(String proxyAuthDomain)
      Proxy authentication domain to use with NTLM
    • getProxyAuthHost Link icon

      public String getProxyAuthHost()
    • setProxyAuthHost Link icon

      public void setProxyAuthHost(String proxyAuthHost)
      Proxy authentication host
    • getProxyAuthPort Link icon

      public int getProxyAuthPort()
    • setProxyAuthPort Link icon

      public void setProxyAuthPort(int proxyAuthPort)
      Proxy authentication port
    • getProxyHost Link icon

      public String getProxyHost()
    • setProxyHost Link icon

      public void setProxyHost(String proxyHost)
      Proxy hostname to use
    • getProxyPort Link icon

      public int getProxyPort()
    • setProxyPort Link icon

      public void setProxyPort(int proxyPort)
      Proxy port to use
    • getOauth2ClientId Link icon

      public String getOauth2ClientId()
    • setOauth2ClientId Link icon

      public void setOauth2ClientId(String oauth2ClientId)
      OAuth2 Client id
    • getOauth2ClientSecret Link icon

      public String getOauth2ClientSecret()
    • setOauth2ClientSecret Link icon

      public void setOauth2ClientSecret(String oauth2ClientSecret)
      OAuth2 Client secret
    • getOauth2TokenEndpoint Link icon

      public String getOauth2TokenEndpoint()
    • setOauth2TokenEndpoint Link icon

      public void setOauth2TokenEndpoint(String oauth2TokenEndpoint)
      OAuth2 token endpoint
    • getOauth2Scope Link icon

      public String getOauth2Scope()
    • setOauth2Scope Link icon

      public void setOauth2Scope(String oauth2Scope)
      OAuth2 scope
    • isOauth2CacheTokens Link icon

      public boolean isOauth2CacheTokens()
    • setOauth2CacheTokens Link icon

      public void setOauth2CacheTokens(boolean oauth2CacheTokens)
      Whether to cache OAuth2 client tokens.
    • getOauth2CachedTokensDefaultExpirySeconds Link icon

      public long getOauth2CachedTokensDefaultExpirySeconds()
    • setOauth2CachedTokensDefaultExpirySeconds Link icon

      public void setOauth2CachedTokensDefaultExpirySeconds(long oauth2CachedTokensDefaultExpirySeconds)
      Default expiration time for cached OAuth2 tokens, in seconds. Used if token response does not contain 'expires_in' field.
    • getOauth2CachedTokensExpirationMarginSeconds Link icon

      public long getOauth2CachedTokensExpirationMarginSeconds()
    • setOauth2CachedTokensExpirationMarginSeconds Link icon

      public void setOauth2CachedTokensExpirationMarginSeconds(long oauth2CachedTokensExpirationMarginSeconds)
      Amount of time which is deducted from OAuth2 tokens expiry time to compensate for the time it takes OAuth2 Token Endpoint to send the token over http, in seconds. Set this parameter to high value if you OAuth2 Token Endpoint answers slowly or you tokens expire quickly. If you set this parameter to too small value, you can get 4xx http errors because camel will think that the received token is still valid, while in reality the token is expired for the Authentication server.
    • getOauth2ResourceIndicator Link icon

      public String getOauth2ResourceIndicator()
      Gets oauth 2 resource indicator.
      Returns:
      the oauth 2 resource indicator
    • setOauth2ResourceIndicator Link icon

      public void setOauth2ResourceIndicator(String oauth2ResourceIndicator)
      Sets oauth 2 resource indicator.
      Parameters:
      oauth2ResourceIndicator - the oauth 2 resource indicator