Package foundation.icon.icx
Interface Request<T>
-
- All Known Implementing Classes:
HttpCall
public interface Request<T>
Request class executes the request that has been prepared
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
execute()
Executes synchronouslyvoid
execute(Callback<T> callback)
Executes asynchronously
-
-
-
Method Detail
-
execute
T execute() throws java.io.IOException
Executes synchronously- Returns:
- Response
- Throws:
java.io.IOException
- an exception if there exist errors
-
-