@NoExtend public class RepeatableHttpResponse extends Object implements org.mule.runtime.http.api.domain.message.response.HttpResponse
HttpResponse to allow making repeatable its HttpEntity content by using
StreamingHelper to make the content repeatable.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
containsHeader(String headerName) |
org.mule.runtime.http.api.domain.entity.HttpEntity |
getEntity() |
Collection<String> |
getHeaderNames() |
org.mule.runtime.api.util.MultiMap<String,String> |
getHeaders() |
String |
getHeaderValue(String headerName) |
String |
getHeaderValueIgnoreCase(String headerName)
Deprecated.
|
Collection<String> |
getHeaderValues(String headerName) |
Collection<String> |
getHeaderValuesIgnoreCase(String headerName)
Deprecated.
|
String |
getReasonPhrase() |
HttpEntityCursorStreamProviderBased |
getRepeatableEntity() |
int |
getStatusCode() |
static RepeatableHttpResponse |
newRepeatableHttpResponse(org.mule.runtime.http.api.domain.message.response.HttpResponse response,
StreamingHelper streamingHelper) |
public static RepeatableHttpResponse newRepeatableHttpResponse(org.mule.runtime.http.api.domain.message.response.HttpResponse response, StreamingHelper streamingHelper)
public void close()
public int getStatusCode()
getStatusCode in interface org.mule.runtime.http.api.domain.message.response.HttpResponsepublic String getReasonPhrase()
getReasonPhrase in interface org.mule.runtime.http.api.domain.message.response.HttpResponsepublic org.mule.runtime.http.api.domain.entity.HttpEntity getEntity()
getEntity in interface org.mule.runtime.http.api.domain.message.HttpMessagepublic Collection<String> getHeaderNames()
getHeaderNames in interface org.mule.runtime.http.api.domain.message.MessageWithHeaderspublic boolean containsHeader(String headerName)
containsHeader in interface org.mule.runtime.http.api.domain.message.MessageWithHeaderspublic String getHeaderValue(String headerName)
getHeaderValue in interface org.mule.runtime.http.api.domain.message.MessageWithHeaders@Deprecated public String getHeaderValueIgnoreCase(String headerName)
getHeaderValueIgnoreCase in interface org.mule.runtime.http.api.domain.message.MessageWithHeaderspublic Collection<String> getHeaderValues(String headerName)
getHeaderValues in interface org.mule.runtime.http.api.domain.message.MessageWithHeaders@Deprecated public Collection<String> getHeaderValuesIgnoreCase(String headerName)
getHeaderValuesIgnoreCase in interface org.mule.runtime.http.api.domain.message.MessageWithHeaderspublic org.mule.runtime.api.util.MultiMap<String,String> getHeaders()
getHeaders in interface org.mule.runtime.http.api.domain.message.MessageWithHeaderspublic HttpEntityCursorStreamProviderBased getRepeatableEntity()
Copyright © 2022. All rights reserved.