public class JettyHttpServer extends Object implements HttpServer
| Constructor and Description |
|---|
JettyHttpServer() |
JettyHttpServer(HttpListener listener) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIP() |
HttpListener |
getListener() |
String |
getName() |
int |
getPort() |
void |
init(Properties props) |
void |
service(InputStream in,
OutputStream out) |
void |
service(Socket socket) |
void |
start() |
void |
stop() |
public JettyHttpServer()
public JettyHttpServer(HttpListener listener)
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 String getName()
getName in interface ServerServicepublic int getPort()
getPort in interface ServerServicepublic String getIP()
getIP in interface ServerServicepublic void init(Properties props) throws Exception
public void start()
throws ServiceException
start in interface ServerServiceServiceExceptionpublic void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionCopyright © 1999–2019 The Apache Software Foundation. All rights reserved.