org.nnsoft.shs.http
Interface RequestHandler
- All Known Implementing Classes:
- BaseRequestHandler, FileRequestHandler
public interface RequestHandler
A request handler is a lighter version of HttpServlet to implement HTTP negotiation.
handle
void handle(Request request,
Response response)
throws IOException
- Allows concrete implementations to populate
Response
parameters
given the Request
.
- Parameters:
request
- the received HTTP requestresponse
- the HTTP response will be pushed out.
- Throws:
IOException
- if any I/0 error occur
Copyright © 2012 99 Software Foundation. All Rights Reserved.