Class RemoteApiServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class RemoteApiServlet
    extends javax.servlet.http.HttpServlet
    Remote API servlet handler.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doGet​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Serve GET requests with a YAML encoding of the app-id and a validation token.
      void doPost​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Serve POST requests by forwarding calls to ApiProxy.
      • Methods inherited from class javax.servlet.http.HttpServlet

        service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
    • Constructor Detail

      • RemoteApiServlet

        public RemoteApiServlet()
    • Method Detail

      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
                   throws IOException
        Serve GET requests with a YAML encoding of the app-id and a validation token.
        Throws:
        IOException
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest req,
                           javax.servlet.http.HttpServletResponse res)
                    throws IOException
        Serve POST requests by forwarding calls to ApiProxy.
        Throws:
        IOException