this(null, sessionManager);
}
@Override
public void setSessionId(final HttpServerExchange exchange, final String sessionId) {
SSLSessionInfo sslSession = exchange.getConnection().getSslSessionInfo();
if (sslSession == null) {
if (fallbackSessionConfig != null) {
fallbackSessionConfig.setSessionId(exchange, sessionId);
}
} else {
Key key = new Key(sslSession.getSessionId());
synchronized (this) {
sessions.put(key, sessionId);
reverse.put(sessionId, key);
}
}