com.plumtree.uiinfrastructure.interpreter.filter
Class BaseInterpreterFilter

java.lang.Object
  extended by com.plumtree.uiinfrastructure.interpreter.filter.BaseInterpreterFilter
All Implemented Interfaces:
IInterpreterFilter
Direct Known Subclasses:
CSPLoginTokenAuthenticatorFilter, EnsembleHandlerFilter, ExpressionEngineFilter, GatewayFilter, GatewayFriendlyURLFilter, HealthFilter, HttpCompressionFilter, PTExpressionEngineFilter, RequestDataFilter, RequestLockFilter, RequestQueueFilter, SecurityModeFilter

public class BaseInterpreterFilter
extends java.lang.Object
implements IInterpreterFilter

This is a pass-through filter; both the PreFilter and PostFilter methods have the default implementation that returns a boolean false. This is a utility class to make it easier to implement only one of the filter methods (either the PreFilter or the PostFilter) without implementing the other (which by default will be a pass through).

Author:
WilliamA

Constructor Summary
BaseInterpreterFilter()
           
 
Method Summary
 void PostFilter(RequestData requestData)
          A pass-through PostFilter.
 boolean PreFilter(RequestData requestData)
          A pass-through PreFilter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseInterpreterFilter

public BaseInterpreterFilter()
Method Detail

PreFilter

public boolean PreFilter(RequestData requestData)
A pass-through PreFilter. It always returns false.

Specified by:
PreFilter in interface IInterpreterFilter
Parameters:
requestData - The request to be processed.
Returns:
a boolean indicating whether the request should be filtered out. A boolean true indicates that the filter has performed the necessary processing for the request and the Interpreter shall not do any further processing of it.

PostFilter

public void PostFilter(RequestData requestData)
A pass-through PostFilter.

Specified by:
PostFilter in interface IInterpreterFilter
Parameters:
requestData - The request.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.