com.genexus.servlet.ServletContext Maven / Gradle / Ivy
package com.genexus.servlet;
public class ServletContext implements IServletContext{
private jakarta.servlet.ServletContext sc;
public ServletContext(jakarta.servlet.ServletContext sc) {
this.sc = sc;
}
public ServletContext(Object sc) {
this.sc = (jakarta.servlet.ServletContext)sc;
}
public jakarta.servlet.ServletContext getWrappedClass() {
return sc;
}
public String getRealPath(String path) {
return sc.getRealPath(path);
}
public String getServerInfo() {
return sc.getServerInfo();
}
public int getMajorVersion() {
return sc.getMajorVersion();
}
public int getMinorVersion() {
return sc.getMinorVersion();
}
public String getTEMPDIR() {
return sc.TEMPDIR;
}
public Object getAttribute(String name) {
return sc.getAttribute(name);
}
public String getInitParameter(String name) {
return sc.getInitParameter(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy