|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.extensions.webscripts.WebScriptRequestImpl
public abstract class WebScriptRequestImpl
Basic Implementation of a Web Script Request
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
|---|---|
WebScriptRequestImpl(Runtime runtime)
Construct |
|
| Method Summary | |
|---|---|
boolean |
forceSuccessStatus()
Force response to return SUCCESS (200) code Note: This is to support clients who cannot support non-success codes e.g. |
String |
getContentType()
Gets the mimetype of the request |
String |
getExtensionPath()
Gets the path extension beyond the path registered for this service e.g. |
String |
getFormat()
Get Requested Format |
Description.FormatStyle |
getFormatStyle()
Get the style the Format was specified in |
String |
getJSONCallback()
Get the JSON callback method |
Runtime |
getRuntime()
Gets the initiating runtime |
boolean |
isGuest()
Determine if Guest User? |
Object |
parseContent()
Gets the request body as a parsed entity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.extensions.webscripts.WebScriptRequest |
|---|
getAgent, getContent, getContextPath, getHeader, getHeaderNames, getHeaderValues, getParameter, getParameterNames, getParameterValues, getPathInfo, getQueryString, getServerPath, getServiceContextPath, getServiceMatch, getServicePath, getURL |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public WebScriptRequestImpl(Runtime runtime)
runtime - | Method Detail |
|---|
public Runtime getRuntime()
WebScriptRequest
getRuntime in interface WebScriptRequestpublic String getExtensionPath()
WebScriptRequest
getExtensionPath in interface WebScriptRequestpublic boolean isGuest()
WebScriptRequest
isGuest in interface WebScriptRequestpublic String getFormat()
WebScriptRequest
getFormat in interface WebScriptRequestpublic Description.FormatStyle getFormatStyle()
WebScriptRequest
getFormatStyle in interface WebScriptRequestpublic String getJSONCallback()
WebScriptRequest
getJSONCallback in interface WebScriptRequestpublic boolean forceSuccessStatus()
WebScriptRequest
forceSuccessStatus in interface WebScriptRequestpublic String getContentType()
WebScriptRequest
getContentType in interface WebScriptRequestpublic Object parseContent()
WebScriptRequest
parseContent in interface WebScriptRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||