Annotation Type HttpApi


@Target(TYPE) @Retention(RUNTIME) @ExtendWith(JUnit5HttpApi.class) public @interface HttpApi
  • Element Details

    • port

      int port
      Returns:
      the port to use for the server.
      Default:
      0
    • globalProxyConfiguration

      Returns:
      should the JVM be configured with the server as a proxy.
      Default:
      true
    • logLevel

      Returns:
      the log level for the network data.
      Default:
      "DEBUG"
    • responseLocator

      Returns:
      the response locator to use.
      Default:
      org.talend.sdk.component.junit.http.api.ResponseLocator.class
    • headerFilter

      Returns:
      the header filter to use.
      Default:
      java.util.function.Predicate.class
    • executor

      Class<? extends Executor> executor
      Returns:
      the executor to use.
      Default:
      java.util.concurrent.Executor.class
    • sslContext

      Returns:
      the SSLContext supplier to use.
      Default:
      java.util.function.Supplier.class
    • useSsl

      boolean useSsl
      Returns:
      true if a default sslContext should be created for the test.
      Default:
      false
    • skipProxyHeaders

      Returns:
      true if the proxy shouldn't add meta headers (X-Talend) at all.
      Default:
      false