Interface RequestServicer<R>


public interface RequestServicer<R>
Services requests.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    service(R request, ResponseWriter responseWriter)
    Services the request.
  • Method Details

    • service

      ProcessManager service(R request, ResponseWriter responseWriter) throws IOException
      Services the request.
      Parameters:
      request - Request.
      responseWriter - ResponseWriter. To enable pipelining of requests, this ResponseWriter must be invoked to indicate the request has been serviced (even if no data to send).
      Returns:
      ProcessManager for servicing the request.
      Throws:
      IOException - If fails to service the request. This indicates failure in servicing the connection and hence will close the connection.