public class WebScriptServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected ServletAuthenticatorFactory |
authenticatorFactory |
protected ConfigService |
configService |
protected RuntimeContainer |
container |
protected static ServerProperties |
serverProperties
Host Server Configuration
|
| Constructor and Description |
|---|
WebScriptServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
protected void |
initServlet(org.springframework.context.ApplicationContext context)
Servlet specific initialisation
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
static void |
setLanguageFromRequestHeader(javax.servlet.http.HttpServletRequest req)
Apply Client and Repository language locale based on the 'Accept-Language' request header
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprotected RuntimeContainer container
protected ServletAuthenticatorFactory authenticatorFactory
protected ConfigService configService
protected static ServerProperties serverProperties
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void initServlet(org.springframework.context.ApplicationContext context)
context - ApplicationContextpublic static void setLanguageFromRequestHeader(javax.servlet.http.HttpServletRequest req)
Copyright © 2005–2018 Alfresco Software. All rights reserved.