Package com.atlassian.bitbucket.request
Interface RequestCallback<T,E extends Exception> 
public interface RequestCallback<T,E extends Exception> 
Callback provided to callers of 
RequestManager.doAsRequest(RequestCallback, RequestInfoProvider). The callback
 provides all information in the RequestInfoProvider plus a generated requestId.- 
Method SummaryModifier and TypeMethodDescriptionwithRequest(RequestContext requestContext) Callback method that is called byRequestManager.doAsRequest(RequestCallback, RequestInfoProvider)
- 
Method Details- 
withRequestCallback method that is called byRequestManager.doAsRequest(RequestCallback, RequestInfoProvider)- Parameters:
- requestContext- information about the current request, including a generated request id.
- Returns:
- the value that should be returned by RequestManager.doAsRequest(RequestCallback, RequestInfoProvider)
- Throws:
- E- if the callback fails
 
 
-