Class StatWS


  • @ApplicationScoped
    @Path("/internal/stat")
    public class StatWS
    extends Object
    Provides server with basic statistic.

    https://github.com/GluuFederation/oxAuth/issues/1512 https://github.com/GluuFederation/oxAuth/issues/1321

    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • StatWS

        public StatWS()
    • Method Detail

      • statGet

        @GET
        @Produces("application/json")
        public jakarta.ws.rs.core.Response statGet​(@HeaderParam("Authorization")
                                                   String authorization,
                                                   @QueryParam("month")
                                                   String months,
                                                   @QueryParam("start-month")
                                                   String startMonth,
                                                   @QueryParam("end-month")
                                                   String endMonth,
                                                   @QueryParam("format")
                                                   String format)
      • statPost

        @POST
        @Produces("application/json")
        public jakarta.ws.rs.core.Response statPost​(@HeaderParam("Authorization")
                                                    String authorization,
                                                    @FormParam("month")
                                                    String months,
                                                    @FormParam("start-month")
                                                    String startMonth,
                                                    @FormParam("end-month")
                                                    String endMonth,
                                                    @FormParam("format")
                                                    String format)