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_PATH
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static MediaFile
static MediaFile
static String
static String
static MediaFile
static MediaFile
static MediaFile
static MediaFile
static OAuth
getOAuth()
static StringList
static String
static String
static String
static TextContent
getTextContent
(String id) static TextContent
getTextContent
(String... ids) static String
getURL()
static MediaFile
static MediaFile
void
init()
static void
static void
removeCache
(MediaFile mediaFile) static void
removeCache
(TextContent textContent) static void
removeCache
(String name) protected void
service
(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, whenFrontendMappingAvailable
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, service
Methods 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:
init
in 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:
service
in classcom.vaadin.flow.server.VaadinServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
getTextContent
-
getTextContent
-
cacheTextContent
-
removeCache
-
removeCache
-
getMedia
-
getMedia
-
removeCache
-
getImage
-
getImage
-
getAudio
-
getAudio
-
getVideo
-
getVideo
-
getFolder
-
getURL
-
getServer
-
getDomain
-
getSubdomain
-
getProtocol
-
reloadCORS
public static void reloadCORS() -
getOAuth
-
getOAuthProviders
-