Package org.sonarqube.ws.client
Class HttpConnector
java.lang.Object
org.sonarqube.ws.client.HttpConnector
- All Implemented Interfaces:
WsConnector
Connect to any SonarQube server available through HTTP or HTTPS.
The JVM system proxies are used.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionbaseUrl()
Server base URL, always with trailing slash, for instance "http://localhost:9000/"static HttpConnector.Builder
okhttp3.OkHttpClient
-
Field Details
-
DEFAULT_CONNECT_TIMEOUT_MILLISECONDS
public static final int DEFAULT_CONNECT_TIMEOUT_MILLISECONDS- See Also:
-
DEFAULT_READ_TIMEOUT_MILLISECONDS
public static final int DEFAULT_READ_TIMEOUT_MILLISECONDS- See Also:
-
-
Method Details
-
baseUrl
Description copied from interface:WsConnector
Server base URL, always with trailing slash, for instance "http://localhost:9000/"- Specified by:
baseUrl
in interfaceWsConnector
-
okHttpClient
public okhttp3.OkHttpClient okHttpClient() -
call
- Specified by:
call
in interfaceWsConnector
-
newBuilder
- Since:
- 5.5
-