Package org.sam.server.http.context
Class HttpServer
- java.lang.Object
-
- org.sam.server.http.context.HttpServer
-
- All Implemented Interfaces:
java.lang.Runnable
public class HttpServer extends java.lang.Object implements java.lang.Runnable
HTTP 서버의 시작점으로써, 서버 소켓을 생성하고 쓰헤드 풀을 생성하여 요청을 HttpLauncher로 위임한다.- See Also:
BeanContainer
,HttpLauncher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
static void
start()
애플리케이션을 시작한다.
-
-
-
Method Detail
-
start
public static void start()
애플리케이션을 시작한다. 서버가 종료될 때 까지 무한 루프를 돌며 쓰레드를 생성하고 요청을 HttpLauncher에 위임한다.- See Also:
HttpLauncher
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-