com.eviware.soapui.impl.wsdl.mock
Class WsdlMockRunner
java.lang.Object
com.eviware.soapui.model.support.AbstractMockRunner
com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner
- All Implemented Interfaces:
- MockRunner
public class WsdlMockRunner
- extends AbstractMockRunner
MockRunner that dispatches Http Requests to their designated
WsdlMockOperation if possible
- Author:
- ole.matzura
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsdlMockRunner
public WsdlMockRunner(WsdlMockService mockService,
WsdlTestRunContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLocalMockServiceEndpoint
public java.lang.String getLocalMockServiceEndpoint()
getInterfacePrefix
public java.lang.String getInterfacePrefix(Interface iface)
getMockContext
public WsdlMockRunContext getMockContext()
addMockResult
public void addMockResult(WsdlMockResult mockResult)
isRunning
public boolean isRunning()
stop
public void stop()
getMockService
public WsdlMockService getMockService()
getMaxResults
public long getMaxResults()
setMaxResults
public void setMaxResults(long l)
dispatchHeadRequest
public MockResult dispatchHeadRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws DispatchException
- Overrides:
dispatchHeadRequest
in class AbstractMockRunner
- Throws:
DispatchException
dispatchPostRequest
public WsdlMockResult dispatchPostRequest(WsdlMockRequest mockRequest)
throws DispatchException
- Throws:
DispatchException
getMockResultAt
public MockResult getMockResultAt(int index)
getMockResultCount
public int getMockResultCount()
clearResults
public void clearResults()
release
public void release()
dispatchRequest
public MockResult dispatchRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws DispatchException
- Specified by:
dispatchRequest
in interface MockRunner
- Overrides:
dispatchRequest
in class AbstractMockRunner
- Throws:
DispatchException
dispatchGetRequest
public MockResult dispatchGetRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws DispatchException
- Overrides:
dispatchGetRequest
in class AbstractMockRunner
- Throws:
DispatchException
dispatchWsdlRequest
protected void dispatchWsdlRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
getOverviewUrl
public java.lang.String getOverviewUrl()
setLogEnabled
public void setLogEnabled(boolean logEnabled)
Copyright © 2005-2008 eviware.com. All Rights Reserved.