public static final class HttpHandlerConnector.FailureAfterResponseCompletedException extends RuntimeException
ReactiveHttpOutputMessage.writeWith(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>)
or ReactiveHttpOutputMessage.setComplete()
,
and can no longer be changed. This exception wraps the error and also
provides access
to the response.
What happens on an actual running server depends on when the server commits the response and the error may or may not change the response. Therefore in tests without a server the exception is wrapped and allowed to propagate so the application is alerted.
Modifier and Type | Method and Description |
---|---|
ClientHttpResponse |
getCompletedResponse() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientHttpResponse getCompletedResponse()