Package org.sonatype.nexus.rest

Examples of org.sonatype.nexus.rest.StorageFileItemRepresentation


        String redirectMessage =
            "If you are not automatically redirected use this url: " + fileReference.toString();
        return redirectMessage;
      }
      else {
        Representation result = new StorageFileItemRepresentation(file);

        result.setDownloadable(true);

        result.setDownloadName(file.getName());

        return result;
      }

    }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.rest.StorageFileItemRepresentation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.