Package net.officefloor.server
Interface RequestServicer<R>
public interface RequestServicer<R>
Services requests.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionservice(R request, ResponseWriter responseWriter) Services the request.
-
Method Details
-
service
Services the request.- Parameters:
request- Request.responseWriter-ResponseWriter. To enable pipelining of requests, thisResponseWritermust be invoked to indicate the request has been serviced (even if no data to send).- Returns:
ProcessManagerfor servicing the request.- Throws:
IOException- If fails to service the request. This indicates failure in servicing the connection and hence will close the connection.
-