Class TenantWebScriptServletRuntime

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.Runtime
    Direct Known Subclasses:
    PublicApiTenantWebScriptServletRuntime

    public class TenantWebScriptServletRuntime
    extends org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
    HTTP Servlet Web Script Runtime which can handle a tenant id in a web script path
    Author:
    davidc
    • Field Summary

      • Fields inherited from class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime

        authFactory, req, res, serverProperties, servletReq, servletRes, servletSession
      • Fields inherited from class org.springframework.extensions.webscripts.AbstractRuntime

        container, exceptionLogger, logger, session
    • Constructor Summary

      Constructors 
      Constructor Description
      TenantWebScriptServletRuntime​(org.springframework.extensions.webscripts.RuntimeContainer container, org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory authFactory, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, org.springframework.extensions.config.ServerProperties serverProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.extensions.webscripts.WebScriptRequest createRequest​(org.springframework.extensions.webscripts.Match match)  
      String getName()  
      protected String getScriptUrl()  
      • Methods inherited from class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime

        createAuthenticator, createResponse, createSessionFactory, getHttpServletRequest, getHttpServletResponse, getScriptMethod, getSupportedMethods
      • Methods inherited from class org.springframework.extensions.webscripts.AbstractRuntime

        beforeProcessError, executeScript, executeScript, getContainer, getFormatStatusTemplate, getRealWebScriptRequest, getRealWebScriptResponse, getScriptParameters, getSession, getStatusCodeTemplate, getStatusTemplate, getTemplateParameters, renderErrorResponse, setURLModelFactory
    • Constructor Detail

      • TenantWebScriptServletRuntime

        public TenantWebScriptServletRuntime​(org.springframework.extensions.webscripts.RuntimeContainer container,
                                             org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory authFactory,
                                             javax.servlet.http.HttpServletRequest req,
                                             javax.servlet.http.HttpServletResponse res,
                                             org.springframework.extensions.config.ServerProperties serverProperties)
    • Method Detail

      • getScriptUrl

        protected String getScriptUrl()
        Overrides:
        getScriptUrl in class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
      • createRequest

        protected org.springframework.extensions.webscripts.WebScriptRequest createRequest​(org.springframework.extensions.webscripts.Match match)
        Overrides:
        createRequest in class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
      • getName

        public String getName()
        Specified by:
        getName in interface org.springframework.extensions.webscripts.Runtime
        Overrides:
        getName in class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime