public class WsdlMockRunner extends Object implements MockRunner
Constructor and Description |
---|
WsdlMockRunner(MockService mockService,
WsdlTestRunContext context) |
Modifier and Type | Method and Description |
---|---|
void |
clearResults() |
MockResult |
dispatchRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
WsdlMockRunContext |
getMockContext() |
MockResult |
getMockResultAt(int index) |
int |
getMockResultCount() |
String |
getOverviewUrl() |
boolean |
isRunning() |
void |
release() |
void |
setLogEnabled(boolean logEnabled) |
void |
setMaxResults(long maxNumberOfResults) |
void |
start()
Start this runner.
|
void |
stop()
Stop this runner.
|
public WsdlMockRunner(MockService mockService, WsdlTestRunContext context) throws Exception
Exception
public WsdlMockRunContext getMockContext()
getMockContext
in interface MockRunner
public boolean isRunning()
isRunning
in interface MockRunner
public void stop()
MockRunner
stop
in interface MockRunner
public void release()
release
in interface Releasable
public int getMockResultCount()
getMockResultCount
in interface MockDispatcher
public MockResult getMockResultAt(int index)
getMockResultAt
in interface MockDispatcher
public MockResult dispatchRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
dispatchRequest
in interface MockDispatcher
DispatchException
public String getOverviewUrl()
public void start() throws Exception
MockRunner
start
in interface MockRunner
Exception
public void setLogEnabled(boolean logEnabled)
setLogEnabled
in interface MockDispatcher
public void clearResults()
clearResults
in interface MockDispatcher
public void setMaxResults(long maxNumberOfResults)
setMaxResults
in interface MockDispatcher
Copyright © 2019. All Rights Reserved.