public class StructuredComposableInvokerInvocationHandler<T,O extends Operations> extends InvokerInvocationHandler<T,O>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
protected AbstractService<?> |
service |
targetRef
Constructor and Description |
---|
StructuredComposableInvokerInvocationHandler(URI uri,
Map<String,ClientValue> parameters,
Operation operation,
EdmOperation edmOperation,
Type[] references,
org.apache.olingo.commons.core.edm.EdmTypeInfo returnType,
AbstractService<?> service) |
Modifier and Type | Method and Description |
---|---|
protected static URIBuilder |
buildEntitySetURI(Class<?> ref,
AbstractService<?> service) |
protected static URIBuilder |
buildEntitySetURI(String entitySetName,
AbstractService<?> service) |
protected <S extends EntityType<?>> |
deleteEntity(EntityInvocationHandler handler,
URI entitySetURI) |
boolean |
equals(Object obj) |
protected EdmEnabledODataClient |
getClient() |
protected ComplexType<?> |
getComplex(String name,
ClientValue value,
Class<?> ref,
EntityInvocationHandler handler,
URI baseURI,
boolean collectionItem) |
protected Context |
getContext() |
int |
hashCode() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected Object |
invokeSelfMethod(Method method,
Object[] args) |
protected boolean |
isDeleted(EntityInvocationHandler handler) |
protected boolean |
isSelfMethod(Method method) |
String |
toString() |
clearQueryOptions, execute, executeAsync, expand, filter, filter, orderBy, orderBy, select, skip, top
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public StructuredComposableInvokerInvocationHandler(URI uri, Map<String,ClientValue> parameters, Operation operation, EdmOperation edmOperation, Type[] references, org.apache.olingo.commons.core.edm.EdmTypeInfo returnType, AbstractService<?> service)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
invoke
in class InvokerInvocationHandler<T,O extends Operations>
Throwable
protected EdmEnabledODataClient getClient()
protected Context getContext()
protected boolean isSelfMethod(Method method)
protected Object invokeSelfMethod(Method method, Object[] args) throws Throwable
Throwable
protected ComplexType<?> getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem)
protected boolean isDeleted(EntityInvocationHandler handler)
protected <S extends EntityType<?>> void deleteEntity(EntityInvocationHandler handler, URI entitySetURI)
protected static URIBuilder buildEntitySetURI(Class<?> ref, AbstractService<?> service)
protected static URIBuilder buildEntitySetURI(String entitySetName, AbstractService<?> service)
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.