com.plumtree.uiinfrastructure.interpreter.filter
Class HealthFilter

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

public class HealthFilter
extends BaseInterpreterFilter

A filter to handle ping requests. Clients can call this URL to find out if the Portal thinks it is healthy.

Author:
MichaelS

Field Summary
static int PT_DEFAULT_ERROR_CODE
           
static java.lang.String PT_HEALTH
           
 
Constructor Summary
HealthFilter()
           
 
Method Summary
 boolean PreFilter(RequestData requestData)
          MES- This method detects if the incoming request is a health 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
 

Field Detail

PT_HEALTH

public static final java.lang.String PT_HEALTH
See Also:
Constant Field Values

PT_DEFAULT_ERROR_CODE

public static final int PT_DEFAULT_ERROR_CODE
See Also:
Constant Field Values
Constructor Detail

HealthFilter

public HealthFilter()
Method Detail

PreFilter

public boolean PreFilter(RequestData requestData)
MES- This method detects if the incoming request is a health 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.



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