mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
WebScript Runtime response/url model extended to support output of client-side webscript url generation function.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -82,11 +82,19 @@ public interface WebScriptResponse
|
||||
/**
|
||||
* Encode a script URL
|
||||
*
|
||||
* Note: Some Web Script Runtime environments (e.g. portal) require urls to be re-written.
|
||||
* Note: Some Web Script Runtime environments (e.g. JSR-168, JSF) require urls to be re-written.
|
||||
*
|
||||
* @param url url to encode
|
||||
* @return encoded url
|
||||
* @param url to encode
|
||||
* @return encoded url
|
||||
*/
|
||||
public String encodeScriptUrl(String url);
|
||||
|
||||
/**
|
||||
* Return a client side javascript function to build urls to this service
|
||||
*
|
||||
* @param name Generated function name
|
||||
*
|
||||
* @return javascript function definition
|
||||
*/
|
||||
public String getEncodeScriptUrlFunction(String name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user