public class WsdlMockDispatcher extends AbstractMockDispatcher
Constructor and Description |
---|
WsdlMockDispatcher(WsdlMockService mockService,
WsdlMockRunContext mockContext) |
Modifier and Type | Method and Description |
---|---|
MockResult |
dispatchGetRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchHeadRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
WsdlMockResult |
dispatchPostRequest(WsdlMockRequest mockRequest) |
MockResult |
dispatchRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
dispatchWsdlRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
getInterfacePrefix(Interface iface) |
String |
getOverviewUrl() |
void |
printInterfaceList(javax.servlet.http.HttpServletResponse response) |
void |
printOkXmlResult(javax.servlet.http.HttpServletResponse response,
String content) |
void |
printPartList(WsdlInterface iface,
StringToStringMap parts,
javax.servlet.http.HttpServletResponse response) |
void |
printWsdl(javax.servlet.http.HttpServletResponse response) |
void |
release() |
void |
returnFile(javax.servlet.http.HttpServletResponse response,
File file) |
addMockResult, clearResults, dispatchCopyRequest, dispatchDeleteRequest, dispatchLockRequest, dispatchPatchRequest, dispatchPostRequest, dispatchPropfindRequest, dispatchPurgeRequest, dispatchPutRequest, dispatchUnlockRequest, getMaxResults, getMockResultAt, getMockResultCount, setLogEnabled, setMaxResults
public WsdlMockDispatcher(WsdlMockService mockService, WsdlMockRunContext mockContext)
public MockResult dispatchRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
dispatchRequest
in interface MockDispatcher
dispatchRequest
in class AbstractMockDispatcher
DispatchException
public MockResult dispatchGetRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
dispatchGetRequest
in class AbstractMockDispatcher
DispatchException
public WsdlMockResult dispatchPostRequest(WsdlMockRequest mockRequest) throws Exception
Exception
public MockResult dispatchHeadRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
dispatchHeadRequest
in class AbstractMockDispatcher
DispatchException
protected void dispatchWsdlRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
public void release()
public void printWsdl(javax.servlet.http.HttpServletResponse response) throws IOException
IOException
public void printOkXmlResult(javax.servlet.http.HttpServletResponse response, String content) throws IOException
IOException
public void printPartList(WsdlInterface iface, StringToStringMap parts, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
public void printInterfaceList(javax.servlet.http.HttpServletResponse response) throws IOException
IOException
public void returnFile(javax.servlet.http.HttpServletResponse response, File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public String getOverviewUrl()
Copyright © 2019. All Rights Reserved.