net.sf.morph.web
Class MorphFilter

java.lang.Object
  extended by net.sf.morph.web.MorphFilter
All Implemented Interfaces:
javax.servlet.Filter

public class MorphFilter
extends java.lang.Object
implements javax.servlet.Filter

Stores an net.sf.morph.context.support.HttpServletContext in the HTTP request.

Since:
Dec 20, 2004
Author:
Matt Sgarlata

Field Summary
static java.lang.String DEFAULT_REQUEST_ATTRIBUTE
           
 
Constructor Summary
MorphFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 java.lang.String getRequestAttribute()
           
 void init(javax.servlet.FilterConfig config)
           
 void setRequestAttribute(java.lang.String requestAttributeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_REQUEST_ATTRIBUTE

public static final java.lang.String DEFAULT_REQUEST_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

MorphFilter

public MorphFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig config)
          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 java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException

destroy

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

getRequestAttribute

public java.lang.String getRequestAttribute()

setRequestAttribute

public void setRequestAttribute(java.lang.String requestAttributeName)


Copyright © 2004-2008.