/** * * This is part of the internal API. * This is a GET request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/ce/component">Further information about this action online (including a response example)</a> * @since 5.2 */ public ComponentResponse component(ComponentRequest request) { return call( new GetRequest(path("component")) .setParam("component", request.getComponent()) .setParam("componentId", request.getComponentId()), ComponentResponse.parser()); }
/** * * This is part of the internal API. * This is a GET request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/ce/component">Further information about this action online (including a response example)</a> * @since 5.2 */ public ComponentResponse component(ComponentRequest request) { return call( new GetRequest(path("component")) .setParam("component", request.getComponent()) .setParam("componentId", request.getComponentId()), ComponentResponse.parser()); }