org.apache.synapse.rest
Class Resource
java.lang.Object
org.apache.synapse.rest.AbstractRESTProcessor
org.apache.synapse.rest.Resource
- All Implemented Interfaces:
- ManagedLifecycle
public class Resource
- extends AbstractRESTProcessor
- implements ManagedLifecycle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Resource
public Resource()
getName
protected String getName()
getInSequence
public SequenceMediator getInSequence()
setInSequence
public void setInSequence(SequenceMediator inSequence)
getOutSequence
public SequenceMediator getOutSequence()
setOutSequence
public void setOutSequence(SequenceMediator outSequence)
getInSequenceKey
public String getInSequenceKey()
setInSequenceKey
public void setInSequenceKey(String inSequenceKey)
getOutSequenceKey
public String getOutSequenceKey()
setOutSequenceKey
public void setOutSequenceKey(String outSequenceKey)
getFaultSequence
public SequenceMediator getFaultSequence()
setFaultSequence
public void setFaultSequence(SequenceMediator faultSequence)
getFaultSequenceKey
public String getFaultSequenceKey()
setFaultSequenceKey
public void setFaultSequenceKey(String faultSequenceKey)
addMethod
public boolean addMethod(String method)
getMethods
public String[] getMethods()
getDispatcherHelper
public DispatcherHelper getDispatcherHelper()
setDispatcherHelper
public void setDispatcherHelper(DispatcherHelper dispatcherHelper)
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
getUserAgent
public String getUserAgent()
setUserAgent
public void setUserAgent(String userAgent)
getProtocol
public int getProtocol()
setProtocol
public void setProtocol(int protocol)
init
public void init(SynapseEnvironment se)
- Description copied from interface:
ManagedLifecycle
- This method should implement the initialization of the
implemented parts of the configuration.
- Specified by:
init
in interface ManagedLifecycle
- Parameters:
se
- SynapseEnvironment to be used for initialization
destroy
public void destroy()
- Description copied from interface:
ManagedLifecycle
- This method should implement the destroying of the
implemented parts of the configuration.
- Specified by:
destroy
in interface ManagedLifecycle
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.