public class WhaleFilter extends Object implements javax.servlet.Filter
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
allowHTTPMethodOverride |
protected String |
inputEnc |
protected String |
methodParam |
protected String |
outputEnc |
protected Properties |
props |
protected javax.servlet.ServletContext |
sc |
protected Object |
uc |
protected boolean |
uploadEnable |
构造器和说明 |
---|
WhaleFilter() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
javax.servlet.http.HttpServletRequest |
handleUpload(javax.servlet.http.HttpServletRequest req) |
void |
init(javax.servlet.FilterConfig c) |
void |
init(InputStream ins) |
static WhaleFilter |
me() |
protected Properties props
protected String inputEnc
protected String outputEnc
protected String methodParam
protected boolean allowHTTPMethodOverride
protected boolean uploadEnable
protected javax.servlet.ServletContext sc
protected Object uc
public static WhaleFilter me()
public void init(javax.servlet.FilterConfig c) throws javax.servlet.ServletException
init
在接口中 javax.servlet.Filter
javax.servlet.ServletException
public void init(InputStream ins) throws Exception
Exception
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
在接口中 javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
在接口中 javax.servlet.Filter
public javax.servlet.http.HttpServletRequest handleUpload(javax.servlet.http.HttpServletRequest req) throws javax.servlet.ServletException
javax.servlet.ServletException
Copyright © 2017. All rights reserved.