接口 MockServerClientHttpResponse

所有超级接口:
cn.taketoday.http.client.reactive.ClientHttpResponse, cn.taketoday.http.HttpMessage, cn.taketoday.http.ReactiveHttpInputMessage
所有已知实现类:
MockMvcHttpConnector.MockMvcServerClientHttpResponse

public interface MockServerClientHttpResponse extends cn.taketoday.http.client.reactive.ClientHttpResponse
Simple ClientHttpResponse extension that also exposes a result object from the underlying mock server exchange for further assertions on the state of the server response after the request is performed.
从以下版本开始:
4.0
作者:
Rossen Stoyanchev, Harry Yang
  • 方法概要

    修饰符和类型
    方法
    说明
    Return the result object with the server request and response.

    从接口继承的方法 cn.taketoday.http.client.reactive.ClientHttpResponse

    getCookies, getId, getRawStatusCode, getStatusCode

    从接口继承的方法 cn.taketoday.http.HttpMessage

    getHeaders

    从接口继承的方法 cn.taketoday.http.ReactiveHttpInputMessage

    getBody
  • 方法详细资料

    • getServerResult

      Object getServerResult()
      Return the result object with the server request and response.