Package org.apache.openejb.server.httpd
Class OpenEJBHttpServer
java.lang.Object
org.apache.openejb.server.httpd.OpenEJBHttpServer
- All Implemented Interfaces:
HttpServer,ServerService,Service
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
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpListenerRegistrygetIP()getName()intgetPort()voidinit(Properties props) static booleanstatic Stringvoidservice(InputStream in, OutputStream out) voidvoidstart()voidstop()
-
Constructor Details
-
OpenEJBHttpServer
public OpenEJBHttpServer() -
OpenEJBHttpServer
-
-
Method Details
-
getHttpListenerRegistry
-
isTextXml
-
getListener
- Specified by:
getListenerin interfaceHttpServer
-
service
- Specified by:
servicein interfaceServerService- Throws:
ServiceExceptionIOException
-
service
- Specified by:
servicein interfaceServerService- Throws:
ServiceExceptionIOException
-
init
-
start
- Specified by:
startin interfaceServerService- Throws:
ServiceException
-
stop
- Specified by:
stopin interfaceServerService- Throws:
ServiceException
-
getName
- Specified by:
getNamein interfaceServerService
-
getPort
public int getPort()- Specified by:
getPortin interfaceServerService
-
getIP
- Specified by:
getIPin interfaceServerService
-
reformat
-