public final class JavaScriptServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
JavaScriptServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static Set<String> |
getJavascriptUris()
whitelist the javascript servlet from csrf errors
|
static javax.servlet.ServletConfig |
getStaticServletConfig() |
void |
init(javax.servlet.ServletConfig theServletConfig) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static javax.servlet.ServletConfig getStaticServletConfig()
public static Set<String> getJavascriptUris()
public void init(javax.servlet.ServletConfig theServletConfig)
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletpublic void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
doGet in class javax.servlet.http.HttpServletIOExceptionpublic void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
doPost in class javax.servlet.http.HttpServletIOExceptionCopyright © 2021 OWASP. All rights reserved.