public abstract class AbstractSessionIdManager
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements org.eclipse.jetty.server.SessionIdManager
Modifier and Type | Field and Description |
---|---|
protected Random |
_random |
protected boolean |
_weakRandom |
protected String |
_workerName |
protected static String |
SESSION_ID_RANDOM_ALGORITHM |
protected static String |
SESSION_ID_RANDOM_ALGORITHM_ALT |
Constructor and Description |
---|
AbstractSessionIdManager() |
Modifier and Type | Method and Description |
---|---|
void |
doStart() |
Random |
getRandom() |
String |
getWorkerName() |
void |
initRandom()
Set up a random number generator for the session ids.
|
String |
newSessionId(javax.servlet.http.HttpServletRequest request,
long created)
Create a new session id if necessary.
|
void |
setRandom(Random random) |
void |
setWorkerName(String name) |
addLifeCycleListener, doStop, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected static final String SESSION_ID_RANDOM_ALGORITHM
protected static final String SESSION_ID_RANDOM_ALGORITHM_ALT
protected Random _random
protected boolean _weakRandom
protected String _workerName
public String getWorkerName()
getWorkerName
in interface org.eclipse.jetty.server.SessionIdManager
public void setWorkerName(String name)
public Random getRandom()
public void setRandom(Random random)
public String newSessionId(javax.servlet.http.HttpServletRequest request, long created)
newSessionId
in interface org.eclipse.jetty.server.SessionIdManager
public void doStart()
doStart
in class org.eclipse.jetty.util.component.AbstractLifeCycle
public void initRandom()
Copyright © GigaSpaces.