Class BlobObject

    • Constructor Detail

      • BlobObject

        public BlobObject()
    • Method Detail

      • getAdapter

        public <A> A getAdapter​(Class<A> adapter)
        Description copied from interface: Adaptable
        Returns an object which is an instance of the given class associated with this object. Returns null if no such object can be found.
        Specified by:
        getAdapter in interface Adaptable
        Overrides:
        getAdapter in class AbstractResource<ResourceTypeImpl>
        Parameters:
        adapter - the adapter class to look up
        Returns:
        a object castable to the given class, or null if this object does not have an adapter for the given class
      • doGet

        public Object doGet​(@Context
                            javax.ws.rs.core.Request request)
      • buildResponseFromBlob

        @Deprecated
        public static javax.ws.rs.core.Response buildResponseFromBlob​(javax.ws.rs.core.Request request,
                                                                      javax.servlet.http.HttpServletRequest httpServletRequest,
                                                                      Blob blob,
                                                                      String filename)
        Deprecated.
        since 7.3. Now returns directly the Blob and use default BlobWriter.
      • doDelete

        public javax.ws.rs.core.Response doDelete()
      • doPut

        public javax.ws.rs.core.Response doPut()