Class Request<S,​T extends Response>


  • public class Request<S,​T extends Response>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Request()  
      Request​(java.lang.String method, java.util.List<S> params, Web3jService web3jService, java.lang.Class<T> type)  
    • Constructor Detail

      • Request

        public Request()
      • Request

        public Request​(java.lang.String method,
                       java.util.List<S> params,
                       Web3jService web3jService,
                       java.lang.Class<T> type)
    • Method Detail

      • getJsonrpc

        public java.lang.String getJsonrpc()
      • setJsonrpc

        public void setJsonrpc​(java.lang.String jsonrpc)
      • getMethod

        public java.lang.String getMethod()
      • setMethod

        public void setMethod​(java.lang.String method)
      • getParams

        public java.util.List<S> getParams()
      • setParams

        public void setParams​(java.util.List<S> params)
      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getResponseType

        public java.lang.Class<T> getResponseType()
      • send

        public T send()
               throws java.io.IOException
        Throws:
        java.io.IOException
      • sendAsync

        public java.util.concurrent.CompletableFuture<T> sendAsync()
      • flowable

        public io.reactivex.Flowable<T> flowable()