@Test public void testDerive() throws Exception { try (SimpleAsyncHttpClient client = new SimpleAsyncHttpClient.Builder().build()) { try (SimpleAsyncHttpClient derived = client.derive().build()) { assertNotSame(derived, client); } } }
public DerivedBuilder derive() { return new Builder(this); }
SimpleAsyncHttpClient implements Closeable { public DerivedBuilder derive() { return new Builder(this); } }
SimpleAsyncHttpClient implements Closeable { public DerivedBuilder derive() { return new Builder(this); } private  SimpleAsyncHttpClient(AsyncHttpClientConfig config, RequestBuilder requestBuilder, ThrowableHandler defaultThrowableHandler,
                                ErrorDocumentBehaviour errorDocumentBehaviour, boolean resumeEnabled, AsyncHttpClient ahc, SimpleAHCTransferListener listener); }
SimpleAsyncHttpClient implements Closeable { public DerivedBuilder derive() { return new Builder(this); } private  SimpleAsyncHttpClient(AsyncHttpClientConfig config, RequestBuilder requestBuilder, ThrowableHandler defaultThrowableHandler,
                                ErrorDocumentBehaviour errorDocumentBehaviour, boolean resumeEnabled, AsyncHttpClient ahc, SimpleAHCTransferListener listener); Future<Response> post(Part... parts); Future<Response> post(BodyConsumer consumer, Part... parts); Future<Response> post(BodyGenerator bodyGenerator); Future<Response> post(BodyGenerator bodyGenerator, ThrowableHandler throwableHandler); Future<Response> post(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer); Future<Response> post(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> put(Part... parts); Future<Response> put(BodyConsumer consumer, Part... parts); Future<Response> put(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer); Future<Response> put(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> put(BodyGenerator bodyGenerator); Future<Response> put(BodyGenerator bodyGenerator, ThrowableHandler throwableHandler); Future<Response> get(); Future<Response> get(ThrowableHandler throwableHandler); Future<Response> get(BodyConsumer bodyConsumer); Future<Response> get(BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> delete(); Future<Response> delete(ThrowableHandler throwableHandler); Future<Response> delete(BodyConsumer bodyConsumer); Future<Response> delete(BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> head(); Future<Response> head(ThrowableHandler throwableHandler); Future<Response> options(); Future<Response> options(ThrowableHandler throwableHandler); Future<Response> options(BodyConsumer bodyConsumer); Future<Response> options(BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); void close(); DerivedBuilder derive(); }
SimpleAsyncHttpClient implements Closeable { public DerivedBuilder derive() { return new Builder(this); } private  SimpleAsyncHttpClient(AsyncHttpClientConfig config, RequestBuilder requestBuilder, ThrowableHandler defaultThrowableHandler,
                                ErrorDocumentBehaviour errorDocumentBehaviour, boolean resumeEnabled, AsyncHttpClient ahc, SimpleAHCTransferListener listener); Future<Response> post(Part... parts); Future<Response> post(BodyConsumer consumer, Part... parts); Future<Response> post(BodyGenerator bodyGenerator); Future<Response> post(BodyGenerator bodyGenerator, ThrowableHandler throwableHandler); Future<Response> post(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer); Future<Response> post(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> put(Part... parts); Future<Response> put(BodyConsumer consumer, Part... parts); Future<Response> put(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer); Future<Response> put(BodyGenerator bodyGenerator, BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> put(BodyGenerator bodyGenerator); Future<Response> put(BodyGenerator bodyGenerator, ThrowableHandler throwableHandler); Future<Response> get(); Future<Response> get(ThrowableHandler throwableHandler); Future<Response> get(BodyConsumer bodyConsumer); Future<Response> get(BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> delete(); Future<Response> delete(ThrowableHandler throwableHandler); Future<Response> delete(BodyConsumer bodyConsumer); Future<Response> delete(BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); Future<Response> head(); Future<Response> head(ThrowableHandler throwableHandler); Future<Response> options(); Future<Response> options(ThrowableHandler throwableHandler); Future<Response> options(BodyConsumer bodyConsumer); Future<Response> options(BodyConsumer bodyConsumer, ThrowableHandler throwableHandler); void close(); DerivedBuilder derive();  }