com.plumtree.uiinfrastructure.interpreter.filter
Class GatewayFilter

java.lang.Object
  extended by com.plumtree.uiinfrastructure.interpreter.filter.BaseInterpreterFilter
      extended by com.plumtree.uiinfrastructure.interpreter.filter.GatewayFilter
All Implemented Interfaces:
IInterpreterFilter

public class GatewayFilter
extends BaseInterpreterFilter

A filter to handle gateway request.

Author:
Daniilk (Gateway), WilliamA (Writing this new class)

Constructor Summary
GatewayFilter()
           
 
Method Summary
protected  boolean IsGatewayURL(java.lang.String url)
           
 boolean PreFilter(RequestData requestData)
          This method detects if the incoming request is a gateway request.
 
Methods inherited from class com.plumtree.uiinfrastructure.interpreter.filter.BaseInterpreterFilter
PostFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewayFilter

public GatewayFilter()
Method Detail

PreFilter

public boolean PreFilter(RequestData requestData)
This method detects if the incoming request is a gateway request. If it is, it will take over the processing of the request, and return a boolean true to indicate that Interpreter shall not process the request further.

Specified by:
PreFilter in interface IInterpreterFilter
Overrides:
PreFilter in class BaseInterpreterFilter
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.

IsGatewayURL

protected boolean IsGatewayURL(java.lang.String url)



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