Class CollectRequestResponse


  • public class CollectRequestResponse
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String COLLECT  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.ws.rs.core.Response toResponseOK​(java.lang.Object entity)  
      static javax.ws.rs.core.Response toVitamError​(javax.ws.rs.core.Response.Status status, java.lang.String message)  
      • Methods inherited from class java.lang.Object

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

      • toResponseOK

        public static javax.ws.rs.core.Response toResponseOK​(java.lang.Object entity)
      • toVitamError

        public static javax.ws.rs.core.Response toVitamError​(javax.ws.rs.core.Response.Status status,
                                                             java.lang.String message)