Package com.adaptris.core.json
Class JsonBlobListRenderer
- java.lang.Object
-
- com.adaptris.core.json.JsonBlobListRenderer
-
- All Implemented Interfaces:
BlobListRenderer
- Direct Known Subclasses:
JsonBlobListRendererLines
@ComponentProfile(summary="Render a list of RemoteBlob objects as a JSON Array", since="3.9.2", tag="cloud,aws,jclouds,blob") public class JsonBlobListRenderer extends java.lang.Object implements BlobListRenderer
Render a list ofRemoteBlob
as a JSON Array.In the adapter configuration file this class is aliased as remote-blob-list-as-json which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description JsonBlobListRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
mapInsert(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String key, java.lang.Object obj)
void
render(java.lang.Iterable<RemoteBlob> blobs, InterlokMessage msg)
-
-
-
Method Detail
-
render
public void render(java.lang.Iterable<RemoteBlob> blobs, InterlokMessage msg) throws InterlokException
- Specified by:
render
in interfaceBlobListRenderer
- Throws:
InterlokException
-
mapInsert
protected void mapInsert(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String key, java.lang.Object obj)
-
-