public class EntityCollectionSuccessResponse extends Object implements CollectionSuccessResponse
The response is composed by a content body and a set of optional parameters to configure the serialization of the response.
| Constructor and Description |
|---|
EntityCollectionSuccessResponse() |
EntityCollectionSuccessResponse(org.mule.runtime.api.metadata.TypedValue<InputStream> bodyContent,
org.mule.runtime.api.util.MultiMap<String,Object> flowResponseMetadataProperties,
SerializationParameters serializationParameters) |
EntityCollectionSuccessResponse(org.mule.runtime.api.metadata.TypedValue<InputStream> bodyContent,
SerializationParameters serializationParameters) |
| 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.
|
Optional<SerializationParameters> |
getResponseParameters()
Returns serialization parameters used to serialize the response.
|
SerializationParameters |
getSerializationParameters() |
boolean |
isRaw()
Returns true if this response has to be processed like
RawEntitySuccessResponse or
RawEntityCollectionSuccessResponse. |
public EntityCollectionSuccessResponse()
public EntityCollectionSuccessResponse(org.mule.runtime.api.metadata.TypedValue<InputStream> bodyContent, SerializationParameters serializationParameters)
public EntityCollectionSuccessResponse(org.mule.runtime.api.metadata.TypedValue<InputStream> bodyContent, org.mule.runtime.api.util.MultiMap<String,Object> flowResponseMetadataProperties, SerializationParameters serializationParameters)
public org.mule.runtime.api.metadata.TypedValue<InputStream> getBodyContent()
public SerializationParameters getSerializationParameters()
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 SuccessResponsepublic Optional<SerializationParameters> getResponseParameters()
CollectionSuccessResponsegetResponseParameters in interface CollectionSuccessResponseCopyright © 2024 MuleSoft, Inc.. All rights reserved.