src/main/java/org/efaps/ui/wicket/behaviors/AjaxDownloadBehavior.java
protected IResourceStream getResourceStream()
    {
        final File file = EFapsSession.get().getFile();
        final FileResourceStream ret = new FileResourceStream(file);
        EFapsSession.get().setFile(null);
        return ret;
    }
protected IResourceStream getResourceStream()
    {
        final File file = EFapsSession.get().getFile();
        final FileResourceStream ret = new FileResourceStream(file);
        EFapsSession.get().setFile(null);
        return ret;
    }
protected IResourceStream getResourceStream ( ) { final File file = EFapsSession . get ( ) . getFile ( ) ; final FileResourceStream ret = new FileResourceStream ( file ) ; EFapsSession . get ( ) . setFile ( null ) ; return ret ; }
Hook method providing the actual resource stream.
@return stream
Hook method providing the actual resource stream .