Package org.omegazero.proxy.core
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.
Represents a constructor for a
HTTPClient.- Since:
- 3.10.1
-
Method Summary
Modifier and TypeMethodDescriptionorg.omegazero.http.util.HTTPClientconstruct(org.omegazero.net.socket.SocketConnection upstreamConnection, UpstreamServer userver, HTTPEngineConfig config, org.omegazero.http.util.HTTPServer dserver) Creates a newHTTPClientinstance.
-
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 newHTTPClientinstance.- Parameters:
upstreamConnection- The connection to the server used by the upstream clientuserver- TheUpstreamServerconfig- TheHTTPEngineConfigto usedserver- The downstreamHTTPServerinstance
-