de.oio.bugkilla.splitter
Class RequestWrapper

java.lang.Object
  |
  +--javax.servlet.ServletRequestWrapper
        |
        +--javax.servlet.http.HttpServletRequestWrapper
              |
              +--de.oio.bugkilla.splitter.RequestWrapper
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

public class RequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper

Provides different methods to get information about the data content
of a javax.servlet.ServletRequest object. To handle with the RequestFilterWorker
methods the ServletRequest must be wrapped from a javax.servlet.ServletRequestWrapper.
This applies to the javax.servlet.http.HttpServletRequest too.

Author:
swinkler

Field Summary
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
RequestWrapper(javax.servlet.http.HttpServletRequest request)
          Instanciates a new RequestWrapper object and creates a new HttpRequest object containing all request information
 
Method Summary
 HttpRequest getHttpRequest()
           
 java.lang.String toString()
          Returns a string representation of the RequestWrapper object.
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

RequestWrapper

public RequestWrapper(javax.servlet.http.HttpServletRequest request)
Instanciates a new RequestWrapper object and creates a new HttpRequest object containing all request information

Parameters:
request - a HttpServeltRequest containing the current request data
Method Detail

toString

public java.lang.String toString()
Returns a string representation of the RequestWrapper object.

Overrides:
toString in class java.lang.Object
Returns:
Returns a string representation of the RequestWrapper object

getHttpRequest

public HttpRequest getHttpRequest()


Copyright © Orientation in Objects GmbH. All Rights Reserved.