Interface BatchSingleResponse
- All Superinterfaces:
BatchParserResult
- All Known Implementing Classes:
BatchSingleResponseImpl
A BatchSingleResponse
BatchSingleResponse 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
-
Method Details
-
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
-
getHeaders
- Returns:
- all available headers
-
getHeader
- Parameters:
name- HTTP response header name- Returns:
- a header value or null if not set
-
getHeaderNames
- Returns:
- a set of all available header names
-