public static class HMaster.RedirectServlet extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description | 
|---|---|
| private String | regionServerHostname | 
| private int | regionServerInfoPort | 
| private static long | serialVersionUID | 
| Constructor and Description | 
|---|
| 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, serviceprivate static final long serialVersionUID
private final int regionServerInfoPort
private final String regionServerHostname
public 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.