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.


Method Summary
 void handle(Request request, Response response)
          Allows concrete implementations to populate Response parameters given the Request.
 

Method Detail

handle

void handle(Request request,
            Response response)
            throws IOException
Allows concrete implementations to populate Response parameters given the Request.

Parameters:
request - the received HTTP request
response - the HTTP response will be pushed out.
Throws:
IOException - if any I/0 error occur


Copyright © 2012 99 Software Foundation. All Rights Reserved.