Package com.adaptris.interlok.cloud
Interface BlobListRenderer
-
public interface BlobListRenderer
Interface for rendering a list of blobs into an existing message.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default void
render(java.lang.Iterable<RemoteBlob> list, InterlokMessage msg)
Render the list ofRemoteBlob
instances into the message.static InterlokException
wrapInterlokException(java.lang.String msg, java.lang.Throwable e)
static InterlokException
wrapInterlokException(java.lang.Throwable e)
-
-
-
Method Detail
-
render
default void render(java.lang.Iterable<RemoteBlob> list, InterlokMessage msg) throws InterlokException
Render the list ofRemoteBlob
instances into the message.- Parameters:
list
- the list ofRemoteBlob
msg
- the message- Throws:
InterlokException
- wrapping other exceptions.- Implementation Note:
- The default implementation simply writes the name of each remote blob into the message.
-
wrapInterlokException
static InterlokException wrapInterlokException(java.lang.String msg, java.lang.Throwable e)
-
wrapInterlokException
static InterlokException wrapInterlokException(java.lang.Throwable e)
-
-