org.sonar.api.server.ws
Class WebService.Action
java.lang.Object
org.sonar.api.server.ws.WebService.Action
- Enclosing interface:
- WebService
@Immutable
public static class WebService.Action
- extends Object
key
public String key()
path
public String path()
description
@CheckForNull
public String description()
since
@CheckForNull
public String since()
- Set if different than controller.
isPost
public boolean isPost()
isInternal
public boolean isInternal()
handler
public RequestHandler handler()
responseExample
@CheckForNull
public URL responseExample()
- See Also:
WebService.NewAction.setResponseExample(java.net.URL)
responseExampleAsString
@CheckForNull
public String responseExampleAsString()
- See Also:
WebService.NewAction.setResponseExample(java.net.URL)
responseExampleFormat
@CheckForNull
public String responseExampleFormat()
- See Also:
WebService.NewAction.setResponseExample(java.net.URL)
param
@CheckForNull
public WebService.Param param(String key)
params
public Collection<WebService.Param> params()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009–2015 SonarSource. All rights reserved.