Class HTTPRequestConfig


  • @StableMinor(version="17.0",
                 sinceVersion="17.0")
    public final class HTTPRequestConfig
    extends java.lang.Object
    Provides a configuration for HTTP requests.
    Use the HTTPRequestConfig.Builder to create an instance.
    The default request configuration is:
    • request hard timeout: 60 seconds
    • project ID: null
    Since:
    17.0.0
    Version:
    $Revision$ $Date$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  HTTPRequestConfig.Builder
      The HTTP request configuration builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getExecutionId()
      Returns the execution identifier.
      java.lang.String getProjectId()
      Returns the project identifier.
      int getRequestHardTimeoutInSeconds()
      Returns the request hard timeout in seconds.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRequestHardTimeoutInSeconds

        public int getRequestHardTimeoutInSeconds()
        Returns the request hard timeout in seconds.
        Returns:
        the request hard timeout in seconds
        Since:
        17.0.0
      • getProjectId

        public java.lang.String getProjectId()
        Returns the project identifier.
        Returns:
        the project identifier
        Since:
        17.0.0
      • getExecutionId

        public java.lang.String getExecutionId()
        Returns the execution identifier.
        Returns:
        the execution identifier
        Since:
        17.0.0