Java EE 企业应用系统设计 - HTTP 请求处理编程
browser = request.getHeader("User-Agent"); ▶ int getIntHeader(String name) 1 int size = request.getIntHeader("Content-Length"); ▶ long getDateHeader(String name) 1 long datetime = request.getDateHe getDateHeader("If-Modified-Since"); ▶ Enumeration getHeaderNames() 1 for (Enumeration e = request.getHeaderNames(); e.hasMoreElements(); ) { 2 String headerName = (String) e.nextElement(); 3 System.out.println("Name␣=␣" 参数 1 productSearch.do?productName=Acer 以下代码可以取得以上的参数名为 productName 的数据: 1 String productName = request.getParameter("productName"); 大纲 HTTP 请求内容 Java EE 请求对象 取得请求中包含的提交参数数据 O String[] getParameterValues(String0 码力 | 27 页 | 565.27 KB | 1 年前3Falcon v3.0.0 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 5.4.3 Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.1 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 5.4.3 Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.0-b2 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 5.4.3 resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent • Minimal attack surface for for routing and state management • Easy access to headers and bodies through request and response classes • DRY request processing via middleware components and hooks • Idiomatic HTTP error responses0 码力 | 340 页 | 1.15 MB | 1 年前3Falcon v3.1.1-b3 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 5.4.3 Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-b1 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 5.4.3 Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-a Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 5.4.3 Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 5.4.3 Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-rc1 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 5.4.3 Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic Highly-optimized, extensible code base • Easy access to headers and bodies through request and response objects • DRY request processing via middleware components and hooks • Strict adherence to RFCs • Idiomatic0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.0.0-b1 Documentation
Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 5.4.2 Request & Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 5.4.3 resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent • Minimal attack surface for for routing and state management • Easy access to headers and bodies through request and response classes • DRY request processing via middleware components and hooks • Idiomatic HTTP error responses0 码力 | 338 页 | 1.14 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100