AbstractRequest.Builder Contract — Request Builders

AbstractRequest.Builder is the abstraction of request builders that can build a request.

Table 1. AbstractRequest.Builder Contract
Method Description

build

T build(short version)

Builds a message request (of type T)

Used when:

  • NetworkClient is requested to doSend

  • ReplicaAlterLogDirsThread is requested to fetchFromLeader

  • OffsetFetchRequest is requested to forAllPartitions

  • SaslClientAuthenticator is requested to createSaslHandshakeRequest and sendSaslClientToken

results matching ""

    No results matching ""