Class DefaultResponseCreator

java.lang.Object
org.springframework.test.web.client.response.DefaultResponseCreator
All Implemented Interfaces:
ResponseCreator

public class DefaultResponseCreator extends Object implements ResponseCreator
A ResponseCreator with builder-style methods for adding response details.
Since:
3.2
Author:
Rossen Stoyanchev
  • Constructor Details

    • DefaultResponseCreator

      protected DefaultResponseCreator(int statusCode)
      Protected constructor. Use static factory methods in MockRestResponseCreators.
      Since:
      5.3.17
    • DefaultResponseCreator

      protected DefaultResponseCreator(org.springframework.http.HttpStatusCode statusCode)
      Protected constructor. Use static factory methods in MockRestResponseCreators.
  • Method Details