Class ResponseUtils


  • public abstract class ResponseUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> javax.ws.rs.core.Response createResponse​(java.util.List<T> entities, long offset, long totalCount)  
      static java.lang.String getContentRange​(long itemCount, long offset, long totalCount)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createResponse

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

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