Class InvokerInvocationHandler<T,O extends Operations>
java.lang.Object
org.apache.olingo.ext.proxy.commons.InvokerInvocationHandler<T,O>
- All Implemented Interfaces:
InvocationHandler
- Direct Known Subclasses:
StructuredComposableInvokerInvocationHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvokerInvocationHandler
(URI uri, Map<String, ClientValue> parameters, Operation operation, EdmOperation edmOperation, Type[] references, AbstractService<?> service) -
Method Summary
Modifier and TypeMethodDescriptionprotected static URIBuilder
buildEntitySetURI
(Class<?> ref, AbstractService<?> service) protected static URIBuilder
buildEntitySetURI
(String entitySetName, AbstractService<?> service) void
protected <S extends EntityType<?>>
voiddeleteEntity
(EntityInvocationHandler handler, URI entitySetURI) boolean
execute()
void
void
void
protected EdmEnabledODataClient
protected ComplexType<?>
getComplex
(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) protected Context
int
hashCode()
protected Object
invokeSelfMethod
(Method method, Object[] args) protected boolean
isDeleted
(EntityInvocationHandler handler) protected boolean
isSelfMethod
(Method method) void
void
void
void
skip
(int skip) void
top
(int top) toString()
-
Field Details
-
targetRef
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Constructor Details
-
InvokerInvocationHandler
public InvokerInvocationHandler(URI uri, Map<String, ClientValue> parameters, Operation operation, EdmOperation edmOperation, Type[] references, AbstractService<?> service)
-
-
Method Details
-
executeAsync
-
execute
-
invoke
- Throws:
Throwable
-
filter
-
filter
-
orderBy
-
orderBy
-
top
- Throws:
IllegalArgumentException
-
skip
- Throws:
IllegalArgumentException
-
expand
-
select
-
clearQueryOptions
public void clearQueryOptions() -
getClient
-
getContext
-
isSelfMethod
-
invokeSelfMethod
- Throws:
Throwable
-
getComplex
protected ComplexType<?> getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) -
isDeleted
-
deleteEntity
protected <S extends EntityType<?>> void deleteEntity(EntityInvocationHandler handler, URI entitySetURI) -
buildEntitySetURI
-
buildEntitySetURI
-
equals
-
hashCode
public int hashCode() -
toString
-