Class ResponseUtils


  • public abstract class ResponseUtils
    extends Object
    • Method Detail

      • createResponse

        public static <T> javax.ws.rs.core.Response createResponse​(List<T> entities,
                                                                   long offset,
                                                                   long totalCount)
      • getContentRange

        public static String getContentRange​(long itemCount,
                                             long offset,
                                             long totalCount)