public interface

RequestCallback

com.atlassian.bitbucket.request.RequestCallback<T, E extends java.lang.Exception>

Class Overview

Callback provided to callers of doAsRequest(RequestCallback, RequestInfoProvider). The callback provides all information in the RequestInfoProvider plus a generated requestId.

Summary

Public Methods
@Nullable T withRequest(RequestContext requestContext)
Callback method that is called by doAsRequest(RequestCallback, RequestInfoProvider)

Public Methods

@Nullable public T withRequest (RequestContext requestContext)

Callback method that is called by doAsRequest(RequestCallback, RequestInfoProvider)

Parameters
requestContext information about the current request, including a generated request id.
Returns
Throws
Exception