| DisplayResourceCommand |
Created by The eXo Platform SAS .
the command to output nt:resource to Servlet Response gets DefaultKeys.PATH attrribute from the
Context and acts as follow: - if there is nt:resource Node on DefaultKeys.PATH displays it -
otherwise recursively tries to get nt:resource from incoming node's primary items and display it
- throws PathNotFoundException if no such a node found WARNING: this mechanizm is not suitable
for big files streaming as uses byte arry buffer for data transfer! |