org.bibop.xml.xforge.helpers
Class SerializableServletRequest

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

public class SerializableServletRequest
extends java.lang.Object
implements javax.servlet.ServletRequest, java.io.Serializable

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

Field Summary
private  int contentLenght
           
private  java.lang.String contentType
           
private  java.lang.String encoding
           
protected  java.util.Hashtable parameters
           
private  java.lang.String protocol
           
private  java.lang.String remoteAddress
           
private  java.lang.String remoteHost
           
private  java.lang.String scheme
           
private  boolean secure
           
private  java.lang.String serverName
           
private  int serverPort
           
 
Constructor Summary
SerializableServletRequest(javax.servlet.ServletRequest req)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String p0)
           
 java.util.Enumeration getAttributeNames()
           
 java.lang.String getCharacterEncoding()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 javax.servlet.ServletInputStream getInputStream()
           
 java.util.Locale getLocale()
           
 java.util.Enumeration getLocales()
           
 java.lang.String getParameter(java.lang.String name)
           
 java.util.Map getParameterMap()
           
 java.util.Enumeration getParameterNames()
           
 java.lang.String[] getParameterValues(java.lang.String name)
           
 java.lang.String getProtocol()
           
 java.io.BufferedReader getReader()
           
 java.lang.String getRealPath(java.lang.String p0)
           
 java.lang.String getRemoteAddr()
           
 java.lang.String getRemoteHost()
           
 javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String p0)
           
 java.lang.String getScheme()
           
 java.lang.String getServerName()
           
 int getServerPort()
           
 boolean isSecure()
           
 void removeAttribute(java.lang.String p0)
           
 void setAttribute(java.lang.String p0, java.lang.Object p1)
           
 void setCharacterEncoding(java.lang.String enc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameters

protected java.util.Hashtable parameters

encoding

private java.lang.String encoding

contentType

private java.lang.String contentType

protocol

private java.lang.String protocol

scheme

private java.lang.String scheme

serverName

private java.lang.String serverName

serverPort

private int serverPort

remoteAddress

private java.lang.String remoteAddress

remoteHost

private java.lang.String remoteHost

secure

private boolean secure

contentLenght

private int contentLenght
Constructor Detail

SerializableServletRequest

public SerializableServletRequest(javax.servlet.ServletRequest req)
Method Detail

getParameterMap

public java.util.Map getParameterMap()
Specified by:
getParameterMap in interface javax.servlet.ServletRequest

setCharacterEncoding

public void setCharacterEncoding(java.lang.String enc)
Specified by:
setCharacterEncoding in interface javax.servlet.ServletRequest

getAttribute

public java.lang.Object getAttribute(java.lang.String p0)
Specified by:
getAttribute in interface javax.servlet.ServletRequest

getAttributeNames

public java.util.Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface javax.servlet.ServletRequest

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface javax.servlet.ServletRequest

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface javax.servlet.ServletRequest

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface javax.servlet.ServletRequest

getInputStream

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

getParameter

public java.lang.String getParameter(java.lang.String name)
Specified by:
getParameter in interface javax.servlet.ServletRequest

getParameterNames

public java.util.Enumeration getParameterNames()
Specified by:
getParameterNames in interface javax.servlet.ServletRequest

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String name)
Specified by:
getParameterValues in interface javax.servlet.ServletRequest

getProtocol

public java.lang.String getProtocol()
Specified by:
getProtocol in interface javax.servlet.ServletRequest

getScheme

public java.lang.String getScheme()
Specified by:
getScheme in interface javax.servlet.ServletRequest

getServerName

public java.lang.String getServerName()
Specified by:
getServerName in interface javax.servlet.ServletRequest

getServerPort

public int getServerPort()
Specified by:
getServerPort in interface javax.servlet.ServletRequest

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.IOException
Specified by:
getReader in interface javax.servlet.ServletRequest
java.io.IOException

getRemoteAddr

public java.lang.String getRemoteAddr()
Specified by:
getRemoteAddr in interface javax.servlet.ServletRequest

getRemoteHost

public java.lang.String getRemoteHost()
Specified by:
getRemoteHost in interface javax.servlet.ServletRequest

setAttribute

public void setAttribute(java.lang.String p0,
                         java.lang.Object p1)
Specified by:
setAttribute in interface javax.servlet.ServletRequest

removeAttribute

public void removeAttribute(java.lang.String p0)
Specified by:
removeAttribute in interface javax.servlet.ServletRequest

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface javax.servlet.ServletRequest

getLocales

public java.util.Enumeration getLocales()
Specified by:
getLocales in interface javax.servlet.ServletRequest

isSecure

public boolean isSecure()
Specified by:
isSecure in interface javax.servlet.ServletRequest

getRequestDispatcher

public javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String p0)
Specified by:
getRequestDispatcher in interface javax.servlet.ServletRequest

getRealPath

public java.lang.String getRealPath(java.lang.String p0)
Specified by:
getRealPath in interface javax.servlet.ServletRequest


Copyright 2003 Bibop Research International. All Rights Reserved.