net.java.dev.moskito.web.filters
Class RefererFilter

java.lang.Object
  extended by net.java.dev.moskito.web.MoskitoFilter
      extended by net.java.dev.moskito.web.filters.RefererFilter
All Implemented Interfaces:
Filter

public class RefererFilter
extends MoskitoFilter


Field Summary
static String HTTP_PROTOCOL
           
static String HTTPS_PROTOCOL
           
 
Fields inherited from class net.java.dev.moskito.web.MoskitoFilter
INIT_PARAM_LIMIT, log
 
Constructor Summary
RefererFilter()
           
 
Method Summary
protected  String extractCaseName(ServletRequest req, ServletResponse res)
           
private static String extractServerName(String referer)
           
 String getProducerId()
          Returns the producer id.
 
Methods inherited from class net.java.dev.moskito.web.MoskitoFilter
destroy, doFilter, getCategory, getMonitoringIntervals, getSubsystem, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_PROTOCOL

public static final String HTTP_PROTOCOL
See Also:
Constant Field Values

HTTPS_PROTOCOL

public static final String HTTPS_PROTOCOL
See Also:
Constant Field Values
Constructor Detail

RefererFilter

public RefererFilter()
Method Detail

extractCaseName

protected String extractCaseName(ServletRequest req,
                                 ServletResponse res)
Specified by:
extractCaseName in class MoskitoFilter

getProducerId

public String getProducerId()
Description copied from class: MoskitoFilter
Returns the producer id. Override this method if you want a useful name in your logs. Default is class name.

Overrides:
getProducerId in class MoskitoFilter

extractServerName

private static String extractServerName(String referer)


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework