org.apache.openejb.webadmin.httpd
Class HttpServer
java.lang.Object
org.apache.openejb.webadmin.httpd.HttpServer
- All Implemented Interfaces:
- ServerService, Service
public class HttpServer
- extends Object
- implements ServerService
This is the main class for the web administration. It takes care of the
processing from the browser, sockets and threading.
- Since:
- 11/25/2001
- Author:
- David Blevins, Tim Urberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServer
public HttpServer()
service
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
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
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
- Initalizes this instance and takes care of starting things up
- Specified by:
init
in interface Service
- Parameters:
props
- a properties instance for system properties
- Throws:
Exception
- if an exeption is thrown
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.