Interface WebhookConfig

  • All Known Implementing Classes:
    ImmutableWebhookConfig

    @Immutable
    public interface WebhookConfig
    Key/value pairs to provide settings for this hook. These settings vary between hooks and some are defined in the github-services repository.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String contentType()
      An optional string defining the media type used to serialize the payloads.
      URI url()
      A required string defining the URL to which the payloads will be delivered.
    • Method Detail

      • url

        @Nullable
        URI url()
        A required string defining the URL to which the payloads will be delivered.
      • contentType

        @Nullable
        String contentType()
        An optional string defining the media type used to serialize the payloads. Supported values include json and form. The default is form.