Example usage for javax.servlet ServletContext interface-usage

List of usage examples for javax.servlet ServletContext interface-usage

Introduction

In this page you can find the example usage for javax.servlet ServletContext interface-usage.

Usage

From source file stubs.javax.servlet.ServletContextStub.java

/**
 * A simple stand-in for the {@link ServletContext}, for use in unit tests.
 */
public class ServletContextStub implements ServletContext {
    private static final Log log = LogFactory.getLog(ServletContextStub.class);

From source file com.hypersocket.servlet.HypersocketServletContext.java

public class HypersocketServletContext implements ServletContext {

    HypersocketServletConfig config;
    String contextPath;
    Map<String, Object> attributes = new HashMap<String, Object>();
    static Logger log = LoggerFactory.getLogger(HypersocketServletContext.class);

From source file org.impalaframework.web.servlet.wrapper.context.DelegatingServletContext.java

/**
 * An implementation of {@link ServletContext} which simply delegates to
 * the underlying {@link ServletContext} in it. Subclasses can override
 * specific methods.
 * 
 * @author Phil Zoio

From source file org.apache.struts.mock.MockServletContext.java

/**
 * <p>Mock <strong>ServletContext</strong> object for low-level unit tests of
 * Struts controller components.  Coarser grained tests should be implemented
 * in terms of the Cactus framework, instead of the mock object classes.</p>
 *
 * <p><strong>WARNING</strong> - Only the minimal set of methods needed to

From source file com.m1.util.mock.struts.MockServletContext.java

/**
 * <p>Mock <strong>ServletContext</strong> object for low-level unit tests of
 * Struts controller components.  Coarser grained tests should be implemented
 * in terms of the Cactus framework, instead of the mock object classes.</p>
 *
 * <p><strong>WARNING</strong> - Only the minimal set of methods needed to

From source file org.codehaus.grails.struts.action.ServletContextWrapper.java

/**
 * A ServletContextWrapper that allows Struts to read the web.xml file from Grails' generated one
 *
 * @author Graeme Rocher
 * @since 1.0
 *        <p/>

From source file org.springframework.boot.context.embedded.netty.NettyEmbeddedContext.java

/**
 * Netty servlet bridge {@link ServletContext} implementation.
 */
class NettyEmbeddedContext implements ServletContext {
    private final Log logger = LogFactory.getLog(NettyEmbeddedContext.class);

From source file org.directwebremoting.util.FakeServletContext.java

/**
 * Fake implementation of the ServletContext interface.
 * @author Rod Johnson
 * @author Juergen Hoeller
 * @author Joe Walker [joe at getahead dot ltd dot uk]
 */

From source file test.net.jawr.web.servlet.mock.MockServletContext.java

/**
 * This class defines a mock servlet container.
 * 
 * @author Ibrahim Chaehoi
 */
public class MockServletContext implements ServletContext {

From source file io.nebo.container.NettyEmbeddedContext.java

/**
 * Netty servlet bridge {@link javax.servlet.ServletContext} implementation.
 */
public class NettyEmbeddedContext implements ServletContext {
    private final Log logger = LogFactory.getLog(NettyEmbeddedContext.class);