Interface RequestServicer<R>


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

      • service

        ProcessManager service​(R request,
                               ResponseWriter responseWriter)
                        throws java.io.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:
        java.io.IOException - If fails to service the request. This indicates failure in servicing the connection and hence will close the connection.