Examples of guardaFotoYThumbnail()


Examples of es.ua.dccia.negocio.IImagenService.guardaFotoYThumbnail()

                                    @FormDataParam("imagen") InputStream in,
                                    @FormDataParam("imagen") FormDataContentDisposition fileDetail) {
        if (!login.equals(sc.getUserPrincipal().getName()))
            return Response.status(Response.Status.FORBIDDEN).build();
        IImagenService imagenService = ImagenService.getInstance();
        imagenService.guardaFotoYThumbnail(in, IImagenService.PROFILE_FOLDER, login, IImagenService.THUMB_PROFILE_WIDTH);
        URI uri = uriInfo.getAbsolutePath();   
        return Response.created(uri).build();
    }
   
    @GET
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.