Package org.glassfish.embeddable.web
Class HttpsListener
- java.lang.Object
-
- org.glassfish.embeddable.web.WebListenerBase
-
- org.glassfish.embeddable.web.HttpsListener
-
- All Implemented Interfaces:
WebListener
public class HttpsListener extends WebListenerBase
HTTPS Listener which listens on a protocol that is secured. SSL configuration element will be used to initialize security settings.- Author:
- Rajiv Mordani, Amy Roh
- See Also:
SslConfig
-
-
Constructor Summary
Constructors Constructor Description HttpsListener()
Initializes a newly created HttpsListener object with HTTPS protocol.HttpsListener(String id, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SslConfig
getSslConfig()
Gets the SslConfig for this web listenervoid
setSslConfig(SslConfig sslConfig)
Sets the SSL configuration for this web listener-
Methods inherited from class org.glassfish.embeddable.web.WebListenerBase
getConfig, getId, getPort, getProtocol, getWebContainer, setConfig, setId, setPort, setProtocol, setWebContainer
-
-
-
-
Constructor Detail
-
HttpsListener
public HttpsListener()
Initializes a newly created HttpsListener object with HTTPS protocol.
-
HttpsListener
public HttpsListener(String id, int port)
-
-