org.sonar.api.server.ws
Interface WebService
- All Superinterfaces:
- Extension, ServerComponent, ServerExtension
public interface WebService
- extends ServerExtension
Defines a web service. Note that contrary to the deprecated Webservice
the ws is fully implemented in Java and does not require any Ruby on Rails code.
The classes implementing this extension point must be declared in Plugin.getExtensions()
.
How to use
public class HelloWs implements WebService {
- Since:
- 4.2
define
void define(WebService.Context context)
- Executed once at server startup.
Copyright © 2009-2014 SonarSource. All Rights Reserved.