Class AbstractWebStartClientServingServlet
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.support.WebContentGenerator
-
- org.springframework.web.servlet.mvc.AbstractController
-
- ch.systemsx.cisd.openbis.generic.client.web.server.AbstractServlet
-
- ch.systemsx.cisd.openbis.generic.client.api.gui.AbstractWebStartClientServingServlet
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.servlet.mvc.Controller
- Direct Known Subclasses:
DataSetUploadClientServingServlet
public abstract class AbstractWebStartClientServingServlet extends ch.systemsx.cisd.openbis.generic.client.web.server.AbstractServlet
A servlet the generates the JNLP document for serving a web-start client.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractWebStartClientServingServlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
bindTemplateParameters(javax.servlet.http.HttpServletRequest request, ch.systemsx.cisd.common.string.Template template)
protected java.lang.String
getCodebaseUrl(javax.servlet.http.HttpServletRequest request)
protected java.lang.String
getDescription()
protected java.lang.String
getInfoLogText(javax.servlet.http.HttpServletRequest request, java.lang.String sessionToken)
Return the text that should go to the info log.protected abstract ch.systemsx.cisd.common.string.Template
getJnlpTemplate()
Return a template for the JNLP.protected abstract java.lang.String
getMainClassName()
protected abstract java.lang.String
getTitle()
protected void
respondToRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.client.web.server.AbstractServlet
getSessionToken, handleRequestInternal, writeResponse
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
-
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
-
-
-
Method Detail
-
respondToRequest
protected void respondToRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception, java.io.IOException
- Specified by:
respondToRequest
in classch.systemsx.cisd.openbis.generic.client.web.server.AbstractServlet
- Throws:
java.lang.Exception
java.io.IOException
-
getCodebaseUrl
protected java.lang.String getCodebaseUrl(javax.servlet.http.HttpServletRequest request)
-
getInfoLogText
protected java.lang.String getInfoLogText(javax.servlet.http.HttpServletRequest request, java.lang.String sessionToken)
Return the text that should go to the info log.This method will only be called if logging at the info level is on.
-
bindTemplateParameters
protected java.lang.String bindTemplateParameters(javax.servlet.http.HttpServletRequest request, ch.systemsx.cisd.common.string.Template template)
-
getJnlpTemplate
protected abstract ch.systemsx.cisd.common.string.Template getJnlpTemplate()
Return a template for the JNLP.
-
getMainClassName
protected abstract java.lang.String getMainClassName()
-
getTitle
protected abstract java.lang.String getTitle()
-
getDescription
protected java.lang.String getDescription()
-
-