| javax.servlet.http.HttpServlet com.xoetrope.service.servlet.XServiceServlet
All known Subclasses: com.xoetrope.service.servlet.XUnreliableServiceServlet,
XServiceServlet | public class XServiceServlet extends HttpServlet (Code) | | Provides a response for a http request. This servlet is intended to simulate
a real response service
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.22 $
|
CONTENT_TYPE | final protected static String CONTENT_TYPE(Code) | | |
ERR_INIT_FAIL | final public static String ERR_INIT_FAIL(Code) | | Error sent back in the case that a connection cannot be established.
|
ERR_SERVICE_INVALID | final public static String ERR_SERVICE_INVALID(Code) | | Error sent back in the case that a connection cannot be established.
|
currentProject | protected XProject currentProject(Code) | | The owner project and the context in which this object operates.
|
model | protected XModel model(Code) | | |
routeMgr | protected XRouteManager routeMgr(Code) | | |
destroy | public void destroy()(Code) | | Clean up resources
|
getResponse | public Object getResponse(HttpServletRequest request, HttpServletResponse response)(Code) | | Construct a new ServiceProxyArgs object and set the passed parameters from
the request object. The request object is added to the arguments, the
ServiceProxy is called and the request object is then removed
Parameters: request - the HttpServletServlet request object Parameters: response - the HttpServletServlet response object return null |
init | public void init() throws ServletException(Code) | | Initialize global variables. If the routeMgr servlet context variable is
null open the datasets file and build up the model
throws: javax.servlet.ServletException - Throw ServletException if there is a problem |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|