@InterfaceAudience.Private
public class MasterRedirectServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
MasterRedirectServlet(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 MasterRedirectServlet(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–2020 The Apache Software Foundation. All rights reserved.