public class OpenEJBHttpServer extends Object implements HttpServer
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenEJBHttpServer.Output |
| Constructor and Description |
|---|
OpenEJBHttpServer() |
OpenEJBHttpServer(HttpListener listener) |
| Modifier and Type | Method and Description |
|---|---|
static HttpListenerRegistry |
getHttpListenerRegistry() |
String |
getIP() |
HttpListener |
getListener() |
String |
getName() |
int |
getPort() |
void |
init(Properties props) |
static boolean |
isTextXml(Map<String,List<String>> headers) |
static String |
reformat(String raw) |
void |
service(InputStream in,
OutputStream out) |
void |
service(Socket socket) |
void |
start() |
void |
stop() |
public OpenEJBHttpServer()
public OpenEJBHttpServer(HttpListener listener)
public static HttpListenerRegistry getHttpListenerRegistry()
public HttpListener getListener()
getListener in interface HttpServerpublic void service(Socket socket) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic void service(InputStream in, OutputStream out) throws ServiceException, IOException
service in interface ServerServiceServiceExceptionIOExceptionpublic void init(Properties props) throws Exception
public void start()
throws ServiceException
start in interface ServerServiceServiceExceptionpublic void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic String getName()
getName in interface ServerServicepublic int getPort()
getPort in interface ServerServicepublic String getIP()
getIP in interface ServerServiceCopyright © 1999–2019 The Apache Software Foundation. All rights reserved.