|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.server.httpd.HttpServer
public class HttpServer
This is the main class for the web administration. It takes care of the processing from the browser, sockets and threading.
| Constructor Summary | |
|---|---|
HttpServer()
|
|
HttpServer(HttpListener listener)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getIP()
Gets the ip number that the daemon is listening on. |
java.lang.String |
getName()
Gets the name of the service. |
int |
getPort()
Gets the port number that the daemon is listening on. |
void |
init(java.util.Properties props)
Initalizes this instance and takes care of starting things up |
void |
service(java.io.InputStream in,
java.io.OutputStream out)
|
void |
service(java.net.Socket socket)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpServer()
public HttpServer(HttpListener listener)
| Method Detail |
|---|
public void service(java.net.Socket socket)
throws ServiceException,
java.io.IOException
service in interface ServerServiceServiceException
java.io.IOException
public void service(java.io.InputStream in,
java.io.OutputStream out)
throws ServiceException,
java.io.IOException
service in interface ServerServiceServiceException
java.io.IOException
public void start()
throws ServiceException
start in interface ServerServiceServiceException
public void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic java.lang.String getName()
ServerService
getName in interface ServerServicepublic int getPort()
ServerService
getPort in interface ServerServicepublic java.lang.String getIP()
ServerService
getIP in interface ServerService
public void init(java.util.Properties props)
throws java.lang.Exception
init in interface ServerServiceinit in interface Serviceprops - a properties instance for system properties
java.lang.Exception - if an exeption is thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||