org.tinygroup.weblayer.impl
类 EncodeingHttpFilter
java.lang.Object
org.tinygroup.weblayer.impl.EncodeingHttpFilter
- 所有已实现的接口:
- javax.servlet.Filter
public class EncodeingHttpFilter
- extends Object
- implements javax.servlet.Filter
设置编码格式的httpfilter实现方式
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncodeingHttpFilter
public EncodeingHttpFilter()
getExtNames
public List<String> getExtNames()
setExtNames
public void setExtNames(List<String> extNames)
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
isEnable
public boolean isEnable()
setEnable
public void setEnable(boolean enable)
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- 指定者:
- 接口
javax.servlet.Filter 中的 init
- 抛出:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- 指定者:
- 接口
javax.servlet.Filter 中的 doFilter
- 抛出:
IOException
javax.servlet.ServletException
destroy
public void destroy()
- 指定者:
- 接口
javax.servlet.Filter 中的 destroy
Copyright © 2006–2013 开源组织. All rights reserved.