Class SearchForApplicationBoxes
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.indexer.SearchForApplicationBoxes
-
public class SearchForApplicationBoxes extends Query
Given an application ID, returns the box names of that application sorted lexicographically. /v2/applications/{application-id}/boxes
-
-
Constructor Summary
Constructors Constructor Description SearchForApplicationBoxes(Client client, Long applicationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<BoxesResponse>
execute()
Execute the query.Response<BoxesResponse>
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()
SearchForApplicationBoxes
limit(Long limit)
Maximum number of results to return.SearchForApplicationBoxes
next(String next)
The next page of results.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Method Detail
-
limit
public SearchForApplicationBoxes limit(Long limit)
Maximum number of results to return. There could be additional pages even if the limit is not reached.
-
next
public SearchForApplicationBoxes next(String next)
The next page of results. Use the next token provided by the previous results.
-
execute
public Response<BoxesResponse> execute() throws Exception
Execute the query.
-
execute
public Response<BoxesResponse> 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
-
-