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
,SearchForTransactions
,SetBlockTimeStampOffset
,SetSyncRound
,SimulateTransaction
,SwaggerJSON
,TealCompile
,TealDisassemble
,TealDryrun
,TransactionParams
,UnsetSyncRound
,WaitForBlock
public abstract class Query extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Query(Client client, HttpMethod httpMethod)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addPathSegment(String segment)
protected void
addQuery(String key, String value)
protected void
addToBody(byte[] content)
protected void
addToBody(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)
String
getRequestMethod()
protected abstract QueryData
getRequestString()
String
getRequestUrl()
String
getRequestUrl(int port, String host)
protected void
resetPathSegment()
-
-
-
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)
-
-