Java 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 工作模式 Web 通常使用请求�响应模式。 ▶ 客户端(浏览器)向服务器发出 HTTP 请求,在 HTTP 请 求中包含传递到服务器的数据; ▶ Web 服务器接收到请求,对请求进行处理。 ▶ Web 服务器使用 HTTP 向客户端发送响应。 ▶ 客户端接收到响应后,进行显示或页面跳转。 大纲 HTTP 请求内容 Java EE 请求对象 HTTP 请求中包含的信息 HTTP 请求中包含的信息包括两部分:请求头和请求体。0 码力 | 27 页 | 565.27 KB | 1 年前3
08 Cookie, Session与HTTP请求 杨亮 《PHP语⾔程序设计》Cookie, Session 与HTTP请求 杨亮 Web基本流程 PC Mobile 服务器 (Apache) (IIS) 后端脚本 (PHP) (JSP) (ASP) 数据库 (MySQL) (Oracle) (Access) HTTP 请求 对应⽂文件 获取数据 返回数据 返回⻚页⾯面 返回⻚页⾯面 请求⻚页⾯面 服务器端 客户端 html css javascript 前端⼯工程师 后端⼯工程师 接受请求 获取数据 处理数据 拼接⻚页⾯面 组织数据 PC Mobile ⻚页⾯面内容 ⻚页⾯面外观 ⻚页⾯面⾏行为 html CSS JavaScript 管理数据 公交卡 银⾏行卡 如果⼀一家咖啡店,买五杯送⼀一杯 信息存在哪⾥里? 超⽂文本传输协议 HTTP HyperText Transfer Protocol 内容 (html) Cookie 保存在浏览器端的⽤用户数据,⽤用以进⾏行会话控制 浏览器端脚本(JavaScript)设定Cookie 服务器端程序(PHP)通过HTTP请求命令浏览器设定Cookie 浏览器向服务器发送请求时会附加上相应的Cookie 服务器 PHP 浏览器 Cookie Set-Cookie:user=stefyang Cookie:user=stefyang0 码力 | 12 页 | 1.30 MB | 1 年前3
Creating a Sender/Receiver HTTP ServerTechAtBloomberg.com © 2024 Bloomberg Finance L.P. All rights reserved. • Create a basic HTTP server. • Allow a single-threaded server handling multiple clients. • Use the sender/receiver asynchronous std::execution (sender/receiver): http://wg21.link/p2300 • https://github.com/NVIDIA/stdexec.git • https://github.com/beman-project/execution26 • Sender/receiver networking: http://wg21.link/p2762 • Implementation: Implementation: https://github.com/beman-project/net29 • Async scope: http://wg21.link/p3149 Resources0 码力 | 8 页 | 2.19 MB | 6 月前3
Apache HTTP Server Documentation Version 2.4Apache HTTP Server Documentation Version 2.4 Apache Software Foundation March 21, 2018 ii About The PDF Documentation Licensed to the Apache Software Foundation (ASF) under one or more contributor compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to LATEX version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.4/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 1125 页 | 4.15 MB | 1 年前3
Apache HTTP Server Documentation Version 2.4Apache HTTP Server Documentation Version 2.4 Apache Software Foundation February 3, 2014 ii About The PDF Documentation Licensed to the Apache Software Foundation (ASF) under one or more contributor compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to LATEX version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.4/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 1031 页 | 3.23 MB | 1 年前3
Apache HTTP Server Documentation Version 2.4Apache HTTP Server Documentation Version 2.4 Apache Software Foundation October 3, 2017 ii About The PDF Documentation Licensed to the Apache Software Foundation (ASF) under one or more contributor compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to LATEX version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.4/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 1111 页 | 4.11 MB | 1 年前3
Apache HTTP Server Documentation Version 2.4Apache HTTP Server Documentation Version 2.4 Apache Software Foundation March 13, 2014 ii About The PDF Documentation Licensed to the Apache Software Foundation (ASF) under one or more contributor compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to LATEX version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.4/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 1031 页 | 3.23 MB | 1 年前3
Apache HTTP Server Documentation Version 2.0Apache HTTP Server Documentation Version 2.0 Apache Software Foundation February 3, 2014 ii About The PDF Documentation Copyright c⃝2013 The Apache Software Foundation Licensed under the Apache License compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to LATEX version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.0/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 682 页 | 2.05 MB | 1 年前3
Apache HTTP Server Documentation Version 2.2Apache HTTP Server Documentation Version 2.2 Apache Software Foundation January 15, 2017 ii About The PDF Documentation Copyright c⃝2015 The Apache Software Foundation Licensed under the Apache License compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 This version of the Apache HTTP Server Documentation is converted from XML source files to LATEX version of the documentation on the Apache HTTP Server website at http://httpd.apache.org/docs/2.2/ The Apache HTTP Server Documentation is maintained by the Apache HTTP Server Documentation Project. More information0 码力 | 805 页 | 2.51 MB | 1 年前3
HTTP & AJAX06.HTTP & AJAX 19 décembre 2023 Développement web il3 HTTP & AJAX HE-Arc (DGR) 2022 HyperText Transfer Protocol • Protocole application : invention www en 1990 (v0.9) – Connexion, GET, réponse, fermeture • HTTP 1.0 (1996) – Entêtes de requête (Host, Referer, User-Agent, …) et réponse (Content-Type, Set- Cookie, Location, …) • HTTP 1.1 (1997) – Nouveaux entêtes (Keep-alive, pipelining, cache Host obligatoire • HTTP 2.01 (2015) – Binaire, multiplexage connexions, compression entêtes, push, … – Supporté par presque tous2 les navigateurs, une majorité de serveurs • HTTP 3.03 (2019) – UDP,0 码力 | 11 页 | 91.09 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













