HttpServletRequest 依赖
时间: 2023-05-31 16:02:35 浏览: 123
HttpServletRequest 接口依赖于以下接口和类:
1. ServletRequest: HttpServletRequest 接口继承自 ServletRequest 接口,因此 HttpServletRequest 实例可以访问 ServletRequest 中定义的方法。
2. HttpSession: HttpServletRequest 接口提供了获取 HttpSession 对象的方法,因此 HttpServletRequest 实例依赖于 HttpSession 接口。
3. ServletContext: HttpServletRequest 接口提供了获取 ServletContext 对象的方法,因此 HttpServletRequest 实例依赖于 ServletContext 接口。
4. Cookie: HttpServletRequest 接口提供了获取 Cookie 对象的方法,因此 HttpServletRequest 实例依赖于 Cookie 类。
5. Locale: HttpServletRequest 接口提供了获取客户端区域设置的方法,因此 HttpServletRequest 实例依赖于 Locale 类。
6. InputStream 和 Reader: HttpServletRequest 接口提供了获取请求主体的输入流和字符流的方法,因此 HttpServletRequest 实例依赖于 InputStream 和 Reader 类。
7. Part: HttpServletRequest 接口提供了获取上传文件的 Part 对象的方法,因此 HttpServletRequest 实例依赖于 Part 接口。
阅读全文
相关推荐
















