org.apache.hc.core5.http.impl.io

## Class HttpRequestExecutor.Builder

- java.lang.Object
- - org.apache.hc.core5.http.impl.io.HttpRequestExecutor.Builder

- Enclosing class:
    HttpRequestExecutor

      public static final class HttpRequestExecutor.Builder
      extends Object

  Builder for `HttpRequestExecutor`.
  Since:
    5.2

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpRequestExecutor` | `build()` Create a new HTTP Request Executor.
    `HttpRequestExecutor.Builder` | `withConnectionReuseStrategy(ConnectionReuseStrategy connReuseStrategy)`
    `HttpRequestExecutor.Builder` | `withHttp1StreamListener(Http1StreamListener streamListener)`
    `HttpRequestExecutor.Builder` | `withWaitForContinue(Timeout waitForContinue)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### withWaitForContinue

          public HttpRequestExecutor.Builder withWaitForContinue(Timeout waitForContinue)

    - #### withConnectionReuseStrategy

          public HttpRequestExecutor.Builder withConnectionReuseStrategy(ConnectionReuseStrategy connReuseStrategy)

    - #### withHttp1StreamListener

          public HttpRequestExecutor.Builder withHttp1StreamListener(Http1StreamListener streamListener)

    - #### build

          public HttpRequestExecutor build()

      Create a new HTTP Request Executor.
      Since:
        5.2

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.