- 博客(7)
- 资源 (3)
- 收藏
- 关注
翻译 知识库--create a HttpResponse
Creating a HttpResponse ObjectThe HttpResponse class implements javax.servlet.http.HttpServletResponse. Accompanying it is a facade class named HttpResponseFacade. Following shows the UML diagram of Ht
2016-11-27 23:01:11 335
翻译 知识库--Obtaining Parameters
Obtaining ParametersYou don’t parse the query string or HTTP request body to get parameters until the servlet needs to read one or all of them by calling the getParameter, getParameterMap, getParamete
2016-11-27 22:27:44 364
翻译 知识库--parsing cookies
Parsing CookiesCookies are sent by a browser as an HTTP request header.Such a header has the name “cookie” and the value is the cookie name/value pairs. Here is an example of a cookie header containing
2016-11-27 17:38:58 548
翻译 知识库--parsing headers
Parsing HeadersAn Http headers is represented by the HttpHeader class. This class will be explained in detail in 4, for now it is sufficient to know the following: You can construct an HttpHeade
2016-11-27 09:03:44 355
翻译 知识库--tomcat-connector
Tomcat’s default connector and our connector use the SocketInputStream class for reading byte streams from the socket’s InputStream. An instance of SocketInputStream wraps the java.io.InputStream insta
2016-11-22 09:32:31 284
原创 A Simple Servlet Container
I will develop my own servlet container by presenting two applications. The first application has been designed to be as simple as possible to make it easy for you to understand how a servlet containe
2016-11-14 08:21:56 415
翻译 知识库 tomcat-A Simple Web Server static
1 应用之间的通信 To send byte streams, you must first call the Socket class’s getOutputStream method to obtain a java.io.OutputStream object. To send text to a remote application, you often want to construct
2016-11-13 11:49:36 373
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人