org.eclipse.jetty.server
Interface Handler
- All Superinterfaces:
- LifeCycle
- All Known Subinterfaces:
- Server.Graceful
- All Known Implementing Classes:
- AbstractHandler, AbstractHandlerContainer, ConstraintSecurityHandler, ContextHandler, ContextHandlerCollection, DefaultHandler, ErrorHandler, ErrorPageErrorHandler, HandlerCollection, HandlerList, HandlerWrapper, HotSwapHandler, ManyConnectors.HelloHandler, ManyContexts.HelloHandler, ManyHandlers.HelloHandler, ManyHandlers.ParamHandler, MovedContextHandler, OneContext.HelloHandler, OneHandler.HelloHandler, RequestLogHandler, ResourceHandler, RewriteHandler, SecurityHandler, Server, ServletContextHandler, ServletHandler, ServletHandler, SessionHandler, StatisticsHandler, WebAppContext
public interface Handler
- extends LifeCycle
handle
void handle(String target,
HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Handle a request.
- Parameters:
target - The target of the request - either a URI or a name.request - The request either as the Request
object or a wrapper of that request. The HttpConnection.getCurrentConnection()
method can be used access the Request object if required.response - The response as the Response
object or a wrapper of that request. The HttpConnection.getCurrentConnection()
method can be used access the Response object if required.
- Throws:
IOException
ServletException
setServer
void setServer(Server server)
getServer
Server getServer()
destroy
void destroy()
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.