Interface BatchSingleResponse
-
- All Superinterfaces:
BatchParserResult
public interface BatchSingleResponse extends BatchParserResult
A BatchSingleResponseBatchSingleResponse represents a single response of a Batch Response body. It can be a response to a change request of ChangeSet or a response to a retrieve request
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBody()StringgetContentId()StringgetHeader(String name)Set<String>getHeaderNames()Map<String,String>getHeaders()StringgetStatusCode()StringgetStatusInfo()
-
-
-
Method Detail
-
getStatusCode
String getStatusCode()
- Returns:
- a result code of the attempt to understand and satisfy the request
-
getStatusInfo
String getStatusInfo()
- Returns:
- a short textual description of the status code
-
getContentId
String getContentId()
- Returns:
- a value of the Content-Id header
-
getBody
String getBody()
- Returns:
- a body part of a response message
-
getHeader
String getHeader(String name)
- Parameters:
name- HTTP response header name- Returns:
- a header value or null if not set
-
-