Class BatchSingleResponseImpl
java.lang.Object
org.apache.olingo.odata2.core.batch.BatchSingleResponseImpl
- All Implemented Interfaces:
BatchParserResult,BatchSingleResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()voidvoidsetContentId(String contentId) voidsetHeaders(Map<String, String> headers) voidsetStatusCode(String statusCode) voidsetStatusInfo(String statusInfo)
-
Constructor Details
-
BatchSingleResponseImpl
public BatchSingleResponseImpl()
-
-
Method Details
-
getStatusCode
- Specified by:
getStatusCodein interfaceBatchSingleResponse- Returns:
- a result code of the attempt to understand and satisfy the request
-
getStatusInfo
- Specified by:
getStatusInfoin interfaceBatchSingleResponse- Returns:
- a short textual description of the status code
-
getBody
- Specified by:
getBodyin interfaceBatchSingleResponse- Returns:
- a body part of a response message
-
getHeaders
- Specified by:
getHeadersin interfaceBatchSingleResponse- Returns:
- all available headers
-
getContentId
- Specified by:
getContentIdin interfaceBatchSingleResponse- Returns:
- a value of the Content-Id header
-
getHeader
- Specified by:
getHeaderin interfaceBatchSingleResponse- Parameters:
name- HTTP response header name- Returns:
- a header value or null if not set
-
getHeaderNames
- Specified by:
getHeaderNamesin interfaceBatchSingleResponse- Returns:
- a set of all available header names
-
setStatusCode
-
setStatusInfo
-
setBody
-
setHeaders
-
setContentId
-