java.lang.Object
de.hybris.platform.odata2services.odata.processor.handler.read.ReadHandler
All Implemented Interfaces:
ODataProcessorHandler<ReadParam,org.apache.olingo.odata2.api.processor.ODataResponse>

public class ReadHandler extends Object implements ODataProcessorHandler<ReadParam,org.apache.olingo.odata2.api.processor.ODataResponse>
ODataProcessor handler that a read request
  • Constructor Details

    • ReadHandler

      public ReadHandler()
  • Method Details

    • handle

      public org.apache.olingo.odata2.api.processor.ODataResponse handle(ReadParam param) throws org.apache.olingo.odata2.api.exception.ODataException
      Specified by:
      handle in interface ODataProcessorHandler<ReadParam,org.apache.olingo.odata2.api.processor.ODataResponse>
      Throws:
      org.apache.olingo.odata2.api.exception.ODataException
    • augmentResponse

      protected org.apache.olingo.odata2.api.processor.ODataResponse augmentResponse(ItemLookupRequest itemLookupRequest, org.apache.olingo.odata2.api.processor.ODataResponse readerResponse)
      Augment the given ODataResponse
      Parameters:
      itemLookupRequest - Item lookup request contains the information on how to create the response
      readerResponse - Response to augment
      Returns:
      The ODataResponse
    • getODataResponseBuilder

      protected org.apache.olingo.odata2.api.processor.ODataResponse.ODataResponseBuilder getODataResponseBuilder(org.apache.olingo.odata2.api.processor.ODataResponse readerResponse)
    • getItemLookupRequestFactory

      protected ItemLookupRequestFactory getItemLookupRequestFactory()
    • setItemLookupRequestFactory

      public void setItemLookupRequestFactory(ItemLookupRequestFactory itemLookupRequestFactory)
    • getEntityReaderRegistry

      protected EntityReaderRegistry getEntityReaderRegistry()
    • setEntityReaderRegistry

      public void setEntityReaderRegistry(EntityReaderRegistry entityReaderRegistry)