@InterfaceAudience.Private public static class FileChecksumServlets.RedirectServlet extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
FileChecksumServlets.RedirectServlet() |
Modifier and Type | Method and Description |
---|---|
protected ClientProtocol |
createNameNodeProxy()
Create a
NameNode proxy from the current ServletContext . |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected UserGroupInformation |
getUGI(javax.servlet.http.HttpServletRequest request,
Configuration conf) |
protected void |
writeXml(Exception except,
String path,
org.znerd.xmlenc.XMLOutputter doc)
Write the object to XML format
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public FileChecksumServlets.RedirectServlet()
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void writeXml(Exception except, String path, org.znerd.xmlenc.XMLOutputter doc) throws IOException
IOException
protected ClientProtocol createNameNodeProxy() throws IOException
NameNode
proxy from the current ServletContext
.IOException
protected UserGroupInformation getUGI(javax.servlet.http.HttpServletRequest request, Configuration conf) throws IOException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.