public class HttpMessageBuilder extends Object implements Initialisable
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<HttpParamType,HttpParam> |
params |
PHASE_NAME
Constructor and Description |
---|
HttpMessageBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String headerName,
String headerValue) |
String |
getName() |
void |
initialise()
Method used to perform any initialisation work.
|
ParameterMap |
resolveParams(MuleEvent muleEvent,
HttpParamType httpParamType) |
void |
setBuilders(List<HttpMessageBuilderRef> httpBuilderRefs) |
void |
setName(String name) |
void |
setParams(List<HttpParam> httpParams) |
protected com.google.common.collect.Multimap<HttpParamType,HttpParam> params
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic ParameterMap resolveParams(MuleEvent muleEvent, HttpParamType httpParamType)
public void setBuilders(List<HttpMessageBuilderRef> httpBuilderRefs)
public String getName()
public void setName(String name)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.