Restlet Framework 2.2.3
OSGi Environments

org.restlet.ext.servlet
Class ApplicationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.restlet.ext.servlet.ServerServlet
              extended by 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

Constructor Summary
ApplicationServlet(ApplicationProvider applicationProvider)
           
 
Method Summary
protected  Application createApplication(Context context)
          Creates the single Application used by this Servlet.
 void init(ServletConfig config)
           
 
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 javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationServlet

public ApplicationServlet(ApplicationProvider applicationProvider)
Method Detail

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

Restlet Framework 2.2.3
OSGi Environments

Copyright © 2005-2014 Restlet.