Commit 64bc974d authored by huni's avatar huni
parent 0344cbfd
...@@ -399,11 +399,14 @@ public class HttpSession extends LocalClientSession { ...@@ -399,11 +399,14 @@ public class HttpSession extends LocalClientSession {
} }
/** /**
* Returns the time in milliseconds since the epoch that this session was last active. Activity * Returns the highest 'rid' attribute the server has received where it has also received
* is a request was either made or responded to. If the session is currently active, meaning * all requests with lower 'rid' values. When responding to a request that it has been
* there are connections awaiting a response, the current time is returned. * holding, if the server finds it has already received another request with a higher 'rid'
* * attribute (typically while it was holding the first request), then it MAY acknowledge the
* @return the time in milliseconds since the epoch that this session was last active. * reception to the client.
*
* @return the highest 'rid' attribute the server has received where it has also received
* all requests with lower 'rid' values.
*/ */
public long getLastAcknowledged() { public long getLastAcknowledged() {
long ack = lastRequestID; long ack = lastRequestID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment