Class AvatarServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.logicaldoc.web.AvatarServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AvatarServlet extends javax.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 Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Constructor of the object.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    The doGet method of the servlet.

    Methods inherited from class javax.servlet.http.HttpServlet Link icon

    service

    Methods inherited from class javax.servlet.GenericServlet Link icon

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log

    Methods inherited from class java.lang.Object Link icon

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

  • Constructor Details Link icon

    • AvatarServlet Link icon

      public AvatarServlet()
      Constructor of the object.
  • Method Details Link icon

    • doGet Link icon

      public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.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:
      javax.servlet.ServletException - if an error occurred
      IOException - if an error occurred