org.odata4j.producer.resources
Class BaseResource
java.lang.Object
org.odata4j.producer.resources.BaseResource
- Direct Known Subclasses:
- EntitiesRequestResource, EntityRequestResource, FunctionResource, LinksRequestResource, PropertyRequestResource
public abstract class BaseResource
- extends Object
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 |
BaseResource
public BaseResource()
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