winstone.ssl
public class HttpsListener extends HttpListener
BACKLOG_COUNT, CONNECTION_TIMEOUT, DEFAULT_HNL, doHostnameLookups, hostGroup, interrupted, KEEP_ALIVE_SLEEP, KEEP_ALIVE_SLEEP_MAX, KEEP_ALIVE_TIMEOUT, 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, start
public HttpsListener(java.util.Map args, ObjectPool objectPool, HostGroup hostGroup) throws java.io.IOException
java.io.IOException
protected int getDefaultPort()
getDefaultPort
in class HttpListener
protected java.lang.String getConnectorScheme()
getConnectorScheme
in class HttpListener
protected java.net.ServerSocket getServerSocket() throws java.io.IOException
getServerSocket
in class HttpListener
java.io.IOException
protected void parseSocketInfo(java.net.Socket socket, WinstoneRequest req) throws java.io.IOException
parseSocketInfo
in class HttpListener
java.io.IOException
public javax.net.ssl.SSLContext getSSLContext()
Copyright © 2014. All Rights Reserved.