Package org.alfresco.repo.web.scripts
Class TenantWebScriptServletRequest
- java.lang.Object
-
- org.springframework.extensions.webscripts.WebScriptRequestImpl
-
- org.springframework.extensions.webscripts.servlet.WebScriptServletRequest
-
- org.alfresco.repo.web.scripts.TenantWebScriptServletRequest
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScriptRequest
- Direct Known Subclasses:
PublicApiTenantWebScriptServletRequest
public class TenantWebScriptServletRequest extends org.springframework.extensions.webscripts.servlet.WebScriptServletRequestWeb Script Request which can handle a tenant id in their servlet path- Author:
- davidc
-
-
Constructor Summary
Constructors Constructor Description TenantWebScriptServletRequest(org.springframework.extensions.webscripts.Runtime container, javax.servlet.http.HttpServletRequest req, org.springframework.extensions.webscripts.Match serviceMatch, org.springframework.extensions.config.ServerProperties serverProperties)Construction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPathInfo()protected StringgetRealPathInfo()StringgetServiceContextPath()StringgetTenant()protected voidparse()-
Methods inherited from class org.springframework.extensions.webscripts.servlet.WebScriptServletRequest
forceSuccessStatus, getAgent, getContent, getContentType, getContextPath, getFileField, getHeader, getHeaderNames, getHeaderValues, getHttpServletRequest, getParameter, getParameterNames, getParameterValues, getQueryString, getServerPath, getServiceMatch, getServicePath, getURL, resolveUserAgent, toString
-
-
-
-
Constructor Detail
-
TenantWebScriptServletRequest
public TenantWebScriptServletRequest(org.springframework.extensions.webscripts.Runtime container, javax.servlet.http.HttpServletRequest req, org.springframework.extensions.webscripts.Match serviceMatch, org.springframework.extensions.config.ServerProperties serverProperties)Construction- Parameters:
container- Runtimereq- HttpServletRequestserviceMatch- MatchserverProperties- ServerProperties
-
-
Method Detail
-
parse
protected void parse()
-
getServiceContextPath
public String getServiceContextPath()
- Specified by:
getServiceContextPathin interfaceorg.springframework.extensions.webscripts.WebScriptRequest- Overrides:
getServiceContextPathin classorg.springframework.extensions.webscripts.servlet.WebScriptServletRequest
-
getPathInfo
public String getPathInfo()
- Specified by:
getPathInfoin interfaceorg.springframework.extensions.webscripts.WebScriptRequest- Overrides:
getPathInfoin classorg.springframework.extensions.webscripts.servlet.WebScriptServletRequest
-
getTenant
public String getTenant()
-
getRealPathInfo
protected String getRealPathInfo()
-
-