Class ResourceJspBean


  • public class ResourceJspBean
    extends java.lang.Object
    JSP Bean for document file resource management
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceJspBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getContent()
      Returns the content of the file resource
      java.lang.String getContentType()
      Returns the content type of the file resource
      void loadResource​(javax.servlet.http.HttpServletRequest request)
      Load a file resource corresponding to a file attribute of a document
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceJspBean

        public ResourceJspBean()
    • Method Detail

      • loadResource

        public void loadResource​(javax.servlet.http.HttpServletRequest request)
        Load a file resource corresponding to a file attribute of a document
        Parameters:
        request - The HTTP request
      • getContent

        public byte[] getContent()
        Returns the content of the file resource
        Returns:
        The content of the file resource
      • getContentType

        public java.lang.String getContentType()
        Returns the content type of the file resource
        Returns:
        The content type of the file resource