public class EntitySuccessResponse extends Object implements SuccessResponse
The response is composed by a content body only.
| Constructor and Description |
|---|
EntitySuccessResponse() |
EntitySuccessResponse(org.mule.runtime.api.metadata.TypedValue<InputStream> bodyContent,
org.mule.runtime.api.util.MultiMap<String,Object> flowResponseMetadataProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.metadata.TypedValue<InputStream> |
getBodyContent() |
org.mule.runtime.api.util.MultiMap<String,Object> |
getFlowResponseMetadataProperties()
Returns a map of metadata associated with the response of the flow.
|
org.mule.runtime.api.metadata.TypedValue<InputStream> |
getResponseContent()
Returns response body payload.
|
boolean |
isRaw()
Returns true if this response has to be processed like
RawEntitySuccessResponse or
RawEntityCollectionSuccessResponse. |
public EntitySuccessResponse()
public EntitySuccessResponse(org.mule.runtime.api.metadata.TypedValue<InputStream> bodyContent, org.mule.runtime.api.util.MultiMap<String,Object> flowResponseMetadataProperties)
public org.mule.runtime.api.metadata.TypedValue<InputStream> getBodyContent()
public org.mule.runtime.api.metadata.TypedValue<InputStream> getResponseContent()
SuccessResponsegetResponseContent in interface SuccessResponsepublic org.mule.runtime.api.util.MultiMap<String,Object> getFlowResponseMetadataProperties()
SuccessResponsegetFlowResponseMetadataProperties in interface SuccessResponsepublic boolean isRaw()
SuccessResponseRawEntitySuccessResponse or
RawEntityCollectionSuccessResponse.isRaw in interface SuccessResponseCopyright © 2024 MuleSoft, Inc.. All rights reserved.