public abstract class WebScriptRequestImpl extends Object implements WebScriptRequest
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger |
static String |
MULTIPART_FORM_DATA
"multipart/form-data" content type
|
| Constructor and Description |
|---|
WebScriptRequestImpl(Runtime runtime)
Construction
|
| Modifier and Type | Method and Description |
|---|---|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAgent, getContent, getContextPath, getHeader, getHeaderNames, getHeaderValues, getParameter, getParameterNames, getParameterValues, getPathInfo, getQueryString, getServerPath, getServiceContextPath, getServiceMatch, getServicePath, getURLpublic static final String MULTIPART_FORM_DATA
protected static final org.apache.commons.logging.Log logger
public WebScriptRequestImpl(Runtime runtime)
runtime - Runtimepublic Runtime getRuntime()
WebScriptRequestgetRuntime in interface WebScriptRequestpublic String getExtensionPath()
WebScriptRequestgetExtensionPath in interface WebScriptRequestpublic boolean isGuest()
WebScriptRequestisGuest in interface WebScriptRequestpublic String getFormat()
WebScriptRequestgetFormat in interface WebScriptRequestpublic Description.FormatStyle getFormatStyle()
WebScriptRequestgetFormatStyle in interface WebScriptRequestpublic String getJSONCallback()
WebScriptRequestgetJSONCallback in interface WebScriptRequestpublic boolean forceSuccessStatus()
WebScriptRequestforceSuccessStatus in interface WebScriptRequestpublic String getContentType()
WebScriptRequestgetContentType in interface WebScriptRequestpublic Object parseContent()
WebScriptRequestparseContent in interface WebScriptRequestCopyright © 2005–2018 Alfresco Software. All rights reserved.