JspServletConfig.java
1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* javax.servlet.ServletConfig
* javax.servlet.ServletContext
*/
package com.day.crx.explorer.impl;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
public class JspServletConfig
implements ServletConfig {
private final ServletContext servletContext;
private final String servletName;
private Map<String, String> properties = new HashMap<String, String>();
public JspServletConfig(ServletContext servletContext, String servletName) {
this.servletContext = servletContext;
this.servletName = servletName;
}
public String getServletName() {
return this.servletName;
}
public ServletContext getServletContext() {
return this.servletContext;
}
public String getInitParameter(String name) {
return this.properties.get(name);
}
public Enumeration getInitParameterNames() {
return Collections.enumeration(this.properties.keySet());
}
}