pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.service
Class AbstractPulseFilter

java.lang.Object
  extended by org.torweg.pulse.service.AbstractPulseFilter
All Implemented Interfaces:
javax.servlet.Filter
Direct Known Subclasses:
VersionRewriteFilter, WebDAVFilter

public abstract class AbstractPulseFilter
extends java.lang.Object
implements javax.servlet.Filter

is a common base for Filters in pulse.

Version:
$Revision: 1392 $
Author:
Thomas Weber

Nested Class Summary
static class AbstractPulseFilter.WrappedResponse
          a wrapped response, giving access to the status.
 
Constructor Summary
AbstractPulseFilter()
          default constructor.
 
Method Summary
 java.lang.String getWebAppBasePath(javax.servlet.ServletRequest req)
          get the base path (HTTP) to the web app.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.Filter
destroy, doFilter, init
 

Constructor Detail

AbstractPulseFilter

public AbstractPulseFilter()
default constructor.

Method Detail

getWebAppBasePath

public final java.lang.String getWebAppBasePath(javax.servlet.ServletRequest req)
                                         throws javax.servlet.ServletException
get the base path (HTTP) to the web app.

Parameters:
req - the current request
Returns:
the web apps base URI as a string (HTTP)
Throws:
javax.servlet.ServletException - never