Package net.officefloor.servlet
Interface ServletServicer
- All Known Implementing Classes:
TomcatServletManager
public interface ServletServicer
Services
ServerHttpConnection via Servlet.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidservice(ServerHttpConnection connection, Executor executor, AsynchronousFlow asynchronousFlow, AsynchronousFlowCompletion asynchronousFlowCompletion, Map<String, ? extends Object> attributes) Services theServerHttpConnection.
-
Method Details
-
service
void service(ServerHttpConnection connection, Executor executor, AsynchronousFlow asynchronousFlow, AsynchronousFlowCompletion asynchronousFlowCompletion, Map<String, ? extends Object> attributes) throws ExceptionServices theServerHttpConnection.- Parameters:
connection-ServerHttpConnection.executor-Executor.asynchronousFlow-AsynchronousFlowto allow forAsyncContext.asynchronousFlowCompletion-AsynchronousFlowCompletionfor handling completion of servicing.attributes- Optional attributes to load to theHttpServletRequest. May benull.- Throws:
Exception- If fails to service.
-