ParentT
- the stage of the parent definition to return to after attaching this definitionpublic static interface Webhook.UpdateResourceStages.WithCustomHeaders<ParentT>
Modifier and Type | Method and Description |
---|---|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
withCustomHeader(String name,
String value)
Specifies a custom header that will be added to notifications.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
withCustomHeaders(Map<String,String> customHeaders)
Specifies the custom headers that will be added to the notifications.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> withCustomHeader(String name, String value)
Consecutive calls to this method will add additional headers.
name
- of the optional headervalue
- of the optional headerWebhook.UpdateResourceStages.WithAttach<ParentT> withCustomHeaders(Map<String,String> customHeaders)
customHeaders
- the "Name=Value" custom headers.Copyright © 2019. All rights reserved.