Class Response<T>
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Response<T>
-
public class Response<T> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
body()
The response object in case of a successful request.int
code()
String
getContentType()
boolean
isSuccessful()
String
message()
Returns the status message.void
setValueType(Class valueType)
String
toString()
-
-
-
Method Detail
-
getContentType
public String getContentType()
-
setValueType
public void setValueType(Class valueType)
-
body
public T body()
The response object in case of a successful request.
-
message
public String message()
Returns the status message. Describes the failure cause.
-
isSuccessful
public boolean isSuccessful()
-
code
public int code()
-
-