Class Query
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- Direct Known Subclasses:
AccountApplicationInformation,AccountAssetInformation,AccountInformation,GetApplicationBoxByName,GetApplicationBoxes,GetApplicationByID,GetAssetByID,GetBlock,GetBlockHash,GetBlockLogs,GetBlockTimeStampOffset,GetBlockTxids,GetGenesis,GetLedgerStateDelta,GetLedgerStateDeltaForTransactionGroup,GetLightBlockHeaderProof,GetPendingTransactions,GetPendingTransactionsByAddress,GetReady,GetStateProof,GetStatus,GetSupply,GetSyncRound,GetTransactionGroupLedgerStateDeltasForRound,GetTransactionProof,GetVersion,HealthCheck,LookupAccountAppLocalStates,LookupAccountAssets,LookupAccountByID,LookupAccountCreatedApplications,LookupAccountCreatedAssets,LookupAccountTransactions,LookupApplicationBoxByIDAndName,LookupApplicationByID,LookupApplicationLogsByID,LookupAssetBalances,LookupAssetByID,LookupAssetTransactions,LookupBlock,LookupTransaction,MakeHealthCheck,Metrics,PendingTransactionInformation,RawTransaction,SearchForAccounts,SearchForApplicationBoxes,SearchForApplications,SearchForAssets,SearchForBlockHeaders,SearchForTransactions,SetBlockTimeStampOffset,SetSyncRound,SimulateTransaction,SwaggerJSON,TealCompile,TealDisassemble,TealDryrun,TransactionParams,UnsetSyncRound,WaitForBlock
public abstract class Query extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQuery(Client client, HttpMethod httpMethod)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddPathSegment(String segment)protected voidaddQuery(String key, String value)protected voidaddToBody(byte[] content)protected voidaddToBody(Object content)protected <T> Response<T>baseExecute()protected <T> Response<T>baseExecute(String[] headers, String[] values)abstract Response<?>execute()abstract Response<?>execute(String[] headers, String[] values)StringgetRequestMethod()protected abstract QueryDatagetRequestString()StringgetRequestUrl()StringgetRequestUrl(int port, String host)protected voidresetPathSegment()
-
-
-
Field Detail
-
qd
protected QueryData qd
-
-
Constructor Detail
-
Query
protected Query(Client client, HttpMethod httpMethod)
-
-
Method Detail
-
getRequestString
protected abstract QueryData getRequestString()
-
baseExecute
protected <T> Response<T> baseExecute(String[] headers, String[] values) throws Exception
- Throws:
Exception
-
getRequestUrl
public String getRequestUrl()
-
getRequestMethod
public String getRequestMethod()
-
resetPathSegment
protected void resetPathSegment()
-
addPathSegment
protected void addPathSegment(String segment)
-
addToBody
protected void addToBody(byte[] content)
-
addToBody
protected void addToBody(Object content)
-
-