Class ExtendedGitHubClient
- java.lang.Object
-
- org.eclipse.egit.github.core.client.GitHubClient
-
- org.jenkinsci.plugins.pipeline.github.client.ExtendedGitHubClient
-
public class ExtendedGitHubClient extends org.eclipse.egit.github.core.client.GitHubClient
- Author:
- Aaron Whiteside
-
-
Constructor Summary
Constructors Constructor Description ExtendedGitHubClient()
ExtendedGitHubClient(String hostname)
ExtendedGitHubClient(String hostname, int port, String scheme)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> V
delete(String uri, Type type, String accept)
org.eclipse.egit.github.core.client.GitHubResponse
getUnchecked(org.eclipse.egit.github.core.client.GitHubRequest request)
<V> V
patch(String uri, Object params, Type type)
<V> V
patch(String uri, Object params, Type type, String accept)
<V> V
post(String uri, Object params, Type type, String accept)
<V> V
put(String uri, Object params, Type type, String accept)
-
Methods inherited from class org.eclipse.egit.github.core.client.GitHubClient
configureRequest, configureUri, createClient, createConnection, createConnection, createDelete, createException, createGet, createPost, createPut, createUri, delete, delete, get, getBody, getHeaderAccept, getRemainingRequests, getRequestLimit, getResponseStream, getStream, getStream, getUser, isEmpty, isError, isOk, parseError, parseJson, parseJson, post, post, postStream, put, put, sendParams, setBufferSize, setCredentials, setHeaderAccept, setOAuth2Token, setProxy, setSerializeNulls, setUserAgent, toJson, updateRateLimits
-
-
-
-
Method Detail
-
post
public <V> V post(String uri, Object params, Type type, String accept) throws IOException
- Throws:
IOException
-
put
public <V> V put(String uri, Object params, Type type, String accept) throws IOException
- Throws:
IOException
-
getUnchecked
public org.eclipse.egit.github.core.client.GitHubResponse getUnchecked(org.eclipse.egit.github.core.client.GitHubRequest request)
-
delete
public <V> V delete(String uri, Type type, String accept) throws IOException
- Throws:
IOException
-
-