Package com.atlassian.applinks.api
Interface ApplicationLinkRequest
- All Superinterfaces:
com.atlassian.sal.api.net.Request<ApplicationLinkRequest,com.atlassian.sal.api.net.Response>
public interface ApplicationLinkRequest
extends com.atlassian.sal.api.net.Request<ApplicationLinkRequest,com.atlassian.sal.api.net.Response>
A request object preconfigured with authentication information for the Application Link it was created for.
To execute the request, call this interface's execute method, or one of the base type's execute methods.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.sal.api.net.Request
com.atlassian.sal.api.net.Request.MethodType -
Method Summary
Modifier and TypeMethodDescription<R> Rexecute(ApplicationLinkResponseHandler<R> responseHandler) Executes the request.Methods inherited from interface com.atlassian.sal.api.net.Request
addBasicAuthentication, addHeader, addRequestParameters, execute, execute, executeAndReturn, getHeaders, setConnectionTimeout, setEntity, setFiles, setFollowRedirects, setHeader, setRequestBody, setRequestBody, setSoTimeout, setUrl
-
Method Details
-
execute
<R> R execute(ApplicationLinkResponseHandler<R> responseHandler) throws com.atlassian.sal.api.net.ResponseException Executes the request. Use this method instead ofRequest.execute()andRequest.execute(com.atlassian.sal.api.net.ResponseHandler)when the caller anticipates a "credentials required problem". For more information about this scenario, see:CredentialsRequiredException- Parameters:
responseHandler- Callback handler of the response.- Throws:
com.atlassian.sal.api.net.ResponseException- If the response cannot be retrieved
-