Update Javadoc

Issue: SPR-13479
This commit is contained in:
Rossen Stoyanchev
2015-09-23 17:29:21 -04:00
parent ffd9c62fc8
commit fb3e054a31
2 changed files with 11 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2014 the original author or authors.
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -44,6 +44,12 @@ import org.springframework.web.client.support.RestGatewaySupport;
*
* <p>Below is an example:
* <pre class="code">
* import static org.springframework.test.web.client.match.MockRestRequestMatchers.method;
* import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo;
* import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess;
*
* ...
*
* RestTemplate restTemplate = new RestTemplate()
* MockRestServiceServer mockServer = MockRestServiceServer.createServer(restTemplate);
*