Class PortalServletWrapper

  • All Implemented Interfaces:
    javax.servlet.Servlet

    public class PortalServletWrapper
    extends Object
    implements javax.servlet.Servlet
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • PortalServletWrapper

        public PortalServletWrapper​(Class<? extends javax.servlet.Servlet> wrappedClass,
                                    javax.servlet.annotation.WebServlet annotation)
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Throws:
        javax.servlet.ServletException
      • getServletConfig

        public javax.servlet.ServletConfig getServletConfig()
        Specified by:
        getServletConfig in interface javax.servlet.Servlet
      • service

        public void service​(javax.servlet.ServletRequest req,
                            javax.servlet.ServletResponse res)
                     throws javax.servlet.ServletException,
                            IOException
        Specified by:
        service in interface javax.servlet.Servlet
        Throws:
        javax.servlet.ServletException
        IOException
      • getServletInfo

        public String getServletInfo()
        Specified by:
        getServletInfo in interface javax.servlet.Servlet
      • getAnnotation

        public javax.servlet.annotation.WebServlet getAnnotation()
      • getUrlMappings

        public String[] getUrlMappings()
      • getWrapped

        @Deprecated
        public javax.servlet.Servlet getWrapped()
        Deprecated.
        You should not care about the wrapped servlet.
        Returns:
        The portal servlet wrapped by this instance.
      • getName

        public String getName()
        Returns:
        The name of this portal servlet, taken from the annotation if present, or defaulting to the fully qualified class name of the filter class.
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Servlet