DfsServlet (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.namenode, class: DfsServlet

Package org.apache.hadoop.hdfs.server.namenode

# 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:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DfsServlet()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected org.apache.hadoop.security.UserGroupInformation`
  `getUGI(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, service`

  ### Methods inherited from class javax.servlet.GenericServlet

  `destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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`