|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.extensions.webscripts.WebScriptRequestImpl
org.springframework.extensions.webscripts.WebScriptRequestURLImpl
org.springframework.extensions.webscripts.jsf.WebScriptJSFRequest
public class WebScriptJSFRequest
Implementation of a WebScript Request for the JSF environment.
| Field Summary |
|---|
| 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 | |
|---|---|
WebScriptJSFRequest(Runtime container,
String[] scriptUrlParts,
Match match)
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 |
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 |
| Constructor Detail |
|---|
public WebScriptJSFRequest(Runtime container,
String[] scriptUrlParts,
Match match)
container - scriptUrlParts - match - | Method Detail |
|---|
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 | |||||||||