public class PortletWebRequest extends PortletRequestAttributes implements org.springframework.web.context.request.NativeWebRequest
WebRequest adapter
for a PortletRequest.DESTRUCTION_CALLBACK_NAME_PREFIX| Constructor and Description |
|---|
PortletWebRequest(PortletRequest request)
Create a new PortletWebRequest instance for the given request.
|
PortletWebRequest(PortletRequest request,
PortletResponse response)
Create a new PortletWebRequest instance for the given request/response pair.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkNotModified(long lastModifiedTimestamp)
Last-modified handling not supported for portlet requests:
As a consequence, this method always returns
false. |
boolean |
checkNotModified(java.lang.String eTag)
Last-modified handling not supported for portlet requests:
As a consequence, this method always returns
false. |
boolean |
checkNotModified(java.lang.String etag,
long lastModifiedTimestamp)
Last-modified handling not supported for portlet requests:
As a consequence, this method always returns
false. |
java.lang.String |
getContextPath() |
java.lang.String |
getDescription(boolean includeClientInfo) |
java.lang.String |
getHeader(java.lang.String headerName) |
java.util.Iterator<java.lang.String> |
getHeaderNames() |
java.lang.String[] |
getHeaderValues(java.lang.String headerName) |
java.util.Locale |
getLocale() |
java.lang.Object |
getNativeRequest() |
<T> T |
getNativeRequest(java.lang.Class<T> requiredType) |
java.lang.Object |
getNativeResponse() |
<T> T |
getNativeResponse(java.lang.Class<T> requiredType) |
java.lang.String |
getParameter(java.lang.String paramName) |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.util.Iterator<java.lang.String> |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String paramName) |
java.lang.String |
getRemoteUser() |
java.security.Principal |
getUserPrincipal() |
boolean |
isSecure() |
boolean |
isUserInRole(java.lang.String role) |
java.lang.String |
toString() |
getAttribute, getAttributeNames, getRequest, getResponse, getSession, getSessionId, getSessionMutex, registerDestructionCallback, registerSessionDestructionCallback, removeAttribute, resolveReference, setAttribute, updateAccessedSessionAttributesisRequestActive, registerRequestDestructionCallback, removeRequestDestructionCallback, requestCompletedpublic PortletWebRequest(PortletRequest request)
request - current portlet requestpublic PortletWebRequest(PortletRequest request, PortletResponse response)
request - current portlet requestresponse - current portlet responsepublic java.lang.Object getNativeRequest()
getNativeRequest in interface org.springframework.web.context.request.NativeWebRequestpublic java.lang.Object getNativeResponse()
getNativeResponse in interface org.springframework.web.context.request.NativeWebRequestpublic <T> T getNativeRequest(java.lang.Class<T> requiredType)
getNativeRequest in interface org.springframework.web.context.request.NativeWebRequestpublic <T> T getNativeResponse(java.lang.Class<T> requiredType)
getNativeResponse in interface org.springframework.web.context.request.NativeWebRequestpublic java.lang.String getHeader(java.lang.String headerName)
getHeader in interface org.springframework.web.context.request.WebRequestpublic java.lang.String[] getHeaderValues(java.lang.String headerName)
getHeaderValues in interface org.springframework.web.context.request.WebRequestpublic java.util.Iterator<java.lang.String> getHeaderNames()
getHeaderNames in interface org.springframework.web.context.request.WebRequestpublic java.lang.String getParameter(java.lang.String paramName)
getParameter in interface org.springframework.web.context.request.WebRequestpublic java.lang.String[] getParameterValues(java.lang.String paramName)
getParameterValues in interface org.springframework.web.context.request.WebRequestpublic java.util.Iterator<java.lang.String> getParameterNames()
getParameterNames in interface org.springframework.web.context.request.WebRequestpublic java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap in interface org.springframework.web.context.request.WebRequestpublic java.util.Locale getLocale()
getLocale in interface org.springframework.web.context.request.WebRequestpublic java.lang.String getContextPath()
getContextPath in interface org.springframework.web.context.request.WebRequestpublic java.lang.String getRemoteUser()
getRemoteUser in interface org.springframework.web.context.request.WebRequestpublic java.security.Principal getUserPrincipal()
getUserPrincipal in interface org.springframework.web.context.request.WebRequestpublic boolean isUserInRole(java.lang.String role)
isUserInRole in interface org.springframework.web.context.request.WebRequestpublic boolean isSecure()
isSecure in interface org.springframework.web.context.request.WebRequestpublic boolean checkNotModified(long lastModifiedTimestamp)
false.checkNotModified in interface org.springframework.web.context.request.WebRequestpublic boolean checkNotModified(java.lang.String eTag)
false.checkNotModified in interface org.springframework.web.context.request.WebRequestpublic boolean checkNotModified(java.lang.String etag,
long lastModifiedTimestamp)
false.checkNotModified in interface org.springframework.web.context.request.WebRequestpublic java.lang.String getDescription(boolean includeClientInfo)
getDescription in interface org.springframework.web.context.request.WebRequestpublic java.lang.String toString()
toString in class PortletRequestAttributes