Tomcat7 Servlet组件
2020-06-11 13:52:09 0 举报
tomcat 源码
作者其他创作
大纲/内容
ServletResponse
使用
HttpServlet
ApplicationFilterChain
+ filters : ApplicationFilterConfig[]
GenericServlet
实现
StandardWrapperValve
HttpServletRequest
+ getCookies()- getHeader(String name)- getContextPath()getSession():HttpSessionauthenticate(HttpServletResponse response)
继承
servlet组件
FilterChain
org.apache.coyote.Request
Serializable
RequestFacade
包装
Servlet
FilterBase
Wrapper object for the Coyote request
Filter
CometFilterChain
Request
+ cookies:Cookie[]+ comet :boolean+ inputStream:CoyoteInputStream+ filterChain : FilterChain+ facade : RequestFacade
+ getParameter(String)+ getAttribute(String)+ addCookie(Cookie)+ parseCookies()
ServletConfig
filterChain对象
ServletRequest
调用service方法
SetCharacterEncodingFilter
servletRequest对象
0 条评论
回复 删除
下一页