mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge Web Scripts from BRANCHES/DEV/DAVE
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,46 +33,7 @@ import java.io.IOException;
|
||||
*/
|
||||
public interface APIService
|
||||
{
|
||||
|
||||
/**
|
||||
* Gets the name of this service
|
||||
*
|
||||
* @return service name
|
||||
*/
|
||||
public String getName();
|
||||
|
||||
/**
|
||||
* Gets the description of this service
|
||||
*/
|
||||
public String getDescription();
|
||||
|
||||
/**
|
||||
* Gets the required authentication level for execution of this service
|
||||
*
|
||||
* @return the required authentication level
|
||||
*/
|
||||
public APIRequest.RequiredAuthentication getRequiredAuthentication();
|
||||
|
||||
/**
|
||||
* Gets the HTTP method this service is bound to
|
||||
*
|
||||
* @return HTTP method
|
||||
*/
|
||||
public APIRequest.HttpMethod getHttpMethod();
|
||||
|
||||
/**
|
||||
* Gets the HTTP uri this service is bound to
|
||||
*
|
||||
* @return HTTP uri
|
||||
*/
|
||||
public String getHttpUri();
|
||||
|
||||
/**
|
||||
* Gets the default response format
|
||||
*
|
||||
* @return response format
|
||||
*/
|
||||
public String getDefaultFormat();
|
||||
public APIDescription getDescription();
|
||||
|
||||
/**
|
||||
* Execute service
|
||||
@@ -83,5 +44,5 @@ public interface APIService
|
||||
*/
|
||||
public void execute(APIRequest req, APIResponse res)
|
||||
throws IOException;
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user