public class SpringServerServlet extends org.restlet.ext.servlet.ServerServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_BEAN_PARAM_NAME
Name of the Servlet parameter containing a bean-id of the application to
use.
|
static String |
Component_BEAN_PARAM_NAME
Name of the Servlet parameter containing a bean-id of the component to
use.
|
| Constructor and Description |
|---|
SpringServerServlet() |
| Modifier and Type | Method and Description |
|---|---|
Application |
createApplication(Context parentContext)
Lookups the single Restlet Application used by this Servlet from the
SpringContext inside the ServletContext.
|
Component |
createComponent()
Lookups the single Restlet Component used by this Servlet from Spring's
Context available inside the ServletContext.
|
org.springframework.web.context.WebApplicationContext |
getWebApplicationContext()
Get the Spring WebApplicationContext from the ServletContext.
|
createCall, createServer, createWarClient, destroy, getApplication, getComponent, getContextPath, getInitParameter, getLocalAddr, getLocalPort, getServer, init, init, init, loadClass, servicedoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic static final String APPLICATION_BEAN_PARAM_NAME
public static final String Component_BEAN_PARAM_NAME
public Application createApplication(Context parentContext)
APPLICATION_BEAN_PARAM_NAME.createApplication in class org.restlet.ext.servlet.ServerServletparentContext - The parent component context.public Component createComponent()
Component_BEAN_PARAM_NAME.createComponent in class org.restlet.ext.servlet.ServerServletpublic org.springframework.web.context.WebApplicationContext getWebApplicationContext()
Copyright © 2005-2017 Restlet.