public class SequenceMockOperationDispatcher extends AbstractMockOperationDispatcher implements MockRunListener
Modifier and Type | Class and Description |
---|---|
static class |
SequenceMockOperationDispatcher.Factory |
Constructor and Description |
---|
SequenceMockOperationDispatcher(MockOperation mockOperation) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasDefaultResponse() |
MockResult |
onMockRequest(MockRunner runner,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called before dispatching a request.
|
void |
onMockResult(MockResult result) |
void |
onMockRunnerStart(MockRunner mockRunner) |
void |
onMockRunnerStop(MockRunner mockRunner) |
void |
release() |
MockResponse |
selectMockResponse(MockRequest request,
MockResult result) |
addPropertyChangeListener, addPropertyChangeListener, getEditorComponent, getMockOperation, getPropertyChangeSupport, releaseEditorComponent, removePropertyChangeListener, removePropertyChangeListener
public SequenceMockOperationDispatcher(MockOperation mockOperation)
public MockResponse selectMockResponse(MockRequest request, MockResult result)
selectMockResponse
in interface MockOperationDispatcher
public boolean hasDefaultResponse()
hasDefaultResponse
in interface MockOperationDispatcher
public void release()
release
in interface Releasable
release
in class AbstractMockOperationDispatcher
public void onMockRunnerStart(MockRunner mockRunner)
onMockRunnerStart
in interface MockRunListener
public void onMockResult(MockResult result)
onMockResult
in interface MockRunListener
public void onMockRunnerStop(MockRunner mockRunner)
onMockRunnerStop
in interface MockRunListener
public MockResult onMockRequest(MockRunner runner, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
MockRunListener
onMockRequest
in interface MockRunListener
Copyright © 2019. All Rights Reserved.