org.infohazard.maverick.flow
Interface TransformContext

All Known Implementing Classes:
MaverickContext

public interface TransformContext

TransformContext defines the methods and data available to a transform for a single request.


Method Summary
 TransformStep getNextStep()
           
 java.util.Map getParams()
          Obtain any params that were set.
 javax.servlet.http.HttpServletResponse getRealResponse()
          Returns the *real* response object.
 javax.servlet.http.HttpServletRequest getRequest()
           
 javax.servlet.ServletContext getServletContext()
           
 boolean halting()
           
 

Method Detail

getRequest

public javax.servlet.http.HttpServletRequest getRequest()

getServletContext

public javax.servlet.ServletContext getServletContext()

getParams

public java.util.Map getParams()
Obtain any params that were set.


getNextStep

public TransformStep getNextStep()
                          throws javax.servlet.ServletException
Returns:
the next step in the transformation process Call this ONLY ONCE per step!
javax.servlet.ServletException

halting

public boolean halting()
Returns:
true if the transformation chain is going to be halted prematurely due to user request.

getRealResponse

public javax.servlet.http.HttpServletResponse getRealResponse()
Returns the *real* response object. Do not use this unless you know are the tail!