org.apache.openejb.server.httpd
Class JettyHttpServer
java.lang.Object
org.apache.openejb.server.httpd.JettyHttpServer
- All Implemented Interfaces:
- HttpServer, ServerService, Service
public class JettyHttpServer
- extends Object
- implements HttpServer
Jetty based http server implementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyHttpServer
public JettyHttpServer()
JettyHttpServer
public JettyHttpServer(HttpListener listener)
getListener
public HttpListener getListener()
- Specified by:
getListener in interface HttpServer
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service in interface ServerService
- Throws:
ServiceException
IOException
service
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
- Specified by:
service in interface ServerService
- Throws:
ServiceException
IOException
getName
public String getName()
- Specified by:
getName in interface ServerService
getPort
public int getPort()
- Specified by:
getPort in interface ServerService
getIP
public String getIP()
- Specified by:
getIP in interface ServerService
init
public void init(Properties props)
throws Exception
- Specified by:
init in interface Service
- Throws:
Exception
start
public void start()
throws ServiceException
- Specified by:
start in interface ServerService
- Throws:
ServiceException
stop
public void stop()
throws ServiceException
- Specified by:
stop in interface ServerService
- Throws:
ServiceException
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.