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:
30
source/java/org/alfresco/web/api/APIRegistry.java
Normal file
30
source/java/org/alfresco/web/api/APIRegistry.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package org.alfresco.web.api;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
|
||||
public interface APIRegistry
|
||||
{
|
||||
|
||||
public ServletContext getContext();
|
||||
|
||||
/**
|
||||
* Gets an API Service given an HTTP Method and URI
|
||||
*
|
||||
* @param method
|
||||
* @param uri
|
||||
* @return
|
||||
*/
|
||||
public APIServiceMatch findService(String method, String uri);
|
||||
|
||||
public APIService getService(String id);
|
||||
|
||||
public Collection<APIService> getServices();
|
||||
|
||||
public FormatRegistry getFormatRegistry();
|
||||
|
||||
public APITemplateProcessor getTemplateProcessor();
|
||||
|
||||
//public APIScriptProcessor getScriptProcessor();
|
||||
}
|
Reference in New Issue
Block a user