public class TomcatFaultInjector extends Object implements com.github.tomakehurst.wiremock.core.FaultInjector
Constructor and Description |
---|
TomcatFaultInjector(javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
emptyResponseAndCloseConnection() |
void |
malformedResponseChunk() |
void |
randomDataAndCloseConnection() |
public TomcatFaultInjector(javax.servlet.http.HttpServletResponse response)
public void emptyResponseAndCloseConnection()
emptyResponseAndCloseConnection
in interface com.github.tomakehurst.wiremock.core.FaultInjector
public void malformedResponseChunk()
malformedResponseChunk
in interface com.github.tomakehurst.wiremock.core.FaultInjector
public void randomDataAndCloseConnection()
randomDataAndCloseConnection
in interface com.github.tomakehurst.wiremock.core.FaultInjector
Copyright © 2016–2018 Spring. All rights reserved.