org.sonar.api.server.ws
Class RailsHandler

java.lang.Object
  extended by org.sonar.api.server.ws.RailsHandler
All Implemented Interfaces:
Extension, RequestHandler, ServerComponent, ServerExtension

public class RailsHandler
extends Object
implements RequestHandler

Used to declare web services that are still implemented in Ruby on Rails.

Since:
4.4

Field Summary
static RequestHandler INSTANCE
           
 
Method Summary
static WebService.NewParam addFormatParam(WebService.NewAction action)
           
static WebService.NewParam addJsonOnlyFormatParam(WebService.NewAction action)
           
 void handle(Request request, Response response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final RequestHandler INSTANCE
Method Detail

handle

public void handle(Request request,
                   Response response)
Specified by:
handle in interface RequestHandler

addFormatParam

public static WebService.NewParam addFormatParam(WebService.NewAction action)

addJsonOnlyFormatParam

public static WebService.NewParam addJsonOnlyFormatParam(WebService.NewAction action)


Copyright © 2009-2014 SonarSource. All Rights Reserved.