Java 应用与开发 - HTTP 会话跟踪技术
会话跟踪技术 本节习题 Java 应用与开发 HTTP 会话跟踪技术 王晓东 wangxiaodong@ouc.edu.cn 中国海洋大学 November 25, 2018 大纲 会话基本概念 会话跟踪技术 本节习题 学习目标 1. 掌握会话的基本概念,理解会话不是仅仅使用 HTTP 协议 就能够保证的,而是客户端浏览器和服务器端在 HTTP 协 议之上采用额外的技术协同的结果。 2 邮箱,完成浏览收件箱、编写邮件、发送邮件、 登出邮箱可以是一次会话。 大纲 会话基本概念 会话跟踪技术 本节习题 会话跟踪 O HTTP 的固有设计“缺陷” 由于 Web 应用采用 HTTP 协议,而 HTTP 协议是无状态、不 持续的协议,所以需要独立于 HTTP 协议的会话跟踪技术,用 于记录会话的状态信息。 O 什么是会话跟踪 ▶ 在一个会话内,当用户在次访问时,服务器需要能够定位是 URL 重写 Cookie Java EE 会话对象 本节习题 大纲 会话基本概念 会话跟踪技术 本节习题 URL 重写 URL 重写的实现 浏览器端构造 URL 请求 ▶ 在进行 HTTP 请求时,可以在 URL 地址后直接附加请求 参数,把客户端的数据传输到 Web 服务器端。 ▶ Web 服务器通过 HttpServletRequest 请求对象取得这些 URL 地址后面附加的请求参数。0 码力 | 54 页 | 824.47 KB | 1 年前3Java EE 企业应用系统设计 - HTTP 请求处理编程
大纲 HTTP 请求内容 Java EE 请求对象 Java EE 企业应用系统设计 HTTP 请求处理编程 王晓东 wangxiaodong@ouc.edu.cn 中国海洋大学 November 17, 2018 大纲 HTTP 请求内容 Java EE 请求对象 学习目标 1. 理解 Web 的工作模式,掌握 HTTP 协议的特点以及 HTTP 请求中包含哪些信息。 2. 理解 理解 Java HTTP 请求对象的类型及其生命周期,掌握请求 对象的功能,学习部分请求对象方法的用法。 大纲 HTTP 请求内容 Java EE 请求对象 大纲 HTTP 请求内容 Java EE 请求对象 大纲 HTTP 请求内容 Java EE 请求对象 接下来⋯ HTTP 请求内容 Java EE 请求对象 大纲 HTTP 请求内容 Java EE 请求对象 Web 工作模式 通常使用请求�响应模式。 ▶ 客户端(浏览器)向服务器发出 HTTP 请求,在 HTTP 请 求中包含传递到服务器的数据; ▶ Web 服务器接收到请求,对请求进行处理。 ▶ Web 服务器使用 HTTP 向客户端发送响应。 ▶ 客户端接收到响应后,进行显示或页面跳转。 大纲 HTTP 请求内容 Java EE 请求对象 HTTP 请求中包含的信息 HTTP 请求中包含的信息包括两部分:请求头和请求体。0 码力 | 27 页 | 565.27 KB | 1 年前3Java EE 企业应用系统开发 - HTTP 响应处理编程
大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 Java EE 企业应用系统开发 HTTP 响应处理编程 王晓东 wangxiaodong@ouc.edu.cn 中国海洋大学 November 17, 2018 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 学习目标 1. 掌握 HTTP 响应的内容,包括响应状态行、响应头、响应 体。 2 理解 Java HTTP 响应对象的类型及其生命周期,掌握响应 对象的功能。 3. 学习并实践掌握部分响应对象方法的用法。 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 接下来⋯ HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 响应对象功能和方法 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 HTTP 响应的内容 在 Web 服务器接收请求处理后,向客户端发送 HTTP 响应 (Response)。 O 响应的内容 ▶ 响应状态(Status Code) ▶ 响应头(Response Header) ▶ 响应体(Response Body) 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法0 码力 | 26 页 | 575.28 KB | 1 年前3跟我学Shiro - 张开涛
跟我学 Shiro——http://jinnianshilongnian.iteye.com/ 1 写给自己的话 简单,踏实。 2014 年 2 月 21 日 20 点 18 分 谨记 跟我学 Shiro——http://jinnianshilongnian.iteye.com/ 2 目 录 写给自己的话 ................ ............................................................................. 59 跟我学 Shiro——http://jinnianshilongnian.iteye.com/ 3 第七章 与 WEB 集成 ........................................... ............................................................................ 136 跟我学 Shiro——http://jinnianshilongnian.iteye.com/ 4 服务器端.....................................................0 码力 | 219 页 | 4.16 MB | 10 月前3Spring Framwork Web on Servlet Stack v5.3.36 SNAPSHOT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 HTTP HEAD, OPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 1.6.4. HTTP Streaming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 1.9. HTTP Caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 259 页 | 3.58 MB | 1 年前3Spring Framework Reference Documentation v4.3.2
Variables Consumable Media Types Producible Media Types Request Parameters and Header Values HTTP HEAD and HTTP OPTIONS Defining @RequestMapping handler methods Supported method argument types Supported Using @ModelAttribute on a method argument Using @SessionAttributes to store model attributes in the HTTP session between requests Using @SessionAttribute to access pre-existing global session attributes Processing Exception Handling for Async Requests Intercepting Async Requests HTTP Streaming HTTP Streaming With Server-Sent Events HTTP Streaming Directly To The OutputStream Configuring Asynchronous Request0 码力 | 1311 页 | 4.07 MB | 1 年前3Spring Framework Reference Documentation v4.3.2
Request Parameters and Header Values ................................................. 492 HTTP HEAD and HTTP OPTIONS .......................................................... 492 Defining @RequestMapping Documentation 4.3.2.RELEASE Spring Framework xvii Using @SessionAttributes to store model attributes in the HTTP session between requests ........................................................................ ....................................... 511 HTTP Streaming ..................................................................................... 511 HTTP Streaming With Server-Sent Events ...........0 码力 | 907 页 | 5.46 MB | 1 年前3Spring Framework Reference Documentation 4.3.26.RELEASE
Variables Consumable Media Types Producible Media Types Request Parameters and Header Values HTTP HEAD and HTTP OPTIONS Defining @RequestMapping handler methods Supported method argument types Supported Using @ModelAttribute on a method argument Using @SessionAttributes to store model attributes in the HTTP session between requests Using @SessionAttribute to access pre-existing global session attributes Processing Exception Handling for Async Requests Intercepting Async Requests HTTP Streaming HTTP Streaming With Server-Sent Events HTTP Streaming Directly To The OutputStream Configuring Asynchronous Request0 码力 | 1323 页 | 4.08 MB | 1 年前3Spring Framework 2.5.x Reference
................................. 421 17.3. Using Hessian or Burlap to remotely call services via HTTP .......................................... 421 17.3.1. Wiring up the DispatcherServlet for Hessian .............................................................................423 17.3.5. Applying HTTP basic authentication to a service exposed through Hessian or Burlap.............................. have any requests or comments, please post them on the user mailing list or on the support forums at http://forum.springframework.org/. Before we go on, a few words of gratitude are due to Christian Bauer0 码力 | 590 页 | 4.31 MB | 1 年前3Spring Framework 2.5.5 Reference
................................. 420 17.3. Using Hessian or Burlap to remotely call services via HTTP .......................................... 420 17.3.1. Wiring up the DispatcherServlet for Hessian .............................................................................422 17.3.5. Applying HTTP basic authentication to a service exposed through Hessian or Burlap.............................. have any requests or comments, please post them on the user mailing list or on the support forums at http://forum.springframework.org/. Before we go on, a few words of gratitude are due to Christian Bauer0 码力 | 588 页 | 4.30 MB | 1 年前3
共 404 条
- 1
- 2
- 3
- 4
- 5
- 6
- 41