Class TimeoutConfig

  • All Implemented Interfaces:

    
    public final class TimeoutConfig
    
                        

    Data class representing the timeout configuration for an HTTP request.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeoutConfig(Long connectTimeoutInSec, Long readTimeoutInSec, Long callTimeoutInSec)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long getConnectTimeoutInSec() The timeout for establishing the connection in seconds.
      final Long getReadTimeoutInSec() The timeout for reading data from the connection in seconds.
      final Long getCallTimeoutInSec() The overall timeout for the call in seconds.
      • Methods inherited from class java.lang.Object

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

      • TimeoutConfig

        TimeoutConfig(Long connectTimeoutInSec, Long readTimeoutInSec, Long callTimeoutInSec)