org.bibop.xml.xforge.helpers
Class SerializableHttpServletRequest

java.lang.Object
  |
  +--org.bibop.xml.xforge.helpers.SerializableServletRequest
        |
        +--org.bibop.xml.xforge.helpers.SerializableHttpServletRequest
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, java.io.Serializable, javax.servlet.ServletRequest

public class SerializableHttpServletRequest
extends SerializableServletRequest
implements javax.servlet.http.HttpServletRequest

Version:
1.0
Author:
Alberto Garoffolo
See Also:
Serialized Form

Field Summary
private  java.lang.String authType
           
private  java.lang.String contextPath
           
private  java.lang.String method
           
private  java.lang.String pathInfo
           
private  java.lang.String pathTranslated
           
private  java.lang.String queryString
           
private  java.lang.String remoteUser
           
private  java.lang.String requestedSessionId
           
private  boolean requestedSessionIdFromCookie
           
private  boolean requestedSessionIdFromUrl
           
private  boolean requestedSessionIdFromURL
           
private  boolean requestedSessionIdValid
           
private  java.lang.String requestSessionId
           
private  java.lang.String requestURI
           
private  java.lang.String servletPath
           
private  SerializableServletInputStream sis
           
 
Fields inherited from class org.bibop.xml.xforge.helpers.SerializableServletRequest
parameters
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
SerializableHttpServletRequest(javax.servlet.http.HttpServletRequest req)
           
 
Method Summary
 java.lang.String getAuthType()
           
 java.lang.String getContextPath()
           
 javax.servlet.http.Cookie[] getCookies()
           
 long getDateHeader(java.lang.String p0)
           
 java.lang.String getHeader(java.lang.String p0)
           
 java.util.Enumeration getHeaderNames()
           
 java.util.Enumeration getHeaders(java.lang.String p0)
           
 javax.servlet.ServletInputStream getInputStream()
           
 int getIntHeader(java.lang.String p0)
           
 java.lang.String getMethod()
           
 java.lang.String getPathInfo()
           
 java.lang.String getPathTranslated()
           
 java.lang.String getQueryString()
           
 java.lang.String getRemoteUser()
           
 java.lang.String getRequestedSessionId()
           
 java.lang.String getRequestURI()
           
 java.lang.StringBuffer getRequestURL()
           
 java.lang.String getServletPath()
           
 javax.servlet.http.HttpSession getSession()
           
 javax.servlet.http.HttpSession getSession(boolean p0)
           
 java.security.Principal getUserPrincipal()
           
 boolean isRequestedSessionIdFromCookie()
           
 boolean isRequestedSessionIdFromUrl()
           
 boolean isRequestedSessionIdFromURL()
           
 boolean isRequestedSessionIdValid()
           
 boolean isUserInRole(java.lang.String p0)
           
 
Methods inherited from class org.bibop.xml.xforge.helpers.SerializableServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Field Detail

sis

private SerializableServletInputStream sis

authType

private java.lang.String authType

method

private java.lang.String method

pathInfo

private java.lang.String pathInfo

pathTranslated

private java.lang.String pathTranslated

contextPath

private java.lang.String contextPath

queryString

private java.lang.String queryString

remoteUser

private java.lang.String remoteUser

requestSessionId

private java.lang.String requestSessionId

requestURI

private java.lang.String requestURI

servletPath

private java.lang.String servletPath

requestedSessionId

private java.lang.String requestedSessionId

requestedSessionIdValid

private boolean requestedSessionIdValid

requestedSessionIdFromCookie

private boolean requestedSessionIdFromCookie

requestedSessionIdFromURL

private boolean requestedSessionIdFromURL

requestedSessionIdFromUrl

private boolean requestedSessionIdFromUrl
Constructor Detail

SerializableHttpServletRequest

public SerializableHttpServletRequest(javax.servlet.http.HttpServletRequest req)
Method Detail

getRequestURL

public java.lang.StringBuffer getRequestURL()
Specified by:
getRequestURL in interface javax.servlet.http.HttpServletRequest

getAuthType

public java.lang.String getAuthType()
Specified by:
getAuthType in interface javax.servlet.http.HttpServletRequest

getCookies

public javax.servlet.http.Cookie[] getCookies()
Specified by:
getCookies in interface javax.servlet.http.HttpServletRequest

getDateHeader

public long getDateHeader(java.lang.String p0)
Specified by:
getDateHeader in interface javax.servlet.http.HttpServletRequest

getHeader

public java.lang.String getHeader(java.lang.String p0)
Specified by:
getHeader in interface javax.servlet.http.HttpServletRequest

getHeaders

public java.util.Enumeration getHeaders(java.lang.String p0)
Specified by:
getHeaders in interface javax.servlet.http.HttpServletRequest

getHeaderNames

public java.util.Enumeration getHeaderNames()
Specified by:
getHeaderNames in interface javax.servlet.http.HttpServletRequest

getIntHeader

public int getIntHeader(java.lang.String p0)
Specified by:
getIntHeader in interface javax.servlet.http.HttpServletRequest

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface javax.servlet.http.HttpServletRequest

getPathInfo

public java.lang.String getPathInfo()
Specified by:
getPathInfo in interface javax.servlet.http.HttpServletRequest

getPathTranslated

public java.lang.String getPathTranslated()
Specified by:
getPathTranslated in interface javax.servlet.http.HttpServletRequest

getContextPath

public java.lang.String getContextPath()
Specified by:
getContextPath in interface javax.servlet.http.HttpServletRequest

getQueryString

public java.lang.String getQueryString()
Specified by:
getQueryString in interface javax.servlet.http.HttpServletRequest

getRemoteUser

public java.lang.String getRemoteUser()
Specified by:
getRemoteUser in interface javax.servlet.http.HttpServletRequest

isUserInRole

public boolean isUserInRole(java.lang.String p0)
Specified by:
isUserInRole in interface javax.servlet.http.HttpServletRequest

getUserPrincipal

public java.security.Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface javax.servlet.http.HttpServletRequest

getRequestedSessionId

public java.lang.String getRequestedSessionId()
Specified by:
getRequestedSessionId in interface javax.servlet.http.HttpServletRequest

getRequestURI

public java.lang.String getRequestURI()
Specified by:
getRequestURI in interface javax.servlet.http.HttpServletRequest

getServletPath

public java.lang.String getServletPath()
Specified by:
getServletPath in interface javax.servlet.http.HttpServletRequest

getSession

public javax.servlet.http.HttpSession getSession(boolean p0)
Specified by:
getSession in interface javax.servlet.http.HttpServletRequest

getSession

public javax.servlet.http.HttpSession getSession()
Specified by:
getSession in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdValid

public boolean isRequestedSessionIdValid()
Specified by:
isRequestedSessionIdValid in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdFromCookie

public boolean isRequestedSessionIdFromCookie()
Specified by:
isRequestedSessionIdFromCookie in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdFromURL

public boolean isRequestedSessionIdFromURL()
Specified by:
isRequestedSessionIdFromURL in interface javax.servlet.http.HttpServletRequest

isRequestedSessionIdFromUrl

public boolean isRequestedSessionIdFromUrl()
Specified by:
isRequestedSessionIdFromUrl in interface javax.servlet.http.HttpServletRequest

getInputStream

public javax.servlet.ServletInputStream getInputStream()
                                                throws java.io.IOException
Specified by:
getInputStream in interface javax.servlet.ServletRequest
Overrides:
getInputStream in class SerializableServletRequest
java.io.IOException


Copyright 2003 Bibop Research International. All Rights Reserved.