org.apache.olingo.server.api.processor

## Interface MetadataProcessor

- All Superinterfaces:
    Processor
  All Known Implementing Classes:
    DefaultProcessor

      public interface MetadataProcessor
      extends Processor

  Processor interface for handling the metadata document.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `readMetadata(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType responseFormat)` Reads data from persistence and puts serialized content and status into the response.

    - ### Methods inherited from interface org.apache.olingo.server.api.processor.Processor

      `init`

- - ### Method Detail

    - #### readMetadata

          void readMetadata(ODataRequest request,
                            ODataResponse response,
                            UriInfo uriInfo,
                            ContentType responseFormat)
                     throws ODataApplicationException,
                            ODataLibraryException

      Reads data from persistence and puts serialized content and status into the response.
      Parameters:
        `request` - OData request object containing raw HTTP information
        `response` - OData response object for collecting response data
        `uriInfo` - information of a parsed OData URI
        `responseFormat` - requested content type after content negotiation
      Throws:
        `ODataApplicationException` - if the service implementation encounters a failure
        `ODataLibraryException`

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