public class SocialOperationResult extends Object
Constructor and Description |
---|
SocialOperationResult(SocialComponent socialComponent,
int responseStatus,
String resourcePath) |
SocialOperationResult(SocialComponent resource,
String httpStatusMessage,
int httpStatusCode,
String path) |
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode() |
String |
getHttpStatusMessage() |
String |
getPath() |
SocialComponent |
getResource() |
public SocialOperationResult(SocialComponent resource, String httpStatusMessage, int httpStatusCode, String path)
resource
- the social component that was part of the operation. This resource is converted to json which
is returned in the payload.httpStatusMessage
- HTTP status messagehttpStatusCode
- HTTP status codepath
- path to the resource that was touch by the operation.public SocialOperationResult(SocialComponent socialComponent, int responseStatus, String resourcePath)
resource
- the social component that was part of the operation. This resource is converted to json which
is returned in the payload.httpStatusCode
- HTTP status codepath
- path to the resource that was touch by the operation.public SocialComponent getResource()
public String getHttpStatusMessage()
public int getHttpStatusCode()
public String getPath()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"