Class StatWS

java.lang.Object
org.gluu.oxauth.ws.rs.stat.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 Details

    • StatWS

      public StatWS()
  • Method Details

    • statGet

      @GET @Produces("application/json") public javax.ws.rs.core.Response statGet(@HeaderParam("Authorization") String authorization, @QueryParam("month") String month, @QueryParam("format") String format)
    • statPost

      @POST @Produces("application/json") public javax.ws.rs.core.Response statPost(@HeaderParam("Authorization") String authorization, @FormParam("month") String month, @FormParam("format") String format)
    • stat

      public javax.ws.rs.core.Response stat(String authorization, String month, String format)
    • createOpenMetricsResponse

      public static String createOpenMetricsResponse(StatResponse statResponse) throws IOException
      Throws:
      IOException