Skip to content

weidai0903/HttpServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author: Wei Dai

1.Features:
All of the non-deprecated methods in the interfaces(HttpServletRequest,HttpServletResponse,ServletConfig,ServletContext,HttpSession) are implemented.
Servlet container is implemented.
Two special URLs. /shutdown and /control. GET /shutdown will destroy all the servlets and terminate the server immediately. GET /control will display a web page, which contains my name, all threads and the status of each thread, and a link to /shutdown .
All the servlets can be well loaded and run. GET,POST methods are satified. Sessions and cookies are achieved.
A link to the Error Log can be seen at the top of the control panel.

2.Source Files:
HttpServer.java, Request.java, Response.java, ThreadPool.java, Worker.java,Config.java, Session.java, ConfigTest.java, SessionTest.java, ServletContainer.java,ServletRequest.java, ServletResponse.java,  Context, ContextTest.java,ServletRequestTest.java, ServletResponseTest.java

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published