Class EdmStreamValueHandler
java.lang.Object
org.apache.olingo.ext.proxy.commons.EdmStreamValueHandler
- All Implemented Interfaces:
InvocationHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.LoggerLogger.protected AbstractService<?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEdmStreamValueHandler(String contentType, InputStream stream, URI uri, AbstractService<?> service) protectedEdmStreamValueHandler(URI uri, AbstractService<?> service) -
Method Summary
Modifier and TypeMethodDescriptionprotected static URIBuilderbuildEntitySetURI(Class<?> ref, AbstractService<?> service) protected static URIBuilderbuildEntitySetURI(String entitySetName, AbstractService<?> service) voidclose()protected <S extends EntityType<?>>
voiddeleteEntity(EntityInvocationHandler handler, URI entitySetURI) booleanprotected EdmEnabledODataClientprotected ComplexType<?>getComplex(String name, ClientValue value, Class<?> ref, EntityInvocationHandler handler, URI baseURI, boolean collectionItem) protected ContextinthashCode()protected ObjectinvokeSelfMethod(Method method, Object[] args) protected booleanisDeleted(EntityInvocationHandler handler) protected booleanisSelfMethod(Method method) voidload()toString()
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
service
-
-
Constructor Details
-
EdmStreamValueHandler
-
EdmStreamValueHandler
protected EdmStreamValueHandler(String contentType, InputStream stream, URI uri, AbstractService<?> service)
-
-
Method Details
-
invoke
- Throws:
Throwable
-
load
public void load() -
getContentType
-
getStream
-
close
public void close() -
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
-