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