Interface GitHubConnector

All Known Implementing Classes:
GitHubConnectorHttpConnectorAdapter, HttpClientGitHubConnector, OkHttpGitHubConnector
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GitHubConnector
Interface for customizing HTTP request behaviors or using any HTTP client library for interacting with GitHub.
Author:
Liam Newman
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final GitHubConnector
    Default implementation used when connector is not set by user.
    static final GitHubConnector
    Stub implementation that is always off-line.
  • Method Summary

    Modifier and Type
    Method
    Description
    send(GitHubConnectorRequest connectorRequest)
    Sends a request and retrieves a raw response for processing.