Package net.officefloor.server
Interface RequestServicer<R>
-
public interface RequestServicer<R>
Services requests.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessManager
service(R request, ResponseWriter responseWriter)
Services the request.
-
-
-
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, thisResponseWriter
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.
-
-