Modifier and Type | Method and Description |
---|---|
String |
HttpErrorToJavaSerializer.serialize(int numberOfSpacesToIndent,
HttpError httpError) |
Modifier and Type | Method and Description |
---|---|
HttpError |
HttpErrorDTO.buildObject() |
Constructor and Description |
---|
HttpErrorDTO(HttpError httpError) |
Modifier and Type | Method and Description |
---|---|
void |
ForwardChainExpectation.error(HttpError httpError) |
Modifier and Type | Method and Description |
---|---|
HttpError |
Expectation.getHttpError() |
Modifier and Type | Method and Description |
---|---|
Expectation |
Expectation.thenError(HttpError httpError) |
Modifier and Type | Method and Description |
---|---|
void |
HttpErrorActionHandler.handle(HttpError action,
io.netty.channel.ChannelHandlerContext ctx) |
Modifier and Type | Method and Description |
---|---|
HttpError |
HttpError.applyDelay() |
static HttpError |
HttpError.error() |
HttpError |
HttpError.withDelay(Delay delay)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpError |
HttpError.withDelay(TimeUnit timeUnit,
long value)
The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
|
HttpError |
HttpError.withDropConnection(Boolean dropConnection)
Forces the connection to be dropped without any response being returned
|
HttpError |
HttpError.withResponseBytes(byte[] responseBytes)
The raw response to be returned, allowing the expectation to specify any invalid response as a raw byte[]
|
Copyright © 2018. All rights reserved.