org.apache.wink.server.handlers
Class AbstractHandlersChain<T extends Handler>
java.lang.Object
org.apache.wink.server.handlers.AbstractHandlersChain<T>
- All Implemented Interfaces:
- java.lang.Cloneable, HandlersChain
- Direct Known Subclasses:
- RequestHandlersChain, ResponseHandlersChain
public abstract class AbstractHandlersChain<T extends Handler>
- extends java.lang.Object
- implements HandlersChain, java.lang.Cloneable
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractHandlersChain
public AbstractHandlersChain()
addHandler
public void addHandler(T handler)
run
public void run(MessageContext context)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
doChain
public void doChain(MessageContext context)
throws java.lang.Throwable
- Specified by:
doChain
in interface HandlersChain
- Throws:
java.lang.Throwable
clone
protected AbstractHandlersChain<T> clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
handle
protected abstract void handle(T handler,
MessageContext context)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.