org.restlet.ext.servlet
Class ApplicationServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.restlet.ext.servlet.ServerServlet
org.restlet.ext.servlet.ApplicationServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class ApplicationServlet
- extends ServerServlet
- Author:
- Bryan Hunt, Wolfgang Werner
- See Also:
- Serialized Form
Methods inherited from class org.restlet.ext.servlet.ServerServlet |
createCall, createComponent, createServer, createWarClient, destroy, getApplication, getComponent, getContextPath, getInitParameter, getLocalAddr, getLocalPort, getServer, init, init, init, loadClass, service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationServlet
public ApplicationServlet(ApplicationProvider applicationProvider)
createApplication
protected Application createApplication(Context context)
- Description copied from class:
ServerServlet
- Creates the single Application used by this Servlet.
- Overrides:
createApplication
in class ServerServlet
- Parameters:
context
- The parent component context.
- Returns:
- The newly created Application or null if unable to create
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
Copyright © 2005-2014 Restlet.