Package org.eclipse.jetty.servlet
Class JspPropertyGroupServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.eclipse.jetty.servlet.JspPropertyGroupServlet
-
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
@Deprecated(since="2021-05-27") public class JspPropertyGroupServlet extends GenericServlet
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Servlet handling JSP Property Group mappingsThis servlet is mapped to by any URL pattern for a JSP property group. Resources handled by this servlet that are not directories will be passed directly to the JSP servlet. Resources that are directories will be passed directly to the default servlet.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JspPropertyGroupServlet(ContextHandler context, ServletHandler servletHandler)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
init()
Deprecated.A convenience method which can be overridden so that there's no need to callsuper.init(config)
.void
service(ServletRequest req, ServletResponse res)
Deprecated.Called by the servlet container to allow the servlet to respond to a request.-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
-
-
-
Field Detail
-
NAME
public static final String NAME
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JspPropertyGroupServlet
public JspPropertyGroupServlet(ContextHandler context, ServletHandler servletHandler)
Deprecated.
-
-
Method Detail
-
init
public void init() throws ServletException
Deprecated.Description copied from class:GenericServlet
A convenience method which can be overridden so that there's no need to callsuper.init(config)
.Instead of overriding
GenericServlet.init(ServletConfig)
, simply override this method and it will be called byGenericServlet.init(ServletConfig config)
. TheServletConfig
object can still be retrieved viaGenericServlet.getServletConfig()
.- Overrides:
init
in classGenericServlet
- Throws:
ServletException
- if an exception occurs that interrupts the servlet's normal operation
-
service
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException
Deprecated.Description copied from class:GenericServlet
Called by the servlet container to allow the servlet to respond to a request. SeeServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
.This method is declared abstract so subclasses, such as
HttpServlet
, must override it.- Specified by:
service
in interfaceServlet
- Specified by:
service
in classGenericServlet
- Parameters:
req
- theServletRequest
object that contains the client's requestres
- theServletResponse
object that will contain the servlet's response- Throws:
ServletException
- if an exception occurs that interferes with the servlet's normal operation occurredIOException
- if an input or output exception occurs
-
-