org.apache.olingo.client.api.communication.response

## Interface ODataRawResponse

- All Superinterfaces:
    ODataResponse

      public interface ODataRawResponse
      extends ODataResponse

  This interface represents a generic OData response.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> ResWrap<T>` | `getBodyAs(Class<T> reference)`

    - ### Methods inherited from interface org.apache.olingo.client.api.communication.response.ODataResponse

      `close, getContentType, getETag, getHeader, getHeaderNames, getRawResponse, getStatusCode, getStatusMessage, initFromBatch, initFromEnclosedPart, initFromHttpResponse`

- - ### Method Detail

    - #### getBodyAs

          <T> ResWrap<T> getBodyAs(Class<T> reference)

      Type Parameters:
        `T` - OData domain object
      Parameters:
        `reference` - an OData domain object class reference
      Returns:
        response body parsed as the given reference, if available, `null` otherwise

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.