public class DummyServletRequest
extends java.lang.Object
implements javax.servlet.ServletRequest
Constructor and Description |
---|
DummyServletRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
java.util.Enumeration |
getAttributeNames()
The default behavior of this method is to return getAttributeNames()
on the wrapped request object.
|
java.lang.String |
getCharacterEncoding()
The default behavior of this method is to return getCharacterEncoding()
on the wrapped request object.
|
int |
getContentLength()
The default behavior of this method is to return getContentLength()
on the wrapped request object.
|
java.lang.String |
getContentType()
The default behavior of this method is to return getContentType()
on the wrapped request object.
|
javax.servlet.ServletInputStream |
getInputStream()
The default behavior of this method is to return getInputStream()
on the wrapped request object.
|
java.lang.String |
getLocalAddr()
The default behavior of this method is to return
getLocalAddr() on the wrapped request object.
|
java.util.Locale |
getLocale()
The default behavior of this method is to return getLocale()
on the wrapped request object.
|
java.util.Enumeration |
getLocales()
The default behavior of this method is to return getLocales()
on the wrapped request object.
|
java.lang.String |
getLocalName()
The default behavior of this method is to return
getLocalName() on the wrapped request object.
|
int |
getLocalPort()
The default behavior of this method is to return
getLocalPort() on the wrapped request object.
|
java.lang.String |
getParameter(java.lang.String name)
Used by RSWEB --------------------------------------------------------------------------------------
|
java.util.Map |
getParameterMap()
The default behavior of this method is to return getParameterMap()
on the wrapped request object.
|
java.util.Enumeration |
getParameterNames()
The default behavior of this method is to return getParameterNames()
on the wrapped request object.
|
java.lang.String[] |
getParameterValues(java.lang.String name)
The default behavior of this method is to return getParameterValues(String name)
on the wrapped request object.
|
java.lang.String |
getProtocol()
The default behavior of this method is to return getProtocol()
on the wrapped request object.
|
java.io.BufferedReader |
getReader()
The default behavior of this method is to return getReader()
on the wrapped request object.
|
java.lang.String |
getRealPath(java.lang.String path)
Deprecated.
|
java.lang.String |
getRemoteAddr()
Used by RSWEB --------------------------------------------------------------------------------------
|
java.lang.String |
getRemoteHost()
The default behavior of this method is to return getRemoteHost()
on the wrapped request object.
|
int |
getRemotePort()
The default behavior of this method is to return
getRemotePort() on the wrapped request object.
|
javax.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String path)
The default behavior of this method is to return getRequestDispatcher(String path)
on the wrapped request object.
|
java.lang.String |
getScheme()
The default behavior of this method is to return getScheme()
on the wrapped request object.
|
java.lang.String |
getServerName()
Used by RSWEB --------------------------------------------------------------------------------------
|
int |
getServerPort()
The default behavior of this method is to return getServerPort()
on the wrapped request object.
|
boolean |
isSecure()
The default behavior of this method is to return isSecure()
on the wrapped request object.
|
void |
removeAttribute(java.lang.String name)
The default behavior of this method is to call removeAttribute(String name)
on the wrapped request object.
|
void |
setAttribute(java.lang.String name,
java.lang.Object o)
The default behavior of this method is to return setAttribute(String name, Object o)
on the wrapped request object.
|
void |
setCharacterEncoding(java.lang.String enc)
The default behavior of this method is to set the character encoding
on the wrapped request object.
|
void |
setParameters(java.util.Hashtable params) |
void |
setRemoteAddr(java.lang.String a) |
void |
setServerName(java.lang.String sn) |
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface javax.servlet.ServletRequest
public java.lang.String getServerName()
getServerName
in interface javax.servlet.ServletRequest
public void setServerName(java.lang.String sn)
public java.lang.String getRemoteAddr()
getRemoteAddr
in interface javax.servlet.ServletRequest
public void setRemoteAddr(java.lang.String a)
public void setParameters(java.util.Hashtable params)
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface javax.servlet.ServletRequest
public java.util.Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.ServletRequest
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface javax.servlet.ServletRequest
public void setCharacterEncoding(java.lang.String enc) throws java.io.UnsupportedEncodingException
setCharacterEncoding
in interface javax.servlet.ServletRequest
java.io.UnsupportedEncodingException
public int getContentLength()
getContentLength
in interface javax.servlet.ServletRequest
public java.lang.String getContentType()
getContentType
in interface javax.servlet.ServletRequest
public javax.servlet.ServletInputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.servlet.ServletRequest
java.io.IOException
public java.util.Map getParameterMap()
getParameterMap
in interface javax.servlet.ServletRequest
public java.util.Enumeration getParameterNames()
getParameterNames
in interface javax.servlet.ServletRequest
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in interface javax.servlet.ServletRequest
public java.lang.String getProtocol()
getProtocol
in interface javax.servlet.ServletRequest
public java.lang.String getScheme()
getScheme
in interface javax.servlet.ServletRequest
public int getServerPort()
getServerPort
in interface javax.servlet.ServletRequest
public java.io.BufferedReader getReader() throws java.io.IOException
getReader
in interface javax.servlet.ServletRequest
java.io.IOException
public java.lang.String getRemoteHost()
getRemoteHost
in interface javax.servlet.ServletRequest
public void setAttribute(java.lang.String name, java.lang.Object o)
setAttribute
in interface javax.servlet.ServletRequest
public void removeAttribute(java.lang.String name)
removeAttribute
in interface javax.servlet.ServletRequest
public java.util.Locale getLocale()
getLocale
in interface javax.servlet.ServletRequest
public java.util.Enumeration getLocales()
getLocales
in interface javax.servlet.ServletRequest
public boolean isSecure()
isSecure
in interface javax.servlet.ServletRequest
public javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String path)
getRequestDispatcher
in interface javax.servlet.ServletRequest
public java.lang.String getRealPath(java.lang.String path)
getRealPath
in interface javax.servlet.ServletRequest
public int getRemotePort()
getRemotePort
in interface javax.servlet.ServletRequest
public java.lang.String getLocalName()
getLocalName
in interface javax.servlet.ServletRequest
public java.lang.String getLocalAddr()
getLocalAddr
in interface javax.servlet.ServletRequest
public int getLocalPort()
getLocalPort
in interface javax.servlet.ServletRequest
Copyright © 2002-2016 Keyoti Inc. All Rights Reserved.