org.apache.synapse.rest
Class AbstractRESTProcessor

java.lang.Object
  extended by 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
           
 
Constructor Summary
AbstractRESTProcessor(String name)
           
 
Method Summary
protected  void handleException(String msg)
           
protected  void handleException(String msg, Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log

name

protected String name
Constructor Detail

AbstractRESTProcessor

public AbstractRESTProcessor(String name)
Method Detail

handleException

protected void handleException(String msg)

handleException

protected void handleException(String msg,
                               Exception e)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.