Class StatResource

    • Field Summary

      • Fields inherited from class io.jans.configapi.core.rest.BaseResource

        FIELD_VALUE_SEPARATOR, MISSING_ATTRIBUTE_CODE, MISSING_ATTRIBUTE_MESSAGE, TOKEN_DELIMITER
    • Constructor Summary

      Constructors 
      Constructor Description
      StatResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getStatistics​(String authorization, String month, String startMonth, String endMonth, String format)  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException
    • Constructor Detail

      • StatResource

        public StatResource()
    • Method Detail

      • getStatistics

        @GET
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getStatistics​(@HeaderParam("Authorization")
                                                         String authorization,
                                                         @QueryParam("month")
                                                         String month,
                                                         @QueryParam("start_month")
                                                         String startMonth,
                                                         @QueryParam("end_month")
                                                         String endMonth,
                                                         @QueryParam("format")
                                                         String format)