Class EntityExchangeResult<T>

java.lang.Object
org.springframework.test.web.servlet.client.ExchangeResult
org.springframework.test.web.servlet.client.EntityExchangeResult<T>
Type Parameters:
T - the response body type

public class EntityExchangeResult<T> extends ExchangeResult
ExchangeResult sub-class that exposes the response body fully extracted to a representation of type <T>.
Since:
7.0
Author:
Rob Worsnop
  • Method Details

    • getResponseBody

      public @Nullable T getResponseBody()
      Return the entity extracted from the response body.