public class WebScriptJSFRequest extends WebScriptRequestURLImpl
contextPath, pathInfo, queryArgs, queryArgsMulti, queryString, serviceMatch, servletPathlogger, MULTIPART_FORM_DATA| Constructor and Description |
|---|
WebScriptJSFRequest(Runtime container,
String[] scriptUrlParts,
Match match)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAgent()
Get User Agent
TODO: Expand on known agents
|
org.springframework.extensions.surf.util.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
|
String |
getServerPath()
Get server portion of the request
e.g.
|
getContextPath, getParameter, getParameterNames, getParameterValues, getPathInfo, getQueryString, getServiceContextPath, getServiceMatch, getServicePath, getURL, splitURL, splitURL, toStringforceSuccessStatus, getContentType, getExtensionPath, getFormat, getFormatStyle, getJSONCallback, getRuntime, isGuest, parseContentpublic String getServerPath()
WebScriptRequestpublic String getAgent()
WebScriptRequestpublic String[] getHeaderNames()
WebScriptRequestpublic String getHeader(String name)
WebScriptRequestname - header namepublic String[] getHeaderValues(String name)
WebScriptRequestname - header namepublic org.springframework.extensions.surf.util.Content getContent()
WebScriptRequestCopyright © 2005–2019 Alfresco Software. All rights reserved.