|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.producer.resources.BaseResource org.odata4j.producer.resources.FunctionResource
public class FunctionResource
Handles function calls.
Unfortunately the OData URI scheme makes it impossible to differentiate a function call "resource" from an EntitySet. So, we hack: EntitiesRequestResource delegates to this class if it determines that a function is being referenced.
Constructor Summary | |
---|---|
FunctionResource()
|
Method Summary | |
---|---|
static Response |
callFunction(ODataHttpMethod callingMethod,
HttpHeaders httpHeaders,
UriInfo uriInfo,
ODataProducer producer,
String functionName,
String format,
String callback,
QueryInfo queryInfo)
Handles function call resource access by gathering function call info from the request and delegating to the producer. |
Methods inherited from class org.odata4j.producer.resources.BaseResource |
---|
createOrUpdateMediaLinkEntry, getMediaLinkExtension, getRequestEntity, getRequestEntity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionResource()
Method Detail |
---|
public static Response callFunction(ODataHttpMethod callingMethod, HttpHeaders httpHeaders, UriInfo uriInfo, ODataProducer producer, String functionName, String format, String callback, QueryInfo queryInfo) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |