public class ConvertAdapter extends DefaultAdapter
| Constructor and Description |
|---|
ConvertAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Serializable> |
computeConversionParameters(javax.ws.rs.core.UriInfo uriInfo) |
Object |
convert(String converter,
String type,
String format,
boolean async,
javax.ws.rs.core.UriInfo uriInfo) |
Blob |
convert(String converter,
String type,
String format,
javax.ws.rs.core.UriInfo uriInfo) |
protected Blob |
convertWithConverter(BlobHolder bh,
String converter,
javax.ws.rs.core.UriInfo uriInfo) |
protected Blob |
convertWithFormat(BlobHolder bh,
String format,
javax.ws.rs.core.UriInfo uriInfo) |
protected Blob |
convertWithMimeType(BlobHolder bh,
String mimeType,
javax.ws.rs.core.UriInfo uriInfo) |
protected BlobHolder |
getBlobHolderToConvert() |
disptachAdapter, getTarget, isAdaptercheckGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckGuard, 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, setRootgetAdapterpublic static final String NAME
public ConvertAdapter()
public Blob convert(String converter, String type, String format, @Context javax.ws.rs.core.UriInfo uriInfo)
protected BlobHolder getBlobHolderToConvert()
protected Blob convertWithConverter(BlobHolder bh, String converter, javax.ws.rs.core.UriInfo uriInfo)
protected Map<String,Serializable> computeConversionParameters(javax.ws.rs.core.UriInfo uriInfo)
protected Blob convertWithMimeType(BlobHolder bh, String mimeType, javax.ws.rs.core.UriInfo uriInfo)
protected Blob convertWithFormat(BlobHolder bh, String format, javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2018 Nuxeo. All rights reserved.