Interface DispatcherResponse.Builder

Enclosing interface:
DispatcherResponse

public static interface DispatcherResponse.Builder
An object that can be used to build a DispatcherResponse.
  • Method Details

    • httpResponse

      DispatcherResponse.Builder httpResponse(String httpResponse)
      Sets the value of the response attribute that is part of the HTTP response body.
      Parameters:
      httpResponse - the value of the response attribute
      Returns:
      this builder
    • statusResponse

      DispatcherResponse.Builder statusResponse(String statusResponse)
      Sets the status to be exposed by the status service of nevisFIDO.
      Parameters:
      statusResponse - the status
      Returns:
      this builder
    • outOfBandPayload

      DispatcherResponse.Builder outOfBandPayload(@Nullable String outOfBandPayload)
      The non-encrypted out-of-band payload that is exposed by the Device Out-of-Band Operations service of nevisFIDO.
      Parameters:
      outOfBandPayload - the out-of-band payload
      Returns:
      this builder
    • additionalInformation

      DispatcherResponse.Builder additionalInformation(@Nullable String additionalInformation)
      The additional information about the operation that is exposed by the Device Out-of-Band Operations service of nevisFIDO.
      Parameters:
      additionalInformation - the additional information
      Returns:
      this builder
    • build

      Returns:
      the DispatcherResponse