public class InvokerInvocationHandler<T,O extends Operations> extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
protected AbstractService<?> |
service |
protected Class<T> |
targetRef |
Constructor and Description |
---|
InvokerInvocationHandler(URI uri,
Map<String,ClientValue> parameters,
Operation operation,
EdmOperation edmOperation,
Type[] references,
AbstractService<?> service) |
Modifier and Type | Method and Description |
---|---|
protected static URIBuilder |
buildEntitySetURI(Class<?> ref,
AbstractService<?> service) |
protected static URIBuilder |
buildEntitySetURI(String entitySetName,
AbstractService<?> service) |
void |
clearQueryOptions() |
protected <S extends EntityType<?>> |
deleteEntity(EntityInvocationHandler handler,
URI entitySetURI) |
boolean |
equals(Object obj) |
T |
execute() |
Future<T> |
executeAsync() |
void |
expand(String... expand) |
void |
filter(String filter) |
void |
filter(URIFilter filter) |
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) |
void |
orderBy(Sort... sort) |
void |
orderBy(String orderBy) |
void |
select(String... select) |
void |
skip(int skip) |
void |
top(int top) |
String |
toString() |
protected static final org.slf4j.Logger LOG
protected AbstractService<?> service
public InvokerInvocationHandler(URI uri, Map<String,ClientValue> parameters, Operation operation, EdmOperation edmOperation, Type[] references, AbstractService<?> service)
public T execute()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwable
public void filter(String filter)
public void filter(URIFilter filter)
public void orderBy(Sort... sort)
public void orderBy(String orderBy)
public void top(int top) throws IllegalArgumentException
IllegalArgumentException
public void skip(int skip) throws IllegalArgumentException
IllegalArgumentException
public void expand(String... expand)
public void select(String... select)
public void clearQueryOptions()
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.