|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.apache.pluto.internal.impl.PortletRequestImpl
public abstract class PortletRequestImpl
Abstract javax.portlet.PortletRequest
implementation.
This class also implements InternalPortletRequest.
Field Summary | |
---|---|
protected PortletContainer |
container
The parent container within which this request was created. |
protected InternalPortletWindow |
internalPortletWindow
The portlet window which is the target of this portlet request. |
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
PortletRequestImpl(InternalPortletRequest internalPortletRequest)
|
|
PortletRequestImpl(PortletContainer container,
InternalPortletWindow internalPortletWindow,
javax.servlet.http.HttpServletRequest servletRequest)
Creates a PortletRequestImpl instance. |
Method Summary | |
---|---|
protected java.util.Map |
baseGetParameterMap()
The base method that returns the parameter map in this portlet request. |
java.util.Map |
createUserInfoMap()
|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the named attribute as an Object ,
or null if no attribute of the given name exists. |
java.util.Enumeration |
getAttributeNames()
Returns an Enumeration containing the
names of the attributes available to this request. |
java.lang.String |
getAuthType()
Returns the name of the authentication scheme used for the connection between client and portal, for example, BASIC_AUTH , CLIENT_CERT_AUTH ,
a custom one or null if there was no authentication. |
java.lang.String |
getContextPath()
Returns the context path which is the path prefix associated with the deployed portlet application. |
javax.servlet.http.Cookie[] |
getCookies()
Returns an array containing all of the Cookie properties. |
long |
getDateHeader(java.lang.String arg0)
|
java.lang.String |
getHeader(java.lang.String arg0)
|
java.util.Enumeration |
getHeaderNames()
|
java.util.Enumeration |
getHeaders(java.lang.String arg0)
|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
|
javax.servlet.ServletInputStream |
getInputStream()
|
InternalPortletWindow |
getInternalPortletWindow()
|
int |
getIntHeader(java.lang.String arg0)
|
java.lang.String |
getLifecyclePhase()
|
java.lang.String |
getLocalAddr()
|
java.util.Locale |
getLocale()
Returns the preferred Locale in which the portal will accept content. |
java.util.Enumeration |
getLocales()
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale in which the portal will accept content for this request. |
java.lang.String |
getLocalName()
|
int |
getLocalPort()
|
java.lang.String |
getParameter(java.lang.String name)
Returns the value of a request parameter as a String ,
or null if the parameter does not exist. |
java.util.Map |
getParameterMap()
Returns a Map of the parameters of this request. |
java.util.Enumeration |
getParameterNames()
Returns an Enumeration of String
objects containing the names of the parameters contained
in this request. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns an array of String objects containing
all of the values the given request parameter has, or
null if the parameter does not exist. |
java.lang.String |
getPathInfo()
|
java.lang.String |
getPathTranslated()
|
PortalContext |
getPortalContext()
Returns the context of the calling portal. |
PortletContainer |
getPortletContainer()
|
PortletMode |
getPortletMode()
Returns the current portlet mode of the portlet. |
PortletSession |
getPortletSession()
Returns the current portlet session or, if there is no current session, creates one and returns the new session. |
PortletSession |
getPortletSession(boolean create)
Returns the portlet session. |
PortletPreferences |
getPreferences()
Returns the preferences object associated with the portlet. |
java.util.Map<java.lang.String,java.lang.String[]> |
getPrivateParameterMap()
Returns a Map of the private parameters of this request. |
java.util.Enumeration |
getProperties(java.lang.String name)
Returns all the values of the specified request property as a Enumeration of String objects. |
java.lang.String |
getProperty(java.lang.String name)
Returns the value of the specified request property as a String . |
java.util.Enumeration |
getPropertyNames()
Returns a Enumeration of all the property names
this request contains. |
java.lang.String |
getProtocol()
|
java.util.Map<java.lang.String,java.lang.String[]> |
getPublicParameterMap()
Returns a Map of the public parameters of this request. |
java.lang.String |
getQueryString()
|
java.io.BufferedReader |
getReader()
|
java.lang.String |
getRealPath(java.lang.String arg0)
|
java.lang.String |
getRemoteAddr()
|
java.lang.String |
getRemoteHost()
|
int |
getRemotePort()
|
java.lang.String |
getRemoteUser()
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. |
javax.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String path)
|
java.lang.String |
getRequestedSessionId()
Returns the session ID indicated in the client request. |
java.lang.String |
getRequestURI()
|
java.lang.StringBuffer |
getRequestURL()
|
java.lang.String |
getResponseContentType()
Returns the portal preferred content type for the response. |
java.util.Enumeration |
getResponseContentTypes()
Gets a list of content types which the portal accepts for the response. |
java.lang.String |
getScheme()
Returns the name of the scheme used to make this request. |
java.lang.String |
getServerName()
Returns the host name of the server that received the request. |
int |
getServerPort()
Returns the port number on which this request was received. |
java.lang.String |
getServletPath()
|
javax.servlet.http.HttpSession |
getSession()
|
javax.servlet.http.HttpSession |
getSession(boolean arg0)
|
java.security.Principal |
getUserPrincipal()
Returns a java.security.Principal object containing the name of the current authenticated user. |
java.lang.String |
getWindowId()
|
java.lang.String |
getWindowID()
Returns the portlet window ID. |
WindowState |
getWindowState()
Returns the current window state of the portlet. |
void |
init(PortletContext portletContext,
javax.servlet.http.HttpServletRequest req)
Initializes the portlet request for use within the target context. |
boolean |
isForwarded()
|
boolean |
isIncluded()
Returns true if a jsp or servlet is included. |
boolean |
isPortletModeAllowed(PortletMode mode)
Returns true, if the given portlet mode is a valid one to set for this portlet in the context of the current request. |
boolean |
isRequestedSessionIdValid()
Checks whether the requested session ID is still valid. |
boolean |
isSecure()
Returns a boolean indicating whether this request was made using a secure channel between client and the portal, such as HTTPS. |
boolean |
isUserInRole(java.lang.String roleName)
Determines whether a user is mapped to the specified role. |
boolean |
isWindowStateAllowed(WindowState state)
Determine whether or not the specified WindowState is allowed for this portlet. |
void |
release()
TODO: Implement this properly. |
void |
removeAttribute(java.lang.String name)
Removes an attribute from this request. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Stores an attribute in this request. |
protected void |
setBodyAccessed()
|
void |
setCharacterEncoding(java.lang.String encoding)
TODO: why check bodyAccessed? |
void |
setForwarded(boolean forwarded)
|
void |
setForwardedQueryString(java.lang.String queryString)
|
void |
setIncluded(boolean included)
Is set true when a jsp, servlet is included. |
void |
setIncludedQueryString(java.lang.String queryString)
|
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
---|
getMethod, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL |
Methods inherited from class javax.servlet.ServletRequestWrapper |
---|
getCharacterEncoding, getContentLength, getContentType, getRequest, setRequest |
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 |
---|
getCharacterEncoding, getContentLength, getContentType |
Field Detail |
---|
protected PortletContainer container
protected InternalPortletWindow internalPortletWindow
Constructor Detail |
---|
public PortletRequestImpl(InternalPortletRequest internalPortletRequest)
public PortletRequestImpl(PortletContainer container, InternalPortletWindow internalPortletWindow, javax.servlet.http.HttpServletRequest servletRequest)
container
- the portlet container.internalPortletWindow
- the internal portlet window.servletRequest
- the underlying servlet request.Method Detail |
---|
public java.lang.String getWindowId()
public boolean isWindowStateAllowed(WindowState state)
isWindowStateAllowed
in interface PortletRequest
state
- the state in question
public boolean isPortletModeAllowed(PortletMode mode)
PortletRequest
isPortletModeAllowed
in interface PortletRequest
mode
- portlet mode to check
public PortletMode getPortletMode()
PortletRequest
getPortletMode
in interface PortletRequest
public WindowState getWindowState()
PortletRequest
getWindowState
in interface PortletRequest
public PortletSession getPortletSession()
PortletRequest
Creating a new portlet session will result in creating
a new HttpSession
on which the portlet session is based on.
getPortletSession
in interface PortletRequest
public PortletSession getPortletSession(boolean create)
Note that since portlet request instance is created everytime the portlet container receives an incoming request, the portlet session instance held by the request instance is also re-created for each incoming request.
getPortletSession
in interface PortletRequest
create
- true
to create a new session, false
to return null
if there
is no current session
public java.lang.String getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
PortletRequest
String
. If the request did not include a property
of the specified name, this method returns null
.
A portlet can access portal/portlet-container specific properties through this method and, if available, the headers of the HTTP client request.
This method should only be used if the
property has only one value. If the property might have
more than one value, use PortletRequest.getProperties(java.lang.String)
.
If this method is used with a multivalued
parameter, the value returned is equal to the first value
in the Enumeration returned by getProperties
.
getProperty
in interface PortletRequest
name
- a String
specifying the
property name
String
containing the
value of the requested
property, or null
if the request does not
have a property of that name.
java.lang.IllegalArgumentException
- if name is null
.public java.util.Enumeration getProperties(java.lang.String name)
PortletRequest
Enumeration
of String
objects.
If the request did not include any properties
of the specified name, this method returns an empty
Enumeration
.
The property name is case insensitive. You can use
this method with any request property.
getProperties
in interface PortletRequest
name
- a String
specifying the
property name
Enumeration
containing
the values of the requested property. If
the request does not have any properties of
that name return an empty Enumeration
.public java.util.Enumeration getPropertyNames()
PortletRequest
Enumeration
of all the property names
this request contains. If the request has no
properties, this method returns an empty Enumeration
.
getPropertyNames
in interface PortletRequest
Enumeration
of all the
property names sent with this
request; if the request has
no properties, an empty Enumeration
.public PortalContext getPortalContext()
PortletRequest
getPortalContext
in interface PortletRequest
public java.lang.String getAuthType()
PortletRequest
BASIC_AUTH
, CLIENT_CERT_AUTH
,
a custom one or null
if there was no authentication.
getAuthType
in interface PortletRequest
getAuthType
in interface javax.servlet.http.HttpServletRequest
getAuthType
in class javax.servlet.http.HttpServletRequestWrapper
BASIC_AUTH
,
FORM_AUTH
, CLIENT_CERT_AUTH
,
DIGEST_AUTH
(suitable for == comparison)
indicating the authentication scheme,
a custom one, or
null
if the request was
not authenticated.public java.lang.String getContextPath()
PortletRequest
To encode a URL the PortletResponse.encodeURL(java.lang.String)
method must be used.
getContextPath
in interface PortletRequest
getContextPath
in interface javax.servlet.http.HttpServletRequest
getContextPath
in class javax.servlet.http.HttpServletRequestWrapper
String
specifying the
portion of the request URL that indicates the context
of the requestPortletResponse.encodeURL(java.lang.String)
public java.lang.String getRemoteUser()
PortletRequest
getRemoteUser
in interface PortletRequest
getRemoteUser
in interface javax.servlet.http.HttpServletRequest
getRemoteUser
in class javax.servlet.http.HttpServletRequestWrapper
String
specifying the login
of the user making this request, or null
if the user login is not known.public java.security.Principal getUserPrincipal()
PortletRequest
getUserPrincipal
in interface PortletRequest
getUserPrincipal
in interface javax.servlet.http.HttpServletRequest
getUserPrincipal
in class javax.servlet.http.HttpServletRequestWrapper
java.security.Principal
containing
the name of the user making this request, or
null
if the user has not been
authenticated.public boolean isUserInRole(java.lang.String roleName)
isUserInRole
in interface PortletRequest
isUserInRole
in interface javax.servlet.http.HttpServletRequest
isUserInRole
in class javax.servlet.http.HttpServletRequestWrapper
roleName
- the name of the role
public java.lang.Object getAttribute(java.lang.String name)
PortletRequest
Object
,
or null
if no attribute of the given name exists.
Attribute names should follow the same conventions as package
names. This specification reserves names matching java.*
,
and javax.*
.
In a distributed portlet web application the Object
needs to be serializable.
getAttribute
in interface PortletRequest
getAttribute
in interface javax.servlet.ServletRequest
getAttribute
in class javax.servlet.ServletRequestWrapper
name
- a String
specifying the name of
the attribute
Object
containing the value
of the attribute, or null
if
the attribute does not exist.public java.util.Enumeration getAttributeNames()
PortletRequest
Enumeration
containing the
names of the attributes available to this request.
This method returns an empty Enumeration
if the request has no attributes available to it.
getAttributeNames
in interface PortletRequest
getAttributeNames
in interface javax.servlet.ServletRequest
getAttributeNames
in class javax.servlet.ServletRequestWrapper
Enumeration
of strings
containing the names
of the request attributes, or an empty
Enumeration
if the request
has no attributes available to it.public java.util.Map createUserInfoMap()
public java.lang.String getParameter(java.lang.String name)
PortletRequest
String
,
or null
if the parameter does not exist. Request parameters
are extra information sent with the request. The returned parameter
are "x-www-form-urlencoded" decoded.
Only parameters targeted to the current portlet are accessible.
This method should only be used if the
parameter has only one value. If the parameter might have
more than one value, use PortletRequest.getParameterValues(java.lang.String)
.
If this method is used with a multivalued
parameter, the value returned is equal to the first value
in the array returned by getParameterValues
.
getParameter
in interface PortletRequest
getParameter
in interface javax.servlet.ServletRequest
getParameter
in class javax.servlet.ServletRequestWrapper
name
- a String
specifying the
name of the parameter
String
representing the
single value of the parameterPortletRequest.getParameterValues(java.lang.String)
public java.util.Enumeration getParameterNames()
PortletRequest
Enumeration
of String
objects containing the names of the parameters contained
in this request. If the request has
no parameters, the method returns an
empty Enumeration
.
Only parameters targeted to the current portlet are returned.
getParameterNames
in interface PortletRequest
getParameterNames
in interface javax.servlet.ServletRequest
getParameterNames
in class javax.servlet.ServletRequestWrapper
Enumeration
of String
objects, each String
containing
the name of a request parameter; or an
empty Enumeration
if the
request has no parameters.public java.lang.String[] getParameterValues(java.lang.String name)
PortletRequest
String
objects containing
all of the values the given request parameter has, or
null
if the parameter does not exist.
The returned parameters are "x-www-form-urlencoded" decoded.
If the parameter has a single value, the array has a length of 1.
getParameterValues
in interface PortletRequest
getParameterValues
in interface javax.servlet.ServletRequest
getParameterValues
in class javax.servlet.ServletRequestWrapper
name
- a String
containing the name of
the parameter the value of which is requested
String
objects
containing the parameter values.PortletRequest.getParameter(java.lang.String)
public java.util.Map getParameterMap()
PortletRequest
Map
of the parameters of this request.
Request parameters are extra information sent with the request.
The returned parameters are "x-www-form-urlencoded" decoded.
The values in the returned Map
are from type
String array (String[]
).
If no parameters exist this method returns an empty Map
.
getParameterMap
in interface PortletRequest
getParameterMap
in interface javax.servlet.ServletRequest
getParameterMap
in class javax.servlet.ServletRequestWrapper
Map
containing parameter names as
keys and parameter values as map values, or an empty Map
if no parameters exist. The keys in the parameter
map are of type String. The values in the parameter map are of type
String array (String[]
).public boolean isSecure()
PortletRequest
isSecure
in interface PortletRequest
isSecure
in interface javax.servlet.ServletRequest
isSecure
in class javax.servlet.ServletRequestWrapper
public void setAttribute(java.lang.String name, java.lang.Object value)
PortletRequest
Attribute names should follow the same conventions as
package names. Names beginning with java.*
,
javax.*
, and com.sun.*
are
reserved.
If the value passed into this method is null
,
the effect is the same as calling PortletRequest.removeAttribute(java.lang.String)
.
setAttribute
in interface PortletRequest
setAttribute
in interface javax.servlet.ServletRequest
setAttribute
in interface InternalPortletRequest
setAttribute
in class javax.servlet.ServletRequestWrapper
name
- a String
specifying
the name of the attributevalue
- the Object
to be storedpublic void removeAttribute(java.lang.String name)
PortletRequest
Attribute names should follow the same conventions as
package names. Names beginning with java.*
,
javax.*
, and com.sun.*
are
reserved.
removeAttribute
in interface PortletRequest
removeAttribute
in interface javax.servlet.ServletRequest
removeAttribute
in class javax.servlet.ServletRequestWrapper
name
- a String
specifying
the name of the attribute to be removedpublic java.lang.String getRequestedSessionId()
PortletRequest
null
.
getRequestedSessionId
in interface PortletRequest
getRequestedSessionId
in interface javax.servlet.http.HttpServletRequest
getRequestedSessionId
in class javax.servlet.http.HttpServletRequestWrapper
String
specifying the session
ID, or null
if the request did
not specify a session IDPortletRequest.isRequestedSessionIdValid()
public boolean isRequestedSessionIdValid()
PortletRequest
isRequestedSessionIdValid
in interface PortletRequest
isRequestedSessionIdValid
in interface javax.servlet.http.HttpServletRequest
isRequestedSessionIdValid
in class javax.servlet.http.HttpServletRequestWrapper
true
if this
request has an id for a valid session
in the current session context;
false
otherwisePortletRequest.getRequestedSessionId()
,
PortletRequest.getPortletSession()
public java.lang.String getResponseContentType()
PortletRequest
For ActionRequest, EventRequest
, and
RenderRequest
the following restrictions apply:
MimeResponse.getCharacterEncoding()
.'*'
or '* / *'
as supported content
types, these may also be valid return values.
getResponseContentType
in interface PortletRequest
public java.util.Enumeration getResponseContentTypes()
PortletRequest
For ActionRequest, EventRequest
, and
RenderRequest
the following restrictions apply:
'*'
or '* / *'
as supported content
types, these may also be valid return values.
getResponseContentTypes
in interface PortletRequest
public java.util.Locale getLocale()
PortletRequest
getLocale
in interface PortletRequest
getLocale
in interface javax.servlet.ServletRequest
getLocale
in class javax.servlet.ServletRequestWrapper
public java.util.Enumeration getLocales()
PortletRequest
getLocales
in interface PortletRequest
getLocales
in interface javax.servlet.ServletRequest
getLocales
in class javax.servlet.ServletRequestWrapper
public java.lang.String getScheme()
PortletRequest
http
, https
, or ftp
.
Different schemes have different rules for constructing URLs,
as noted in RFC 1738.
getScheme
in interface PortletRequest
getScheme
in interface javax.servlet.ServletRequest
getScheme
in class javax.servlet.ServletRequestWrapper
String
containing the name
of the scheme used to make this requestpublic java.lang.String getServerName()
PortletRequest
getServerName
in interface PortletRequest
getServerName
in interface javax.servlet.ServletRequest
getServerName
in class javax.servlet.ServletRequestWrapper
String
containing the name
of the server to which the request was sentpublic int getServerPort()
PortletRequest
getServerPort
in interface PortletRequest
getServerPort
in interface javax.servlet.ServletRequest
getServerPort
in class javax.servlet.ServletRequestWrapper
protected java.util.Map baseGetParameterMap()
protected void setBodyAccessed()
public InternalPortletWindow getInternalPortletWindow()
getInternalPortletWindow
in interface InternalPortletRequest
public PortletContainer getPortletContainer()
getPortletContainer
in interface InternalPortletRequest
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletRequest
in interface InternalPortletRequest
public void init(PortletContext portletContext, javax.servlet.http.HttpServletRequest req)
InternalPortletRequest
init
in interface InternalPortletRequest
portletContext
- the target portlet context.req
- the servlet request.public void release()
release
in interface InternalPortletRequest
public java.io.BufferedReader getReader() throws java.io.UnsupportedEncodingException, java.io.IOException
getReader
in interface javax.servlet.ServletRequest
getReader
in class javax.servlet.ServletRequestWrapper
java.io.UnsupportedEncodingException
java.io.IOException
public javax.servlet.ServletInputStream getInputStream() throws java.io.IOException
getInputStream
in interface javax.servlet.ServletRequest
getInputStream
in class javax.servlet.ServletRequestWrapper
java.io.IOException
public javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String path)
getRequestDispatcher
in interface javax.servlet.ServletRequest
getRequestDispatcher
in class javax.servlet.ServletRequestWrapper
public void setCharacterEncoding(java.lang.String encoding) throws java.io.UnsupportedEncodingException
setCharacterEncoding
in interface javax.servlet.ServletRequest
setCharacterEncoding
in class javax.servlet.ServletRequestWrapper
java.io.UnsupportedEncodingException
public boolean isForwarded()
isForwarded
in interface InternalPortletRequest
public void setForwarded(boolean forwarded)
setForwarded
in interface InternalPortletRequest
public void setForwardedQueryString(java.lang.String queryString)
setForwardedQueryString
in interface InternalPortletRequest
public void setIncluded(boolean included)
InternalPortletRequest
setIncluded
in interface InternalPortletRequest
included
- true when includedpublic boolean isIncluded()
InternalPortletRequest
isIncluded
in interface InternalPortletRequest
public void setIncludedQueryString(java.lang.String queryString) throws java.lang.IllegalStateException
setIncludedQueryString
in interface InternalPortletRequest
java.lang.IllegalStateException
public PortletPreferences getPreferences()
PortletRequest
getPreferences
in interface PortletRequest
public java.util.Map<java.lang.String,java.lang.String[]> getPrivateParameterMap()
PortletRequest
Map
of the private parameters of this request.
Private parameters are not shared with other portlets or components.
The returned parameters are "x-www-form-urlencoded" decoded.
The values in the returned Map
are from type
String array (String[]
).
If no private parameters exist this method returns an empty Map
.
getPrivateParameterMap
in interface PortletRequest
Map
containing private parameter names as
keys and private parameter values as map values, or an empty Map
if no private parameters exist. The keys in the parameter
map are of type String. The values in the parameter map are of type
String array (String[]
).public java.util.Map<java.lang.String,java.lang.String[]> getPublicParameterMap()
PortletRequest
Map
of the public parameters of this request.
Public parameters may be shared with other portlets or components and
defined in the portlet deployment descriptor with the
supported-public-render-parameter
element.
The returned parameters are "x-www-form-urlencoded" decoded.
The values in the returned Map
are from type
String array (String[]
).
If no public parameters exist this method returns an empty Map
.
getPublicParameterMap
in interface PortletRequest
Map
containing public parameter names as
keys and public parameter values as map values, or an empty Map
if no public parameters exist. The keys in the parameter
map are of type String. The values in the parameter map are of type
String array (String[]
).public java.lang.String getWindowID()
PortletRequest
This ID is the same that is used by the portlet container for scoping the portlet-scope session attributes.
getWindowID
in interface PortletRequest
public java.lang.String getLocalAddr()
getLocalAddr
in interface javax.servlet.ServletRequest
getLocalAddr
in class javax.servlet.ServletRequestWrapper
public java.lang.String getLocalName()
getLocalName
in interface javax.servlet.ServletRequest
getLocalName
in class javax.servlet.ServletRequestWrapper
public int getLocalPort()
getLocalPort
in interface javax.servlet.ServletRequest
getLocalPort
in class javax.servlet.ServletRequestWrapper
public java.lang.String getProtocol()
getProtocol
in interface javax.servlet.ServletRequest
getProtocol
in class javax.servlet.ServletRequestWrapper
public java.lang.String getRealPath(java.lang.String arg0)
getRealPath
in interface javax.servlet.ServletRequest
getRealPath
in class javax.servlet.ServletRequestWrapper
public java.lang.String getRemoteAddr()
getRemoteAddr
in interface javax.servlet.ServletRequest
getRemoteAddr
in class javax.servlet.ServletRequestWrapper
public java.lang.String getRemoteHost()
getRemoteHost
in interface javax.servlet.ServletRequest
getRemoteHost
in class javax.servlet.ServletRequestWrapper
public int getRemotePort()
getRemotePort
in interface javax.servlet.ServletRequest
getRemotePort
in class javax.servlet.ServletRequestWrapper
public javax.servlet.http.Cookie[] getCookies()
PortletRequest
This method returns null
if no cookies exist.
getCookies
in interface PortletRequest
getCookies
in interface javax.servlet.http.HttpServletRequest
getCookies
in class javax.servlet.http.HttpServletRequestWrapper
null
if no cookies exist.PortletResponse#addProperty(Cookie)
public long getDateHeader(java.lang.String arg0)
getDateHeader
in interface javax.servlet.http.HttpServletRequest
getDateHeader
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getHeader(java.lang.String arg0)
getHeader
in interface javax.servlet.http.HttpServletRequest
getHeader
in class javax.servlet.http.HttpServletRequestWrapper
public java.util.Enumeration getHeaderNames()
getHeaderNames
in interface javax.servlet.http.HttpServletRequest
getHeaderNames
in class javax.servlet.http.HttpServletRequestWrapper
public java.util.Enumeration getHeaders(java.lang.String arg0)
getHeaders
in interface javax.servlet.http.HttpServletRequest
getHeaders
in class javax.servlet.http.HttpServletRequestWrapper
public int getIntHeader(java.lang.String arg0)
getIntHeader
in interface javax.servlet.http.HttpServletRequest
getIntHeader
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getPathInfo()
getPathInfo
in interface javax.servlet.http.HttpServletRequest
getPathInfo
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getQueryString()
getQueryString
in interface javax.servlet.http.HttpServletRequest
getQueryString
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getPathTranslated()
getPathTranslated
in interface javax.servlet.http.HttpServletRequest
getPathTranslated
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getRequestURI()
getRequestURI
in interface javax.servlet.http.HttpServletRequest
getRequestURI
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getServletPath()
getServletPath
in interface javax.servlet.http.HttpServletRequest
getServletPath
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.StringBuffer getRequestURL()
getRequestURL
in interface javax.servlet.http.HttpServletRequest
getRequestURL
in class javax.servlet.http.HttpServletRequestWrapper
public javax.servlet.http.HttpSession getSession()
getSession
in interface javax.servlet.http.HttpServletRequest
getSession
in class javax.servlet.http.HttpServletRequestWrapper
public javax.servlet.http.HttpSession getSession(boolean arg0)
getSession
in interface javax.servlet.http.HttpServletRequest
getSession
in class javax.servlet.http.HttpServletRequestWrapper
public java.lang.String getLifecyclePhase()
getLifecyclePhase
in interface InternalPortletRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |