public interface RequestCallback<T,E extends Exception>
RequestManager.doAsRequest(RequestCallback, RequestInfoProvider)
. The callback
provides all information in the RequestInfoProvider
plus a generated requestId.Modifier and Type | Method and Description |
---|---|
T |
withRequest(RequestContext requestContext)
Callback method that is called by
RequestManager.doAsRequest(RequestCallback, RequestInfoProvider) |
@Nullable T withRequest(@Nonnull RequestContext requestContext) throws E extends Exception
RequestManager.doAsRequest(RequestCallback, RequestInfoProvider)
requestContext
- information about the current request, including a generated request id.RequestManager.doAsRequest(RequestCallback, RequestInfoProvider)
E
- if the callback failsE extends Exception
Copyright © 2019 Atlassian. All rights reserved.