Uses of Class
org.mockserver.model.HttpError
-
-
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.dashboard.model
Methods in org.mockserver.dashboard.model that return HttpError Modifier and Type Method Description HttpError
LogEntryDTO. getHttpError()
Methods in org.mockserver.dashboard.model with parameters of type HttpError Modifier and Type Method Description LogEntryDTO
LogEntryDTO. setHttpError(HttpError httpError)
-
Uses of HttpError in org.mockserver.log.model
Methods in org.mockserver.log.model that return HttpError Modifier and Type Method Description HttpError
LogEntry. getHttpError()
Methods in org.mockserver.log.model with parameters of type HttpError Modifier and Type Method Description LogEntry
LogEntry. setHttpError(HttpError httpError)
-
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)
-