Class SourceServlet

  • All Implemented Interfaces:
    com.composum.sling.core.service.RestrictedService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class SourceServlet
    extends org.apache.sling.api.servlets.SlingSafeMethodsServlet
    implements com.composum.sling.core.service.RestrictedService
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGet​(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response)  
      com.composum.sling.core.service.ServiceRestrictions.Key getServiceKey()  
      • Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet

        doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
    • Constructor Detail

      • SourceServlet

        public SourceServlet()
    • Method Detail

      • getServiceKey

        public com.composum.sling.core.service.ServiceRestrictions.Key getServiceKey()
        Specified by:
        getServiceKey in interface com.composum.sling.core.service.RestrictedService
      • doGet

        protected void doGet​(@NotNull
                             @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                             @NotNull
                             @NotNull org.apache.sling.api.SlingHttpServletResponse response)
                      throws javax.servlet.ServletException,
                             IOException
        Overrides:
        doGet in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
        Throws:
        javax.servlet.ServletException
        IOException