类 HttpHandlerConnector.FailureAfterResponseCompletedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.test.web.reactive.server.HttpHandlerConnector.FailureAfterResponseCompletedException
- 所有已实现的接口:
Serializable
- 封闭类:
- HttpHandlerConnector
public static final class HttpHandlerConnector.FailureAfterResponseCompletedException
extends RuntimeException
Indicates that an error occurred after the server response was completed,
via
ReactiveHttpOutputMessage.writeWith(org.reactivestreams.Publisher<? extends cn.taketoday.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.
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private final cn.taketoday.http.client.reactive.ClientHttpResponseprivate static final long -
构造器概要
构造器限定符构造器说明privateFailureAfterResponseCompletedException(cn.taketoday.http.client.reactive.ClientHttpResponse response, Throwable cause) -
方法概要
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
completedResponse
private final cn.taketoday.http.client.reactive.ClientHttpResponse completedResponse
-
-
构造器详细资料
-
FailureAfterResponseCompletedException
private FailureAfterResponseCompletedException(cn.taketoday.http.client.reactive.ClientHttpResponse response, Throwable cause)
-
-
方法详细资料
-
getCompletedResponse
public cn.taketoday.http.client.reactive.ClientHttpResponse getCompletedResponse()
-