edu.uoc.vmerinom.tfc.support
Class IE9Filter

java.lang.Object
  extended by edu.uoc.vmerinom.tfc.support.IE9Filter
All Implemented Interfaces:
javax.servlet.Filter

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

Este filtro permite la compatibilidad de RichFaces 3.X con IE9.

Author:
victormerino

Constructor Summary
IE9Filter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
          Filtramos la respuesta añadiendo en la cabecera la compatibilidad con IE8.
 void init(javax.servlet.FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IE9Filter

public IE9Filter()
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 java.io.IOException,
                     javax.servlet.ServletException
Filtramos la respuesta añadiendo en la cabecera la compatibilidad con IE8.

Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
request - Petición HTTP
response - Respuesta HTTP
chain - Cadena de filtros
Throws:
java.io.IOException - Excepciones de entrada y salida
javax.servlet.ServletException - Excepciones producidas por el servlet

init

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


Copyright © 2012. All Rights Reserved.