public class PublicApiTenantWebScriptServletRuntime extends TenantWebScriptServletRuntime implements ResponseWriter
authFactory, req, res, serverProperties, servletReq, servletRes, servletSession
container, exceptionLogger, logger, session
CACHE_NEVER, DEFAULT_JSON_CONTENT, DEFAULT_SUCCESS, UTF8
Constructor and Description |
---|
PublicApiTenantWebScriptServletRuntime(org.springframework.extensions.webscripts.RuntimeContainer container,
org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory authFactory,
HttpServletRequest req,
HttpServletResponse res,
org.springframework.extensions.config.ServerProperties serverProperties,
ApiAssistant apiAssistant) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.extensions.webscripts.WebScriptRequest |
createRequest(org.springframework.extensions.webscripts.Match match) |
String |
getName() |
protected String |
getScriptUrl() |
protected void |
renderErrorResponse(org.springframework.extensions.webscripts.Match match,
Throwable exception,
org.springframework.extensions.webscripts.WebScriptRequest request,
org.springframework.extensions.webscripts.WebScriptResponse response) |
createAuthenticator, createResponse, createSessionFactory, getHttpServletRequest, getHttpServletResponse, getScriptMethod, getSupportedMethods
beforeProcessError, executeScript, executeScript, getContainer, getFormatStatusTemplate, getRealWebScriptRequest, getRealWebScriptResponse, getScriptParameters, getSession, getStatusCodeTemplate, getStatusTemplate, getTemplateParameters, setURLModelFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderErrorResponse, renderException, renderJsonResponse, resWriterLogger, setContentInfoOnResponse, setResponse, setResponse
public PublicApiTenantWebScriptServletRuntime(org.springframework.extensions.webscripts.RuntimeContainer container, org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory authFactory, HttpServletRequest req, HttpServletResponse res, org.springframework.extensions.config.ServerProperties serverProperties, ApiAssistant apiAssistant)
protected String getScriptUrl()
getScriptUrl
in class TenantWebScriptServletRuntime
protected org.springframework.extensions.webscripts.WebScriptRequest createRequest(org.springframework.extensions.webscripts.Match match)
createRequest
in class TenantWebScriptServletRuntime
public String getName()
getName
in interface org.springframework.extensions.webscripts.Runtime
getName
in class TenantWebScriptServletRuntime
protected void renderErrorResponse(org.springframework.extensions.webscripts.Match match, Throwable exception, org.springframework.extensions.webscripts.WebScriptRequest request, org.springframework.extensions.webscripts.WebScriptResponse response)
renderErrorResponse
in class org.springframework.extensions.webscripts.AbstractRuntime
Copyright © 2005–2017 Alfresco Software. All rights reserved.