Interface BlobListRenderer


  • public interface BlobListRenderer
    Interface for rendering a list of blobs into an existing message.
    • Method Detail

      • render

        default void render​(java.lang.Iterable<RemoteBlob> list,
                            InterlokMessage msg)
                     throws InterlokException
        Render the list of RemoteBlob instances into the message.
        Parameters:
        list - the list of RemoteBlob
        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)