public class

DelegatingPluginFilter

extends Object
implements Filter
java.lang.Object
   ↳ com.atlassian.plugin.servlet.filter.DelegatingPluginFilter

Class Overview

We wrap the plugins filter so that we can set some things up before the plugins filter is called. Currently we do the following:

  • set the Threads classloader to the plugins classloader)
  • wrap the request so that path info is right for the filters

Summary

Public Constructors
DelegatingPluginFilter(ServletFilterModuleDescriptor descriptor)
Public Methods
void destroy()
void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
Filter getDelegatingFilter()
void init(FilterConfig filterConfig)
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.servlet.Filter

Public Constructors

public DelegatingPluginFilter (ServletFilterModuleDescriptor descriptor)

Public Methods

public void destroy ()

public void doFilter (ServletRequest request, ServletResponse response, FilterChain chain)

Throws
IOException
ServletException

public Filter getDelegatingFilter ()

public void init (FilterConfig filterConfig)

Throws
ServletException