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) |
javax.ws.rs.core.Response |
doDelete() |
javax.ws.rs.core.Response |
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.
|
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 <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 javax.ws.rs.core.Response doGet(@Context javax.ws.rs.core.Request request) throws ClientException
ClientException
public static javax.ws.rs.core.Response buildResponseFromBlob(javax.ws.rs.core.Request request, javax.servlet.http.HttpServletRequest httpServletRequest, Blob blob, String filename)
public javax.ws.rs.core.Response doDelete()
public javax.ws.rs.core.Response doPut()
Copyright © 2015 Nuxeo SA. All rights reserved.