com.noelios.restlet.ext.servlet
Class ServletContextAdapter
java.lang.Object
org.restlet.Context
com.noelios.restlet.application.ApplicationContext
com.noelios.restlet.ext.servlet.ServletContextAdapter
public class ServletContextAdapter
- extends ApplicationContext
Context allowing access to the component's connectors, reusing the Servlet's
logging mechanism and adding the Servlet's initialization parameters to the
context's parameters.
- Author:
- Jerome Louvel (contact@noelios.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletContextAdapter
public ServletContextAdapter(Servlet servlet,
Application application,
Context parentContext)
- Constructor.
- Parameters:
servlet
- The parent Servlet.parentContext
- The parent context.application
- The parent application.
getServletContext
public ServletContext getServletContext()
- Returns the Servlet context.
- Returns:
- The Servlet context.
Copyright © 2005-2007 Noelios Consulting.