Class HostTable<H>
- java.lang.Object
-
- io.undertow.server.handlers.proxy.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 Summary
Constructors Constructor Description HostTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostTable
addHost(H host)
HostTable
addRoute(H host, java.lang.String virtualHost, java.lang.String contextPath)
java.util.Set<H>
getHostsForTarget(java.lang.String hostName, java.lang.String path)
HostTable
removeHost(H host)
HostTable
removeRoute(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)
-
-