Class BufferedContentServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclnt.jsfserver.util.CCServletBase
org.eclnt.jsfserver.util.CCServletBaseWithContextMgmt
org.eclnt.jsfserver.bufferedcontent.BufferedContentServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,ICCServerConstants
public class BufferedContentServlet
extends CCServletBaseWithContextMgmt
implements ICCServerConstants
Servlet that allows to access buffered content instances via URL.
The URL needs to contain the key of the buffered content, so that
it can be resolved via the session context.
- See Also:
-
Field Summary
Fields inherited from interface org.eclnt.jsfserver.util.ICCServerConstants
CLIENTJAVATYPE_FX, CLIENTJAVATYPE_SWING, CLIENTTYPE_APPLET, CLIENTTYPE_APPLICATION, CLIENTTYPE_BROWSER, CLIENTTYPE_RISC, CLIENTTYPE_UI5, CLIENTTYPE_WEBSTART, EXPLICIT_NULL, FOCUSSEQUENCE_FIX_PREFIX, HEADER_ATTRIBUTE_CLIENT, HEADER_ATTRIBUTE_CLIENTJAVATYPE, HEADER_ATTRIBUTE_COOKIESENABLED, HEADER_ATTRIBUTE_COUNTRY, HEADER_ATTRIBUTE_DEVICESCREENHEIGHT, HEADER_ATTRIBUTE_DEVICESCREENWIDTH, HEADER_ATTRIBUTE_DEVICETYPE, HEADER_ATTRIBUTE_LANGUAGE, HEADER_ATTRIBUTE_MEDIADEVICES, HEADER_ATTRIBUTE_ORIGINALURL, HEADER_ATTRIBUTE_PERFORMANCEDATA, HEADER_ATTRIBUTE_REQUESTID, HEADER_ATTRIBUTE_TIMEZONEOFFSET, HEADER_ATTRIBUTE_USERAGENT, HEADER_ATTRIBUTE_XFRAMEOPTIONS, HEADER_RESPONSE_ATTRIBUTE_HTTPSESSIONID, HEADER_RESPONSE_ATTRIBUTE_HTTPSESSIONREFERENCEURL, HEADER_RESPONSE_ATTRIBUTE_HTTPSESSIONTRACKINGMODE, HEADER_RESPONSE_ATTRIBUTE_OVERRIDE, HEADER_RESPONSE_ATTRIBUTE_RELOAD, HEADER_RESPONSE_ATTRIBUTE_STYLE, INPUTMASK_VALUEMODE_WITHMASK, INPUTMASK_VALUEMODE_WITHOUTMASK, LAYOUTEXTENSION_JSP, LAYOUTEXTENSION_XML, QP_CCSTYLE, QP_KEEPDIALOGSESSION, QP_SUBPAGEID, SECURITY_ROLE_CCADMIN, SESSION_TRACKING_COOKIE, SESSION_TRACKING_URL, TEXTPANE_CONTENTTYPE_HTML, TEXTPANE_CONTENTTYPE_PLAIN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addBrowserFileNameToHttpResponse
(javax.servlet.http.HttpServletResponse resp, String bfn) protected boolean
checkIfToAbortOnMissingHttpSession
(javax.servlet.http.HttpServletRequest req) protected void
processRequest
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) static String
Methods inherited from class org.eclnt.jsfserver.util.CCServletBaseWithContextMgmt
doGet, doPost, init
Methods inherited from class org.eclnt.jsfserver.util.CCServletBase
checkIfToInitializeCCEnvironment, proposeContentType, setContentType, setContentTypeInResponse
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
BufferedContentServlet
public BufferedContentServlet()
-
-
Method Details
-
checkIfToAbortOnMissingHttpSession
protected boolean checkIfToAbortOnMissingHttpSession(javax.servlet.http.HttpServletRequest req) - Specified by:
checkIfToAbortOnMissingHttpSession
in classCCServletBaseWithContextMgmt
-
processRequest
protected void processRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Specified by:
processRequest
in classCCServletBaseWithContextMgmt
- Throws:
javax.servlet.ServletException
IOException
-
readBufferIdFromURI
-
addBrowserFileNameToHttpResponse
protected void addBrowserFileNameToHttpResponse(javax.servlet.http.HttpServletResponse resp, String bfn)
-