Class JettyHttpsFaultInjector
- java.lang.Object
-
- com.github.tomakehurst.wiremock.jetty.JettyHttpsFaultInjector
-
- All Implemented Interfaces:
FaultInjector
public class JettyHttpsFaultInjector extends java.lang.Object implements FaultInjector
-
-
Constructor Summary
Constructors Constructor Description JettyHttpsFaultInjector(jakarta.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectionResetByPeer()
void
emptyResponseAndCloseConnection()
void
malformedResponseChunk()
void
randomDataAndCloseConnection()
-
-
-
Method Detail
-
connectionResetByPeer
public void connectionResetByPeer()
- Specified by:
connectionResetByPeer
in interfaceFaultInjector
-
emptyResponseAndCloseConnection
public void emptyResponseAndCloseConnection()
- Specified by:
emptyResponseAndCloseConnection
in interfaceFaultInjector
-
malformedResponseChunk
public void malformedResponseChunk()
- Specified by:
malformedResponseChunk
in interfaceFaultInjector
-
randomDataAndCloseConnection
public void randomDataAndCloseConnection()
- Specified by:
randomDataAndCloseConnection
in interfaceFaultInjector
-
-