类的使用
org.springframework.web.client.support.RestGatewaySupport
使用RestGatewaySupport的程序包 程序包 说明 org.springframework.test.web.client Contains client-side REST testing support.org.springframework.test.web.client中RestGatewaySupport的使用
参数类型为RestGatewaySupport的org.springframework.test.web.client中的方法 修饰符和类型 方法 说明 static MockRestServiceServer.MockRestServiceServerBuilder
MockRestServiceServer. bindTo(RestGatewaySupport restGatewaySupport)
Return a builder for aMockRestServiceServer
that should be used to reply to the givenRestGatewaySupport
.static MockRestServiceServer
MockRestServiceServer. createServer(RestGatewaySupport restGateway)
A shortcut forbindTo(restGateway).build()
.