Class LookupApplicationByID
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.indexer.LookupApplicationByID
-
public class LookupApplicationByID extends Query
Lookup application. /v2/applications/{application-id}
-
-
Constructor Summary
Constructors Constructor Description LookupApplicationByID(Client client, Long applicationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<ApplicationResponse>
execute()
Execute the query.Response<ApplicationResponse>
execute(String[] headers, String[] values)
Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.protected QueryData
getRequestString()
LookupApplicationByID
includeAll(Boolean includeAll)
Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Method Detail
-
includeAll
public LookupApplicationByID includeAll(Boolean includeAll)
Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
-
execute
public Response<ApplicationResponse> execute() throws Exception
Execute the query.
-
execute
public Response<ApplicationResponse> execute(String[] headers, String[] values) throws Exception
Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.
-
getRequestString
protected QueryData getRequestString()
- Specified by:
getRequestString
in classQuery
-
-