Package org.web3j.protocol.core
Class BatchRequest
- java.lang.Object
-
- org.web3j.protocol.core.BatchRequest
-
public class BatchRequest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BatchRequest(Web3jService web3jService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchRequest
add(Request<?,? extends Response<?>> request)
java.util.List<Request<?,? extends Response<?>>>
getRequests()
BatchResponse
send()
java.util.concurrent.CompletableFuture<BatchResponse>
sendAsync()
-
-
-
Constructor Detail
-
BatchRequest
public BatchRequest(Web3jService web3jService)
-
-
Method Detail
-
add
public BatchRequest add(Request<?,? extends Response<?>> request)
-
send
public BatchResponse send() throws java.io.IOException
- Throws:
java.io.IOException
-
sendAsync
public java.util.concurrent.CompletableFuture<BatchResponse> sendAsync()
-
-