public static class HMaster.RedirectServlet
extends HttpServlet
Constructor and Description |
---|
RedirectServlet(InfoServer infoServer,
java.lang.String hostname) |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
public RedirectServlet(InfoServer infoServer, java.lang.String hostname)
infoServer
- that we're trying to send all requests tohostname
- may be null. if given, will be used for redirects instead of host from client.