Class HostTable<H>
- java.lang.Object
-
- io.undertow.server.handlers.proxy.HostTable<H>
-
public class HostTable<H> extends java.lang.ObjectClass 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 Summary
Constructors Constructor Description HostTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostTableaddHost(H host)HostTableaddRoute(H host, java.lang.String virtualHost, java.lang.String contextPath)java.util.Set<H>getHostsForTarget(java.lang.String hostName, java.lang.String path)HostTableremoveHost(H host)HostTableremoveRoute(H host, java.lang.String virtualHost, java.lang.String contextPath)
-
-
-
Method Detail
-
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)
-
-