Package com.checkout.forward.responses
Class DestinationResponse.DestinationResponseBuilder
- java.lang.Object
-
- com.checkout.forward.responses.DestinationResponse.DestinationResponseBuilder
-
- Enclosing class:
- DestinationResponse
public static class DestinationResponse.DestinationResponseBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestinationResponse.DestinationResponseBuilderbody(java.lang.String body)The destination response's HTTP message body (Required)DestinationResponsebuild()DestinationResponse.DestinationResponseBuilderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)The destination response's HTTP headers.DestinationResponse.DestinationResponseBuilderstatus(int status)The HTTP status code of the destination response (Required)java.lang.StringtoString()
-
-
-
Method Detail
-
status
public DestinationResponse.DestinationResponseBuilder status(int status)
The HTTP status code of the destination response (Required)- Returns:
this.
-
headers
public DestinationResponse.DestinationResponseBuilder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
The destination response's HTTP headers. (Required)- Returns:
this.
-
body
public DestinationResponse.DestinationResponseBuilder body(java.lang.String body)
The destination response's HTTP message body (Required)- Returns:
this.
-
build
public DestinationResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-