Interface BatchSingleResponse

All Superinterfaces:
BatchParserResult
All Known Implementing Classes:
BatchSingleResponseImpl

public interface BatchSingleResponse extends BatchParserResult
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 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

      Map<String,String> getHeaders()
      Returns:
      all available headers
    • getHeader

      String getHeader(String name)
      Parameters:
      name - HTTP response header name
      Returns:
      a header value or null if not set
    • getHeaderNames

      Set<String> getHeaderNames()
      Returns:
      a set of all available header names