public class Resource extends AbstractRESTProcessor implements ManagedLifecycle
log, name
Constructor and Description |
---|
Resource() |
handleException, handleException
protected String getName()
public SequenceMediator getInSequence()
public void setInSequence(SequenceMediator inSequence)
public SequenceMediator getOutSequence()
public void setOutSequence(SequenceMediator outSequence)
public String getInSequenceKey()
public void setInSequenceKey(String inSequenceKey)
public String getOutSequenceKey()
public void setOutSequenceKey(String outSequenceKey)
public SequenceMediator getFaultSequence()
public void setFaultSequence(SequenceMediator faultSequence)
public String getFaultSequenceKey()
public void setFaultSequenceKey(String faultSequenceKey)
public boolean addMethod(String method)
public String[] getMethods()
public DispatcherHelper getDispatcherHelper()
public void setDispatcherHelper(DispatcherHelper dispatcherHelper)
public String getContentType()
public void setContentType(String contentType)
public String getUserAgent()
public void setUserAgent(String userAgent)
public int getProtocol()
public void setProtocol(int protocol)
public void init(SynapseEnvironment se)
ManagedLifecycle
init
in interface ManagedLifecycle
se
- SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.