public class HttpsListener extends HttpListener
BACKLOG_COUNT, CONNECTION_TIMEOUT, DEFAULT_HNL, doHostnameLookups, hostGroup, interrupted, KEEP_ALIVE_SLEEP, KEEP_ALIVE_SLEEP_MAX, keepAliveTimeout, listenAddress, LISTENER_TIMEOUT, listenPort, objectPool| Constructor and Description |
|---|
HttpsListener(java.util.Map args,
ObjectPool objectPool,
HostGroup hostGroup)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getConnectorScheme()
The name to use when getting properties - this is just so that we can
override for the SSL connector.
|
protected int |
getDefaultPort()
The default port to use - this is just so that we can override for the
SSL connector.
|
protected java.net.ServerSocket |
getServerSocket()
Gets a server socket - this gets as SSL socket instead of the standard
socket returned in the base class.
|
javax.net.ssl.SSLContext |
getSSLContext()
Used to get the base ssl context in which to create the server socket.
|
protected void |
parseSocketInfo(java.net.Socket socket,
WinstoneRequest req)
Extracts the relevant socket stuff and adds it to the request object.
|
allocateRequestResponse, deallocateRequestResponse, destroy, getConnectorName, parseHeaders, parseURI, processKeepAlive, releaseSocket, run, startpublic HttpsListener(java.util.Map args,
ObjectPool objectPool,
HostGroup hostGroup)
throws java.io.IOException
java.io.IOExceptionprotected int getDefaultPort()
getDefaultPort in class HttpListenerprotected java.lang.String getConnectorScheme()
getConnectorScheme in class HttpListenerprotected java.net.ServerSocket getServerSocket()
throws java.io.IOException
getServerSocket in class HttpListenerjava.io.IOExceptionprotected void parseSocketInfo(java.net.Socket socket,
WinstoneRequest req)
throws java.io.IOException
parseSocketInfo in class HttpListenerjava.io.IOExceptionpublic javax.net.ssl.SSLContext getSSLContext()
Copyright © 2013. All Rights Reserved.