All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.servlet.ServletContext Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

The newest version!
package com.genexus.servlet;

public class ServletContext implements IServletContext{
	private javax.servlet.ServletContext sc;

	public ServletContext(javax.servlet.ServletContext sc) {
		this.sc = sc;
	}

	public ServletContext(Object sc) {
		this.sc = (javax.servlet.ServletContext)sc;
	}

	public javax.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