Class ServletController


  • public class ServletController
    extends Object
    • Field Detail

      • isHideServiceList

        protected boolean isHideServiceList
      • isAuthServiceListPage

        protected boolean isAuthServiceListPage
      • disableAddressUpdates

        protected boolean disableAddressUpdates
      • authServiceListPageRealm

        protected String authServiceListPageRealm
      • forcedBaseAddress

        protected String forcedBaseAddress
      • serviceListRelativePath

        protected String serviceListRelativePath
      • servletConfig

        protected javax.servlet.ServletConfig servletConfig
      • serviceListGenerator

        protected javax.servlet.http.HttpServlet serviceListGenerator
    • Constructor Detail

      • ServletController

        public ServletController​(DestinationRegistry destinationRegistry,
                                 javax.servlet.ServletConfig config,
                                 javax.servlet.http.HttpServlet serviceListGenerator)
    • Method Detail

      • setServiceListRelativePath

        public void setServiceListRelativePath​(String relativePath)
      • getBaseURL

        protected String getBaseURL​(javax.servlet.http.HttpServletRequest request)
      • setBaseURLAttribute

        protected void setBaseURLAttribute​(javax.servlet.http.HttpServletRequest request)
      • updateDestination

        protected void updateDestination​(javax.servlet.http.HttpServletRequest request,
                                         AbstractHTTPDestination d)
      • updateDestination

        protected void updateDestination​(javax.servlet.http.HttpServletRequest request,
                                         String base,
                                         AbstractHTTPDestination d)
      • filter

        public boolean filter​(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse res)
                       throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • invoke

        public void invoke​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse res)
                    throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • invoke

        public boolean invoke​(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse res,
                              boolean returnErrors)
                       throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • invokeDestination

        public void invokeDestination​(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response,
                                      AbstractHTTPDestination d)
                               throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • generateNotFound

        protected void generateNotFound​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse res)
                                 throws IOException
        Throws:
        IOException