public class HttpSingleParam extends HttpParam implements Initialisable, MuleContextAware
PHASE_NAME
Constructor and Description |
---|
HttpSingleParam(HttpParamType type) |
Modifier and Type | Method and Description |
---|---|
void |
initialise()
Method used to perform any initialisation work.
|
void |
resolve(ParameterMap parameterMap,
MuleEvent muleEvent) |
void |
setMuleContext(MuleContext muleContext) |
void |
setName(String name) |
void |
setValue(String value) |
public HttpSingleParam(HttpParamType type)
public void setMuleContext(MuleContext muleContext)
setMuleContext
in interface MuleContextAware
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 void resolve(ParameterMap parameterMap, MuleEvent muleEvent)
public void setName(String name)
public void setValue(String value)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.