|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.publication.servlets.util.ResponseUtil
public class ResponseUtil
...
| Constructor Summary | |
|---|---|
ResponseUtil()
|
|
| Method Summary | |
|---|---|
static long |
estimatedNumberOfEntries(long datSize)
Under all circumstances, we should use the same estimation for the number of Entries given a total size of the Zpad database. |
static long |
getUserLastModified(javax.servlet.http.HttpServletRequest request,
UserInfo userInfo)
The user is (his *characteristics* are) last modified: * At the "touch" time of his directory (see changeCover) * At the date of his zpad.cat (if any) |
static long |
getZpadLastModified(javax.servlet.http.HttpServletRequest request,
UserInfo userInfo)
The user's Zpad is last modified iff his zpad.dat has changed. |
static void |
sendResponsePacket(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String responseInPackage,
long lastModified)
|
static void |
sendResponseTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String templateName,
UserInfo userInfo,
CoverInfo coverInfo,
HashMap stubsMap,
long lastModified)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseUtil()
| Method Detail |
|---|
public static long estimatedNumberOfEntries(long datSize)
datSize - the Zpad database size.
public static void sendResponseTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String templateName,
UserInfo userInfo,
CoverInfo coverInfo,
HashMap stubsMap,
long lastModified)
throws IOException
IOException
public static void sendResponsePacket(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String responseInPackage,
long lastModified)
throws IOException
IOException
public static long getUserLastModified(javax.servlet.http.HttpServletRequest request,
UserInfo userInfo)
public static long getZpadLastModified(javax.servlet.http.HttpServletRequest request,
UserInfo userInfo)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||