List of usage examples for javax.servlet ServletContext interface-usage
From source file servletunit.ServletContextSimulator.java
/** * This class simulates a ServletContext. */ public class ServletContextSimulator implements ServletContext { private Hashtable initParameters;
From source file org.jruby.rack.mock.MockServletContext.java
/**
* Mock implementation of the {@link javax.servlet.ServletContext} interface.
*
* <p>Used for testing the Spring web framework; only rarely necessary for testing
* application controllers. As long as application components don't explicitly
* access the ServletContext, ClassPathXmlApplicationContext or
From source file net.ontopia.utils.ontojsp.FakeServletContext.java
/** * INTERNAL: Fake the ServletContext, needed for execution of servlets. */ public class FakeServletContext implements ServletContext { // initialization of log facility
From source file wicket.protocol.http.MockServletContext.java
/**
* Mock implementation of the servlet context for testing purposes. This
* implementation supports all of the standard context methods except that
* request dispatching just indicates what is being dispatched to, rather than
* doing the actual dispatch.
* <p>
From source file org.ireland.jnetty.webapp.ServletContextImpl.java
/** * Bare-bones servlet context implementation. */ public abstract class ServletContextImpl implements ServletContext { static final Log log = LogFactory.getLog(ServletContextImpl.class);
From source file web.MockServletContext.java
/**
* Mock implementation of the {@link javax.servlet.ServletContext} interface.
*
* <p>Used for testing the Spring web framework; only rarely necessary for testing
* application controllers. As long as application components don't explicitly
* access the ServletContext, ClassPathXmlApplicationContext or
From source file de.micromata.genome.tpsb.httpmockup.MockServletContext.java
/**
* A standalone servlet container.
*
* @author Roger Rene Kommer (r.kommer.extern@micromata.de)
*
*/
From source file info.magnolia.freemarker.FreemarkerServletContextWrapper.java
/** * Wraps the servlet context expecially for freemarker taglib resolution. This will trick freemarker TaglibFactory class * to "see" all jars in classpath as if they were jars in /WEB-INF/lib * @author Danilo Ghirardelli */ public class FreemarkerServletContextWrapper implements ServletContext {
From source file com.thoughtworks.go.spark.mocks.MockServletContext.java
/**
* Mock implementation of the {@link javax.servlet.ServletContext} interface.
*
* <p>As of Spring 5.0, this set of mocks is designed on a Servlet 4.0 baseline.
*
* <p>Compatible with Servlet 3.1 but can be configured to expose a specific version
From source file com.thoughtworks.go.http.mocks.MockServletContext.java
/**
* Mock implementation of the {@link ServletContext} interface.
*
* <p>As of Spring 5.0, this set of mocks is designed on a Servlet 4.0 baseline.
*
* <p>Compatible with Servlet 3.1 but can be configured to expose a specific version