org.apache.wicket.request
Class RequestHandlerStack

java.lang.Object
  extended by org.apache.wicket.request.RequestHandlerStack

public abstract class RequestHandlerStack
extends Object

Manages stack of executions of IRequestHandlers.

Author:
Matej Knopp, igor.vaynberg

Nested Class Summary
static class RequestHandlerStack.ReplaceHandlerException
          Exception to stop current request handler and execute a new one.
 
Constructor Summary
RequestHandlerStack()
           
 
Method Summary
 void detach()
          
protected abstract  void detach(IRequestHandler handler)
          Allows the request handler to detach
 void execute(IRequestHandler handler)
          
 IRequestHandler getActive()
          
 IRequestHandler next()
          
 void replaceAll(IRequestHandler handler)
          
protected abstract  void respond(IRequestHandler handler)
          Allows the request handler to response to the request
 void schedule(IRequestHandler handler)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestHandlerStack

public RequestHandlerStack()
Method Detail

getActive

public IRequestHandler getActive()


execute

public void execute(IRequestHandler handler)


respond

protected abstract void respond(IRequestHandler handler)
Allows the request handler to response to the request

Parameters:
handler -

schedule

public void schedule(IRequestHandler handler)


next

public IRequestHandler next()


replaceAll

public void replaceAll(IRequestHandler handler)


detach

public void detach()


detach

protected abstract void detach(IRequestHandler handler)
Allows the request handler to detach

Parameters:
handler -


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.