Class GroovyHttpRequestWrapper


  • public final class GroovyHttpRequestWrapper
    extends Object
    Since:
    Intrexx 7.0.
    • Method Detail

      • getConnectionTimeout

        public int getConnectionTimeout()
        Get the connection timeout. The default value is 3000 ms.
        Returns:
        The connection timeout in milliseconds.
      • setConnectionTimeout

        public void setConnectionTimeout​(int p_iConnectionTimeout)
        Set the connection timeout.
        Parameters:
        p_iConnectionTimeout - The new value of the connection timeout in milliseconds.
      • getReadTimeout

        public int getReadTimeout()
        Get the read timeout. The default value is 3000 ms.
        Returns:
        The read timeout in milliseconds.
      • setReadTimeout

        public void setReadTimeout​(int p_iReadTimeout)
        Set the read timeout.
        Parameters:
        p_iReadTimeout - The read timeout in milliseconds.
      • isIgnoreServerCertificates

        public boolean isIgnoreServerCertificates()
        Get the ignoreServerCertificates property.
        Returns:
        The ignoreServerCertificates property.
      • setIgnoreServerCertificates

        public void setIgnoreServerCertificates​(boolean p_bIgnoreServerCertificates)
        Set the ignoreServerCertificates property.
        Parameters:
        p_bIgnoreServerCertificates - The new value of the ignoreServerCertificates property.
      • getUserAgent

        public String getUserAgent()
        Get the userAgent property.
        Returns:
        The userAgent property.
      • setUserAgent

        public void setUserAgent​(String p_strUserAgent)
        Set the userAgent property.
        Parameters:
        p_strUserAgent - The new value of the userAgent property.
      • isFollowRedirects

        public boolean isFollowRedirects()
        Get the followRedirects property.
        Returns:
        The followRedirects property.
      • setFollowRedirects

        public void setFollowRedirects​(boolean p_bFollowRedirects)
        Set the followRedirects property.
        Parameters:
        p_bFollowRedirects - The new value of the followRedirects property.
      • getResponseBodyLengthLimit

        public long getResponseBodyLengthLimit()
        Get the responseBodyLengthLimit property.
        Returns:
        The responseBodyLengthLimit property.
      • setResponseBodyLengthLimit

        public void setResponseBodyLengthLimit​(long p_lLimitDownloadLength)
        Set the responseBodyLengthLimit property.
        Parameters:
        p_lLimitDownloadLength - The new value of the responseBodyLengthLimit property.
      • getResponseCharset

        public String getResponseCharset()
        Get the responseCharset property.
        Returns:
        The responseCharset property.
      • setResponseCharset

        public void setResponseCharset​(String p_strResponseCharset)
        Set the responseCharset property.
        Parameters:
        p_strResponseCharset - The new value of the responseCharset property.
      • isPreemptive

        public boolean isPreemptive()
        Get the preemptive property.
        Returns:
        The preemptive property.
      • setPreemptive

        public void setPreemptive​(boolean p_bPreemptive)
        Set the preemptive property (must be true).
        Parameters:
        p_bPreemptive - The new value of the preemptive property.
      • getUser

        public String getUser()
        Get the user used for authentication.
        Returns:
        The user property.
      • setUser

        public void setUser​(String p_strUser)
        Set the user used for authentication.
        Parameters:
        p_strUser - The new value of the user property.
      • getPassword

        public String getPassword()
        Get the password used for authentication.
        Returns:
        The password property.
      • setPassword

        public void setPassword​(String p_strPassword)
        Set the password used for authentication.
        Parameters:
        p_strPassword - The new value of the password property.