public class WuicServlet extends HttpServlet
Servlet which initializes the servlet context and the servlet mapping used for WUIC.
Constructor and Description |
---|
WuicServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
static ServletRegistration |
findServletRegistration(ServletContext servletContext)
Finds the registration for this servlet class.
|
void |
init(ServletConfig config) |
static boolean |
isWuicServletInstalled(ServletContext servletContext)
Indicates if the WuicServlet is installed in the given context.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public static boolean isWuicServletInstalled(ServletContext servletContext)
Indicates if the WuicServlet is installed in the given context.
servletContext
- the contexttrue
if the servlet is installed, false
otherwisepublic static ServletRegistration findServletRegistration(ServletContext servletContext)
Finds the registration for this servlet class.
servletContext
- the contextnull
if not foundpublic void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class HttpServlet
ServletException
IOException
Copyright © 2012-2015. All Rights Reserved.