org.odata4j.producer.resources
Class BaseResource

java.lang.Object
  extended by org.odata4j.producer.resources.BaseResource
Direct Known Subclasses:
EntitiesRequestResource, EntityRequestResource, FunctionResource, LinksRequestResource, PropertyRequestResource

public abstract class BaseResource
extends Object


Constructor Summary
BaseResource()
           
 
Method Summary
protected  OEntity createOrUpdateMediaLinkEntry(HttpHeaders httpHeaders, UriInfo uriInfo, EdmEntitySet entitySet, ODataProducer producer, InputStream payload, OEntityKey key)
           
protected  OMediaLinkExtension getMediaLinkExtension(HttpHeaders httpHeaders, UriInfo uriInfo, EdmEntitySet entitySet, ODataProducer producer)
           
protected  OEntity getRequestEntity(HttpHeaders httpHeaders, UriInfo uriInfo, InputStream payload, EdmDataServices metadata, String entitySetName, OEntityKey entityKey)
           
protected  OEntity getRequestEntity(HttpHeaders httpHeaders, UriInfo uriInfo, String payload, EdmDataServices metadata, String entitySetName, OEntityKey entityKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseResource

public BaseResource()
Method Detail

createOrUpdateMediaLinkEntry

protected OEntity createOrUpdateMediaLinkEntry(HttpHeaders httpHeaders,
                                               UriInfo uriInfo,
                                               EdmEntitySet entitySet,
                                               ODataProducer producer,
                                               InputStream payload,
                                               OEntityKey key)
                                        throws IOException
Throws:
IOException

getMediaLinkExtension

protected OMediaLinkExtension getMediaLinkExtension(HttpHeaders httpHeaders,
                                                    UriInfo uriInfo,
                                                    EdmEntitySet entitySet,
                                                    ODataProducer producer)

getRequestEntity

protected OEntity getRequestEntity(HttpHeaders httpHeaders,
                                   UriInfo uriInfo,
                                   InputStream payload,
                                   EdmDataServices metadata,
                                   String entitySetName,
                                   OEntityKey entityKey)
                            throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

getRequestEntity

protected OEntity getRequestEntity(HttpHeaders httpHeaders,
                                   UriInfo uriInfo,
                                   String payload,
                                   EdmDataServices metadata,
                                   String entitySetName,
                                   OEntityKey entityKey)


http://odata4j.org