@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"})
public class Dispatcher
extends javax.servlet.http.HttpServlet
Modifier and Type | Method and Description |
---|---|
void |
doOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
static void |
redirectToErrorPage(javax.servlet.http.HttpServletResponse res,
Throwable e,
String path,
boolean devMode) |
static void |
removeCookie(javax.servlet.http.HttpServletResponse res,
String name,
String path) |
static void |
removeErrorCookies(javax.servlet.http.HttpServletResponse res,
String path) |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
setDevMode(boolean choice) |
doDelete, doGet, doHead, doPost, doPut, doTrace, getLastModified, service
public void doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
doOptions
in class javax.servlet.http.HttpServlet
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public static void redirectToErrorPage(javax.servlet.http.HttpServletResponse res, Throwable e, String path, boolean devMode)
public static void removeErrorCookies(javax.servlet.http.HttpServletResponse res, String path)
public static void removeCookie(javax.servlet.http.HttpServletResponse res, String name, String path)
public void setDevMode(boolean choice)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.