public class JettyFaultInjector extends Object implements com.github.tomakehurst.wiremock.core.FaultInjector
Constructor and Description |
---|
JettyFaultInjector(javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
emptyResponseAndCloseConnection() |
void |
malformedResponseChunk() |
void |
randomDataAndCloseConnection() |
public JettyFaultInjector(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–2017 Spring. All rights reserved.