public static class HMaster.RedirectServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
HMaster.RedirectServlet(InfoServer infoServer,
String hostname) |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic HMaster.RedirectServlet(InfoServer infoServer, 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.public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.