| Package | Description |
|---|---|
| org.kohsuke.github | |
| org.kohsuke.github.extras |
| Modifier and Type | Field and Description |
|---|---|
static HttpConnector |
HttpConnector.DEFAULT
Default implementation that uses
URL.openConnection(). |
static HttpConnector |
HttpConnector.OFFLINE
Stub implementation that is always off-line.
|
| Modifier and Type | Method and Description |
|---|---|
HttpConnector |
GitHub.getConnector()
Gets connector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GitHub.setConnector(HttpConnector connector)
Sets the custom connector used to make requests to GitHub.
|
GitHubBuilder |
GitHubBuilder.withConnector(HttpConnector connector)
With connector git hub builder.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImpatientHttpConnector
HttpConnector wrapper that sets timeout |
class |
OkHttp3Connector
Deprecated.
|
class |
OkHttpConnector
HttpConnector for OkHttpClient. |
| Constructor and Description |
|---|
ImpatientHttpConnector(HttpConnector base)
Instantiates a new Impatient http connector.
|
ImpatientHttpConnector(HttpConnector base,
int timeout)
Instantiates a new Impatient http connector.
|
ImpatientHttpConnector(HttpConnector base,
int connectTimeout,
int readTimeout)
Instantiates a new Impatient http connector.
|
Copyright © 2020. All rights reserved.