niagara-ax/decompiled/javax/servlet/ServletContext.java
2026-03-17 13:31:18 -07:00

58 lines
1.2 KiB
Java

package javax.servlet;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Enumeration;
import java.util.Set;
public interface ServletContext {
Object getAttribute(String str);
Enumeration getAttributeNames();
ServletContext getContext(String str);
String getInitParameter(String str);
Enumeration getInitParameterNames();
int getMajorVersion();
String getMimeType(String str);
int getMinorVersion();
RequestDispatcher getNamedDispatcher(String str);
String getRealPath(String str);
RequestDispatcher getRequestDispatcher(String str);
URL getResource(String str) throws MalformedURLException;
InputStream getResourceAsStream(String str);
Set getResourcePaths(String str);
String getServerInfo();
Servlet getServlet(String str) throws ServletException;
String getServletContextName();
Enumeration getServletNames();
Enumeration getServlets();
void log(Exception exception, String str);
void log(String str);
void log(String str, Throwable th);
void removeAttribute(String str);
void setAttribute(String str, Object obj);
}