Example usage for javax.servlet.http HttpServletRequest interface-usage

List of usage examples for javax.servlet.http HttpServletRequest interface-usage

Introduction

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

Usage

From source file org.apereo.portal.utils.web.AbstractHttpServletRequestWrapper.java

/**
 * A custom HttpServletRequest wrapper that does NOT extend {@link HttpServletRequestWrapper}
 * to ensure the container can not unwrap too far.
 * 
 * @author Eric Dalquist
 */

From source file com.ecsteam.springutils.pattern.controller.PatternServletRequest.java

/**
 * A mock servlet request for a given test URI. Currently implements only the methods that the supported
 * {@link org.springframework.security.web.util.matcher.RequestMatcher}s need.
 * 
 * @author Josh Ghiloni
 *

From source file org.dspace.statistics.util.DummyHttpServletRequest.java

/**
 * A mock request for testing.
 *
 * @author mwood
 */
public class DummyHttpServletRequest implements HttpServletRequest {

From source file com.bluexml.side.framework.alfresco.shareLanguagePicker.connector.MyHttpRequestServletAdaptator.java

public class MyHttpRequestServletAdaptator implements HttpServletRequest {
    private static final Log logger = LogFactory.getLog(MyHttpRequestServletAdaptator.class);
    protected final HttpServletRequest request;

    Headers headers = new Headers();

From source file com.nesscomputing.tracking.MockedHttpServletRequest.java

public class MockedHttpServletRequest implements HttpServletRequest {
    private Map<String, Object> attributes = Maps.newHashMap();
    private Map<String, List<String>> parameters = Maps.newHashMap();
    private Map<String, List<String>> headers = Maps.newHashMap();

    public void addHeader(final String name, final String value) {

From source file com.orange.mmp.context.RequestContext.java

/**
 * Request Context Accessor for widgets and modules
 * 
 * TODO Must be serializable for Messaging purpose
 * 
 * @author tml

From source file com.opentable.requestid.MockedHttpServletRequest.java

public class MockedHttpServletRequest implements HttpServletRequest {
    private final Map<String, Object> attributes = Maps.newHashMap();
    private final Map<String, List<String>> parameters = Maps.newHashMap();
    private final Map<String, List<String>> headers = Maps.newHashMap();

    public void addHeader(final String name, final String value) {

From source file nl.armatiek.xslweb.web.servlet.XSLWebHttpServletRequest.java

public class XSLWebHttpServletRequest implements HttpServletRequest {

    private String encoding = "UTF-8";
    private String pathInfo;
    private String queryString;
    private Map<String, Object> attributes = new HashMap<String, Object>();

From source file net.sf.jsptest.compiler.jsp20.mock.MockHttpServletRequest.java

/**
 * @author Lasse Koskela
 */
public class MockHttpServletRequest implements HttpServletRequest {

    private static final String LOCALHOST = "127.0.0.1";

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

/**
 * For the benefit of anyone that wants to create a fake HttpServletRequest
 * that doesn't do anything other than not be null.
 * @author Joe Walker [joe at getahead dot ltd dot uk]
 */
public class FakeHttpServletRequest implements HttpServletRequest {