接口的使用
cn.taketoday.test.web.client.ResponseCreator
使用ResponseCreator的程序包
程序包
说明
Contains client-side REST testing support.
Contains built-in
ResponseCreator
implementations.-
cn.taketoday.test.web.client中ResponseCreator的使用
修饰符和类型接口说明interfaceAn extension ofResponseActionsthat also implementsRequestMatcherandResponseCreator修饰符和类型类说明classDefault implementation ofRequestExpectationthat simply delegates to the request matchers and the response creator it contains.修饰符和类型方法说明voidDefaultRequestExpectation.andRespond(ResponseCreator responseCreator) voidResponseActions.andRespond(ResponseCreator responseCreator) Define the response. -
cn.taketoday.test.web.client.response中ResponseCreator的使用
修饰符和类型类说明classAResponseCreatorwith builder-style methods for adding response details.修饰符和类型方法说明static ResponseCreatorMockRestResponseCreators.withException(IOException ex) ResponseCreatorwith an internal applicationIOException.