Class StructuredComposableInvokerInvocationHandler<T,O extends Operations>
java.lang.Object
org.apache.olingo.ext.proxy.commons.InvokerInvocationHandler<T,O>
org.apache.olingo.ext.proxy.commons.StructuredComposableInvokerInvocationHandler<T,O>
- All Implemented Interfaces:
InvocationHandler
public class StructuredComposableInvokerInvocationHandler<T,O extends Operations>
extends InvokerInvocationHandler<T,O>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Logger
Logger.protected AbstractService<?>
Fields inherited from class org.apache.olingo.ext.proxy.commons.InvokerInvocationHandler
targetRef
-
Constructor Summary
ConstructorsConstructorDescriptionStructuredComposableInvokerInvocationHandler
(URI uri, Map<String, ClientValue> parameters, Operation operation, EdmOperation edmOperation, Type[] references, org.apache.olingo.commons.core.edm.EdmTypeInfo returnType, AbstractService<?> service) -
Method Summary
Modifier and TypeMethodDescriptionprotected static URIBuilder
buildEntitySetURI
(Class<?> ref, AbstractService<?> service) protected static URIBuilder
buildEntitySetURI
(String entitySetName, AbstractService<?> service) protected <S extends EntityType<?>>
voiddeleteEntity
(EntityInvocationHandler handler, URI entitySetURI) boolean
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) toString()
Methods inherited from class org.apache.olingo.ext.proxy.commons.InvokerInvocationHandler
clearQueryOptions, execute, executeAsync, expand, filter, filter, orderBy, orderBy, select, skip, top
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Constructor Details
-
StructuredComposableInvokerInvocationHandler
public StructuredComposableInvokerInvocationHandler(URI uri, Map<String, ClientValue> parameters, Operation operation, EdmOperation edmOperation, Type[] references, org.apache.olingo.commons.core.edm.EdmTypeInfo returnType, AbstractService<?> service)
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Overrides:
invoke
in classInvokerInvocationHandler<T,
O extends Operations> - Throws:
Throwable
-
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
-