|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.mssm.crover.webservices.rbde.DiagramService
Global data and services to help build the Residue-based Diagram web server. * In contrast to ServletCentral which is general to the whole server, this class provides specialized services that are dependant on the nature of the Diagram web service.
| Method Summary | |
static void |
appendFooter(ServletCentral sc,
UserSession us,
org.apache.ecs.html.Body body)
Appends the diagram footer to the page. |
static WebService |
getInstance(ServletCentral sc)
Returns the unique instance of DiagramService. |
PersistenceScheme |
getPersistenceScheme()
Returns the persistence scheme used by the web service. |
static void |
goStart(ServletCentral sc,
javax.servlet.http.HttpServletResponse response)
Redirects the user browser to the start page of this service. |
static void |
needsData(ServletCentral sc,
javax.servlet.http.HttpServletResponse response,
java.lang.String need)
Redirects the browser to the needsData servlet. |
static javax.servlet.http.HttpSession |
obtainSession(ServletCentral sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Obtains a valid session or redirects to a login URL. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static javax.servlet.http.HttpSession obtainSession(ServletCentral sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOException
public static void appendFooter(ServletCentral sc,
UserSession us,
org.apache.ecs.html.Body body)
public static void needsData(ServletCentral sc,
javax.servlet.http.HttpServletResponse response,
java.lang.String need)
throws java.io.IOException
java.io.IOExceptionMissingInformation
public static void goStart(ServletCentral sc,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOExceptionpublic PersistenceScheme getPersistenceScheme()
getPersistenceScheme in interface WebServicepublic static WebService getInstance(ServletCentral sc)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||