Class GitHubClientSSL

  • Direct Known Subclasses:
    GitHubClientEx

    public class GitHubClientSSL
    extends org.eclipse.egit.github.core.client.GitHubClient
    Extended version of GitHubClient with ssl trust store
    Since:
    2018.1
    Author:
    Mikhail Khorkov
    • Field Summary

      • Fields inherited from class org.eclipse.egit.github.core.client.GitHubClient

        baseUri, gson, HEADER_ACCEPT, HEADER_AUTHORIZATION, HEADER_CONTENT_TYPE, HEADER_USER_AGENT, HTTP_UNPROCESSABLE_ENTITY, METHOD_DELETE, METHOD_GET, METHOD_POST, METHOD_PUT, prefix, USER_AGENT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected HttpURLConnection createConnection​(String uri)
      Create connection to URI
      void setTrustStore​(KeyStore trustStore)  
      • Methods inherited from class org.eclipse.egit.github.core.client.GitHubClient

        configureRequest, configureUri, createClient, createConnection, createDelete, createException, createGet, createPost, createPut, createUri, delete, delete, get, getBody, getRemainingRequests, getRequestLimit, getResponseStream, getStream, getStream, getUser, isEmpty, isError, isOk, parseError, parseJson, parseJson, post, post, postStream, put, put, sendParams, setBufferSize, setCredentials, setHeaderAccept, setOAuth2Token, setSerializeNulls, setUserAgent, toJson, updateRateLimits
    • Constructor Detail

      • GitHubClientSSL

        public GitHubClientSSL()
      • GitHubClientSSL

        public GitHubClientSSL​(String hostname)
      • GitHubClientSSL

        public GitHubClientSSL​(String hostname,
                               int port,
                               String scheme)
    • Method Detail

      • createConnection

        protected HttpURLConnection createConnection​(String uri)
                                              throws IOException
        Create connection to URI
        Overrides:
        createConnection in class org.eclipse.egit.github.core.client.GitHubClient
        Parameters:
        uri -
        Returns:
        connection
        Throws:
        IOException
      • setTrustStore

        public void setTrustStore​(KeyStore trustStore)