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.

Since:
v3.0
See Also:
ApplicationLinkRequestFactory.createRequest(com.atlassian.sal.api.net.Request.MethodType, String)

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.sal.api.net.Request
com.atlassian.sal.api.net.Request.MethodType
 
Method Summary
<R> R
execute(ApplicationLinkResponseHandler<R> responseHandler)
          Executes the request.
 
Methods inherited from interface com.atlassian.sal.api.net.Request
addAuthentication, addBasicAuthentication, addHeader, addRequestParameters, addSeraphAuthentication, addTrustedTokenAuthentication, addTrustedTokenAuthentication, execute, execute, executeAndReturn, getHeaders, setConnectionTimeout, setEntity, setFollowRedirects, setHeader, setRequestBody, setRequestContentType, setSoTimeout, setUrl
 

Method Detail

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


Copyright © 2011 Atlassian. All Rights Reserved.