mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Web Scripts:
- optionally force status in response header to success regardless of actual status; status in reponse document still reflects actual status - to support the limitations of Flex runtime without Flex data services - set alf-force-success-response to true in request header git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -141,13 +141,6 @@ public interface WebScriptRequest
|
||||
*/
|
||||
public FormatStyle getFormatStyle();
|
||||
|
||||
/**
|
||||
* Get the JSON callback method
|
||||
*
|
||||
* @return method (or null, if not specified)
|
||||
*/
|
||||
public String getJSONCallback();
|
||||
|
||||
/**
|
||||
* Get User Agent
|
||||
*
|
||||
@@ -157,4 +150,21 @@ public interface WebScriptRequest
|
||||
*/
|
||||
public String getAgent();
|
||||
|
||||
/**
|
||||
* Get the JSON callback method
|
||||
*
|
||||
* @return method (or null, if not specified)
|
||||
*/
|
||||
public String getJSONCallback();
|
||||
|
||||
/**
|
||||
* Force response to return SUCCESS (200) code
|
||||
*
|
||||
* Note: This is to support clients who cannot support non-success codes
|
||||
* e.g. Flash player
|
||||
*
|
||||
* @return true => force return of 200, otherwise return status explicitly set
|
||||
*/
|
||||
public boolean forceSuccessStatus();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user