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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbaseUrl()Server base URL, always with trailing slash, for instance "http://localhost:9000/"static HttpConnector.Builderokhttp3.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:
-
DEFAULT_RESPONSE_TIMEOUT_MILLISECONDS
public static final int DEFAULT_RESPONSE_TIMEOUT_MILLISECONDS- See Also:
-
-
Method Details
-
baseUrl
Description copied from interface:WsConnectorServer base URL, always with trailing slash, for instance "http://localhost:9000/"- Specified by:
baseUrlin interfaceWsConnector
-
okHttpClient
public okhttp3.OkHttpClient okHttpClient() -
call
- Specified by:
callin interfaceWsConnector
-
newBuilder
- Since:
- 5.5
-