Class HostTable<H>


  • public class HostTable<H>
    extends java.lang.Object
    Class that maintains a table of remote hosts that this proxy knows about. Basically this maps a virtual host + context path pair to a set of hosts. Note that this class does not have any knowledge of connection pooling
    Author:
    Stuart Douglas
    • Constructor Detail

      • HostTable

        public HostTable()
    • Method Detail

      • removeHost

        public HostTable removeHost​(H host)
      • addRoute

        public HostTable addRoute​(H host,
                                  java.lang.String virtualHost,
                                  java.lang.String contextPath)
      • removeRoute

        public HostTable removeRoute​(H host,
                                     java.lang.String virtualHost,
                                     java.lang.String contextPath)
      • getHostsForTarget

        public java.util.Set<H> getHostsForTarget​(java.lang.String hostName,
                                                  java.lang.String path)