Examples of BlogCommentSerializer


Examples of com.ibm.sbt.services.client.connections.blogs.serializers.BlogCommentSerializer

    if (null == comment){
      throw new ClientServicesException(null,"null comment");
    }
    Response result = null;
    comment.setPostUuid(postUuid);
    BlogCommentSerializer serializer = new BlogCommentSerializer(comment);
    String payload = serializer.createPayload();

    String createCommentUrl = BlogUrls.CREATE_COMMENT.format(this, BlogUrlParts.blogHandle.get(blogHandle), BlogUrlParts.entryAnchor.get(""));
   
    result = createData(createCommentUrl, null, getAtomHeaders(), payload);
    checkResponseCode(result, HTTPCode.CREATED);
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.