Package alpine
Class AlpineServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.glassfish.jersey.servlet.ServletContainer
-
- alpine.AlpineServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Filter,javax.servlet.Servlet,javax.servlet.ServletConfig,org.glassfish.jersey.server.spi.Container
public class AlpineServlet extends org.glassfish.jersey.servlet.ServletContainerThe AlpineServlet is the main servlet which extends the Jersey ServletContainer. It is responsible for setting up the runtime environment by initializing the application, and setting the path to properties files used forConfig(uration).- Since:
- 1.0.0
- Author:
- Steve Springett
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlpineServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Overrides the servlet destroy method and shuts down the servlet.voidinit(javax.servlet.ServletConfig config)Overrides the servlet init method and loads sets the InputStream necessary to load application.properties.-
Methods inherited from class org.glassfish.jersey.servlet.ServletContainer
doFilter, doFilter, getApplicationHandler, getConfiguration, getServletContext, getStaticContentPattern, getWebComponent, init, init, init, reload, reload, service, service, service
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletExceptionOverrides the servlet init method and loads sets the InputStream necessary to load application.properties.- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException- a general error that occurs during initialization
-
destroy
public void destroy()
Overrides the servlet destroy method and shuts down the servlet.- Specified by:
destroyin interfacejavax.servlet.Filter- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classorg.glassfish.jersey.servlet.ServletContainer
-
-