Package org.glassfish.embeddable.web
Class HttpListener
- java.lang.Object
-
- org.glassfish.embeddable.web.WebListenerBase
-
- org.glassfish.embeddable.web.HttpListener
-
- All Implemented Interfaces:
WebListener
public class HttpListener extends WebListenerBase
HTTP Listener listens on a TCP port for incoming HTTP connection.- Author:
- Rajiv Mordani, Jan Luehe, Amy Roh
-
-
Constructor Summary
Constructors Constructor Description HttpListener()
Initializes a newly created HttpListener object with HTTP protocol.HttpListener(String id, int port)
-
Method Summary
-
Methods inherited from class org.glassfish.embeddable.web.WebListenerBase
getConfig, getId, getPort, getProtocol, getWebContainer, setConfig, setId, setPort, setProtocol, setWebContainer
-
-
-
-
Constructor Detail
-
HttpListener
public HttpListener()
Initializes a newly created HttpListener object with HTTP protocol.
-
HttpListener
public HttpListener(String id, int port)
-
-