Example usage for javax.servlet.http HttpServletRequestWrapper subclass-usage

List of usage examples for javax.servlet.http HttpServletRequestWrapper subclass-usage

Introduction

In this page you can find the example usage for javax.servlet.http HttpServletRequestWrapper subclass-usage.

Usage

From source file org.ebayopensource.turmeric.runtime.tests.common.jetty.DebugHttpServletRequest.java

class DebugHttpServletRequest extends HttpServletRequestWrapper {
    private static final Logger LOG = Logger.getLogger("jetty.debug.request");
    private byte requestBody[];
    private boolean bodyAsInputStream = false;
    private boolean bodyAsReader = false;
    private BufferedReader bodyReader;

From source file org.candlepin.servlet.filter.logging.LoggingRequestWrapper.java

/**
 * LoggingRequestWrapper
 */
public class LoggingRequestWrapper extends HttpServletRequestWrapper implements BodyLogger {

    private final byte[] body;

From source file io.servicecomb.foundation.vertx.http.StandardHttpServletRequestEx.java

public class StandardHttpServletRequestEx extends HttpServletRequestWrapper implements HttpServletRequestEx {
    private BodyBufferSupport bodyBuffer = new BodyBufferSupportImpl();

    private boolean cacheRequest;

    private ServletInputStream inputStream;

From source file org.springframework.security.saml.util.RequestClone.java

/**
 *
 * @author mrwc1264
 */
public class RequestClone extends HttpServletRequestWrapper {
    private final static org.slf4j.Logger logger = LoggerFactory.getLogger(RequestClone.class);

From source file com.intel.podm.rest.ResettableStreamHttpServletRequest.java

public class ResettableStreamHttpServletRequest extends HttpServletRequestWrapper {
    private byte[] rawData;
    private HttpServletRequest httpServletRequest;
    private ResettableServletInputStream servletStream;

    public ResettableStreamHttpServletRequest(HttpServletRequest request) {

From source file org.wso2.carbon.identity.captcha.util.CaptchaHttpServletRequestWrapper.java

/**
 * Captcha Response Wrapper.
 */
public class CaptchaHttpServletRequestWrapper extends HttpServletRequestWrapper {

    private byte[] body;

From source file org.mikha.utils.web.multipart.MultipartRequestWrapper.java

/**
 * Request wrapper to (nearly) transparently handle
 * <code>multipart/form-data</code> uploads.
 * @author mikha
 */
public class MultipartRequestWrapper extends HttpServletRequestWrapper {

From source file org.candlepin.common.filter.TeeHttpServletRequest.java

/**
 * This class gives us a new ServletInputStream every time we call getInputStream()
 * so we can read a request body more than once.
 */
public class TeeHttpServletRequest extends HttpServletRequestWrapper implements BodyLogger {
    private final byte[] body;

From source file com.migo.defence.XssHttpServletRequestWrapper.java

/**
 * @author 
 * @email fei6751803@163.com
 */
public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper {

From source file com.gallatinsystems.framework.servlet.MultiReadHttpServletRequest.java

/**
 * HttpServletRequestWrapper that allows read more than once the request InputStream<br>
 * From: http://stackoverflow.com/a/17129256
 */

public class MultiReadHttpServletRequest extends HttpServletRequestWrapper {