Class ResponseForRequest
-
- All Implemented Interfaces:
public final class ResponseForRequestRequired response data to fulfill a request with.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerstatusprivate final Map<String, String>headersprivate final StringcontentTypeprivate final Objectbody
-
Constructor Summary
Constructors Constructor Description ResponseForRequest()
-
Method Summary
Modifier and Type Method Description final IntegergetStatus()final Map<String, String>getHeaders()Optional response headers. final StringgetContentType()final ObjectgetBody()-
-
Method Detail
-
getStatus
final Integer getStatus()
-
getHeaders
final Map<String, String> getHeaders()
Optional response headers. All values are converted to strings.
-
getContentType
final String getContentType()
-
getBody
final Object getBody()
-
-
-
-