Class BufferedContentServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.eclnt.jsfserver.util.CCServletBase
org.eclnt.jsfserver.util.CCServletBaseWithContextMgmt
org.eclnt.jsfserver.bufferedcontent.BufferedContentServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable,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
CLIENTDEVICETYPE_DESKTOP, CLIENTDEVICETYPE_MOBILE, CLIENTJAVATYPE_FX, CLIENTJAVATYPE_SWING, CLIENTTYPE_APPLET, CLIENTTYPE_APPLICATION, CLIENTTYPE_BROWSER, CLIENTTYPE_RISC, CLIENTTYPE_UI5, CLIENTTYPE_WEBSTART, EXPLICIT_EMPTY, 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, LITERAL_LINK_PREFIX, LITERAL_TEMP_PREFIX, QP_CCSTYLE, QP_KEEPDIALOGSESSION, QP_SUBPAGEID, SECURITY_ROLE_CCADMIN, SESSION_TRACKING_COOKIE, SESSION_TRACKING_URL, SIZE_UNDEFINED, TEXTPANE_CONTENTTYPE_HTML, TEXTPANE_CONTENTTYPE_PLAIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBrowserFileNameToHttpResponse(jakarta.servlet.http.HttpServletResponse resp, String bfn) protected booleancheckIfToAbortOnMissingHttpSession(jakarta.servlet.http.HttpServletRequest req) protected voidprocessRequest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) static StringMethods inherited from class org.eclnt.jsfserver.util.CCServletBaseWithContextMgmt
doGet, doPost, initMethods inherited from class org.eclnt.jsfserver.util.CCServletBase
checkIfToInitializeCCEnvironment, proposeContentType, setContentType, setContentTypeInResponseMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
BufferedContentServlet
public BufferedContentServlet()
-
-
Method Details
-
checkIfToAbortOnMissingHttpSession
protected boolean checkIfToAbortOnMissingHttpSession(jakarta.servlet.http.HttpServletRequest req) - Specified by:
checkIfToAbortOnMissingHttpSessionin classCCServletBaseWithContextMgmt
-
processRequest
protected void processRequest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException - Specified by:
processRequestin classCCServletBaseWithContextMgmt- Throws:
jakarta.servlet.ServletExceptionIOException
-
readBufferIdFromURI
-
addBrowserFileNameToHttpResponse
protected void addBrowserFileNameToHttpResponse(jakarta.servlet.http.HttpServletResponse resp, String bfn)
-