|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.webscripts.WebScriptRequestImpl org.springframework.extensions.webscripts.WebScriptRequestURLImpl org.springframework.extensions.webscripts.portlet.WebScriptPortletRequest
public class WebScriptPortletRequest
JSR-168 Web Script Request
Field Summary | |
---|---|
static String |
ALFPORTLETUSERNAME
|
Fields inherited from class org.springframework.extensions.webscripts.WebScriptRequestURLImpl |
---|
contextPath, pathInfo, queryArgs, queryArgsMulti, queryString, serviceMatch, servletPath |
Fields inherited from class org.springframework.extensions.webscripts.WebScriptRequestImpl |
---|
logger |
Constructor Summary | |
---|---|
WebScriptPortletRequest(Runtime container,
javax.portlet.PortletRequest req,
String[] scriptUrlParts,
Match serviceMatch)
Construct |
|
WebScriptPortletRequest(Runtime container,
javax.portlet.PortletRequest req,
String scriptUrl,
Match serviceMatch)
Construct |
Method Summary | |
---|---|
String |
getAgent()
Get User Agent TODO: Expand on known agents |
Content |
getContent()
Gets the request body as content |
String |
getHeader(String name)
Gets the value of the named header |
String[] |
getHeaderNames()
Gets the names of all headers for this request |
String[] |
getHeaderValues(String name)
Gets the (array) value of the named header Note: An array of one item is returned when a "single value" named header is requested |
javax.portlet.PortletRequest |
getPortletRequest()
Gets the Portlet Request |
String |
getServerPath()
Get server portion of the request e.g. |
Methods inherited from class org.springframework.extensions.webscripts.WebScriptRequestURLImpl |
---|
getContextPath, getParameter, getParameterNames, getParameterValues, getPathInfo, getQueryString, getServiceContextPath, getServiceMatch, getServicePath, getURL, splitURL, splitURL, toString |
Methods inherited from class org.springframework.extensions.webscripts.WebScriptRequestImpl |
---|
forceSuccessStatus, getContentType, getExtensionPath, getFormat, getFormatStyle, getJSONCallback, getRuntime, isGuest, parseContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ALFPORTLETUSERNAME
Constructor Detail |
---|
public WebScriptPortletRequest(Runtime container, javax.portlet.PortletRequest req, String scriptUrl, Match serviceMatch)
req
- scriptUrl
- serviceMatch
- public WebScriptPortletRequest(Runtime container, javax.portlet.PortletRequest req, String[] scriptUrlParts, Match serviceMatch)
req
- scriptUrlParts
- serviceMatch
- Method Detail |
---|
public javax.portlet.PortletRequest getPortletRequest()
public String getServerPath()
WebScriptRequest
public String getAgent()
WebScriptRequest
public String[] getHeaderNames()
WebScriptRequest
public String getHeader(String name)
WebScriptRequest
name
- header name
public String[] getHeaderValues(String name)
WebScriptRequest
name
- header name
public Content getContent()
WebScriptRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |