electric.server.http
Interface IServletHandler
- All Known Implementing Classes:
- GetPostHandler, HTTPToSOAP, WSDLHandler
- public interface IServletHandler
IServletHandler is the interface that must be implemented by
all objects that wish to service servlet requests. The reason for this
layer of abstraction is that standard 2.2 servlets do not have the
ability to examine a request and then signal that they do not wish to
service it. Because you cannot always determine the protocol that is riding
over HTTP by looking at the extension of the request, a single GLUE
servlet accepts all incoming requests and then queries each IServletHandler
in turn to see which one wants to service the request.
- Author:
- webMethods
init
public void init(ServletServer server)
throws javax.servlet.ServletException
- Parameters:
server
-
- Throws:
javax.servlet.ServletException
service
public boolean service(ServletServer server,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Parameters:
server
- request
- response
-
- Throws:
javax.servlet.ServletException
java.io.IOException
copyright© 2001-2004 by webMethods All Rights Reserved.