mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
ACS-5659 Jakarta Migration (#1983)
Co-authored-by: kcichonczyk <kamil.cichonczyk@hyland.com> Co-authored-by: Sara Aspery <sara.aspery@alfresco.com> Co-authored-by: kcichonczyk <88378534+kcichonczyk@users.noreply.github.com> Co-authored-by: Kacper Magdziarz <95610011+kmagdziarz@users.noreply.github.com> Co-authored-by: kmagdziarz <Kacper.Magdziarz@hyland.com> Co-authored-by: Marcin Strankowski <74721865+mstrankowski@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Remote API
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2021 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2023 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
@@ -38,18 +38,19 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.servlet.Filter;
|
||||
import javax.servlet.FilterRegistration;
|
||||
import javax.servlet.RequestDispatcher;
|
||||
import javax.servlet.Servlet;
|
||||
import javax.servlet.ServletConfig;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.ServletRegistration;
|
||||
import javax.servlet.SessionCookieConfig;
|
||||
import javax.servlet.SessionTrackingMode;
|
||||
import javax.servlet.descriptor.JspConfigDescriptor;
|
||||
import javax.servlet.http.HttpServlet;
|
||||
import jakarta.servlet.Filter;
|
||||
import jakarta.servlet.FilterRegistration;
|
||||
import jakarta.servlet.RequestDispatcher;
|
||||
import jakarta.servlet.Servlet;
|
||||
import jakarta.servlet.ServletConfig;
|
||||
import jakarta.servlet.ServletContext;
|
||||
import jakarta.servlet.ServletException;
|
||||
import jakarta.servlet.ServletRegistration;
|
||||
import jakarta.servlet.ServletRegistration.Dynamic;
|
||||
import jakarta.servlet.SessionCookieConfig;
|
||||
import jakarta.servlet.SessionTrackingMode;
|
||||
import jakarta.servlet.descriptor.JspConfigDescriptor;
|
||||
import jakarta.servlet.http.HttpServlet;
|
||||
|
||||
import org.alfresco.error.AlfrescoRuntimeException;
|
||||
import org.alfresco.opencmis.CMISDispatcherRegistry.Binding;
|
||||
@@ -306,6 +307,8 @@ public abstract class CMISServletDispatcher implements CMISDispatcher
|
||||
@Override
|
||||
public ServletContext getServletContext()
|
||||
{
|
||||
|
||||
|
||||
return new ServletContext()
|
||||
{
|
||||
|
||||
@@ -423,12 +426,6 @@ public abstract class CMISServletDispatcher implements CMISDispatcher
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Servlet getServlet(String arg0) throws ServletException
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getServletContextName()
|
||||
{
|
||||
@@ -453,6 +450,12 @@ public abstract class CMISServletDispatcher implements CMISDispatcher
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Dynamic addJspFile(String servletName, String jspFile)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends Servlet> T createServlet(Class<T> clazz) throws ServletException
|
||||
{
|
||||
@@ -574,27 +577,52 @@ public abstract class CMISServletDispatcher implements CMISDispatcher
|
||||
}
|
||||
|
||||
@Override
|
||||
public Enumeration getServletNames()
|
||||
public String getVirtualServerName()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Enumeration getServlets()
|
||||
public int getSessionTimeout()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSessionTimeout(int sessionTimeout)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRequestCharacterEncoding()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRequestCharacterEncoding(String encoding)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getResponseCharacterEncoding()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setResponseCharacterEncoding(String encoding)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void log(String arg0)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void log(Exception arg0, String arg1)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void log(String arg0, Throwable arg1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user