org.pentaho.platform.web.http.filters
Class PentahoWebContextFilter

java.lang.Object
  extended by org.pentaho.platform.web.http.filters.PentahoWebContextFilter
All Implemented Interfaces:
javax.servlet.Filter

public class PentahoWebContextFilter
extends Object
implements javax.servlet.Filter

If the request is searching for a webcontext.js, it writes out the content of the webcontext.js

Author:
Ramaiz Mansoor

Field Summary
static String WEB_CONTEXT_JS
           
 
Constructor Summary
PentahoWebContextFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEB_CONTEXT_JS

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

PentahoWebContextFilter

public PentahoWebContextFilter()
Method Detail

destroy

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

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

init

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