public class ODataCxfConsumer
extends org.odata4j.consumer.AbstractODataConsumer
ODataConsumer is the client-side interface to an OData service.
Use create(String) or one of the other static factory methods to connect to an existing OData service.
| Modifier and Type | Class and Description |
|---|---|
static class |
ODataCxfConsumer.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ODataCxfConsumer |
create(String serviceRootUri)
Creates a new consumer for the given OData service uri.
|
protected org.odata4j.consumer.ODataClient |
getClient() |
static ODataCxfConsumer.Builder |
newBuilder(String serviceRootUri)
Constructs a new builder for an
ODataCxfConsumer object. |
callFunction, createEntity, createLink, deleteEntity, deleteEntity, deleteEntity, deleteLink, getEntities, getEntities, getEntities, getEntitiesCount, getEntity, getEntity, getEntity, getEntity, getEntity, getEntity, getEntitySets, getLinks, getMetadata, getServiceRootUri, mergeEntity, mergeEntity, mergeEntity, mergeEntity, updateEntity, updateLinkprotected org.odata4j.consumer.ODataClient getClient()
getClient in class org.odata4j.consumer.AbstractODataConsumerpublic static ODataCxfConsumer.Builder newBuilder(String serviceRootUri)
ODataCxfConsumer object.serviceRootUri - the OData service root uripublic static ODataCxfConsumer create(String serviceRootUri)
Wrapper for ODataCxfConsumer.newBuilder(serviceRootUri).build().
serviceRootUri - the service uri e.g. http://services.odata.org/Northwind/Northwind.svc/
Copyright © 2010–2015 JBoss by Red Hat. All rights reserved.