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, toString, 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
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.