Class XmlRpcServlet

Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.liferay.portal.xmlrpc.XmlRpcServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class XmlRpcServlet extends jakarta.servlet.http.HttpServlet
Author:
Alexander Chow, Brian Wing Shun Chan
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doGet(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)
     
    protected void
    doPost(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)
     
    protected String
    getToken(jakarta.servlet.http.HttpServletRequest httpServletRequest)
     
    protected com.liferay.portal.kernel.xmlrpc.Response
    invokeMethod(long companyId, String token, String methodName, Object[] arguments)
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPut, doTrace, getLastModified, init, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XmlRpcServlet

      public XmlRpcServlet()
  • Method Details

    • doGet

      protected void doGet(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws IOException, jakarta.servlet.ServletException
      Overrides:
      doGet in class jakarta.servlet.http.HttpServlet
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doPost

      protected void doPost(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)
      Overrides:
      doPost in class jakarta.servlet.http.HttpServlet
    • getToken

      protected String getToken(jakarta.servlet.http.HttpServletRequest httpServletRequest)
    • invokeMethod

      protected com.liferay.portal.kernel.xmlrpc.Response invokeMethod(long companyId, String token, String methodName, Object[] arguments) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException
      Throws:
      com.liferay.portal.kernel.xmlrpc.XmlRpcException