|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.wsclient.SonarClient.Builder
public static class SonarClient.Builder
Method Summary | |
---|---|
SonarClient |
build()
Build a new client |
SonarClient.Builder |
connectTimeoutMilliseconds(int i)
Sets a specified timeout value, in milliseconds, to be used when opening HTTP connection. |
SonarClient.Builder |
login(String login)
Optional login, for example "admin" |
SonarClient.Builder |
password(String password)
Optional password related to login(String) , for example "admin" |
SonarClient.Builder |
proxy(String proxyHost,
int proxyPort)
Host and port of the optional HTTP proxy |
SonarClient.Builder |
proxyLogin(String proxyLogin)
|
SonarClient.Builder |
proxyPassword(String proxyPassword)
|
SonarClient.Builder |
readTimeoutMilliseconds(int i)
Sets the read timeout to a specified timeout, in milliseconds. |
SonarClient.Builder |
url(String url)
Mandatory HTTP server URL, eg "http://localhost:9000" |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SonarClient.Builder url(String url)
public SonarClient.Builder login(@Nullable String login)
public SonarClient.Builder password(@Nullable String password)
login(String)
, for example "admin"
public SonarClient.Builder proxy(@Nullable String proxyHost, int proxyPort)
public SonarClient.Builder proxyLogin(@Nullable String proxyLogin)
public SonarClient.Builder proxyPassword(@Nullable String proxyPassword)
public SonarClient.Builder connectTimeoutMilliseconds(int i)
SonarClient.DEFAULT_CONNECT_TIMEOUT_MILLISECONDS
public SonarClient.Builder readTimeoutMilliseconds(int i)
SonarClient.DEFAULT_READ_TIMEOUT_MILLISECONDS
public SonarClient build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |