org.apache.synapse.rest
Class AbstractRESTProcessor
java.lang.Object
org.apache.synapse.rest.AbstractRESTProcessor
- Direct Known Subclasses:
- API, Resource
public abstract class AbstractRESTProcessor
- extends Object
Abstract representation of an entity that can process REST messages. The caller can
first invoke the canProcess method of the processor to validate whether this processor
can process the given request or not.
Field Summary |
protected org.apache.commons.logging.Log |
log
|
protected String |
name
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.apache.commons.logging.Log log
name
protected String name
AbstractRESTProcessor
public AbstractRESTProcessor(String name)
handleException
protected void handleException(String msg)
handleException
protected void handleException(String msg,
Exception e)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.