public interface

DetailedInvocationResponse

implements DetailedInvocationResult
com.atlassian.bitbucket.webhook.history.DetailedInvocationResponse

Class Overview

The details of an invocation's HTTP response

Summary

Public Methods
@Nonnull Optional<String> getBody()
@Nonnull Map<StringString> getHeaders()
int getStatusCode()
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.webhook.history.InvocationResult

Public Methods

@Nonnull public Optional<String> getBody ()

Returns
  • the response body, if any

@Nonnull public Map<StringString> getHeaders ()

Returns
  • the HTTP headers sent with the response

public int getStatusCode ()

Returns
  • the HTTP status code