Interface ProxyRegistry.HTTPClientConstructor

Enclosing class:
ProxyRegistry
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ProxyRegistry.HTTPClientConstructor
Represents a constructor for a HTTPClient.
Since:
3.10.1
  • Method Summary

    Modifier and Type
    Method
    Description
    org.omegazero.http.util.HTTPClient
    construct(org.omegazero.net.socket.SocketConnection upstreamConnection, UpstreamServer userver, HTTPEngineConfig config, org.omegazero.http.util.HTTPServer dserver)
    Creates a new HTTPClient instance.
  • Method Details

    • construct

      org.omegazero.http.util.HTTPClient construct(org.omegazero.net.socket.SocketConnection upstreamConnection, UpstreamServer userver, HTTPEngineConfig config, org.omegazero.http.util.HTTPServer dserver)
      Creates a new HTTPClient instance.
      Parameters:
      upstreamConnection - The connection to the server used by the upstream client
      userver - The UpstreamServer
      config - The HTTPEngineConfig to use
      dserver - The downstream HTTPServer instance