public class HttpResponseBuilder extends HttpMessageBuilder implements Initialisable, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
MULTIPART |
paramsPHASE_NAME| Constructor and Description |
|---|
HttpResponseBuilder() |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
build(HttpResponseBuilder httpResponseBuilder,
MuleEvent event) |
static HttpResponseBuilder |
emptyInstance(MuleContext muleContext) |
HttpStreamingType |
getResponseStreaming() |
void |
initialise() |
void |
setDisablePropertiesAsHeaders(boolean disablePropertiesAsHeaders) |
void |
setMuleContext(MuleContext context) |
void |
setReasonPhrase(String reasonPhrase) |
void |
setResponseStreaming(HttpStreamingType responseStreaming) |
void |
setStatusCode(String statusCode) |
addHeader, getName, resolveParams, setBuilders, setName, setParamspublic static final String MULTIPART
public void initialise()
throws InitialisationException
initialise in interface Initialisableinitialise in class HttpMessageBuilderInitialisationExceptionpublic HttpResponse build(HttpResponseBuilder httpResponseBuilder, MuleEvent event) throws MessagingException
MessagingExceptionpublic static HttpResponseBuilder emptyInstance(MuleContext muleContext) throws InitialisationException
InitialisationExceptionpublic void setReasonPhrase(String reasonPhrase)
public void setStatusCode(String statusCode)
public void setDisablePropertiesAsHeaders(boolean disablePropertiesAsHeaders)
public void setResponseStreaming(HttpStreamingType responseStreaming)
public HttpStreamingType getResponseStreaming()
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwareCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.