Class MockExpectationResponseCallback
- java.lang.Object
-
- org.lorislab.jel.testcontainers.mockserver.MockExpectationResponseCallback
-
- All Implemented Interfaces:
org.mockserver.mock.action.ExpectationCallback<org.mockserver.model.HttpResponse>,org.mockserver.mock.action.ExpectationResponseCallback
public class MockExpectationResponseCallback extends Object implements org.mockserver.mock.action.ExpectationResponseCallback
-
-
Constructor Summary
Constructors Constructor Description MockExpectationResponseCallback(String name, org.mockserver.mock.action.ExpectationResponseCallback callback, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()CountDownLatchgetCountDownLatch()StringgetName()org.mockserver.model.HttpResponsehandle(org.mockserver.model.HttpRequest httpRequest)
-
-
-
Constructor Detail
-
MockExpectationResponseCallback
public MockExpectationResponseCallback(String name, org.mockserver.mock.action.ExpectationResponseCallback callback, int count)
-
-
Method Detail
-
getCountDownLatch
public CountDownLatch getCountDownLatch()
-
getName
public String getName()
-
getCount
public int getCount()
-
handle
public org.mockserver.model.HttpResponse handle(org.mockserver.model.HttpRequest httpRequest)
- Specified by:
handlein interfaceorg.mockserver.mock.action.ExpectationCallback<org.mockserver.model.HttpResponse>- Specified by:
handlein interfaceorg.mockserver.mock.action.ExpectationResponseCallback
-
-