public class RestParameterDispatcher extends com.eviware.soapui.impl.wsdl.mock.dispatch.AbstractMockOperationDispatcher<com.eviware.soapui.impl.rest.mock.RestMockRequest,com.eviware.soapui.impl.rest.mock.RestMockResponse> implements PropertyChangeListener, ProMockOperationDispatcher, com.eviware.soapui.impl.wsdl.mock.dispatch.DynamicMockOperationDispatcher
Modifier and Type | Class and Description |
---|---|
static class |
RestParameterDispatcher.Factory |
Modifier | Constructor and Description |
---|---|
protected |
RestParameterDispatcher(com.eviware.soapui.model.mock.MockOperation mockOperation) |
Modifier and Type | Method and Description |
---|---|
com.eviware.soapui.impl.wsdl.mock.dispatch.ParameterRule |
addRule(String name) |
protected JComponent |
buildRulesListComponent() |
void |
deleteRule(com.eviware.soapui.impl.wsdl.mock.dispatch.ParameterDispatcherRule rule) |
JComponent |
getEditorComponent() |
JComponent |
getEditorComponent(com.smartbear.ready.license.action.StartTrialAction startTrialAction) |
boolean |
hasDefaultResponse() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
void |
releaseEditorComponent() |
com.eviware.soapui.model.mock.GenericMockResponse |
selectMockResponse(com.eviware.soapui.model.mock.GenericMockRequest request,
com.eviware.soapui.model.mock.MockResult result) |
boolean |
shouldAddRuleFor(com.eviware.soapui.impl.rest.mock.RestMockRequest restMockRequest) |
void |
updateWith(com.eviware.soapui.impl.rest.mock.RestMockRequest mockRequest,
com.eviware.soapui.impl.rest.mock.RestMockResponse mockResponse) |
addPropertyChangeListener, addPropertyChangeListener, getMockOperation, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
protected RestParameterDispatcher(com.eviware.soapui.model.mock.MockOperation mockOperation)
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void release()
release
in interface com.eviware.soapui.model.Releasable
release
in class com.eviware.soapui.impl.wsdl.mock.dispatch.AbstractMockOperationDispatcher<com.eviware.soapui.impl.rest.mock.RestMockRequest,com.eviware.soapui.impl.rest.mock.RestMockResponse>
public void releaseEditorComponent()
releaseEditorComponent
in interface com.eviware.soapui.impl.wsdl.mock.dispatch.MockOperationDispatcher
releaseEditorComponent
in class com.eviware.soapui.impl.wsdl.mock.dispatch.AbstractMockOperationDispatcher<com.eviware.soapui.impl.rest.mock.RestMockRequest,com.eviware.soapui.impl.rest.mock.RestMockResponse>
protected JComponent buildRulesListComponent()
public JComponent getEditorComponent()
getEditorComponent
in interface com.eviware.soapui.impl.wsdl.mock.dispatch.MockOperationDispatcher
getEditorComponent
in class com.eviware.soapui.impl.wsdl.mock.dispatch.AbstractMockOperationDispatcher<com.eviware.soapui.impl.rest.mock.RestMockRequest,com.eviware.soapui.impl.rest.mock.RestMockResponse>
public JComponent getEditorComponent(com.smartbear.ready.license.action.StartTrialAction startTrialAction)
getEditorComponent
in interface ProMockOperationDispatcher
public com.eviware.soapui.model.mock.GenericMockResponse selectMockResponse(com.eviware.soapui.model.mock.GenericMockRequest request, com.eviware.soapui.model.mock.MockResult result) throws com.eviware.soapui.impl.wsdl.mock.DispatchException
selectMockResponse
in interface com.eviware.soapui.impl.wsdl.mock.dispatch.MockOperationDispatcher
com.eviware.soapui.impl.wsdl.mock.DispatchException
public boolean hasDefaultResponse()
hasDefaultResponse
in interface com.eviware.soapui.impl.wsdl.mock.dispatch.MockOperationDispatcher
public void deleteRule(com.eviware.soapui.impl.wsdl.mock.dispatch.ParameterDispatcherRule rule)
public void updateWith(com.eviware.soapui.impl.rest.mock.RestMockRequest mockRequest, com.eviware.soapui.impl.rest.mock.RestMockResponse mockResponse)
updateWith
in interface com.eviware.soapui.impl.wsdl.mock.dispatch.DynamicMockOperationDispatcher
public boolean shouldAddRuleFor(com.eviware.soapui.impl.rest.mock.RestMockRequest restMockRequest)
shouldAddRuleFor
in interface com.eviware.soapui.impl.wsdl.mock.dispatch.DynamicMockOperationDispatcher
public com.eviware.soapui.impl.wsdl.mock.dispatch.ParameterRule addRule(String name)
Copyright © 2019. All rights reserved.