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

Nested Class Summary
static class WebService.Action
           
static class WebService.Context
           
static class WebService.Controller
           
static class WebService.NewAction
           
static class WebService.NewController
           
static class WebService.NewParam
           
static class WebService.Param
           
 
Method Summary
 void define(WebService.Context context)
          Executed once at server startup.
 

Method Detail

define

void define(WebService.Context context)
Executed once at server startup.



Copyright © 2009-2014 SonarSource. All Rights Reserved.