Package org.openbravo.service.web
Interface WebService
-
- All Superinterfaces:
OBModulePrefixRequired
- All Known Implementing Classes:
DalWebService
public interface WebService extends OBModulePrefixRequired
Defines the standard webservice interface which needs to be implemented by all webservices.- Author:
- mtaal
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WebService.ChangeAction
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doDelete(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Is called for the Http DELETE method.void
doGet(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Is called for the Http GET method.void
doPost(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Is called for the Http POST method.void
doPut(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Is called for the Http PUT method.
-
-
-
Method Detail
-
doGet
void doGet(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Is called for the Http GET method.- Parameters:
path
- the HttpRequest.getPathInfo(), the part of the url after the context pathrequest
- the HttpServletRequestresponse
- the HttpServletResponse- Throws:
Exception
-
doPost
void doPost(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Is called for the Http POST method.- Parameters:
path
- the HttpRequest.getPathInfo(), the part of the url after the context pathrequest
- the HttpServletRequestresponse
- the HttpServletResponse- Throws:
Exception
-
doDelete
void doDelete(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Is called for the Http DELETE method.- Parameters:
path
- the HttpRequest.getPathInfo(), the part of the url after the context pathrequest
- the HttpServletRequestresponse
- the HttpServletResponse- Throws:
Exception
-
doPut
void doPut(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Is called for the Http PUT method.- Parameters:
path
- the HttpRequest.getPathInfo(), the part of the url after the context pathrequest
- the HttpServletRequestresponse
- the HttpServletResponse- Throws:
Exception
-
-