Class GetApplicationBoxes
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.GetApplicationBoxes
-
public class GetApplicationBoxes extends Query
Given an application ID, return all Box names. No particular ordering is guaranteed. Request fails when client or server-side configured limits prevent returning all Box names. /v2/applications/{application-id}/boxes
-
-
Constructor Summary
Constructors Constructor Description GetApplicationBoxes(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 QueryDatagetRequestString()GetApplicationBoxesmax(Long max)Max number of box names to return.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Method Detail
-
max
public GetApplicationBoxes max(Long max)
Max number of box names to return. If max is not set, or max == 0, returns all box-names.
-
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:
getRequestStringin classQuery
-
-