MCPcopy Create free account
hub / github.com/AIex-3/confluence-hack / init

Method init

plugin_shellplug/com/jsos/shell/ShellServlet.java:65–72  ·  view source on GitHub ↗
(final ServletConfig servletConfig)

Source from the content-addressed store, hash-verified

63 private Hashtable cnf;
64
65 public void init(final ServletConfig servletConfig) throws ServletException {
66 super.init(servletConfig);
67 this.context = servletConfig.getServletContext();
68 ShellServlet.NEWLINE = System.getProperty("line.separator");
69 ShellServlet.separator = System.getProperty("file.separator");
70 this.cnf = new Hashtable();
71 this.readConfig(this.getInitParameter("config"), this.cnf);
72 }
73
74 public void doPost(final HttpServletRequest httpServletRequest, final HttpServletResponse httpServletResponse) throws ServletException, IOException {
75 if (httpServletRequest.getContentLength() > 20480) {

Callers

nothing calls this directly

Calls 1

readConfigMethod · 0.95

Tested by

no test coverage detected