@InterfaceAudience.Private class MasterRedirectServlet extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description | 
|---|---|
| private static org.slf4j.Logger | LOG | 
| private String | regionServerHostname | 
| private int | regionServerInfoPort | 
| private static long | serialVersionUID | 
| 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, serviceprivate static final long serialVersionUID
private static final org.slf4j.Logger LOG
private final int regionServerInfoPort
private final String regionServerHostname
public 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–2021 The Apache Software Foundation. All rights reserved.