Class ApacheTestClientFactory

java.lang.Object
ru.vyarus.dropwizard.guice.test.client.DefaultTestClientFactory
ru.vyarus.dropwizard.guice.test.client.ApacheTestClientFactory
All Implemented Interfaces:
TestClientFactory

public class ApacheTestClientFactory extends DefaultTestClientFactory
Use Apache5ConnectorProvider instead of default HttpUrlConnectorProvider.
Since:
12.09.2025
  • Constructor Details

    • ApacheTestClientFactory

      public ApacheTestClientFactory()
  • Method Details

    • configure

      protected void configure(org.glassfish.jersey.client.JerseyClientBuilder builder, io.dropwizard.testing.DropwizardTestSupport<?> support)
      Description copied from class: DefaultTestClientFactory
      Provides the ability to customize default client in extending class.
      Overrides:
      configure in class DefaultTestClientFactory
      Parameters:
      builder - client builder (pre-configured)
      support - dropwizard support instance (for accessing environment and configuration)