public class ODataResponse
extends java.lang.Object
ODataResponse| Modifier and Type | Method and Description |
|---|---|
static ODataResponse |
createFrom(org.apache.olingo.odata2.api.processor.ODataResponse r) |
ODataSchema |
getSchema(java.lang.String namespace)
Searches for the specified schema in the content of this response.
|
java.util.Collection<java.lang.String> |
getSchemaNames()
Returns namespaces of the schemas present in the response.
|
public static ODataResponse createFrom(org.apache.olingo.odata2.api.processor.ODataResponse r) throws ODataException
ODataExceptionpublic java.util.Collection<java.lang.String> getSchemaNames()
throws ODataException
ODataException - if failed to obtain schemas from the response.public ODataSchema getSchema(java.lang.String namespace) throws ODataException
namespace - namespace of the EDMX schema to select.ODataException - if schemas could not be accessed in the response.java.lang.IllegalArgumentException - if the schema does not existCopyright © 2018 SAP SE. All Rights Reserved.