Class EdmComplexResponse


  • public class EdmComplexResponse
    extends org.apache.olingo.server.core.responses.ServiceResponse
    • Field Summary

      • Fields inherited from class org.apache.olingo.server.core.responses.ServiceResponse

        metadata, preferences, response
    • Method Detail

      • getInstance

        public static EdmComplexResponse getInstance​(org.apache.olingo.server.core.ServiceRequest request,
                                                     org.apache.olingo.commons.api.data.ContextURL contextURL,
                                                     boolean referencesOnly,
                                                     org.apache.olingo.server.api.ODataResponse response)
                                              throws org.apache.olingo.server.core.ContentNegotiatorException,
                                                     org.apache.olingo.server.api.serializer.SerializerException
        Throws:
        org.apache.olingo.server.core.ContentNegotiatorException
        org.apache.olingo.server.api.serializer.SerializerException
      • writeComplexType

        public void writeComplexType​(ComplexResponse complexResult,
                                     URI next)
                              throws org.apache.olingo.server.api.serializer.SerializerException
        Throws:
        org.apache.olingo.server.api.serializer.SerializerException
      • accepts

        public void accepts​(org.apache.olingo.server.core.responses.ServiceResponseVisior visitor)
                     throws org.apache.olingo.server.api.ODataLibraryException,
                            org.apache.olingo.server.api.ODataApplicationException
        Specified by:
        accepts in class org.apache.olingo.server.core.responses.ServiceResponse
        Throws:
        org.apache.olingo.server.api.ODataLibraryException
        org.apache.olingo.server.api.ODataApplicationException
      • writeError

        public void writeError​(org.apache.olingo.server.api.ODataServerError error)