Class ContextHandlingHttpClientTest.MockHttpClient

java.lang.Object
net.shibboleth.shared.httpclient.AbstractHttpClient
net.shibboleth.shared.httpclient.ContextHandlingHttpClientTest.MockHttpClient
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hc.client5.http.classic.HttpClient, org.apache.hc.core5.io.ModalCloseable
Enclosing class:
ContextHandlingHttpClientTest

private static class ContextHandlingHttpClientTest.MockHttpClient extends AbstractHttpClient
  • Field Details

  • Constructor Details

    • MockHttpClient

      public MockHttpClient()
    • MockHttpClient

      public MockHttpClient(Throwable throwable)
  • Method Details

    • close

      public void close() throws IOException
      Throws:
      IOException
    • close

      public void close(org.apache.hc.core5.io.CloseMode closeMode)
    • doExecute

      protected org.apache.hc.core5.http.ClassicHttpResponse doExecute(@Nullable org.apache.hc.core5.http.HttpHost target, @Nonnull org.apache.hc.core5.http.ClassicHttpRequest request, @Nullable org.apache.hc.core5.http.protocol.HttpContext context) throws IOException
      Specified by:
      doExecute in class AbstractHttpClient
      Throws:
      IOException