Package com.logicaldoc.web
Class AvatarServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.logicaldoc.web.AvatarServlet
- All Implemented Interfaces:
- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
public class AvatarServlet
extends jakarta.servlet.http.HttpServlet
This servlet provides the user's avatar image, if it is not already available
 a default one will be generated and saved in the user's profile
- Since:
- 8.6.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- 
Field SummaryFieldsFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) The doGet method of the servlet.Methods inherited from class jakarta.servlet.http.HttpServletinit, serviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Field Details- 
USER_ID- See Also:
 
 
- 
- 
Constructor Details- 
AvatarServletpublic AvatarServlet()Constructor of the object.
 
- 
- 
Method Details- 
doGetpublic void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException The doGet method of the servlet.
 This method is called when a form has its tag value method equals to get.- Parameters:
- request- the request send by the client to the server
- response- the response send by the server to the client
- Throws:
- jakarta.servlet.ServletException- if an error occurred
- IOException- if an error occurred
 
 
-