Record Class ProxyAwareHttpClient.TimeoutConfiguration
java.lang.Object
java.lang.Record
io.camunda.connector.http.base.client.apache.proxy.ProxyAwareHttpClient.TimeoutConfiguration
- Enclosing class:
ProxyAwareHttpClient
public static record ProxyAwareHttpClient.TimeoutConfiguration(int connectionTimeoutInSeconds, int readTimeoutInSeconds)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTimeoutConfiguration(int connectionTimeoutInSeconds, int readTimeoutInSeconds) Creates an instance of aTimeoutConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theconnectionTimeoutInSecondsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thereadTimeoutInSecondsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TimeoutConfiguration
public TimeoutConfiguration(int connectionTimeoutInSeconds, int readTimeoutInSeconds) Creates an instance of aTimeoutConfigurationrecord class.- Parameters:
connectionTimeoutInSeconds- the value for theconnectionTimeoutInSecondsrecord componentreadTimeoutInSeconds- the value for thereadTimeoutInSecondsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
connectionTimeoutInSeconds
public int connectionTimeoutInSeconds()Returns the value of theconnectionTimeoutInSecondsrecord component.- Returns:
- the value of the
connectionTimeoutInSecondsrecord component
-
readTimeoutInSeconds
public int readTimeoutInSeconds()Returns the value of thereadTimeoutInSecondsrecord component.- Returns:
- the value of the
readTimeoutInSecondsrecord component
-