Package es.ua.dccia.negocio

Examples of es.ua.dccia.negocio.IImagenService


                                    @Context UriInfo uriInfo,
                                    @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();
    }
View Full Code Here

TOP

Related Classes of es.ua.dccia.negocio.IImagenService

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.