* This class allows a web service to call another web service through the sonar-ws library.
* The call is in-process, synchronous and does not involve the HTTP stack.
* <p>
- * Example of a web service that uses sonar-ws 5.5 to get some issues:
+ * Example of a web service that loads some issues:
* <pre>
* import org.sonar.api.server.ws.RequestHandler;
* import org.sonarqube.ws.client.WsClientFactories;
* }
* }
* </pre>
+ *
+ * It requires to use the sonar-ws library which Maven ids are:
+ * <pre>
+ * <dependency>
+ * <groupId>org.sonarsource.sonarqube</groupId>
+ * <artifactId>sonar-ws</artifactId>
+ * </dependency>
+ * </pre>
*
* @since 5.5
*/
* }
* </pre>
*
+ * Since version 5.5, a web service can call another web service to get some data. See {@link Request#getLocalConnector()}
+ * provided by {@link RequestHandler#handle(Request, Response)}.
+ *
* @since 4.2
*/
@ServerSide
/**
* Create a new controller.
* <br>
- * Structure of request URL is <code>http://<server>/<>controller path>/<action path>?<parameters></code>.
+ * Structure of request URL is <code>http://<server>/<controller path>/<action path>?<parameters></code>.
*
* @param path the controller path must not start or end with "/". It is recommended to start with "api/"
* and to use lower-case format with underscores, for example "api/coding_rules". Usual actions
/**$
*
* Creates the parameter {@link org.sonar.api.server.ws.WebService.Param#TEXT_QUERY}, which is
- * used to search for a subset of fields containing the supplied string.<br />
- * The fields must be in the <strong>plural</strong> form (ex: "names", "keys")
+ * used to search for a subset of fields containing the supplied string.
+ * <p>
+ * The fields must be in the <strong>plural</strong> form (ex: "names", "keys").
+ * </p>
*/
public NewAction addSearchQuery(String exampleValue, String... pluralFields) {
String actionDescription = format("Limit search to %s that contain the supplied string.", Joiner.on(" or ").join(pluralFields));