Package net.officefloor.server.http
Class AbstractHttpServerImplementationTestCase.CancelConnectionServicer
java.lang.Object
net.officefloor.server.http.AbstractHttpServerImplementationTestCase.CancelConnectionServicer
- Enclosing class:
- AbstractHttpServerImplementationTestCase
public static class AbstractHttpServerImplementationTestCase.CancelConnectionServicer
extends Object
Test fixture for servicing requests that wait for connection cancellation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLoops on team one.voidLoops on team two.voidServices the request.
-
Constructor Details
-
CancelConnectionServicer
public CancelConnectionServicer()
-
-
Method Details
-
service
@Next("loopOne") public void service(AbstractHttpServerImplementationTestCase.CancelConnectionManagedObjectSource mos) throws Throwable Services the request.- Parameters:
mos-AbstractHttpServerImplementationTestCase.CancelConnectionManagedObjectSource.- Throws:
Throwable- On servicing failure.
-
loopOne
@Next("loopTwo") public void loopOne(AbstractHttpServerImplementationTestCase.TeamMarker marker) throws Exception Loops on team one.- Parameters:
marker-AbstractHttpServerImplementationTestCase.TeamMarker.- Throws:
Exception- On failure.
-
loopTwo
Loops on team two.- Parameters:
marker-AbstractHttpServerImplementationTestCase.TeamTwoMarker.
-