Class SimpleProxyClientProvider

  • All Implemented Interfaces:
    ProxyClient

    @Deprecated
    public class SimpleProxyClientProvider
    extends java.lang.Object
    implements ProxyClient
    Deprecated.
    Simple proxy client provider. This provider simply proxies to another server, using a a one to one connection strategy. LoadBalancingProxyClient should be used instead. This proxy client is too simplistic for real world use cases, and it not set up to use SSL.
    Author:
    Stuart Douglas
    • Constructor Detail

      • SimpleProxyClientProvider

        public SimpleProxyClientProvider​(java.net.URI uri)
        Deprecated.
    • Method Detail

      • findTarget

        public ProxyClient.ProxyTarget findTarget​(HttpServerExchange exchange)
        Deprecated.
        Description copied from interface: ProxyClient
        Finds a proxy target for this request, returning null if none can be found. If this method returns null it means that there is no backend available to handle this request, and it should proceed as normal.
        Specified by:
        findTarget in interface ProxyClient
        Parameters:
        exchange - The exchange
        Returns:
        The proxy target