Interface DispatcherResponse.Builder
- Enclosing interface:
DispatcherResponse
public static interface DispatcherResponse.Builder
An object that can be used to build a
DispatcherResponse.-
Method Summary
Modifier and TypeMethodDescriptionadditionalInformation(@Nullable String additionalInformation) The additional information about the operation that is exposed by the Device Out-of-Band Operations service of nevisFIDO.build()Builds aDispatcherResponse.httpResponse(String httpResponse) Sets the value of theresponseattribute that is part of the HTTP response body.outOfBandPayload(@Nullable String outOfBandPayload) The non-encrypted out-of-band payload that is exposed by the Device Out-of-Band Operations service of nevisFIDO.statusResponse(String statusResponse) Sets the status to be exposed by the status service of nevisFIDO.
-
Method Details
-
httpResponse
Sets the value of theresponseattribute that is part of the HTTP response body.- Parameters:
httpResponse- the value of theresponseattribute- Returns:
- this builder
-
statusResponse
Sets the status to be exposed by the status service of nevisFIDO.- Parameters:
statusResponse- the status- Returns:
- this builder
-
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
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
DispatcherResponse build()Builds aDispatcherResponse.- Returns:
- the
DispatcherResponse
-