Class TimeoutPolicy

java.lang.Object
com.azure.core.http.policy.TimeoutPolicy
All Implemented Interfaces:
HttpPipelinePolicy

@Deprecated public class TimeoutPolicy extends Object implements HttpPipelinePolicy
Deprecated.
Consider configuring timeouts with HttpClientOptions.
The pipeline policy that limits the time allowed between sending a request and receiving the response.
  • Constructor Details

    • TimeoutPolicy

      public TimeoutPolicy(Duration timeoutDuration)
      Deprecated.
      Creates a TimeoutPolicy.
      Parameters:
      timeoutDuration - the timeout duration
  • Method Details