Class Request<S,T extends Response>

java.lang.Object
org.web3j.protocol.core.Request<S,T>

public class Request<S,T extends Response> extends Object
  • Constructor Details

  • Method Details

    • getJsonrpc

      public String getJsonrpc()
    • setJsonrpc

      public void setJsonrpc(String jsonrpc)
    • getMethod

      public String getMethod()
    • setMethod

      public void setMethod(String method)
    • getParams

      public List<S> getParams()
    • setParams

      public void setParams(List<S> params)
    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getResponseType

      public Class<T> getResponseType()
    • send

      public T send() throws IOException
      Throws:
      IOException
    • sendAsync

      public CompletableFuture<T> sendAsync()
    • flowable

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