public abstract class AbstractMockDispatcher extends Object implements MockDispatcher
Constructor and Description |
---|
AbstractMockDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
addMockResult(WsdlMockResult mockResult) |
void |
clearResults() |
MockResult |
dispatchCopyRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchDeleteRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchGetRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchHeadRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchLockRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchPatchRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchPostRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchPropfindRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchPurgeRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchPutRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MockResult |
dispatchUnlockRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
long |
getMaxResults() |
MockResult |
getMockResultAt(int index) |
int |
getMockResultCount() |
void |
setLogEnabled(boolean logEnabled) |
void |
setMaxResults(long maxNumberOfResults) |
public MockResult dispatchGetRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchPostRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchHeadRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchPutRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchDeleteRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchPatchRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchPropfindRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchLockRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchUnlockRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchCopyRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchPurgeRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
DispatchException
public MockResult dispatchRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DispatchException
dispatchRequest
in interface MockDispatcher
DispatchException
public void addMockResult(WsdlMockResult mockResult)
public MockResult getMockResultAt(int index)
getMockResultAt
in interface MockDispatcher
public int getMockResultCount()
getMockResultCount
in interface MockDispatcher
public void clearResults()
clearResults
in interface MockDispatcher
public long getMaxResults()
public void setMaxResults(long maxNumberOfResults)
setMaxResults
in interface MockDispatcher
public void setLogEnabled(boolean logEnabled)
setLogEnabled
in interface MockDispatcher
Copyright © 2019. All Rights Reserved.