Package org.apache.openejb.server.httpd
Class JettyHttpServer
java.lang.Object
org.apache.openejb.server.httpd.JettyHttpServer
- All Implemented Interfaces:
HttpServer,ServerService,Service
Jetty based http server implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIP()getName()intgetPort()voidinit(Properties props) voidservice(InputStream in, OutputStream out) voidvoidstart()voidstop()
-
Constructor Details
-
JettyHttpServer
public JettyHttpServer() -
JettyHttpServer
-
-
Method Details
-
getListener
- Specified by:
getListenerin interfaceHttpServer
-
service
- Specified by:
servicein interfaceServerService- Throws:
ServiceExceptionIOException
-
service
- Specified by:
servicein interfaceServerService- Throws:
ServiceExceptionIOException
-
getName
- Specified by:
getNamein interfaceServerService
-
getPort
public int getPort()- Specified by:
getPortin interfaceServerService
-
getIP
- Specified by:
getIPin interfaceServerService
-
init
-
start
- Specified by:
startin interfaceServerService- Throws:
ServiceException
-
stop
- Specified by:
stopin interfaceServerService- Throws:
ServiceException
-