| 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() |
| 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) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImpatientHttpConnector
HttpConnector wrapper that sets timeout |
class |
OkHttpConnector
HttpConnector for OkHttpClient. |
| Constructor and Description |
|---|
ImpatientHttpConnector(HttpConnector base) |
ImpatientHttpConnector(HttpConnector base,
int timeout) |
ImpatientHttpConnector(HttpConnector base,
int connectTimeout,
int readTimeout) |
Copyright © 2016. All Rights Reserved.