1 16 package weblogic.servlet.internal; 17 18 import java.io.InputStream ; 19 import java.net.URL ; 20 import java.util.Enumeration ; 21 import java.util.Set ; 22 23 import javax.servlet.RequestDispatcher ; 24 import javax.servlet.Servlet ; 25 import javax.servlet.ServletContext ; 26 27 41 42 public class ServletContextImpl implements ServletContext { 43 44 46 public Enumeration getServlets(){ 47 return null; 48 } 49 50 public void log(String string){ 51 } 52 53 public void setExpectedLog(String string){ 54 } 55 56 public void setupGetResource(URL resource){ 57 } 58 59 public URL getResource(String string){ 60 return null; 61 } 62 63 public void setupGetResourcePaths(Set resourcePaths){ 64 } 65 66 public Set getResourcePaths(String string){ 67 return null; 68 } 69 70 public ServletContext getContext(String string){ 71 return null; 72 } 73 74 public int getMinorVersion(){ 75 return -1; 76 } 77 78 public void removeAttribute(String string){ 79 } 80 81 public void log(String string, Throwable t){ 82 } 83 84 public void setExpectedLogThrowable(Throwable throwable){ 85 } 86 87 public void addRealPath(String realPath){ 88 } 89 90 public String getRealPath(String string){ 91 return ""; 92 } 93 94 96 public Enumeration getServletNames(){ 97 return null; 98 } 99 100 102 public Servlet getServlet(String string){ 103 return null; 104 } 105 106 108 public void log(Exception exception, String string){ 109 } 110 111 public String getServerInfo(){ 112 return null; 113 } 114 115 public void setExpectedRequestDispatcherURI(String uri){ 116 } 117 118 public void setupGetRequestDispatcher(RequestDispatcher requestDispatcher){ 119 } 120 121 public RequestDispatcher getRequestDispatcher(String uri){ 122 return null; 123 } 124 125 public int getMajorVersion(){ 126 return -1; 127 } 128 129 public Set getResourcePaths(){ 130 return null; 131 } 132 133 public void setAttribute(String string, Object object){ 134 } 135 136 public String getMimeType(String string){ 137 return null; 138 } 139 140 public RequestDispatcher getNamedDispatcher(String string){ 141 return null; 142 } 143 144 public String getInitParameter(String paramName){ 145 return null; 146 } 147 148 public void setInitParameter(String paramName, String paramValue){ 149 } 150 151 public Object getAttribute(String string){ 152 return null; 153 } 154 155 public Enumeration getAttributeNames(){ 156 return null; 157 } 158 159 public String getServletContextName() { 160 return null; 161 } 162 163 public InputStream getResourceAsStream(String string){ 164 return null; 165 } 166 167 public Enumeration getInitParameterNames(){ 168 return null; 169 } 170 } 171 | Popular Tags |