Class DfsServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.hadoop.hdfs.server.namenode.DfsServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
- Direct Known Subclasses:
FsckServlet,GetJournalEditServlet,NetworkTopologyServlet,StartupProgressServlet
public abstract class DfsServlet
extends javax.servlet.http.HttpServlet
A base class for the servlets in DFS.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.security.UserGroupInformationgetUGI(javax.servlet.http.HttpServletRequest request, org.apache.hadoop.conf.Configuration conf) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
DfsServlet
public DfsServlet()
-
-
Method Details
-
getUGI
protected org.apache.hadoop.security.UserGroupInformation getUGI(javax.servlet.http.HttpServletRequest request, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-