org.apache.sling.engine.impl
Class SlingMainServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.engine.impl.SlingMainServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
@Properties(value={@Property(name="service.vendor",value="The Apache Software Foundation"),@Property(name="service.description",value="Sling Servlet")})
@References(value={@Reference(name="ErrorHandler",referenceInterface=ErrorHandler.class,cardinality=OPTIONAL_UNARY,policy=DYNAMIC,bind="setErrorHandler",unbind="unsetErrorHandler"),@Reference(name="RequestLogger",referenceInterface=RequestLogger.class,cardinality=OPTIONAL_UNARY,policy=DYNAMIC,bind="setRequestLogger",unbind="unsetRequestLogger"),@Reference(name="ServletResolver",referenceInterface=ServletResolver.class,cardinality=OPTIONAL_UNARY,policy=DYNAMIC,bind="setServletResolver",unbind="unsetServletResolver"),@Reference(name="MimeTypeService",referenceInterface=MimeTypeService.class,cardinality=OPTIONAL_UNARY,policy=DYNAMIC,bind="setMimeTypeService",unbind="unsetMimeTypeService"),@Reference(name="AuthenticationSupport",referenceInterface=AuthenticationSupport.class,cardinality=OPTIONAL_UNARY,policy=DYNAMIC,bind="setAuthenticationSupport",unbind="unsetAuthenticationSupport")})
public class SlingMainServlet
- extends javax.servlet.GenericServlet
The SlingMainServlet
TODO
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_MAX_CALL_COUNTER
@Property(intValue=1000)
public static final String PROP_MAX_CALL_COUNTER
- See Also:
- Constant Field Values
PROP_MAX_INCLUSION_COUNTER
@Property(intValue=50)
public static final String PROP_MAX_INCLUSION_COUNTER
- See Also:
- Constant Field Values
DEFAULT_ALLOW_TRACE
public static final boolean DEFAULT_ALLOW_TRACE
- See Also:
- Constant Field Values
PROP_ALLOW_TRACE
@Property(boolValue=false)
public static final String PROP_ALLOW_TRACE
- See Also:
- Constant Field Values
DEFAULT_FILTER_COMPAT_MODE
public static final boolean DEFAULT_FILTER_COMPAT_MODE
- See Also:
- Constant Field Values
PROP_FILTER_COMPAT_MODE
@Property(boolValue=false)
public static final String PROP_FILTER_COMPAT_MODE
- See Also:
- Constant Field Values
SlingMainServlet
public SlingMainServlet()
service
public void service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
throws javax.servlet.ServletException
- Specified by:
service
in interface javax.servlet.Servlet
- Specified by:
service
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
getServerInfo
public String getServerInfo()
activate
@Activate
protected void activate(org.osgi.framework.BundleContext bundleContext,
Map<String,Object> componentConfig)
deactivate
@Deactivate
protected void deactivate()
setServletResolver
public void setServletResolver(ServletResolver servletResolver)
unsetServletResolver
public void unsetServletResolver(ServletResolver servletResolver)
setRequestLogger
public void setRequestLogger(RequestLogger requestLogger)
unsetRequestLogger
public void unsetRequestLogger(RequestLogger requestLogger)
setMimeTypeService
public void setMimeTypeService(MimeTypeService mimeTypeService)
unsetMimeTypeService
public void unsetMimeTypeService(MimeTypeService mimeTypeService)
setAuthenticationSupport
public void setAuthenticationSupport(AuthenticationSupport authenticationSupport)
unsetAuthenticationSupport
public void unsetAuthenticationSupport(AuthenticationSupport authenticationSupport)
getMimeType
public String getMimeType(String name)
adaptTo
public <Type> Type adaptTo(Object object,
Class<Type> type)
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.