Package net.officefloor.server.http
Class AbstractHttpServerImplementationTestCase.ThreadedServicer
java.lang.Object
net.officefloor.server.http.AbstractHttpServerImplementationTestCase.ThreadedServicer
- Enclosing class:
- AbstractHttpServerImplementationTestCase
Test fixture for servicing requests on a different thread.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFlow interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFlow(ServerHttpConnection connection, Thread thread, AbstractHttpServerImplementationTestCase.ThreadedManagedObject managedObject) Handles the flow on a different thread.voidServices the request.
-
Constructor Details
-
ThreadedServicer
public ThreadedServicer()
-
-
Method Details
-
service
Services the request.- Parameters:
flows-AbstractHttpServerImplementationTestCase.ThreadedServicer.Flows.
-
doFlow
public void doFlow(ServerHttpConnection connection, @Parameter Thread thread, AbstractHttpServerImplementationTestCase.ThreadedManagedObject managedObject) throws IOException Handles the flow on a different thread.- Parameters:
connection-ServerHttpConnection.thread- originatingThread.managedObject-AbstractHttpServerImplementationTestCase.ThreadedManagedObject.- Throws:
IOException- On servicing failure.
-