mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Web Scripts:
- Addition of reponse status code and template support - Appropriate status codes added to login & ticket web scripts - Web Script Index page also mapped to / url - Various fixes applied to url to web script mapping git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -26,13 +26,25 @@ package org.alfresco.web.scripts;
|
||||
|
||||
|
||||
/**
|
||||
* Represents a URL to Web Script match
|
||||
* Represents a URL request to Web Script match
|
||||
*
|
||||
* @author davidc
|
||||
*/
|
||||
public interface WebScriptMatch
|
||||
{
|
||||
|
||||
public enum Kind
|
||||
{
|
||||
/** URL request matches on URI only */
|
||||
URI,
|
||||
/** URL request matches on URI and Method */
|
||||
FULL
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets the kind of Match
|
||||
*/
|
||||
public Kind getKind();
|
||||
|
||||
/**
|
||||
* Gets the part of the request URL that matched the Web Script URL Template
|
||||
*
|
||||
@@ -43,7 +55,7 @@ public interface WebScriptMatch
|
||||
/**
|
||||
* Gets the matching web script
|
||||
*
|
||||
* @return service
|
||||
* @return service (or null, if match kind is URI)
|
||||
*/
|
||||
public WebScript getWebScript();
|
||||
|
||||
|
Reference in New Issue
Block a user