Class ContributionsExecutor


  • public class ContributionsExecutor
    extends RequestExecutor
    Includes the execute method for requests mapped to /contributions/couht and /users/count.
    • Constructor Detail

      • ContributionsExecutor

        public ContributionsExecutor​(javax.servlet.http.HttpServletRequest servletRequest,
                                     javax.servlet.http.HttpServletResponse servletResponse,
                                     boolean isDensity)
    • Method Detail

      • count

        public Response count​(boolean isUsersRequest)
                       throws Exception
        Performs a count calculation using contributions for the /contributions/count or the /users/count endpoint.
        Returns:
        Response
        Throws:
        Exception - thrown by processParameters, count