-
public final class FulfillRequestRequestRequest object containing input parameters for the FetchDomain.fulfillRequest command.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrequestIdprivate final IntegerresponseCodeprivate final List<HeaderEntry>responseHeadersprivate final StringbinaryResponseHeadersprivate final Stringbodyprivate final StringresponsePhrase
-
Constructor Summary
Constructors Constructor Description FulfillRequestRequest(String requestId, Integer responseCode, List<HeaderEntry> responseHeaders, String binaryResponseHeaders, String body, String responsePhrase)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Integercomponent2()final List<HeaderEntry>component3()final Stringcomponent4()final Stringcomponent5()final Stringcomponent6()final FulfillRequestRequestcopy(String requestId, Integer responseCode, List<HeaderEntry> responseHeaders, String binaryResponseHeaders, String body, String responsePhrase)final StringgetRequestId()An id the client received in requestPaused event. final IntegergetResponseCode()An HTTP response code. final List<HeaderEntry>getResponseHeaders()Response headers. final StringgetBinaryResponseHeaders()Alternative way of specifying response headers as a \0-separated series of name: value pairs. final StringgetBody()A response body. final StringgetResponsePhrase()A textual representation of responseCode. -
-
Method Detail
-
component1
final String component1()
-
component2
final Integer component2()
-
component3
final List<HeaderEntry> component3()
-
component4
final String component4()
-
component5
final String component5()
-
component6
final String component6()
-
copy
final FulfillRequestRequest copy(String requestId, Integer responseCode, List<HeaderEntry> responseHeaders, String binaryResponseHeaders, String body, String responsePhrase)
-
getRequestId
final String getRequestId()
An id the client received in requestPaused event.
-
getResponseCode
final Integer getResponseCode()
An HTTP response code.
-
getResponseHeaders
final List<HeaderEntry> getResponseHeaders()
Response headers.
-
getBinaryResponseHeaders
final String getBinaryResponseHeaders()
Alternative way of specifying response headers as a \0-separated series of name: value pairs. Prefer the above method unless you need to represent some non-UTF8 values that can't be transmitted over the protocol as text. (Encoded as a base64 string when passed over JSON)
-
getResponsePhrase
final String getResponsePhrase()
A textual representation of responseCode. If absent, a standard phrase matching responseCode is used.
-
-
-
-