edu.utexas.its.eis.tools.qwicap.servlet
Class FormDataSetFilterContext

java.lang.Object
  extended by edu.utexas.its.eis.tools.qwicap.servlet.FormDataSetFilterContext

public class FormDataSetFilterContext
extends Object

The FormDataSetFilterContext class provides information about the context in which a FormDataSetFilter.filter invocation took place.

Author:
Chris W. Johnson

Method Summary
 String getPromptingMethodClassName()
          Returns the fully-qualified name of the web application's class that prompted for the input that is being filtered.
 String getPromptingMethodName()
          Returns the name of the web application's method that prompted for the input that is being filtered.
 HttpServletRequest getRequest()
          Returns the current HttpServletRequest object.
 HttpServletResponse getResponse()
          Returns the current HttpServletResponse object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequest

public HttpServletRequest getRequest()
Returns the current HttpServletRequest object. Ordinarily, this is the request that is being filtered. However, if your filter invokes any of the Qwicap methods prompt, redirect or rejectInput (directly or indirectly), this method will subsequently return the latest HttpServletRequest object.

Returns:
The current HttpServletRequest object.

getResponse

public HttpServletResponse getResponse()
Returns the current HttpServletResponse object. Ordinarily, this is the response associated with the request that is being filtered. However, if your filter invokes any of the Qwicap methods prompt, redirect or rejectInput (directly or indirectly), this method will subsequently return the latest HttpServletResponse object.

Returns:
The current HttpServletResponse object.

getPromptingMethodClassName

public String getPromptingMethodClassName()
Returns the fully-qualified name of the web application's class that prompted for the input that is being filtered.

Returns:
The name of the web application's class that prompted for the input that is being filtered.

getPromptingMethodName

public String getPromptingMethodName()
Returns the name of the web application's method that prompted for the input that is being filtered.

Returns:
The name of the web application's method that prompted for the input that is being filtered.