public class DefaultResponseWriter extends java.lang.Object implements ResponseWriter
ResponseWriter| Constructor and Description |
|---|
DefaultResponseWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected ResponseWriterPropertyPopulatorRegistry |
getPopulatorRegistry() |
void |
setPopulatorRegistry(ResponseWriterPropertyPopulatorRegistry populatorRegistry) |
ODataResponse |
write(ItemLookupRequest request,
EdmEntitySet entitySet,
ItemLookupResult<ODataEntry> result)
Writes a collection of data set as an ODataResponse
|
ODataResponse |
write(ItemLookupRequest itemLookupRequest,
EdmEntitySet entitySet,
java.util.Map<java.lang.String,java.lang.Object> data)
Writes a single data set as an
ODataResponse |
protected ODataResponse |
write(java.lang.String contentType,
EdmEntitySet entitySet,
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> feeds,
EntityProviderWriteProperties properties) |
protected ODataResponse |
write(java.lang.String contentType,
EdmEntitySet entitySet,
java.util.Map<java.lang.String,java.lang.Object> data,
EntityProviderWriteProperties writeProperties) |
public ODataResponse write(ItemLookupRequest itemLookupRequest, EdmEntitySet entitySet, java.util.Map<java.lang.String,java.lang.Object> data) throws ODataException
ResponseWriterODataResponsewrite in interface ResponseWriteritemLookupRequest - Parameter object containing the information for the writeentitySet - Entity set the data belong todata - Data to writeODataExceptionpublic ODataResponse write(ItemLookupRequest request, EdmEntitySet entitySet, ItemLookupResult<ODataEntry> result) throws ODataException
ResponseWriterwrite in interface ResponseWriterrequest - Parameter object containing the information for the writeentitySet - Entity set the data belong toresult - Collection of data to writeODataExceptionprotected ODataResponse write(java.lang.String contentType,
EdmEntitySet entitySet,
java.util.Map<java.lang.String,java.lang.Object> data,
EntityProviderWriteProperties writeProperties)
throws EntityProviderException
EntityProviderExceptionprotected ODataResponse write(java.lang.String contentType,
EdmEntitySet entitySet,
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> feeds,
EntityProviderWriteProperties properties)
throws EntityProviderException
EntityProviderExceptionprotected ResponseWriterPropertyPopulatorRegistry getPopulatorRegistry()
public void setPopulatorRegistry(ResponseWriterPropertyPopulatorRegistry populatorRegistry)
Copyright © 2018 SAP SE. All Rights Reserved.