org.odata4j.cxf.consumer
Class ODataCxfClient
java.lang.Object
org.odata4j.consumer.AbstractODataClient
org.odata4j.cxf.consumer.ODataCxfClient
- All Implemented Interfaces:
- ODataClient
public class ODataCxfClient
- extends AbstractODataClient
OData client based on Apache's HTTP client implementation.
Methods inherited from class org.odata4j.consumer.AbstractODataClient |
callFunction, createEntity, createLink, createRequestEntry, deleteEntity, deleteLink, getCollections, getEntities, getEntity, getFormatType, getLinks, getMetadata, updateEntity, updateLink |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ODataCxfClient
public ODataCxfClient(FormatType type,
OClientBehavior... behaviors)
doRequest
protected ODataClientResponse doRequest(FormatType reqType,
ODataClientRequest request,
Response.StatusType... expectedResponseStatus)
throws ODataProducerException
- Specified by:
doRequest
in class AbstractODataClient
- Throws:
ODataProducerException
getFeedReader
public Reader getFeedReader(ODataClientResponse response)
requestBody
public String requestBody(FormatType formatType,
ODataClientRequest request)
throws ODataProducerException
- Throws:
ODataProducerException
toXml
protected XMLEventReader2 toXml(ODataClientResponse response)
- Specified by:
toXml
in class AbstractODataClient
http://odata4j.org