Interface ResponseBuilder<Request extends TransactionRequest<Response>,​Response extends TransactionResponse>

  • Type Parameters:
    Response - the type of the response of the transaction
    All Known Implementing Classes:
    io.hotmoka.local.internal.transactions.AbstractResponseBuilder, InitialResponseBuilder, NonInitialResponseBuilder

    public interface ResponseBuilder<Request extends TransactionRequest<Response>,​Response extends TransactionResponse>
    The creator of a response from a request. It executes a transaction from the request and builds the corresponding response.
    • Method Detail

      • getRequest

        Request getRequest()
        Yield the request for which this builder was created.
        Returns:
        the request
      • replaceReverifiedResponses

        void replaceReverifiedResponses()
        Replaces all reverified responses into the store of the node for which the response is built.
      • getClassLoader

        EngineClassLoader getClassLoader()
        Yields the class loader used to build the response.
        Returns:
        the class loader