@ProviderType public interface ApiResponse
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBody()
Get the body to returned in the response.
|
java.lang.Iterable<Modification> |
getChanges() |
java.lang.String |
getContentType()
Get the content type of the body returned by this ApiResponse.
|
Resource |
getEntity()
Get the entity to be used as the body in the response.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getHeaders()
Get the HTTP headers to be added to the response.
|
java.lang.Integer |
getStatusCode()
Get the HTTP status code to be used in the response.
|
java.lang.String |
getStatusMessage()
Get the HTTP status message to be used in the response.
|
@CheckForNull java.lang.Integer getStatusCode()
@CheckForNull java.lang.String getStatusMessage()
@CheckForNull java.util.Map<java.lang.String,java.lang.String[]> getHeaders()
@CheckForNull Resource getEntity()
@CheckForNull java.lang.Object getBody()
@CheckForNull java.lang.String getContentType()
@CheckForNull java.lang.Iterable<Modification> getChanges()
Copyright © 2010 - 2020 Adobe. All Rights Reserved