Package com.storedobject.ui.util
Class SOServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.vaadin.flow.server.VaadinServlet
com.storedobject.ui.util.SOServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
@WebServlet(urlPatterns="/*",
name="SO Application",
asyncSupported=true,
loadOnStartup=0,
initParams=@WebInitParam(name="closeIdleSessions",value="true"))
public class SOServlet
extends com.vaadin.flow.server.VaadinServlet
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.flow.server.VaadinServlet
INTERNAL_VAADIN_SERVLET_VITE_DEV_MODE_FRONTEND_PATHFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic MediaFilestatic MediaFilestatic Stringstatic Stringstatic MediaFilestatic MediaFilestatic MediaFilestatic MediaFilestatic OAuthgetOAuth()static StringListstatic Stringstatic Stringstatic Stringstatic TextContentgetTextContent(String id) static TextContentgetTextContent(String... ids) static StringgetURL()static MediaFilestatic MediaFilevoidinit()static voidremoveCache(MediaFile mediaFile) static voidremoveCache(TextContent textContent) static voidremoveCache(String name) protected voidservice(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class com.vaadin.flow.server.VaadinServlet
createDeploymentConfiguration, createDeploymentConfiguration, createServletService, createServletService, createStaticFileHandler, createVaadinRequest, destroy, getCurrent, getFrontendMapping, getLastPathParameter, getService, getServletConfig, handleContextOrServletRootWithoutSlash, init, serveStaticOrWebJarRequest, servletInitialized, whenFrontendMappingAvailableMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
SOServlet
public SOServlet()
-
-
Method Details
-
init
public void init() throws jakarta.servlet.ServletException- Overrides:
initin classjakarta.servlet.GenericServlet- Throws:
jakarta.servlet.ServletException
-
service
protected void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
servicein classcom.vaadin.flow.server.VaadinServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
getTextContent
-
getTextContent
-
cacheTextContent
-
removeCache
-
removeCache
-
getMedia
-
getMedia
-
removeCache
-
getImage
-
getImage
-
getAudio
-
getAudio
-
getVideo
-
getVideo
-
getFolder
-
getURL
-
getServer
-
getDomain
-
getSubdomain
-
getProtocol
-
getOAuth
-
getOAuthProviders
-