Uses of Class
org.mockserver.model.HttpError
-
Packages that use HttpError Package Description org.mockserver.client org.mockserver.mock org.mockserver.mock.action org.mockserver.model org.mockserver.serialization.java org.mockserver.serialization.model -
-
Uses of HttpError in org.mockserver.client
Methods in org.mockserver.client with parameters of type HttpError Modifier and Type Method Description void
ForwardChainExpectation. error(HttpError httpError)
Return error when expectation is matched -
Uses of HttpError in org.mockserver.mock
Methods in org.mockserver.mock that return HttpError Modifier and Type Method Description HttpError
Expectation. getHttpError()
Methods in org.mockserver.mock with parameters of type HttpError Modifier and Type Method Description Expectation
Expectation. thenError(HttpError httpError)
-
Uses of HttpError in org.mockserver.mock.action
Methods in org.mockserver.mock.action with parameters of type HttpError Modifier and Type Method Description void
HttpErrorActionHandler. handle(HttpError httpError, io.netty.channel.ChannelHandlerContext ctx)
-
Uses of HttpError in org.mockserver.model
Methods in org.mockserver.model that return HttpError Modifier and Type Method Description static HttpError
HttpError. error()
HttpError
HttpError. withDropConnection(Boolean dropConnection)
Forces the connection to be dropped without any response being returnedHttpError
HttpError. withResponseBytes(byte[] responseBytes)
The raw response to be returned, allowing the expectation to specify any invalid response as a raw byte[] -
Uses of HttpError in org.mockserver.serialization.java
Methods in org.mockserver.serialization.java with parameters of type HttpError Modifier and Type Method Description String
HttpErrorToJavaSerializer. serialize(int numberOfSpacesToIndent, HttpError httpError)
-
Uses of HttpError in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return HttpError Modifier and Type Method Description HttpError
HttpErrorDTO. buildObject()
Constructors in org.mockserver.serialization.model with parameters of type HttpError Constructor Description HttpErrorDTO(HttpError httpError)
-