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.

Since:
v3.0
See Also:
  • 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 Type
    Method
    Description
    <R> R
    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 of Request.execute() and Request.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