org.apache.sirona.web.servlet
Class SironaFilter

java.lang.Object
  extended by org.apache.sirona.aop.AbstractPerformanceInterceptor<SironaFilter.Invocation>
      extended by org.apache.sirona.web.servlet.SironaFilter
All Implemented Interfaces:
Serializable, javax.servlet.Filter

public class SironaFilter
extends AbstractPerformanceInterceptor<SironaFilter.Invocation>
implements javax.servlet.Filter

See Also:
Serialized Form

Nested Class Summary
protected static class SironaFilter.Invocation
           
 
Nested classes/interfaces inherited from class org.apache.sirona.aop.AbstractPerformanceInterceptor
AbstractPerformanceInterceptor.ActivationContext, AbstractPerformanceInterceptor.Context, AbstractPerformanceInterceptor.SerializableMethod
 
Field Summary
static String IGNORED_URLS
           
static String MONITOR_STATUS
           
 
Fields inherited from class org.apache.sirona.aop.AbstractPerformanceInterceptor
CONTEXTS, monitorNameExtractor
 
Constructor Summary
SironaFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
protected  String getCounterName(SironaFilter.Invocation invocation)
           
protected static String getRequestedUri(javax.servlet.http.HttpServletRequest request)
           
protected  Role getRole()
           
 void init(javax.servlet.FilterConfig filterConfig)
           
protected  Object proceed(SironaFilter.Invocation invocation)
           
 
Methods inherited from class org.apache.sirona.aop.AbstractPerformanceInterceptor
before, doFindContext, doInvoke, extractContextKey, getCounterName, getKey, getOrCreateContext, isAdaptive, newContext, putAndGetActivationContext, setMonitorNameExtractor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MONITOR_STATUS

public static final String MONITOR_STATUS
See Also:
Constant Field Values

IGNORED_URLS

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

SironaFilter

public SironaFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
IOException
javax.servlet.ServletException

proceed

protected Object proceed(SironaFilter.Invocation invocation)
                  throws Throwable
Specified by:
proceed in class AbstractPerformanceInterceptor<SironaFilter.Invocation>
Throws:
Throwable

getCounterName

protected String getCounterName(SironaFilter.Invocation invocation)
Specified by:
getCounterName in class AbstractPerformanceInterceptor<SironaFilter.Invocation>

getRole

protected Role getRole()
Overrides:
getRole in class AbstractPerformanceInterceptor<SironaFilter.Invocation>

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter

getRequestedUri

protected static String getRequestedUri(javax.servlet.http.HttpServletRequest request)


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.