Package com.emc.atmos.api.request

Examples of com.emc.atmos.api.request.CreateObjectRequest


    /*
     * @see com.emc.atmos.api.AtmosApi#createObject(java.lang.Object, java.lang.String)
     */
    @Override
    public ObjectId createObject(Object content, String contentType) {
        CreateObjectRequest req = new CreateObjectRequest();
        req.setContent(content);
        req.setContentType(contentType);
        CreateObjectResponse res = createObject(req);
       
        return res.getObjectId();
     }
View Full Code Here


     * @see com.emc.atmos.api.AtmosApi#createObject(com.emc.atmos.api.ObjectIdentifier, java.lang.Object, java.lang.String)
     */
    @Override
    public ObjectId createObject(ObjectIdentifier identifier, Object content,
            String contentType) {
        CreateObjectRequest req = new CreateObjectRequest();
        req.setIdentifier(identifier);
        req.setContent(content);
        req.setContentType(contentType);
        CreateObjectResponse res = createObject(req);
       
        return res.getObjectId();       
    }
View Full Code Here

TOP

Related Classes of com.emc.atmos.api.request.CreateObjectRequest

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.