Java EE 企业应用系统开发 - HTTP 响应处理编程响应对象 响应对象功能和方法 HTTP 响应的内容 在 Web 服务器接收请求处理后,向客户端发送 HTTP 响应 (Response)。 O 响应的内容 ▶ 响应状态(Status Code) ▶ 响应头(Response Header) ▶ 响应体(Response Body) 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 HTTP 响应状态行 表明响应的状态信息,如成功、失败、错误。 向客户端发送指定的错误信息码,可以是任意定义的整数。 1 response.setCharacterEncoding("GBK"); 2 response.sendError(580); O public void sendError(int sc, String msg) throws IOException 向客户端发送指定的错误信息码和自定义状态消息。 1 response.setCharacterEncoding("GBK"); setCharacterEncoding("GBK"); 2 response.sendError(580, "自定义错误"); 大纲 HTTP 响应的内容 HTTP 响应对象 响应对象功能和方法 设置响应头 当客户端接收到响应状态为 200 时,浏览器会继续接收响应头信 息,来确定响应体的类型和大小。 O public void setHeader(String name, String value) 将指定名称和值的响应头发送到客户端。0 码力 | 26 页 | 575.28 KB | 1 年前3
JAVA 应用与开发 - 泛型0 码力 | 35 页 | 587.40 KB | 1 年前3
Weblate 4.2 用户文档guide will help you do so. Several typical situations are showcased, but most of the examples are generic and can be applied to other scenarios as well. Before translating any software, you should realize First, you need to create a monolingual component which will hold your strings, see 添加翻译项目和组件 for generic instructions on that. In case you have existing repository to start with (for example the one containing 使用以下代码: fetch(("https://weblate- cdn.com/a5ba5dc29f39498aa734528a54b50d0a/cs.json") .then(response => response.json()) .then(data => console.log(data)); 在这种情况下需要采用实际的本地化逻辑。 Translation component alerts0 码力 | 648 页 | 9.34 MB | 1 年前3
Weblate 4.2.1 用户文档guide will help you do so. Several typical situations are showcased, but most of the examples are generic and can be applied to other scenarios as well. Before translating any software, you should realize First, you need to create a monolingual component which will hold your strings, see 添加翻译项目和组件 for generic instructions on that. In case you have existing repository to start with (for example the one containing 使用以下代码: fetch(("https://weblate- cdn.com/a5ba5dc29f39498aa734528a54b50d0a/cs.json") .then(response => response.json()) .then(data => console.log(data)); 在这种情况下需要采用实际的本地化逻辑。 Translation component alerts0 码力 | 650 页 | 9.34 MB | 1 年前3
Weblate 4.2.2 用户文档guide will help you do so. Several typical situations are showcased, but most of the examples are generic and can be applied to other scenarios as well. Before translating any software, you should realize First, you need to create a monolingual component which will hold your strings, see 添加翻译项目和组件 for generic instructions on that. In case you have existing repository to start with (for example the one containing 使用以下代码: fetch(("https://weblate- cdn.com/a5ba5dc29f39498aa734528a54b50d0a/cs.json") .then(response => response.json()) .then(data => console.log(data)); 在这种情况下需要采用实际的本地化逻辑。 Translation component alerts0 码力 | 650 页 | 9.34 MB | 1 年前3
Weblate 4.2.1 用户文档guide will help you do so. Several typical situations are showcased, but most of the examples are generic and can be applied to other scenarios as well. Before translating any software, you should realize First, you need to create a monolingual component which will hold your strings, see 添加翻译项目和组件 for generic instructions on that. In case you have existing repository to start with (for example the one containing 文件。要获取一个,你可以使用以下代码: fetch(("https://weblate-cdn.com/a5ba5dc29f39498aa734528a54b50d0a/cs.json") .then(response => response.json()) .then(data => console.log(data)); 在这种情况下需要采用实际的本地化逻辑。 1.7.5 Translation component0 码力 | 411 页 | 4.60 MB | 1 年前3
Weblate 4.2.2 用户文档guide will help you do so. Several typical situations are showcased, but most of the examples are generic and can be applied to other scenarios as well. Before translating any software, you should realize First, you need to create a monolingual component which will hold your strings, see 添加翻译项目和组件 for generic instructions on that. In case you have existing repository to start with (for example the one containing 文件。要获取一个,你可以使用以下代码: fetch(("https://weblate-cdn.com/a5ba5dc29f39498aa734528a54b50d0a/cs.json") .then(response => response.json()) .then(data => console.log(data)); 在这种情况下需要采用实际的本地化逻辑。 1.7.5 Translation component0 码力 | 411 页 | 4.60 MB | 1 年前3
Weblate 4.2 用户文档guide will help you do so. Several typical situations are showcased, but most of the examples are generic and can be applied to other scenarios as well. Before translating any software, you should realize First, you need to create a monolingual component which will hold your strings, see 添加翻译项目和组件 for generic instructions on that. In case you have existing repository to start with (for example the one containing 文件。要获取一个,你可以使用以下代码: fetch(("https://weblate-cdn.com/a5ba5dc29f39498aa734528a54b50d0a/cs.json") .then(response => response.json()) .then(data => console.log(data)); 在这种情况下需要采用实际的本地化逻辑。 1.7.5 Translation component0 码力 | 410 页 | 4.56 MB | 1 年前3
Kotlin 1.9.10 官方文档 中文版
ABI-breaking changes in the kotlin- gradle-plugin artifact. Most of these changes involve additional generic parameters to some internal types. One important change is that the KotlinNativeLink task no for more information about this builder inference update. Kotlin/JVM Kotlin 1.7.20 introduces generic inline classes, adds more bytecode optimizations for delegated properties, and supports IR in the all the newest Kotlin features with kapt: 泛型内联类 更多属性委托的优化场景 在 kapt 存根生成任务中支持 JVM IR 后端 泛型内联类 Generic inline classes is an Experimental feature. It may be dropped or changed at any time. Opt-in is required0 码力 | 3753 页 | 29.69 MB | 1 年前3
httpd 2.4.28 中文文档for the proxy's clients. mod_sed An advanced replacement of mod_substitute, allows to edit the response body with the full power of sed. mod_auth_form Enables form-based authentication. mod_session processing. mod_buffer Provides for buffering the input and output filter stacks mod_data Convert response body into an RFC2397 data URL mod_ratelimit Provides Bandwidth Rate Limiting for Clients mod_request and make available HTTP request bodies mod_reflector Provides Reflection of a request body as a response via the output filter stack. mod_slotmem_shm Provides a Slot-based shared memory provider (ala0 码力 | 2659 页 | 3.10 MB | 1 年前3
共 437 条
- 1
- 2
- 3
- 4
- 5
- 6
- 44













