public class BlobObject extends DefaultObject
Constructor and Description |
---|
BlobObject() |
Modifier and Type | Method and Description |
---|---|
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 . |
javax.ws.rs.core.Response |
doDelete() |
Object |
doGet(javax.ws.rs.core.Request request) |
javax.ws.rs.core.Response |
doPut() |
<A> A |
getAdapter(Class<A> adapter)
Returns an object which is an instance of the given class associated with this object.
|
protected Blob |
getBlob() |
BlobHolder |
getBlobHolder() |
DocumentModel |
getDocument() |
String |
getXpath() |
protected void |
initialize(Object... args) |
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
public BlobObject()
protected void initialize(Object... args)
initialize
in class AbstractResource<ResourceTypeImpl>
public <A> A getAdapter(Class<A> adapter)
Adaptable
null
if no such object can be found.getAdapter
in interface Adaptable
getAdapter
in class AbstractResource<ResourceTypeImpl>
adapter
- the adapter class to look upnull
if this object does not have an adapter for
the given classpublic BlobHolder getBlobHolder()
public DocumentModel getDocument()
@Deprecated public static javax.ws.rs.core.Response buildResponseFromBlob(javax.ws.rs.core.Request request, javax.servlet.http.HttpServletRequest httpServletRequest, Blob blob, String filename)
BlobWriter
.public javax.ws.rs.core.Response doDelete()
public javax.ws.rs.core.Response doPut()
Copyright © 2016 Nuxeo SA. All rights reserved.